LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   bug in bison-3.3 trying to build glibc-2.28 (https://www.linuxquestions.org/questions/slackware-14/bug-in-bison-3-3-trying-to-build-glibc-2-28-a-4175647237/)

nobodino 01-29-2019 01:35 PM

bug in bison-3.3 trying to build glibc-2.28
 
if you try to build glibc-2.28 with bison-3.3 it will fail:
---------------------------------------------
bc-2.28/intl/explodename.o
bison --yacc --name-prefix=__gettext --output /tmp/glibc-2.28/build-glibc-2.28/intl/plural.c plural.y
plural.y:46.1-7: error: POSIX Yacc does not support %define [-Werror=yacc]
%define api.pure full
^~~~~~~
plural.y:47.1-7: error: POSIX Yacc does not support %expect [-Werror=yacc]
%expect 7
^~~~~~~
make[2]: *** [Makefile:46: /tmp/glibc-2.28/build-glibc-2.28/intl/plural.c] Error 1
make[2]: Leaving directory '/tmp/glibc-2.28/intl'
make[1]: *** [Makefile:258: intl/subdir_lib] Error 2
make[1]: Leaving directory '/tmp/glibc-2.28'
make: *** [Makefile:9: all] Error 2
------------------------------
if you upgrade bison to bison-3.3.1, it will succeed.

volkerdi 01-29-2019 02:09 PM

bison-3.3.1 should fix that.

nobodino 01-29-2019 02:24 PM

I consider it as solved in a short term.
Thanks


All times are GMT -5. The time now is 01:47 PM.