Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 13:01:45 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>, freebsd-stable@freebsd.org
Subject:   Re: bmake[1]: don't know how to make _bootstrap-tools-usr.bin/m4. Stop
Message-ID:  <569023B9.9050600@FreeBSD.org>
In-Reply-To: <569022F6.50401@FreeBSD.org>
References:  <20151224075253.GF70867@zxy.spb.ru> <569022F6.50401@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--aVg7hgPpN8BMDRXGr5wFID4QfRam8gT41
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 1/8/2016 12:58 PM, Bryan Drewery wrote:
> On 12/23/2015 11:52 PM, Slawa Olhovchenkov wrote:
>> I am try to upgrade very old 10-CURRENT to latest 10-STABLE and got
>> next error:
>>
>> =3D=3D=3D> usr.bin/yacc (obj,depend,all,install)
>> bmake[1]: don't know how to make _bootstrap-tools-usr.bin/m4. Stop
>>
>> bmake[1]: stopped in /usr/src
>> *** Error code 2
>>
>> Stop.
>> bmake: stopped in /usr/src
>> *** [buildworld] Error code 1
>>
>> Stop in /usr/src.
>=20
> It's a bug in the build for sure.
>=20
> .if ${BOOTSTRAPPING} < 1000002
> _m4=3D            usr.bin/m4
> .endif
>=20
> .if ${BOOTSTRAPPING} < 1000033
> _lex=3D           usr.bin/lex
>=20
> ${_bt}-usr.bin/lex: ${_bt}-usr.bin/m4
> .endif
>=20
> Upgrading from 1000002-1000032 to latest will not build usr.bin/m4 even=

> though usr.bin/lex is claiming to need it.
>=20
> https://people.freebsd.org/~bdrewery/patches/stable-10-lex-m4.diff
> should fix it. It's not necessarily the final fix though but it should
> let you build for now.
>=20

Actually that patch won't suffice according to the change that added the
bug:

r288829 | ian | 2015-10-05 10:45:13 -0700 (Mon, 05 Oct 2015) | 13 lines

The latest version of lex requires the latest m4 to build, add a dependen=
cy
when running the build-tools stage.

The requirement is due to the -P flag used when running m4 from usr.bin/l=
ex
---

This one should work:

https://people.freebsd.org/~bdrewery/patches/stable-10-lex-m4-2.diff

--=20
Regards,
Bryan Drewery


--aVg7hgPpN8BMDRXGr5wFID4QfRam8gT41
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJWkCO5AAoJEDXXcbtuRpfPM/wIAMWi7F6NobJlAzyF6LXrhXix
u5fbmhhj7MtYdCVylLog7WWA+dYCHZ26teOzYaaRUwsplYjAhg2f6aCFf8BYv6iF
+8dEbZ2sng4io0PlXzRcIYuPPOcn1GF1J6hGya7oXlMfa9kj0Vwu0Ffccr4Y70Lx
NEgFRGWo2X4t1JvrC1yZPan7g0IDeo0ryLVU7qKYgfmqFyndGA4PFIDEhtqVLJh7
5xg47d/tkw4mM17tYCTn78tWiDWWbRdBr6ZEcA1Bk4deQrrlbjCN5GeHvLTYgBop
xsG+b7M1Fxj7xVJsgbUTPYugul7HrGbKvsZfpyjbnUWtdFike1XJ/V0Uo+f14Po=
=5/C9
-----END PGP SIGNATURE-----

--aVg7hgPpN8BMDRXGr5wFID4QfRam8gT41--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?569023B9.9050600>