"make buildworld" fails

Robert Huff roberthuff at rcn.com
Wed Aug 7 12:15:06 UTC 2013


Boris Samorodov writes:

>  > sh /usr/src/tools/install.sh  -o root -g wheel -m 555   make /usr/obj/usr/src/make.amd64/bmake
>  > cd /usr/src; PATH=/sbin:/bin:/usr/sbin:/usr/bin `test -x /usr/obj/usr/src/make.amd64/bmake && echo /usr/obj/usr/src/make.amd64/bmake || echo make`  -m /usr/src/share/mk -f Makefile.inc1 TARGET=amd64 TARGET_ARCH=amd64 buildworld
>  > usage: bmake [-BeikNnqrstWwX] 
>  >             [-C directory] [-D variable] [-d flags] [-f makefile]
>  >             [-I directory] [-J private] [-j max_jobs] [-m directory] [-T file]
>  >             [-V variable] [variable=value] [target ...]
>  > *** [buildworld] Error code 2
>  > 
>  > Stop in /usr/src.
>  
>  OK, the note may be written not user-friendly.
>  
>  Well, I've had something like you get:
>  http://lists.freebsd.org/pipermail/freebsd-current/2013-May/041976.html

	Looks like the same thing.

>  The culprit was /usr/obj/usr/src/make.amd64/make. Seems to be your case
>  as well.

huff@>> dir /usr/obj/usr/src/make.amd64
total 2284
drwxr-xr-x  3 root  wheel      512 Aug  7 07:39 .
drwxr-xr-x  3 root  wheel      512 Aug  7 07:39 ..
-rwxr-xr-x  1 root  wheel  2291577 Aug  7 07:39 bmake
drwxr-xr-x  3 root  wheel      512 Aug  7 07:39 usr

>  BTW, total removing of /usr/src should help also.

	The 'make buildworld' is part of:

#! /bin/csh 

cd /usr/src
rm buildworld.log
rm -rf /usr/obj
make -v cleandir
date > ./buildworld.time
make -v -d l buildworld >& ./buildworld.log
tail -n 50 /usr/src/buildworld.log | sendmail huff



					Robert Huff



More information about the freebsd-current mailing list