NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/44106: Failed build in src/rescue on NetBSD 5.0.2 and 5.1_RC4 (but probably more)
>Number: 44106
>Category: bin
>Synopsis: Failed build in src/rescue on NetBSD 5.0.2 and 5.1_RC4 (but
>probably more)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 17 15:45:00 +0000 2010
>Originator: Bug Hunting
>Release: NetBSD 5.0.2 / NetBSD 5.1_RC4
>Organization:
>Environment:
>Description:
Executing
"cd /usr/src/rescue; make USETOOLS=no cleandir dependall"
in NetBSD 5.0.2 (with a netbsd-5-0-2-RELEASE source checkout) and
NetBSD 5.1_RC4 (with a netbsd-5-1-RC4 source checkout) fails.
I suppose this is the case with other source trees as well, but these
were the ones I've checked.
I initially encountered this issue as part of applying
NetBSD-SA2010-007 (at the time of writing at version
1.5 2010/10/07 17:16:37), therefore _failing_ to apply it. The
issue also occurs with `clean' netbsd-5-0-2-RELEASE and netbsd-5-1-RC4
source checkouts (which means not executing the (other)
cvs(1)- and make(1)-commands in the SA's instructions) though,
which would mean the SA is not actually involved in the failure.
Even is this is already fixed in (the upcoming) NetBSD 5.1
release (which i doubt) and / or NetBSD-current, this needs to be
fixed in previous, supported releases since it should be possible
to correctly apply SAs to them.
>How-To-Repeat:
Install NetBSD 5.0.2 (or NetBSD 5.1_RC4), check out the sources
from the netbsd-5-0-2-RELEASE (or netbsd-5-1-RC4) branch, then, as
root, execute:
# cd /usr/src/rescue; make USETOOLS=no cleandir dependall
It at some point fails with (formatting might get lost):
---
[LINES OF OUTPUT CUT]
mkdir ldd
( cd ldd; printf '.PATH: /usr/src/usr.bin/ldd\n.CURDIR:=
/usr/src/usr.bin/ldd\n.include "${.CURDIR}/Makefile"\n' | make -f-
CRUNCHEDPROG=1 DBG="-Os" depend )
# create ldd/ldd.d
mkdep -f ldd.d -- -I/usr/src/libexec/ld.elf_so -DLIBDIR=\"/usr/lib\"
-D_RTLD_SOURCE -DRESCUEDIR=\"/rescue\" -DELFSIZE=32
/usr/src/usr.bin/ldd/ldd.c
# create ldd/.depend
rm -f .depend
mkdep -d -f .depend -s .o\ .ln ldd.d
depend ===> aout
depend ===> elf32
depend ===> elf64
( cd ldd; printf '.PATH: /usr/src/usr.bin/ldd\n.CURDIR:=
/usr/src/usr.bin/ldd\n.include "${.CURDIR}/Makefile"\n' | make -f-
CRUNCHEDPROG=1 DBG="-Os" ldd.ro )
# compile ldd/ldd.o
cc -Os -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Werror
-I/usr/src/libexec/ld.elf_so -DLIBDIR=\"/usr/lib\" -D_RTLD_SOURCE -DRES
CUEDIR=\"/rescue\" -c -DELFSIZE=32 /usr/src/usr.bin/ldd/ldd.c
make: don't know how to make /usr/src/usr.bin/ldd/aout/libldd_aout.a. Stop
make: stopped in /usr/src/rescue/ldd
*** Error code 2
Stop.
make: stopped in /usr/src/rescue
*** Error code 1
Stop.
make: stopped in /usr/src/rescue
*** Error code 1
Stop.
make: stopped in /usr/src/rescue
---
(The output above is from a NetBSD 5.0.2 system.)
>Fix:
Fix sources; apply on respective branches; make the SA apply cleanly.
Home |
Main Index |
Thread Index |
Old Index