From owner-freebsd-current@FreeBSD.ORG Wed Feb 25 18:51:53 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 DFC8F8F7; Wed, 25 Feb 2015 18:51:52 +0000 (UTC) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) (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 A87AA639; Wed, 25 Feb 2015 18:51:52 +0000 (UTC) Received: by pabrd3 with SMTP id rd3so7369812pab.1; Wed, 25 Feb 2015 10:51:52 -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=KXmQO61zm8FTHip2rdy21aOlsiCwMpFXBLjO5dnqO4k=; b=0oa9gFLxlXwVP7/l5ji1MhZ6Et+ptqfCW30hyCoI7jPOHMHbVT7cMCL7K4iGIBHlTz 2DWGCKkUwlbOwLoZX/I3ur/hYGUvR8tzKziAfyya9uUZOiyHe7FjbmqTCI+ZDE3cwGbv VixTnqv68/bykqGD5vY/tOsejHAvUSY/hC7o4wmnWUHGcje9NzAYOMpkBG3PH8EeYwkh Yk9Ffy/12gSjwlL85m9kuSqbzMILrkYmcQD1/+DXsFKGaGlzRXULIJ7LTaXUf/Z8R53/ 2d/U/HTPRbAIhKispQSSoNutvMCfJAfZ5+X6aVO0QpG9nqBbTH3sG/8DhjWgpixLTR9w HuDA== X-Received: by 10.66.118.129 with SMTP id km1mr8037131pab.112.1424890312265; Wed, 25 Feb 2015 10:51:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.66.232.9 with HTTP; Wed, 25 Feb 2015 10:51:31 -0800 (PST) In-Reply-To: <54EE05EA.3030509@FreeBSD.org> References: <20150225154327.GD1161@hub.FreeBSD.org> <20150225182201.216f6fee@nonamehost.local> <54EE05EA.3030509@FreeBSD.org> From: Arseny Nasokin Date: Wed, 25 Feb 2015 22:51:31 +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 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Ivan Klymenko , Glen Barber , freebsd-current@freebsd.org, 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 18:51:53 -0000 On 25 February 2015 at 20:27, Jung-uk Kim wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 02/25/2015 11:22, Ivan Klymenko wrote: > > =D0=92 Wed, 25 Feb 2015 15:43:27 +0000 Glen Barber > > =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > > >> On Wed, Feb 25, 2015 at 07:32:45PM +0400, Arseny Nasokin wrote: > >>> I have clean svn tree with base/head branch. I try to build > >>> world, but I have some mysterious bugs. The latest is yacc > >>> failed to make c file on phase 4.3: > >>> > >>> =3D=3D=3D> usr.sbin/acpi/iasl (depend) m4 -P > >>> -I/usr/src/usr.sbin/acpi/iasl/../../../sys/contrib/dev/acpica/compile= r > >>> > >>> > > /usr/src/usr.sbin/acpi/iasl/../../../sys/contrib/dev/acpica/compiler/aslp= arser.y > >>>> aslcompiler.y > >>> yacc -d -pAslCompiler -oaslcompilerparse.c aslcompiler.y yacc: > >>> 89 shift/reduce conflicts. yacc: f - maximum table size > >>> exceeded *** Error code 2 > >>> > >>> /etc/make.conf is /dev/null. I've also tried empty > >>> /etc/src.conf with no luck. > >>> > >> > >> Out of curiosity, is your src tree mounted via NFS? > >> > >> Glen > >> > > > > I have a similar problem on revision /usr/src # svn info Path: . > > Working Copy Root Path: /usr/src URL: > > svn://svn.freebsd.org/base/head Relative URL: ^/head Repository > > Root: svn://svn.freebsd.org/base Repository UUID: > > ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 279213 Node Kind: > > directory Schedule: normal Last Changed Author: glebius Last > > Changed Rev: 279213 Last Changed Date: 2015-02-23 20:57:09 +0200 > > (Mon, 23 Feb 2015) > > > > http://pastebin.com/FuAUkBmX > > > > Source tree is on the zfs /usr/src # zfs list zroot/usr/src NAME > > USED AVAIL REFER MOUNTPOINT zroot/usr/src 1.35G 408G 1.35G > > /usr/src > > > > what is most surprising, the same revision successfully building > > for the other 2 computers, including amd64|zfs and i386|ufs. > > 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 > > Jung-uk Kim > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQEcBAEBCAAGBQJU7gXkAAoJEHyflib82/FGAsMH/iw2oNbyOPY7t/GIm+7QpqKS > 4jOZisFY9WD8UCpziqwnp5Ia1A4YC4rn7W5G6wKALHMTuo3kT8lFEWV5sIVhc0dm > 7to624zTVsNZqBhCFODRMZSXSlpMNCkjWtixGT1spEmyUAeKSEq5dPLaj3JyOOUw > XvZbY6l4f/jFr+68z/uIHRJi3NbP5SODIYuUanO7X0nVuxI0PQNE45o3p2dj7lRJ > 9eV0G5/SJUT8uWSuXy2kOY+TZWAk8VTTz/nb+krKPtwBdsv+nhSu3NDuaTJQk4gm > KaA+FaOgP/vhyxrF61qBOVq+MDy66/XuU4s/9IKrRoeUrZX0j5X4JoGC1p2+cgU=3D > =3DlpVt > -----END PGP SIGNATURE----- > Hi, guys, I've found the fix by forcing to add yacc(1) to bootstrap build. Makefile.inc1, line 1277: if ${BOOTSTRAPPING} < 1001506 _yacc=3D lib/liby \ change to: if ${BOOTSTRAPPING} < 1201506 ## It is for test purposes only!!! _yacc=3D lib/liby \ -- Eir Nym