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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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:
>>
>> ===> 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.
>
> It's a bug in the build for sure.
>
> .if ${BOOTSTRAPPING} < 1000002
> _m4= usr.bin/m4
> .endif
>
> .if ${BOOTSTRAPPING} < 1000033
> _lex= usr.bin/lex
>
> ${_bt}-usr.bin/lex: ${_bt}-usr.bin/m4
> .endif
>
> Upgrading from 1000002-1000032 to latest will not build usr.bin/m4 even
> though usr.bin/lex is claiming to need it.
>
> 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.
>
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 dependency
when running the build-tools stage.
The requirement is due to the -P flag used when running m4 from usr.bin/lex
---
This one should work:
https://people.freebsd.org/~bdrewery/patches/stable-10-lex-m4-2.diff
--
Regards,
Bryan Drewery
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBAgAGBQJWkCO5AAoJEDXXcbtuRpfPM/wIAMWi7F6NobJlAzyF6LXrhXix
u5fbmhhj7MtYdCVylLog7WWA+dYCHZ26teOzYaaRUwsplYjAhg2f6aCFf8BYv6iF
+8dEbZ2sng4io0PlXzRcIYuPPOcn1GF1J6hGya7oXlMfa9kj0Vwu0Ffccr4Y70Lx
NEgFRGWo2X4t1JvrC1yZPan7g0IDeo0ryLVU7qKYgfmqFyndGA4PFIDEhtqVLJh7
5xg47d/tkw4mM17tYCTn78tWiDWWbRdBr6ZEcA1Bk4deQrrlbjCN5GeHvLTYgBop
xsG+b7M1Fxj7xVJsgbUTPYugul7HrGbKvsZfpyjbnUWtdFike1XJ/V0Uo+f14Po=
=5/C9
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?569023B9.9050600>
