Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2013 16:49:25 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: "make buildworld" fails
Message-ID:  <52024255.7090907@passap.ru>
In-Reply-To: <20994.14913.985491.417317@jerusalem.litteratus.org>
References:  <51FFD21A.3050602@passap.ru> <20992.14618.332769.261961@jerusalem.litteratus.org> <52022214.7080200@passap.ru> <20994.14913.985491.417317@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52024255.7090907>