Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2015 00:47:00 +0400
From:      Arseny Nasokin <eirnym@gmail.com>
To:        Jung-uk Kim <jkim@freebsd.org>
Cc:        Ivan Klymenko <fidaj@ukr.net>, Glen Barber <gjb@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>, Allan Jude <allanjude@freebsd.org>
Subject:   Re: r279278 failed to build (yacc: maximum table size exceeded)
Message-ID:  <CAO8GK0oJ4YagNAHykavMCtpdbcmQfrDJhk=NwwZhn42rTtQXHg@mail.gmail.com>
In-Reply-To: <54EE2D68.9050209@FreeBSD.org>
References:  <CAO8GK0rbMADtgY7-y8aLOy8rpaSeXOuftZXUYFSaZ8xOTh45kQ@mail.gmail.com> <20150225154327.GD1161@hub.FreeBSD.org> <20150225182201.216f6fee@nonamehost.local> <54EE05EA.3030509@FreeBSD.org> <CAO8GK0oQ6ZkBV93ioO1n-YRbOn2ffW3AoyQXxumhWiicYNPHww@mail.gmail.com> <20150225190512.GH1161@hub.FreeBSD.org> <54EE1F1D.8060807@FreeBSD.org> <CAO8GK0q44GpvBAQKKeUuatg%2BA4cv0cpgb09UPo=feKgcpM%2BQbw@mail.gmail.com> <54EE2D68.9050209@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 February 2015 at 23:15, Jung-uk Kim <jkim@freebsd.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 02/25/2015 14:59, Arseny Nasokin wrote:
> > On 25 February 2015 at 22:14, Jung-uk Kim <jkim@freebsd.org
> > <mailto:jkim@freebsd.org>> wrote:
> >
> > 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 <jkim@freebsd.org
> > <mailto:jkim@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.
> >
> > 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
> >
> >
> > 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.
>
> Wow, that's more than 9-month old now.
>
> > 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.
>
> If you insist, you can try this:
>
> - --- Makefile.inc1
> +++ Makefile.inc1
> @@ -1274,7 +1274,8 @@
>  _awk=          usr.bin/awk
>  .endif
>
> - -.if ${BOOTSTRAPPING} < 1001506
> +.if ${BOOTSTRAPPING} < 1001506 || \
> +    (${BOOTSTRAPPING} >= 1100000 && ${BOOTSTRAPPING} < 1100046)
>  _yacc=         lib/liby \
>                 usr.bin/yacc
>
> (but I won't commit it.)
>
> Jung-uk Kim
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJU7i1kAAoJEHyflib82/FGh9kH/07QOQ+xlPQVApJD+x1u/c4b
> G1g4mmOhEKKOjVK9dJFKY1hvTiLYkOB3UDwJH8rmzbglInY+eepbD9Ac15Dtl90b
> RFvNEB3B7Rwzt9ljg2zH/OQ6HnPCHgreF31ggkmKLszQ/Rrv62KTmN9ML4dkx897
> 7jAPwwtMb2XfLzyAc2fMNne3xl/zmdzafcqA+87UOUJ3Jb4rv35/x3kSrOqsMzvj
> A3ufAepzG2J0+fH62ZP2L/FfuXoaKP0hlIpXZwNYAciSf+GAa7McYyu1aaRZQedF
> 1DSphDtSFnJKR+ltIvDL5WH98Zi0iOu5FHb9bLfW/s+bV+oxs4/ZQHtxsIejLN4=
> =3xA9
> -----END PGP SIGNATURE-----
>

Thank you,
It works well for me.

-- Eir Nym



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO8GK0oJ4YagNAHykavMCtpdbcmQfrDJhk=NwwZhn42rTtQXHg>