Re: r279278 failed to build (yacc: maximum table size exceeded)

From: Glen Barber <gjb_at_FreeBSD.org>
Date: Wed, 25 Feb 2015 19:05:12 +0000
On Wed, Feb 25, 2015 at 10:51:31PM +0400, Arseny Nasokin wrote:
> On 25 February 2015 at 20:27, Jung-uk Kim <jkim_at_freebsd.org> 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.

Glen


Received on Wed Feb 25 2015 - 18:05:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC