From owner-freebsd-current@FreeBSD.ORG Wed Feb 25 19:59:48 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 023A721F; Wed, 25 Feb 2015 19:59:48 +0000 (UTC) Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE025DD1; Wed, 25 Feb 2015 19:59:47 +0000 (UTC) Received: by pdjz10 with SMTP id z10so7159671pdj.12; Wed, 25 Feb 2015 11:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=gyuDA0P1YpEOCbUzUJY46p73GQIoeidRsI0XnpMSpQc=; b=M6QLExe8ou5q1L92LQQ9iblqURRkK+qba7wPilmE3c/huCNKmdRrvy7co7ftZDkzsJ ZdNBSZyDMEshlglOntlOpPeUQ4OwuQHOeQ5wziaZpS6BLgNyGUrfXWmbyg0T/ZgY/NYB AMuH008Vw7cDi5+Syp7Jr9gkuMiOklaJ9+ZuHu4YlXK05+JTqWF12e9pbtneIJE4mYP9 p0RBaojquwTQLoUG+wjq7F5IhmHnw5iMk+qBRfsjYw3Brkh22lIso0P49otZIOOlMvFn wLhkoxvPQ9OSh9AQyHGPYGzW6xVqZrBK6A8Kv/y+lNl5T/v8IF47B5srAziPZPvw0z9j 4Tfw== X-Received: by 10.70.26.100 with SMTP id k4mr8325173pdg.125.1424894387264; Wed, 25 Feb 2015 11:59:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.66.232.9 with HTTP; Wed, 25 Feb 2015 11:59:27 -0800 (PST) In-Reply-To: <54EE1F1D.8060807@FreeBSD.org> References: <20150225154327.GD1161@hub.FreeBSD.org> <20150225182201.216f6fee@nonamehost.local> <54EE05EA.3030509@FreeBSD.org> <20150225190512.GH1161@hub.FreeBSD.org> <54EE1F1D.8060807@FreeBSD.org> From: Arseny Nasokin Date: Wed, 25 Feb 2015 23:59:27 +0400 Message-ID: Subject: Re: r279278 failed to build (yacc: maximum table size exceeded) To: Jung-uk Kim Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Ivan Klymenko , Glen Barber , freebsd-current , Allan Jude X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 19:59:48 -0000 On 25 February 2015 at 22:14, Jung-uk Kim wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 02/25/2015 14:05, Glen Barber wrote: > > On Wed, Feb 25, 2015 at 10:51:31PM +0400, Arseny Nasokin wrote: > >> On 25 February 2015 at 20:27, Jung-uk Kim > >> wrote: > >>> Your installed yacc(1) is too old, i.e., your world was built > >>> from head before r274460. FYI, this commit fixes the above > >>> problem for building from stable: > >>> > >>> https://svnweb.freebsd.org/changeset/base/278975 > >>> > >>> For building from old head (pre-r274460), you have to manually > >>> bootstrap yacc first, e.g., something like this: > >>> > >>> cd /usr/src/usr.bin/yacc make clean cleandepend make all && > >>> make install make clean cleandepend cd /usr/src make > >>> buildworld > >>> > >> > >> Hi, guys, > >> > >> I've found the fix by forcing to add yacc(1) to bootstrap build. > >> > >> Makefile.inc1, line 1277: > >> > >> if ${BOOTSTRAPPING} < 1001506 _yacc= lib/liby \ > >> > >> change to: > >> > >> if ${BOOTSTRAPPING} < 1201506 ## It is for test purposes only!!! > >> _yacc= lib/liby \ > >> > > > > This can be set to 1001507 now; __FreeBSD_version was bumped > > earlier today. > > Nope, 1001506 is correct, i.e., the change was MFC'ed to stable/10 and > __FreeBSD_version was bumped to reflect it. > > https://svnweb.freebsd.org/changeset/base/277087 > > Jung-uk Kim > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQEcBAEBCAAGBQJU7h8dAAoJEHyflib82/FGL9cH/A3wsEEjtUNGcmOfYHN2+l50 > K9xCxRwLvioxOjFygnHoNTvxhSMxjMCvX7UtyLR3CWD/31FJEsGgv7uFoavAMUPq > hk5vAUJgoAbue4FwF6Ow7Lmm59dl+4ukVqEawepYFlYn6njLgJt1itF74VD9aufi > D1oRk72KhhPXe66DYJsXzybgq5ba2/eJy0/YLsheRnsb2zB7fEcHGGca1icAVgjm > 794BQdk0kOG7+EkQcafIElY4HJb+mJCE4iFg3NCrhrs7wEYZZQXlqDUVKRd0R5kN > U4u4EiXckiyDVPrzicnpVCtQD5vdxH5BBfWC1FQIFnzTJgLZuRihLpfmDZOeHS8= > =+AsC > -----END PGP SIGNATURE----- > Jung, I have FreeBSD 11.0-CURRENT r265265 with OSRELDATE 1100020 and invalid YACC. So This conditional expression must be fixed to check if this 11.x and yacc is not changed. In my hypothetical "patch" I set OSRELDATE to invalid abstract future version, because it's only concept and I have no time to fix it correctly now.