From owner-freebsd-stable@freebsd.org Fri Jan 15 17:04:44 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 0A197A82C69 for ; Fri, 15 Jan 2016 17:04:44 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE4CF18F3; Fri, 15 Jan 2016 17:04:43 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aK7nj-000MtW-TS; Fri, 15 Jan 2016 20:04:39 +0300 Date: Fri, 15 Jan 2016 20:04:39 +0300 From: Slawa Olhovchenkov To: Bryan Drewery Cc: freebsd-stable@freebsd.org Subject: Re: bmake[1]: don't know how to make _bootstrap-tools-usr.bin/m4. Stop Message-ID: <20160115170439.GC37895@zxy.spb.ru> References: <20151224075253.GF70867@zxy.spb.ru> <569022F6.50401@FreeBSD.org> <569023B9.9050600@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <569023B9.9050600@FreeBSD.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false 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, 15 Jan 2016 17:04:44 -0000 On Fri, Jan 08, 2016 at 01:01:45PM -0800, Bryan Drewery wrote: > 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 STABLE now in build process, thanks! Because this is VIA C3 with 192MB PC133 RAM after day build only install includes passed :)