#2437 closed defect (fixed)
if pax is not found by configure, the tests fail to build un-gracefully.
Reported by: | Ben Gras | Owned by: | Ben Gras <beng@…> |
---|---|---|---|
Priority: | normal | Milestone: | 4.11.1 |
Component: | unspecified | Version: | 4.10 |
Severity: | normal | Keywords: | |
Cc: | claudio@…, debajyoti94@… | Blocked By: | |
Blocking: |
Description
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
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
../../../../../../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 `/home/beng/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack/testsuites/libtests/dl01'
make[5]: * [all-local] Error 1
make[5]: Leaving directory `/home/beng/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack/testsuites/libtests'
make[4]: * [all] Error 2
make[4]: Leaving directory `/home/beng/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack/testsuites/libtests'
make[3]: * [all-recursive] Error 1
make[3]: Leaving directory `/home/beng/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack/testsuites'
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory `/home/beng/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/beng/development/rtems/b-beagle/arm-rtems4.11/c'
make: * [all-recursive] Error 1
I am preparing a proposed fix that fails more gracefully in the configure phase.
Thanks to several reporters of this problem, most recently Debajyoti Majumdar and Claudio Scordino, while trying to build the tests with the Beagle BSP.
Attachments (1)
Change History (5)
Changed on 10/22/15 at 20:05:09 by Ben Gras
Attachment: | fix-2437.txt added |
---|
comment:1 Changed on 10/22/15 at 22:06:03 by Joel Sherrill
comment:3 Changed on 10/22/15 at 22:07:59 by Ben Gras <beng@…>
Owner: | set to Ben Gras <beng@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I am ok pushing this to master and 4.11 assuming it is tested.