Compiling: connectivity/source/parse/sqlnode.cxx Compiling: connectivity/source/parse/wrap_sqlbison.cxx In file included from /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/connectivity/source/parse/wrap_sqlbison.cxx:32:0: ../../unxlngx6.pro/misc/sqlbison.cxx: In function 'int SQLyyparse()': ../../unxlngx6.pro/misc/sqlbison.cxx:7814:9: error: invalid conversion from 'const char*' to 'sal_Char*' ../../unxlngx6.pro/misc/sqlbison.cxx:7814:9: error: initializing argument 1 of 'void connectivity::OSQLParser::error(sal_Char*)' dmake: Error code 1, while making '../../unxlngx6.pro/slo/wrap_sqlbison.obj' ----------------------------------------------------------------------- Oh dear - something failed during the build - sorry ! For more help with debugging build errors, please see the section in: http://wiki.documentfoundation.org/Development it seems that the error is inside 'connectivity', please re-run build inside this module to isolate the error and/or test your fix: ----------------------------------------------------------------------- /bin/bash cd /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2 source ./LinuxX86-64Env.Set.sh cd connectivity build when the problem is isolated and fixed exit and re-run 'make' from the top-level sometimes (sadly) it is necessary to rm -Rf unxlngx6.pro in a module. make: *** [stamp/build] Error 1 * ERROR: app-office/libreoffice-3.3.2 failed (compile phase): * Build failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 8692: Called die * The specific snippet of code: * make || die "Build failed" * * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.3.2', * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.3.2'. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea6-bin CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.10.1" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/environment'. * S: '/var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2' >>> Failed to emerge app-office/libreoffice-3.3.2, Log file: >>> '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log' * Messages for package app-office/libreoffice-3.3.2: * * If you experience a build break, please make sure to retry * with MAKEOPTS=-j1 before filing a bug. * * ERROR: app-office/libreoffice-3.3.2 failed (compile phase): * Build failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 8692: Called die * The specific snippet of code: * make || die "Build failed" * * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.3.2', * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.3.2'. * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/environment'. * S: '/var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2' emerge --info: Portage 2.1.9.49 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-r5-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.2 Timestamp of tree: Thu, 19 May 2011 14:15:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.2 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r2 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" 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/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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=core2 -mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aiglx alsa amd64 aoss apng asf avi bdf berkdb bidi bluetooth branding bzip2 cairo cdda cdio cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvb dvd dvdr embedded emboss encode exif fam fancy ffmpeg firefox flac fontconfig fontforge fortran freetype gd gdbm gdu gif gimp gnutls gpm gstreamer gtk httpd iconv icu ieee1394 ios ipafont ipod ipv6 java jpeg kde lcms ldap libnotify live lua mad matroska mmx mng modules mozilla mp3 mp4 mpeg mudflap multilib mysql ncurses new-login nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp pam pango pcre pdf perl php plasma png policykit ppds pppd psf python qt3 qt3support qt4 quicktime rar raw rdesktop readline samba scanner sdl semantic-desktop session slp smp snmp spell sqlite sse sse2 ssl startup-notification stream svg symlink sysfs taamey tcpd theora threads tiff truetype udev unicode usb vcd vlm vorbis wxwindows x x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc 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="braindump flow karbon kexi kpresenter krita tables words" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="sanebackend" 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 Reproducible: Always
same here, this seems to be an upstream problem with bison >= 2.5, see here: http://comments.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/10993 i switched back to bison 2.4.3 and libreoffice-3.3.2 compiled normally again.
seems to be a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=367963
yes it works. WORKAROUND: add ">=sys-devel/bison-2.5" to /etc/portage/package.mask emerge --unmerge bison emerge bison emerge libreoffice del ">=sys-devel/bison-2.5" in /etc/portage/package.mask emerge -auND world REMEMBER: THIS IS JUST A WORKAROUND!!!
*** This bug has been marked as a duplicate of bug 367963 ***