From owner-freebsd-stable@freebsd.org Fri Oct 30 19:54:08 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5F56A21439 for ; Fri, 30 Oct 2015 19:54:08 +0000 (UTC) (envelope-from herbert@oslo.ath.cx) Received: from oslo.ath.cx (oslo.ath.cx [144.76.166.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8FDC01CEB; Fri, 30 Oct 2015 19:54:08 +0000 (UTC) (envelope-from herbert@oslo.ath.cx) Received: from oslo.ath.cx (localhost [IPv6:::1]) by oslo.ath.cx (Postfix) with SMTP id 95BA310D8; Fri, 30 Oct 2015 20:54:05 +0100 (CET) Date: Fri, 30 Oct 2015 20:54:05 +0100 From: "Herbert J. Skuhra" To: Lev Serebryakov Cc: freebsd-stable Subject: Re: 10-STABLE buildworld fails at very early stage Message-ID: <20151030195405.GA1097@oslo.ath.cx> References: <56322C32.3050702@FreeBSD.org> <20151030133656.GC27206@oslo.ath.cx> <563374F3.4090107@FreeBSD.org> <3910457450.20151030214250@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3910457450.20151030214250@serebryakov.spb.ru> User-Agent: Mutt/1.5.24+24 (41af5a753d6f) (2015-08-30) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 19:54:08 -0000 On Fri, Oct 30, 2015 at 09:42:56PM +0300, Lev Serebryakov wrote: > Hello Lev, > > Friday, October 30, 2015, 4:47:31 PM, you wrote: > > > Looks like some problem with Makefile, as here is creation of /bin > > and /usr "legacy" directories. > I've found this: > http://lists.freebsd.org/pipermail/freebsd-current/2013-August/043439.html > and it looks like my case exactly (but on -STABLE!). > > "svn status" doesn't show that there is something not-checked-out in > "/usr/src" and, yes, this is very surprising to have some build-generated > files in /usr/src! OK, I couldn't reproduce this because I am not building as root. Building as root and setting MAKEOBJDIRPREFIX in src.conf is creating: /usr/src/tools/build/.depend /usr/src/tools/build/libegacy.a /usr/src/tools/build/pwcache.o % svnlite status --no-ignore ? tools/build/.depend I tools/build/libegacy.a I tools/build/pwcache.o There is already a check for MAKEOBJDIRPREFIX in make.conf: make: "/usr/src/Makefile" line 138: MAKEOBJDIRPREFIX can only be set in environment, not as a global (in make.conf(5)) or command-line variable. No idea how to add SRCCONF to the check. -- Herbert