Make Buildworld Fails (Broken Servers)
Jeremy Chadwick
freebsd at jdc.parodius.com
Sat Jan 28 04:44:07 UTC 2012
On Fri, Jan 27, 2012 at 08:26:28PM -0800, Thomas D. Dean wrote:
> 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.
This error shown here is *exactly* what Randy Bush posted about a few
days ago. Please read the ENTIRE THREAD.
http://lists.freebsd.org/pipermail/freebsd-stable/2012-January/065616.html
The root cause was a bad cvsup server. Randy posted to freebsd-hubs
about the problem (I haven't looked to find the mail though).
> # 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
No, this is a different error, which could ALSO be caused by a bad cvsup
server.
You should post these problems to freebsd-hubs; the owners of the cvsup
servers need to be made aware of these problems.
Finally: please stop with the "cleandir". rm -fr /usr/obj/* and do not
use make -jX at all. This will rule out any inconsistencies.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, US |
| Making life hard for others since 1977. PGP 4BD6C0CB |
More information about the freebsd-stable
mailing list