From owner-freebsd-stable@freebsd.org Fri Jan 8 21:01:43 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1E59A681BE for ; Fri, 8 Jan 2016 21:01:42 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D01AF1B1A; Fri, 8 Jan 2016 21:01:42 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id C9CFF10AD; Fri, 8 Jan 2016 21:01:42 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 6C362185C2; Fri, 8 Jan 2016 21:01:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id 1F6HZ7JC1pLz; Fri, 8 Jan 2016 21:01:39 +0000 (UTC) Subject: Re: bmake[1]: don't know how to make _bootstrap-tools-usr.bin/m4. Stop DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 04CCD185BA To: Slawa Olhovchenkov , freebsd-stable@freebsd.org References: <20151224075253.GF70867@zxy.spb.ru> <569022F6.50401@FreeBSD.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <569023B9.9050600@FreeBSD.org> Date: Fri, 8 Jan 2016 13:01:45 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <569022F6.50401@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aVg7hgPpN8BMDRXGr5wFID4QfRam8gT41" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 21:01:43 -0000 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--