# uname -a FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jan 4 14:16:41 PST 2012 tomdean@P9X79.tddhome:/usr/src/sys/GENERIC amd64 Source up-to-date as of now, via cvsup. # env -i make cleandir # env -i make cleandir # env -i make buildworld ... cc -O2 -pipe -I. -DGCCVER=\"4.2\" -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H -std=gnu89 -I/usr/obj/usr/src/tmp/legacy/usr/include -L/usr/obj/usr/src/tmp/legacy/usr/lib -o genchecksum genchecksum.o errors.o libiberty.a ===> kerberos5/tools (obj,depend,all) ===> kerberos5/tools/make-print-version (obj) ===> kerberos5/tools/make-roken (obj) ===> kerberos5/tools/asn1_compile (obj) ===> kerberos5/tools/slc (obj) ===> kerberos5/tools/make-print-version (depend) ===> kerberos5/tools/make-roken (depend) ===> kerberos5/tools/asn1_compile (depend) cd /usr/src/kerberos5/tools/asn1_compile/../make-print-version && make make: don't know how to make /usr/src/tmp/legacy/usr/lib/libegacy.a. Stop *** Error code 2 Stop in /usr/src/kerberos5/tools/asn1_compile. *** Error code 1 Stop in /usr/src/kerberos5/tools. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Tom Dean _
On Fri, Jan 27, 2012 at 03:46:53PM -0800, Thomas D. Dean wrote:> # uname -a > FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jan 4 > 14:16:41 PST 2012 tomdean@P9X79.tddhome:/usr/src/sys/GENERIC > amd64 > > Source up-to-date as of now, via cvsup.What cvsup mirror did you use? There has been a recent influx of problems people have reported with building world all of which have related to problems with certain cvsup servers. You can read about those problems on freebsd-stable, or look on freebsd-hubs (which is the place such issues get reported). I recommend you try a different cvsup mirror for starters. Also: was this system "upgraded" from 8.2 to 9.0 by changing a release tag in one of your supfiles, or was it always 9.0?> # env -i make cleandir > # env -i make cleandir > # env -i make buildworld > ... > cc -O2 -pipe -I. -DGCCVER=\"4.2\" -DIN_GCC -DHAVE_CONFIG_H > -DPREFIX=\"/usr\" > -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc > -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber > -g -DGENERATOR_FILE -DHAVE_CONFIG_H -std=gnu89 > -I/usr/obj/usr/src/tmp/legacy/usr/include > -L/usr/obj/usr/src/tmp/legacy/usr/lib -o genchecksum genchecksum.o > errors.o libiberty.a > ===> kerberos5/tools (obj,depend,all) > ===> kerberos5/tools/make-print-version (obj) > ===> kerberos5/tools/make-roken (obj) > ===> kerberos5/tools/asn1_compile (obj) > ===> kerberos5/tools/slc (obj) > ===> kerberos5/tools/make-print-version (depend) > ===> kerberos5/tools/make-roken (depend) > ===> kerberos5/tools/asn1_compile (depend) > cd /usr/src/kerberos5/tools/asn1_compile/../make-print-version && make > make: don't know how to make /usr/src/tmp/legacy/usr/lib/libegacy.a. Stop > *** Error code 2 > > Stop in /usr/src/kerberos5/tools/asn1_compile. > *** Error code 1Nothing in either of these trees has changed in many years: http://www.freebsd.org/cgi/cvsweb.cgi/src/kerberos5/tools/ http://www.freebsd.org/cgi/cvsweb.cgi/src/kerberos5/tools/asn1_compile/ http://www.freebsd.org/cgi/cvsweb.cgi/src/kerberos5/tools/make-print-version/ Also, please do not rely on "cleandir" to remove all old /usr/obj objects. Please rm -fr /usr/obj/* instead. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |
On 01/27/12 15:46, Thomas D. Dean wrote: I earlier used cvsup4.FreeBSD.org. No files were updated. Buildworld was broken as I reported earlier. # cvsup10.FreeBSD.org ########################################### Now, I used cvsup10.FreeBSD.org. Many (~150?) files were updated. # cd /usr/src # env -i make cleandir # env -i make cleandir # env -i make -j 10 buildworld ... failed on iterator.c - redo to check if -j 10 broke things. # env -i make cleandir # env -i make cleandir # env -i make buildworld ... mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/games/fortune/strfile/strfile.c echo strfile: /usr/lib/libc.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend cc -O2 -pipe -std=gnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c cc -O2 -pipe -std=gnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o strfile strfile.o -legacy sh /usr/src/tools/install.sh -s -o root -g wheel -m 555 strfile /usr/obj/usr/src/tmp/legacy/usr/games ===> gnu/usr.bin/gperf (obj,depend,all,install) /usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/gperf created for /usr/src/gnu/usr.bin/gperf ===> gnu/usr.bin/gperf/doc (obj) /usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/gperf/doc created for /usr/src/gnu/usr.bin/gperf/doc make: don't know how to make iterator.cc. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. No, -j10 did not break it. # cvsup5.FreeBSD.org ########################################### # cd /usr/src # env -i make cleandir # env -i make cleandir # env -i make buildworld ... same problem as with cvsup4, cd /usr/src/kerberos5/tools/asn1_compile/../make-print-version && make make: don't know how to make /usr/src/tmp/legacy/usr/lib/libegacy.a. Stop Tom Dean