Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 02:59:52 -0700
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        Ed Maste <emaste@freebsd.org>, Warren Block <wblock@wonkity.com>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Newer yacc needed for building world
Message-ID:  <DF687DD3-EC98-4603-98B0-E7553612D780@gmail.com>
In-Reply-To: <5538B5CF.9010508@digiware.nl>
References:  <5537C3BA.8010206@digiware.nl> <alpine.BSF.2.20.1504221045000.98242@wonkity.com> <5537FCA1.6010108@digiware.nl> <CAPyFy2CmUO65D6D6U4ywaRb4AadH=pqG-sziXEsQd0OKuSBXPg@mail.gmail.com> <5538B5CF.9010508@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_10040B4C-8BBC-474F-9503-468A5C45F136
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On Apr 23, 2015, at 2:05, Willem Jan Withagen <wjw@digiware.nl> wrote:

> On 22/04/2015 23:37, Ed Maste wrote:
>> On 22 April 2015 at 15:55, Willem Jan Withagen <wjw@digiware.nl> =
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.

	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

$ 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

--Apple-Mail=_10040B4C-8BBC-474F-9503-468A5C45F136
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

iQEcBAEBCgAGBQJVOhQYAAoJEMZr5QU6S73eyEEH/RJVdoMij/pIWkhDHCxNxfrU
larjaCTwxUjUUQv4eS55Yo6GFa9nGh7MLocyGMtnHmkWpgYpQishcw7zchhu55cK
4ta2iL74wQhTSVMHjIOgCkpA4yPZcC1Sy1e8/e4/WnGzLl+wGj6RsuOIe7YRqpof
CfMhkNFrNbgFqloGzga7t3OISkpprCQn8xwmzlkmZ18OS1dBh0xlcWHXLUJhXsF2
zoMNDPNvZza1K+BW03eB4rtkpvNxZOg2fOSNSFKeff82KSAYF2L2lnj9jITb0Dae
u46/owobc5u6Kzplu4bO13Zolef3vXBcjMIgSXVJ1CKlkPfKBNTmZLoPoRGJ4sw=
=dBIA
-----END PGP SIGNATURE-----

--Apple-Mail=_10040B4C-8BBC-474F-9503-468A5C45F136--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF687DD3-EC98-4603-98B0-E7553612D780>