Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427438 - www-client/chromium-21.0.1180.49 fails to compile with sys-devel/bison-2.6: error: too many arguments to function ‘int WebCore::XPath::xpathyyparse()’
Summary: www-client/chromium-21.0.1180.49 fails to compile with sys-devel/bison-2.6: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
: 428108 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-21 08:05 UTC by Mark Nowiasz
Modified: 2012-08-01 12:51 UTC (History)
13 users (show)

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


Attachments
build.log (bzipped) for chromium (build.log.bz2,308.17 KB, application/octet-stream)
2012-07-21 08:07 UTC, Mark Nowiasz
Details
Difference in generated XPathGrammar.h (XPathGrammar.diff,2.71 KB, text/plain)
2012-07-21 17:53 UTC, Mike Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Nowiasz 2012-07-21 08:05:04 UTC
When trying to upgrade chromium, chromium fails to compile:


third_party/WebKit/Source/WebCore/xml/XPathParser.cpp: In member function ‘WebCore::XPath::Expression* WebCore::XPath::Parser::parseStatement(const WTF::String&, WTF::PassRefPtr<WebCore::XPathNSResolver>, WebCore::ExceptionCode&)’:
third_party/WebKit/Source/WebCore/xml/XPathParser.cpp:478:39: error: too many arguments to function ‘int WebCore::XPath::xpathyyparse()’
/var/tmp/portage/www-client/chromium-21.0.1180.49/work/chromium-21.0.1180.49/out/Release/obj/gen/webkit/XPathGrammar.hpp:108:5: note: declared here


Reproducible: Always

Steps to Reproduce:
1. emerge -uDN @world @system
2.
3.
Actual Results:  
third_party/WebKit/Source/WebCore/xml/XPathParser.cpp: In member function ‘WebCore::XPath::Expression* WebCore::XPath::Parser::parseStatement(const WTF::String&, WTF::PassRefPtr<WebCore::XPathNSResolver>, WebCore::ExceptionCode&)’:
third_party/WebKit/Source/WebCore/xml/XPathParser.cpp:478:39: error: too many arguments to function ‘int WebCore::XPath::xpathyyparse()’
/var/tmp/portage/www-client/chromium-21.0.1180.49/work/chromium-21.0.1180.49/out/Release/obj/gen/webkit/XPathGrammar.hpp:108:5: note: declared here



emerge --info
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r2, 3.4.5-gentoo x86_64)
=================================================================
System uname: Linux-3.4.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Sat, 21 Jul 2012 06:45:01 +0000
app-shells/bash:          4.2_p36
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.5, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 apng audiofile bash-completion bcmath berkdb blas bluetooth branding bzip2 cairo calendar cdb cdda cddb cdinstall cdparanoia cdr chromium cli clutter consolekit cracklib crypt css cups curl curlwrappers cvs cxx dbus djvu dri dts dv dvb dvd dvdr eds encode enscript evo exif expat fam ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm gdu geoip gif gimp git glut gmp gnome gnome-keyring gnome-online-accounts gnuplot gnutls gphoto2 gpm graphviz gsl gsm gstreamer gtk gtk3 gtkhtml gudev gzip handbook hbci hddtemp hdf5 iconv icq icu idn imagemagick imap imlib ipv6 jabber jack java java6 javascript jbig jingle joystick jpeg jpeg2k kde lame lapack lash latex lcms ldap libcaca libedit libffi libnotify libsamplerate libwww lm_sensors lua lzma lzo mad maildir matroska memlimit mercurial mhash mikmod milter mime mmap mms mmx mng modplug modules mp3 mp4 mpeg mpi mplayer msn mtp mudflap multilib musepack musicbrainz mysql mysqli nas ncurses netcdf nls nntp nocd nptl nsplugin ocr odbc offensive ofx ogg openal openexr opengl openmp osc oscar pam pcntl pcre pda pdf php plasma plotutils png policykit postgres ppds pppd pulseaudio python qt3support qt4 quicktime raw rdesktop readline recode rss samba sasl scanner sdl semantic-desktop session sharedmem shorten slang slp smp sndfile snmp soap sockets sound sox speex spell sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion suid svg syslog szip taglib tcl tcpd themes theora threads tiff timidity tk tokenizer tracker truetype unicode upnp usb v4l vala vcd videos vim-syntax vnc vorbis vpn vpnc wavpack webkit wmf wxwidgets x264 xattr xcb xcomposite xface xft xine xinerama xml xmlrpc xmp xmpp xorg xosd xpm xscreensaver xsl xulrunner xv xvid yahoo yaz zeitgeist zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Mark Nowiasz 2012-07-21 08:07:02 UTC
Created attachment 318804 [details]
build.log (bzipped) for chromium
Comment 2 Mark Nowiasz 2012-07-21 08:08:02 UTC
emerge -pqv '=www-client/chromium-21.0.1180.49'
[ebuild     U ] www-client/chromium-21.0.1180.49 [21.0.1180.41] USE="cups gnome gnome-keyring -bindist -custom-cflags -kerberos (-pulseaudio) (-selinux) -test" LINGUAS="de -am -ar -bg -bn -ca -cs -da -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW"
Comment 3 Philipp Riegger 2012-07-21 12:41:39 UTC
Same here.
Comment 4 Torsten Kurbad 2012-07-21 15:03:50 UTC
(In reply to comment #3)
> Same here.

And here.

emerge --info
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r2, 3.4.5-gentoo x86_64)
=================================================================
System uname: Linux-3.4.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5450_@_3.00GHz-with-gentoo-2.1
Timestamp of tree: Sat, 21 Jul 2012 14:15:01 +0000
distcc[8101] (dcc_mkdir) ERROR: mkdir '/var/tmp/portage/.distcc/state' failed: No such file or directory [disabled]
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.4.6, 2.5.4-r4, 2.6.8, 2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local iwm science sunrise samba4
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j 8"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp.informatik.rwth-aachen.de/pub/Linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/iwm /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/samba4"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi additions ads alsa amd64 amr apache2 apng artworkextra asf asm aspell async atk audacious autoipd avahi bash-completion beagle berkdb bluetooth branding browserplugin bzip2 cairo caps cdda cddb cdparanoia cdr cli colord colordiff consolekit cracklib crypt css cuda cups curl cxx daap dbus device-mapper djvu dns dri dts dvd dvdr dvi eds emboss encode evdev evo exif expat faad fam fbcon ffmpeg fftw firefox flac fluidsynth fontconfig fortran freetts fuse gcj gd gdbm gif gimpprint glitz gmp gnome gnome-keyring gnome-online-accounts gnutls gphoto2 gpm gs gstreamer gtk gtk3 gtkhtml guile gzip h323 hddtemp hvm ical iconv id3tag imagemagick imlib jack jack-tmpfs jadetex java java6 jce jit jpeg jpeg2k kdrive kerberos keyring kpathsea lame lash latex lcms ldap libgcrypt libnotify lm_sensors logrotate lzo mad matroska mbrola mdnsresponder-compat mikmod minizip mjpeg mmap mmx mmxext mng modules mono mp2 mp3 mp4 mpeg mplayer mpm-worker mtp mudflap multilib musepack musicbrainz mysql nautilus ncurses network nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pae pam pango pcre pdf perl pidgin pipechan plotutils png pnm policykit postgres postproc postscript ppds pppd pulseaudio pygrub python qmail qt qt3support qt4 quicktime quota quotas rar readline rle rrdcgi rtsp samba samba4 sasl screen sdl seamonkey sensord session shout sip slang smp sms smt sndfile socialweb sound spell sqlite sse sse2 sse3 ssl ssse3 startup-notification stream subtitles subversion suid svg swat sylpheed t1lib taglib tagwriting tcl tcltk tcpd tetex tga theora threads tidy tiff tk truetype tta udev udisks unicode upower urandom usb v4l v4l2 vcd vde vditool vdpau vlm vorbis wav wavpack webdav webkit wma wmf wrapper wxwidgets wxwindows x264 xattr xcb xcomposite xine xml xml2 xorg xosd xpm xprint xscreensaver xulrunner xv xvid xvmc xxmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_connect proxy_ftp proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="arm i386 m68k mips mipsel ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 m68k mips mipsel ppc ppc64 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Mike Gilbert gentoo-dev 2012-07-21 16:23:59 UTC
Hmm... it looks like XPathGrammar.hpp is generated by bison, and bison-2.6 was added to the tree yesterday.

