From owner-freebsd-current@FreeBSD.ORG Fri Apr 24 10:05:48 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03176304; Fri, 24 Apr 2015 10:05:48 +0000 (UTC) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE0B41289; Fri, 24 Apr 2015 10:05:47 +0000 (UTC) Received: by pdbqa5 with SMTP id qa5so44798530pdb.1; Fri, 24 Apr 2015 03:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=P8ow4/LROkTQL+Fi5iUvUL3xy5KAYhLGceQDbu9wrQg=; b=VLGWv8SHI5A/l3zj0i2voVEYoGtVihiIqyHNQT2pz5pULp38b3q6dWDP+G+Y4Decrb ZiN06f4fI73S63f6KfXiq0ZyFcmjbuqxfy2uBiKSrHh5f/8Ivh2tySdZwkjVoGJ2cNl+ BjmzIWkrLmmclnNgADWVZlaV5Iuw9yCE9Q7EZnLe6r3XjfoStZi2iGnBpEd1MqCRCsUM c00DlDnf5UvZsq45uyXb0UTdPd6Hb2r3T9wJlxP8QL+4wae/DB842div4qyU1Q5mNKvE yu79/lnoNOIOv5/AC+E/taOgPIgY91rP3Rg4ssFGNlUTKu5NTuaXBbspJHwoJz5kTpZ5 7+JA== X-Received: by 10.66.193.33 with SMTP id hl1mr13283781pac.111.1429869947184; Fri, 24 Apr 2015 03:05:47 -0700 (PDT) Received: from ?IPv6:2601:8:ab80:7d6:3d8b:afa5:8fc4:e6a3? ([2601:8:ab80:7d6:3d8b:afa5:8fc4:e6a3]) by mx.google.com with ESMTPSA id rd7sm10632802pdb.64.2015.04.24.03.05.46 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 Apr 2015 03:05:46 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_879DB1BF-3C30-485B-B225-B6D99E54874F"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Newer yacc needed for building world From: Garrett Cooper In-Reply-To: Date: Fri, 24 Apr 2015 03:05:44 -0700 Cc: Ed Maste , Warren Block , FreeBSD Current Message-Id: References: <5537C3BA.8010206@digiware.nl> <5537FCA1.6010108@digiware.nl> <5538B5CF.9010508@digiware.nl> To: Willem Jan Withagen X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 24 Apr 2015 10:05:48 -0000 --Apple-Mail=_879DB1BF-3C30-485B-B225-B6D99E54874F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Apr 24, 2015, at 3:03, Garrett Cooper wrote: > On Apr 24, 2015, at 2:59, Garrett Cooper = wrote: >=20 >> On Apr 23, 2015, at 2:05, Willem Jan Withagen = wrote: >>=20 >>> On 22/04/2015 23:37, Ed Maste wrote: >>>> On 22 April 2015 at 15:55, Willem Jan Withagen = wrote: >>>>>=20 >>>>>> Yes: >>>>>> = https://lists.freebsd.org/pipermail/freebsd-current/2015-February/054740.h= tml >>>>>>=20 >>>>>=20 >>>>> But this is not enough to make yacc part of the build tools?? >>>>=20 >>>> yacc is unconditionally built during bootstrap-tools as of r281615. >>>> What SVN rev is your tree? >>>>=20 >>>=20 >>> # svn info >>> Path: . >>> Working Copy Root Path: /usr/src >>> URL: svn://svn.freebsd.org/base/stable/10 >>> Relative URL: ^/stable/10 >>> Repository Root: svn://svn.freebsd.org/base >>> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f >>> Revision: 281853 >>> Node Kind: directory >>> Schedule: normal >>> Last Changed Author: kib >>> Last Changed Rev: 281849 >>> Last Changed Date: 2015-04-22 12:59:05 +0200 (Wed, 22 Apr 2015) >>>=20 >>> Then I removed /usr/obj/* to get a fresh start. >>> Removing yacc just gets me into trouble even earlier: >>>=20 >>> # make -j 32 buildworld >>> . >>> . >>> . >>> --- _bootstrap-tools-usr.bin/compile_et --- >>> --- parse.c --- >>> yacc -d -o parse.c = /usr/src/usr.bin/compile_et/../../contrib/com_err/parse.y >>> yacc: not found >>> --- _bootstrap-tools-usr.sbin/bsnmpd/gensnmptree --- >>> /usr/obj/usr/src/tmp/usr/src/usr.sbin/bsnmpd/gensnmptree created for >>> /usr/src/usr.sbin/bsnmpd/gensnmptree >>> --- _bootstrap-tools-usr.bin/compile_et --- >>> *** [parse.c] Error code 127 >>>=20 >>> So I have relatively little further to test. >>> Perhaps the '-j 32' was a bit aggressive, but it gets fast where the >>> error is. >>=20 >> Well, that=92s amusing :(. You found a new race that wasn=92t = present before my changes to parallelize bootstrap-tools (kerberos comes = before yacc in bootstrap-tools). Do you have yacc installed on your = machine? >> Please try out this patch. >> Thanks! >> -NGie >>=20 >> $ svn diff Makefile.inc1=20 >> Index: Makefile.inc1 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- Makefile.inc1 (revision 281823) >> +++ Makefile.inc1 (working copy) >> @@ -1358,6 +1358,8 @@ >> usr.bin/compile_et >>=20 >> .ORDER: ${_kerberos5_bootstrap_tools:C/^/${_bt}-/g} >> + >> +${_bt}-usr.bin/compile_et: ${_bt}-usr.bin/yacc >> .endif >>=20 >> bootstrap-tools: .PHONY >=20 > It=92ll also need lex too. This should be a bit more comprehensive: >=20 > Index: Makefile.inc1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- Makefile.inc1 (revision 281823) > +++ Makefile.inc1 (working copy) > @@ -1358,6 +1358,8 @@ > usr.bin/compile_et >=20 > .ORDER: ${_kerberos5_bootstrap_tools:C/^/${_bt}-/g} > + > +${_bt}-usr.bin/compile_et: ${_bt}$-usr.bin/lex ${_bt}-usr.bin/yacc > .endif >=20 > bootstrap-tools: .PHONY I=92ll work out the finally kinks with how to spell lex and yacc=85 This is part of the reason why I think BOOTSTRAPPING needs to be kicked = to the curb and everything needs to be built in parallel, but enough = people haven=92t complained about built failures, so the optimization = remains.. --Apple-Mail=_879DB1BF-3C30-485B-B225-B6D99E54874F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVOhV4AAoJEMZr5QU6S73ekLYIAI8gpgGDEh5ERXxb7SCO17x2 QHl5w4uRWhhOVdu7MpI6jDzcMBPIQAf/spJfzw2hmP6PXNcteNJr9lQLs23KzXUY xWZtvw13W42X0TVn+Cxk5OP/BuiUUIVZxStbJDbt9dEKhFF57fk6VDKJWnzYm/x/ YRGZ9IHbYzvGE1cxLjh5zZzNojCf4zupqmtXGQkkM2vEiEgC37dCt27J1c/W1md8 R2OxyjWfoiZV6EfPSvx/fk90nWXHOaFWdBtcySwSwdW7EBtfuiP4fBWPSX0EPgCt 1tnDAiwnLMAP8ilQWPJ1vO6/YYLpuAXX9wrhMMYSyMXR0s1t4OCex+jHe9Y7v1Q= =iKMD -----END PGP SIGNATURE----- --Apple-Mail=_879DB1BF-3C30-485B-B225-B6D99E54874F--