Date: Fri, 8 Jan 2016 12:58:30 -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: <569022F6.50401@FreeBSD.org> In-Reply-To: <20151224075253.GF70867@zxy.spb.ru> References: <20151224075253.GF70867@zxy.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBAgAGBQJWkCL3AAoJEDXXcbtuRpfPetoIAK201FfvdyAST4I47oVjIwhf
AV0OixraSqu0anYHrzBmrw08z02yH1qtm+HhDzvwb1SxGNG7gVna09PINjlVMsOQ
/oQJi56x31EykgL8eWNsFhkc+mKGeJ2PFa9OgEXS3VynFP/T6w0nVd8eFXyprIFt
DuLMvBGDuqMRKh2CFIdcVCmU0hc7TaYm3/iAnJzR4oqS73g3Vhww2LRYhlqVACRq
gTTpq4oVXmtOTSX9vpMuxWcvocrTtKryfT9X7NevCIpG9bGRPB4CfmhakHjhi2XD
GUX/La1tz9bdsvMEMjyHNt9a+FcTUcK40U0+wh1LJPaU5sxvMI16+Zry2UlufZ4=
=1cr8
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?569022F6.50401>
