Re: "make buildworld" fails

From: Boris Samorodov <bsam_at_passap.ru>
Date: Wed, 07 Aug 2013 16:49:25 +0400
07.08.2013 16:14, Robert Huff пишет:
> 
> 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.

Not quite -- for me that was old and stale file from some previous
buildworld.

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

Hm, I do not have such directory now:
-----
% ls -l /usr/obj/usr/src/make\*
ls: /usr/obj/usr/src/make*: No such file or directory
-----

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

One more thing. I do not have a file named "bmake" at /usr/obj, but
have just "make" (at this host I build world for i386 as well):
-----
% find /usr/obj -type f -name bmake
% find /usr/obj -type f -name make
/usr/obj/usr/src/usr.bin/bmake/make
/usr/obj/i386.i386/usr/src/usr.bin/bmake/make
-----

While at the first e-mail last log line was:
>> sh /usr/src/tools/install.sh -o root -g wheel -m 555 make \
>>	/usr/obj/usr/src/make.amd64/make

Are there some non-default configure/environment values?

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Received on Wed Aug 07 2013 - 10:49:30 UTC

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