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

next in thread | previous in thread | raw e-mail | index | archive | help

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




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