[PATCH] fail gracefully when pax is not found

Ben Gras beng at shrike-systems.com
Thu Oct 22 20:21:36 UTC 2015


Attachment to that ticket is a clean fix for:

If pax is not found by configure, the empty PAX variable is used in e.g.
this line:

$(PAX) -w -f $@ $<

Causing the 'w' command to be invoked:

21:37:25 up 6 min, 3 users, load average: 1,90, 1,14, 0,49

../../../../../../tools/build/rtems-bin2c -C dl.tar dl-tar.c
../../../../../../tools/build/rtems-bin2c -H dl.tar dl-tar.h
cannot open dl.tar for reading
cannot open dl.tar for reading
make[6]: * [dl-tar.c] Error 1
make[6]: * Waiting for unfinished jobs....
make[6]: * [dl-tar.h] Error 1
make[6]: Leaving directory
make[5]: * [all-local] Error 1
make[5]: Leaving directory
make[4]: * [all] Error 2
make[4]: Leaving directory
make[3]: * [all-recursive] Error 1
make[3]: Leaving directory
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory
make: * [all-recursive] Error 1

Thanks to several reporters of this problem, most recently Debajyoti
Majumdar and Claudio Scordino, while trying to build the tests with
the Beagle BSP.

More information about the devel mailing list