Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2015 14:36:56 +0100
From:      "Herbert J. Skuhra" <herbert@oslo.ath.cx>
To:        Lev Serebryakov <lev@FreeBSD.org>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: 10-STABLE buildworld fails at very early stage
Message-ID:  <20151030133656.GC27206@oslo.ath.cx>
In-Reply-To: <56322C32.3050702@FreeBSD.org>
References:  <56322C32.3050702@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 29, 2015 at 05:24:50PM +0300, Lev Serebryakov wrote:
> 
> I have this in /etc/src.conf (it is only one line here):
> 
> MAKEOBJDIRPREFIX=/usr/home/build/obj
> 
> 
> % cd /usr/src
> % sudo svn up
> Updating '.':
> At revision 290139.
> % sudo make buildworld
> [one screen of output]
> set -e; cd /usr/src/tools/build; make buildincludes; make installinclude
> s
> sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libegacy.a
> /usr/home/build/obj/legacy/usr/lib
> install: /usr/home/build/obj/legacy/usr/lib: No such file or directory
> *** Error code 71
> 
> Stop.
> make[3]: stopped in /usr/src/tools/build
> *** Error code 1
> % uname -v
> FreeBSD 10.2-PRERELEASE #7 r286065: Thu Jul 30 21:27:35 MSK 2015
> root@:/usr/obj/usr/src/sys/BLOB

Does it work if you do:

% setenv MAKEOBJDIRPREFIX /usr/home/build/obj

>From man make.conf(5):

CAVEATS
     Note, that MAKEOBJDIRPREFIX and MAKEOBJDIR are environment variables and
     should not be set in make.conf or as command line arguments to make(1),
     but in make's environment.

-- 
Herbert



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