What version of sys-devel/bison do you have installed?
Comment 6 Mark Nowiasz 2012-07-21 16:47:12 UTC
(In reply to comment #5)
> Hmm... it looks like XPathGrammar.hpp is generated by bison, and bison-2.6
> was added to the tree yesterday.
> 
> What version of sys-devel/bison do you have installed?

2.6 here.
Comment 7 Torsten Kurbad 2012-07-21 17:05:08 UTC
(In reply to comment #6)
> > What version of sys-devel/bison do you have installed?
> 
> 2.6 here.

Here too.
Comment 8 Torsten Kurbad 2012-07-21 17:30:35 UTC
(In reply to comment #7)
> > 2.6 here.
> 
> Here too.

FYI, downgrading to sys-devel/bison-2.5.1 did the trick for me.
Comment 9 Mike Gilbert gentoo-dev 2012-07-21 17:33:51 UTC
Thanks for confirming that.
Comment 10 Mike Gilbert gentoo-dev 2012-07-21 17:53:11 UTC
Created attachment 318826 [details]
Difference in generated XPathGrammar.h
Comment 11 Mike Gilbert gentoo-dev 2012-07-21 18:01:03 UTC
Adding link to upstream bug report.
Comment 12 Guillaume Poulin 2012-07-22 07:16:44 UTC
This bug seem to affect more generally Webkit and not only Chromium. I had the exact same bug when trying to emerge net-libs/webkit-gtk-1.8.1-r301.
Comment 13 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-22 10:49:06 UTC
Can you make chromium depend on older bison or fail early when 2.6 is detected?
Comment 14 Torsten Kurbad 2012-07-22 10:57:17 UTC
(In reply to comment #13)
> Can you make chromium depend on older bison or fail early when 2.6 is
> detected?

I'd have another suggestion: Hardmask sys-devel/bison-2.6 for now. To my knowledge, there are no packages out there right now that explicitely need >sys-devel/bison-2.5

As soon as WebKit upstream has sorted out the issues, bison can be unmasked again.
Comment 15 Christopher Atherton 2012-07-22 11:13:59 UTC
This bug affects the following packages for me:

media-libs/libaacs-0.4.0
net-libs/webkit-gtk-1.8.1-r201
net-libs/webkit-gtk-1.8.1-r301

Downgrading to sys-devel/bison-2.5.1 caused these packages to build.
I don't have chromium installed.  These packages were found during a complete system rebuild of about 1200 packages total.
Comment 16 Mike Gilbert gentoo-dev 2012-07-22 16:53:02 UTC
+  22 Jul 2012; Mike Gilbert <floppym@gentoo.org> chromium-20.0.1132.57.ebuild,
+  chromium-21.0.1180.41.ebuild, chromium-21.0.1180.49.ebuild,
+  chromium-22.0.1201.0.ebuild, chromium-22.0.1207.1.ebuild:
+  Depend on <sys-devel/bison-2.6 to work around bug 427438.
+
Comment 17 Mike Gilbert gentoo-dev 2012-07-22 16:57:51 UTC
(In reply to comment #15)
> This bug affects the following packages for me:
> 
> media-libs/libaacs-0.4.0
> net-libs/webkit-gtk-1.8.1-r201
> net-libs/webkit-gtk-1.8.1-r301
> 

Please file separate bugs. Thanks.
Comment 18 Mike Gilbert gentoo-dev 2012-07-22 17:23:00 UTC
I have filed a webkit bug.
Comment 19 Rafał Mużyło 2012-07-22 20:49:31 UTC
From bison 2.6 NEWS:
*** Features deprecated since Bison 1.875
...
  YYPARSE_PARAM and YYLEX_PARAM, deprecated in favor of %parse-param and
  %lex-param, will no longer be supported.
...

This would also describe the fix (for Source/WebCore/xml/XPathGrammar.y).
Comment 20 Mike Gilbert gentoo-dev 2012-07-25 22:10:42 UTC
*** Bug 428108 has been marked as a duplicate of this bug. ***
Comment 21 Rafał Mużyło 2012-07-25 23:57:25 UTC
Could someone mention the fix in https://bugs.webkit.org/show_bug.cgi?id=92264 cause they seem to try to come up with something weird ?
Comment 22 Robert 2012-07-26 00:13:57 UTC
Sorry about the duplicate bug, I saw the bug that you point to as a dupe but I just didn't look at it closely enough. I downgraded bison, as the other bug states and it works. So fixed for now. 

Sorry bug wranglers!
Comment 23 Mike Gilbert gentoo-dev 2012-07-26 06:30:09 UTC
(In reply to comment #21)

I haven't seen a fix yet. You have only quoted a deprecation notice.
Comment 24 Rafał Mużyło 2012-07-26 09:54:41 UTC
(In reply to comment #23)
> (In reply to comment #21)
> 
> I haven't seen a fix yet. You have only quoted a deprecation notice.

According to that note for that particular file, the fix seems to be

%parse-param {void * parserParameter}

near %pure_parser, instead of '#define YYPARSE_PARAM parserParameter'.

Haven't tested though - on my x86 machine webkit-gtk takes too long to toy with it.
Comment 25 Guillaume Ayoub 2012-07-30 11:47:54 UTC
This patch works for me (for webkit-gtk-1.9.4):
https://bug-92264-attachments.webkit.org/attachment.cgi?id=154643
Comment 26 Mike Gilbert gentoo-dev 2012-07-30 14:28:31 UTC
(In reply to comment #25)

Yes, I plan to apply that as soon as upstream actually commits it.
Comment 27 Mike Gilbert gentoo-dev 2012-08-01 01:25:28 UTC
  01 Aug 2012; Mike Gilbert <floppym@gentoo.org>
  +files/chromium-bison-2.6-r0.patch, chromium-22.0.1215.0.ebuild:
  Fix build with bison-2.6, bug 427438 by Mark Nowiasz.
Comment 28 Yixun Lan archtester gentoo-dev 2012-08-01 09:21:31 UTC
hi Mike:
 I still have compile problem with chromium-22.0.1215.0.ebuild
missing header, see bug 427246, also my attached fix, thanks
 (build with amd64 machine)


ACL_BUILD_SUBARCH=64' '-DNACL_BUILD_ARCH=x86' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMI
C_ANNOTATIONS_ENABLED=0' -Inative_client/src/third_party -I.  -pthread -fno-exce
ptions -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializer
s -fvisibility=hidden -pipe -fPIC -pthread -fno-exceptions -m64 -fno-exceptions 
-Wno-format -Wno-unused-result -O2 -fno-ident -fdata-sections -ffunction-section
s -O2 -fno-ident -fdata-sections -ffunction-sections  -MMD -MF out/Release/.deps
/out/Release/obj.target/gio/native_client/src/shared/gio/gio_mem.o.d.raw -O2 -pi
pe -c -o out/Release/obj.target/gio/native_client/src/shared/gio/gio_mem.o nativ
e_client/src/shared/gio/gio_mem.c
sandbox/linux/services/libc_urandom_override.cc: In function ‘FILE* sandbox::fop
en_override(const char*, const char*)’:
sandbox/linux/services/libc_urandom_override.cc:96:14: error: ‘dup’ was not decl
ared in this scope
sandbox/linux/services/libc_urandom_override.cc:96:14: error: invalid type in de
claration before ‘;’ token
sandbox/linux/services/libc_urandom_override.cc: In function ‘FILE* sandbox::fop
en64(const char*, const char*)’:
sandbox/linux/services/libc_urandom_override.cc:112:14: error: ‘dup’ was not dec
lared in this scope
sandbox/linux/services/libc_urandom_override.cc:112:14: error: invalid type in d
eclaration before ‘;’ token
  x86_64-pc-linux-gnu-gcc '-D_FILE_OFFSET_BITS=64' '-DNO_TCMALLOC' '-DNACL_LIN

(In reply to comment #27)
>   01 Aug 2012; Mike Gilbert <floppym@gentoo.org>
>   +files/chromium-bison-2.6-r0.patch, chromium-22.0.1215.0.ebuild:
>   Fix build with bison-2.6, bug 427438 by Mark Nowiasz.
Comment 29 Mike Gilbert gentoo-dev 2012-08-01 12:51:49 UTC
(In reply to comment #28)

That's a completely different issue, and the fix needs to be committed upstream first.