From owner-svn-src-head@FreeBSD.ORG Tue Aug 13 17:13:12 2013 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5FB78794; Tue, 13 Aug 2013 17:13:12 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3255F259B; Tue, 13 Aug 2013 17:13:11 +0000 (UTC) Received: from glenbarber.us (nucleus.glenbarber.us [IPv6:2001:470:8:1205:2:2:ff:29]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id 7A48FD93F; Tue, 13 Aug 2013 17:13:04 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us 7A48FD93F Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Tue, 13 Aug 2013 13:13:02 -0400 From: Glen Barber To: Ian Lepore Subject: Re: svn commit: r254217 - head/sys/conf Message-ID: <20130813171302.GQ2432@glenbarber.us> References: <201308111357.r7BDvF7H065442@svn.freebsd.org> <1376407389.3320.209.camel@revolution.hippie.lan> <20130813153222.GL2432@glenbarber.us> <1376413337.3320.224.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="X1pyOwMoA9G3DWfK" Content-Disposition: inline In-Reply-To: <1376413337.3320.224.camel@revolution.hippie.lan> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 17:13:12 -0000 --X1pyOwMoA9G3DWfK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 13, 2013 at 11:02:17AM -0600, Ian Lepore wrote: > It fails for me during buildworld (I haven't gotten to buildkernel yet). > This is a cross-build of armv6 from i386, if that matters. =20 >=20 It looks like the build is failing in sys/boot/fdt. =3D=3D=3D> sys/boot/fdt (installincludes) 1 error *** Error code 2 1 error *** Error code 2 > When I use "make -s" the build fails immediately in "building an up to > date make" because it somehow has $DESTDIR/usr/lib/libc.a as a > dependency for bmake/unit-tests, and clearly that isn't going to exist > before installworld has created it (when DESTDIR is other than / which > is always is for me). For some reason I can't even begin to figure out, > I don't get that error with the -s left off. >=20 Odd. '-s' should suppress build output (similar to adding "@" to the beginning of the Makefile command lines). > Hrm, I just noticed I get the same bmake build error at the beginning > with and without the -s, the difference is that without -s it ignores > the error and keeps building. Seems like a different bug. >=20 Yes, that is strange. > So, leaving the make -s problems aside, a regular "make buildworld" > results in http://people.freebsd.org/~ian/make.buildworld.log (the > failure is around line 6178). >=20 > I don't know what's different between make with and without -s but > perhaps it somehow toggles this problem. >=20 > BTW, I'm seeing this problem at r254281, and did not see it at r253965. >=20 At this point, I am just ready to revert all of the changes that allow use of svnliteversion from base to determine the svn version. In my buildkernel, newvers.sh does correctly expand '$(realpath ${0})' to $SYSBASE/sys/conf/newvers.sh. I do not know why it is not the same for the cross build. Although, I could just call svn{,lite}version on $SYSBASE/Makefile. root@nucleus:/usr/src # make -j8 -s buildkernel -------------------------------------------------------------- >>> Kernel build for NUCLEUS started on Tue Aug 13 13:09:53 EDT 2013 -------------------------------------------------------------- =3D=3D=3D> NUCLEUS -------------------------------------------------------------- >>> stage 1: configuring the kernel -------------------------------------------------------------- Kernel build directory is /usr/obj/usr/src/sys/NUCLEUS Don't forget to do ``make cleandepend && make depend'' -------------------------------------------------------------- >>> stage 2.1: cleaning up the object tree -------------------------------------------------------------- -------------------------------------------------------------- >>> stage 2.2: rebuilding the object tree -------------------------------------------------------------- -------------------------------------------------------------- >>> stage 2.3: build tools -------------------------------------------------------------- -------------------------------------------------------------- >>> stage 3.1: making dependencies -------------------------------------------------------------- -------------------------------------------------------------- >>> stage 3.2: building everything -------------------------------------------------------------- + [ ! -z '' ] + [ -x /usr/bin/svnversion ] + [ ! -z '' ] + [ -x /usr/local/bin/svnversion ] + [ -z ] + realpath /usr/src/sys/conf/newvers.sh + /usr/local/bin/svnversion /usr/src/sys/conf/newvers.sh + [ 0 -eq 0 ] + svnversion=3D/usr/local/bin/svnversion + break + [ -z /usr/local/bin/svnversion ] + [ -x /usr/bin/p4 ] + [ -x /usr/local/bin/p4 ] + [ -d /usr/src/sys/conf/../../.git ] + [ -n /usr/local/bin/svnversion ] + cd /usr/src/sys/conf/.. + /usr/local/bin/svnversion + svn=3D253815:254284M + svn=3D' r253815:254284M' + [ -n '' ] + [ -n '' ] + cat + echo 159 linking kernel.debug text data bss dec hex filename 9082608 1113780 1035592 11231980 ab62ec kernel.debug -------------------------------------------------------------- >>> Kernel build for NUCLEUS completed on Tue Aug 13 13:11:49 EDT 2013 -------------------------------------------------------------- Glen --X1pyOwMoA9G3DWfK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBCAAGBQJSCmkeAAoJEFJPDDeguUajJ+kH/0ipzS67zLkxXdSHZ8w6S6NO CyoFnOlrTFKhoEROqfad4PMC4Uq9fhNHZiIIpMKS+C4BgNsLwd7GWn7Fq2UUlSnc gtXVqMm+pqc6oSOrtXinKQETdLWXGsg6dbj+PNVAG37e69vjvg0g37BAO6LWdaHr Fde+sW2p+G0bRidy9WbVcCElaLN6I23QekxfcW8WU+juxVNmvdUpV9u4wZ1kG87d qC+6ovvUgKu82Kvutd/qrP54FalYk/DACGtXqCa6qBULhI3KO2eXnEu3u+Fitt8k q0yxBORoEPddJ3viSIBmFtse920vwYyFhghXe+E4wpDKcU0W9qX4eXCGXphpP10= =cL5V -----END PGP SIGNATURE----- --X1pyOwMoA9G3DWfK--