From owner-freebsd-current@freebsd.org Tue Aug 21 06:38:55 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3790108B0E6 for ; Tue, 21 Aug 2018 06:38:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 56B1E75AB4; Tue, 21 Aug 2018 06:38:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (unknown [51.52.172.98]) by mail.baldwin.cx (Postfix) with ESMTPSA id 94E3D10A87D; Tue, 21 Aug 2018 02:38:48 -0400 (EDT) Subject: Re: buildworld failure: Do not include ${SRCTOP}/sys when building bootstrap tools To: "O. Hartmann" , FreeBSD CURRENT References: <20180820212448.571e1060@thor.intern.walstatt.dynvpn.de> <20180820220103.3ac8a3ac@thor.intern.walstatt.dynvpn.de> Cc: arichardson@FreeBSD.org From: John Baldwin Message-ID: <6040ed15-143f-9a6d-8f37-b25a7e2d2036@FreeBSD.org> Date: Tue, 21 Aug 2018 07:38:47 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180820220103.3ac8a3ac@thor.intern.walstatt.dynvpn.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Tue, 21 Aug 2018 02:38:48 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2018 06:38:55 -0000 On 8/20/18 9:00 PM, O. Hartmann wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Am Mon, 20 Aug 2018 21:24:21 +0200 > "O. Hartmann" schrieb: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA512 >> >> Building NanoBSD world on CURRENT r338113 fails due to: >> >> [...] >> cd /pool/sources/CURRENT/src/rescue/rescue/../../sbin/gbde && MK_TESTS=no >> UPDATE_DEPENDFILE=no _RECURSING_CRUNCH=1 >> MAKEOBJDIRPREFIX=/pool/nanobsd/amd64/ALERICH_amd64/pool/sources/CURRENT/src/amd64.amd64/rescue/rescue >> make MK_AUTO_OBJ=no DIRPRFX=rescue/rescue/gbde/ -DRESCUE CRUNCH_CFLAGS=-DRESCUE >> MK_AUTO_OBJ=no obj make[5]: "/pool/sources/CURRENT/src/tools/build/mk/Makefile.boot" >> line 18: Do not include ${SRCTOP}/sys when building bootstrap tools. Copy the header to >> ${WORLDTMP}/legacy in tools/build/Makefile instead. Error was caused by Makefile >> in /pool/sources/CURRENT/src/sbin/gbde *** [obj_crunchdir_gbde] Error code 1 >> >> make[4]: stopped in /pool/sources/CURRENT/src/rescue/rescue >> [...] >> >> >> This problem occured during today's source updates since I was able to build the NanoBSD >> image I intend to build yesterday ~ r338060. >> >> What is going wrong? > > It seems the problem has been introduced after r338095, since r338095 builds ok, while > r338096 doesn't. 338096 added this check to catch a kind of error in our Makefiles. Alex (cc'd) can help with figuring out what the error is. -- John Baldwin