bmake[1]: don't know how to make _bootstrap-tools-usr.bin/m4. Stop
Bryan Drewery
bdrewery at FreeBSD.org
Fri Jan 8 20:58:33 UTC 2016
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.
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20160108/dd0f6744/attachment.sig>
More information about the freebsd-stable
mailing list