Re: "make buildworld" fails

From: Robert Huff <roberthuff_at_rcn.com>
Date: Wed, 7 Aug 2013 08:14:57 -0400
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_at_>> 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
Received on Wed Aug 07 2013 - 10:15:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC