Emerge stops with: In file included from sparql2sql.c:31:0: sparql_p.h:451:5: error: conflicting types for ‘sparyyparse’ sparql.h:726:12: note: previous declaration of ‘sparyyparse’ was here Reproducible: Always emerge --info '=dev-db/virtuoso-server-6.1.5' Portage 2.1.11.9 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.4.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.4.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9500_@_2.53GHz-with-gentoo-2.1 Timestamp of tree: Sun, 22 Jul 2012 07:45:01 +0000 app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 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.11.5, 1.12.2 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2, 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 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo x-portage ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10.3 googleearth PUEL Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/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="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parse-eapi-ebuild-head protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.tups.lv/source" LANG="lv_LV" LC_ALL="lv_LV.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="lv pl en" MAKEOPTS="-j2" 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="/home/maris/soft/portage" SYNC="rsync://gentoo.tups.lv/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding brother_devices_dcp585cw bzip2 cairo cdda cdr cli clucene consolekit cracklib crypt cups cxx dbus dell dhcpcd dri dts dvd dvdr eap-tls emboss encode exif fam firefox flac fortran gallium gdal gdbm geos gif glib gpm gpu hal iconv icu idn inotify ipv6 jpeg json kde kvm laptop lcms ldap libnotify lzma mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib multimedia ncurses nls nptl nsplugin offensive ogg opengl openmp pam pango pcre pdf png policykit ppds pppd proj python qemu qt3support qt4 readline sasl sdl semantic-desktop session sip slp spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb utf-8 vdpau vorbis wxwidgets x264 xcb xcomposite xinerama xml xmp xmpp xorg xv xvid 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="alias authz_host autoindex dir env headers mime rewrite vhost_alias log_config auth_basic authn_file authz_user cgi" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="words tables stage" 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="synaptics mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="lv pl en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="vesa nvidia nouveau" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON emerge -pqv '=dev-db/virtuoso-server-6.1.5' [ebuild U ] dev-db/virtuoso-server-6.1.5 [6.1.4-r1] USE="ldap readline -kerberos"
Created attachment 318934 [details] virtuoso-server-6.1.5 build log
See, if it's not something alike to bug 427438.
I had the same problem on x86 32bit. Reverting to bison 2.5.1 solved the problem, I suggest you try the same.
I can confirm exactly the same issue.
(In reply to comment #2) > See, if it's not something alike to bug 427438. Yes, it is. Downgrading bison to 2.5.1 fixes compilation. Changed summary to reflect the issue. Can somebody report it upstream? Is there any bison-2.6 issues tracking bug? This bug should remain open till it's fixed upstream.
Bug opened upstream, and I will look at this when I have some time this weekend and see if I can come up with a patch.
(In reply to comment #6) > Bug opened upstream, and I will look at this when I have some time this > weekend and see if I can come up with a patch. If it's about the problem described in the bug 427438, that snippet from NEWS already describes the fix.
Well, a simple find-and-replace through the code didn't fix it, but I don't claim to understand the code all that well.
Simple search and replace most likely won't work, but it seems there's a large field for simplification here. While most trivial would be something along the lines of %parse-param {void *sparp_as_void} %lex-param {void *sparp_as_void} (put near %pure-parser, not where the defines were) given a few other defines, it would seem that trying something like: %parse-param {sparp_t *sparp_as_void} %lex-param {sparp_t *sparp_as_void} (and adjusting the rest of the sources) would make things cleaner.
...and even looking only at this directory, some of bison sources here already use this method of defining the argument.
Fixed in 6.1.6, which will be in the KDE overlay shortly and should hit the tree within a week.
Thank you all. This should be fixed in 6.1.6, which was added to the tree by Chris. > 05 Aug 2012; Chris Reffett <creffett@gentoo.org> > +virtuoso-server-6.1.6.ebuild, -virtuoso-server-6.1.5.ebuild: > Version bump, remove 6.1.5 because it's somewhat broken and unsupported for > KDE 4.9.