From owner-freebsd-stable@freebsd.org Fri Jan 15 17:17: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 14226A8303C for ; Fri, 15 Jan 2016 17:17:43 +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 00E2D1DDF; Fri, 15 Jan 2016 17:17:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id EE07C12A3; Fri, 15 Jan 2016 17:17: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 B604C164B9; Fri, 15 Jan 2016 17:17: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 5VRl9c4ye1Du; Fri, 15 Jan 2016 17:17:40 +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 D586B164B0 To: Slawa Olhovchenkov References: <20151224075253.GF70867@zxy.spb.ru> <569022F6.50401@FreeBSD.org> <569023B9.9050600@FreeBSD.org> <20160115170439.GC37895@zxy.spb.ru> Cc: freebsd-stable@freebsd.org From: Bryan Drewery Organization: FreeBSD Message-ID: <569929B2.4010907@FreeBSD.org> Date: Fri, 15 Jan 2016 09:17:38 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160115170439.GC37895@zxy.spb.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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:17:43 -0000 On 1/15/16 9:04 AM, Slawa Olhovchenkov wrote: > 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 :) > FYI, I committed a patch to stable/10 recently. No custom patch is needed now. -- Regards, Bryan Drewery