Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676530 - x11-libs/libxkbcommon-0.8.2 with sys-devel/bison-3.3 : /.../parser.y:219.1-11: error: POSIX Yacc does not support %destructor [-Werror=yacc]
Summary: x11-libs/libxkbcommon-0.8.2 with sys-devel/bison-3.3 : /.../parser.y:219.1-11...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-27 16:31 UTC by Toralf Förster
Modified: 2019-02-01 19:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.95 KB, text/plain)
2019-01-27 16:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,9.97 KB, text/plain)
2019-01-27 16:31 UTC, Toralf Förster
Details
environment (environment,123.52 KB, text/plain)
2019-01-27 16:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.80 KB, application/x-bzip)
2019-01-27 16:31 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.39 KB, application/x-bzip)
2019-01-27 16:31 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.56 KB, application/x-bzip)
2019-01-27 16:31 UTC, Toralf Förster
Details
x11-libs:libxkbcommon-0.8.2:20190127-161829.log (x11-libs:libxkbcommon-0.8.2:20190127-161829.log,13.66 KB, text/plain)
2019-01-27 16:31 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-01-27 16:31:37 UTC
make -j1 
/bin/sh /var/tmp/portage/x11-libs/libxkbcommon-0.8.2/work/libxkbcommon-0.8.2/build-aux/ylwrap /var/tmp/portage/x11-libs/libxkbcommon-0.8.2/work/libxkbcommon-0.8.2/src/xkbcomp/parser.y y.tab.c src/xkbcomp/parser.c y.tab.h `echo src/xkbcomp/parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output src/xkbcomp/parser.output -- bison -y -d -p _xkbcommon_ 
/var/tmp/portage/x11-libs/libxkbcommon-0.8.2/work/libxkbcommon-0.8.2/src/xkbcomp/parser.y:219.1-11: error: POSIX Yacc does not support %destructor [-Werror=yacc]
 %destructor { FreeStmt((ParseCommon *) $$); }
 ^~~~~~~~~~~
/var/tmp/portage/x11-libs/libxkbcommon-0.8.2/work/libxkbcommon-0.8.2/src/xkbcomp/parser.y:224.1-11: error: POSIX Yacc does not support %destructor [-Werror=yacc]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_libressl_20190127-101048

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





emerge -qpvO x11-libs/libxkbcommon
[ebuild  N    ] x11-libs/libxkbcommon-0.8.2  USE="X -doc -static-libs -test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2019-01-27 16:31:40 UTC
Created attachment 562990 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-27 16:31:42 UTC
Created attachment 562992 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-01-27 16:31:45 UTC
Created attachment 562994 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-01-27 16:31:48 UTC
Created attachment 562996 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-01-27 16:31:51 UTC
Created attachment 562998 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-01-27 16:31:54 UTC
Created attachment 563000 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-01-27 16:31:57 UTC
Created attachment 563002 [details]
x11-libs:libxkbcommon-0.8.2:20190127-161829.log
Comment 8 Javier 2019-01-28 05:06:32 UTC
Just ran into this bug. Was able to get around it by downgrading sys-devel/
bison
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2019-01-29 18:49:51 UTC
This should be fixed with sys-devel/bison-3.3.1, please try again with this version.

Other packages have been hitting this too, e.g. bug 676524.
Comment 10 Toralf Förster gentoo-dev 2019-01-29 19:09:15 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #9)
> This should be fixed with sys-devel/bison-3.3.1
indeed