Make Buildworld Fails

Jeremy Chadwick freebsd at jdc.parodius.com
Sat Jan 28 00:52:20 UTC 2012


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 at 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 1

Nothing 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 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