Building openoffice failed on my system(s) ever since version 3 arrived. Now this is from my latest attempt with an ebuild from openoffice-geki overlay, but it stands representative for previous efforts. It's always libsblx.so failing. This is the error: Entering /var/tmp/portage/app-office/openoffice-3.1.1.13_pre20090627/work/ooo-build-e17cb292b3f653cacb414864c779d09301708c53/build/ooo310-m13/basic/util Compiling: basic/unxlngx6/misc/sb_dflt_version.c Making: sb.lib ------------------------------ Making: ../unxlngx6.pro/misc/sblx.flt Making: libsblx.so Compiling: xmloff/source/transform/DocumentTContext.cxx ../unxlngx6.pro/slo/image.o: In function `SbiImage::Load(SvStream&, unsigned int&)': image.cxx:(.text+0x96f): undefined reference to `PCodeBuffConvertor<unsigned short, unsigned int>::convert()' image.cxx:(.text+0x977): undefined reference to `PCodeBuffConvertor<unsigned short, unsigned int>::convert()' ../unxlngx6.pro/slo/image.o: In function `SbiImage::Save(SvStream&, unsigned int)': image.cxx:(.text+0x108c): undefined reference to `PCodeBuffConvertor<unsigned int, unsigned short>::convert()' image.cxx:(.text+0x1094): undefined reference to `PCodeBuffConvertor<unsigned int, unsigned short>::convert()' collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngx6.pro/lib/libsblx.so' ------[snip]------ 1 module(s): basic need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.1.1.13_pre20090627/work/ooo-build-e17cb292b3f653cacb414864c779d09301708c53/build/ooo310-m13/basic/util Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from basic" rmdir /tmp/28602 make: *** [stamp/build] Error 1 Probably another GCC-4.4 error, although I think it was the same with GCC-4.3.3... Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.4.1-pre9999, glibc-2.10.1-r0, 2.6.30-zen1 x86_64) ================================================================= System uname: Linux-2.6.30-zen1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L9400_@_1.86GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 28 Jun 2009 12:30:01 +0000 app-shells/bash: 3.2_p48-r1 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -finline-functions -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -finline-functions -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://de-mirror.org/distro/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://gentoo.osuosl.org/ ftp://ftp.first-world.info/ ftp://ftp.heanet.ie/pub/gentoo/ http://mirror.gentoo.no/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://open-systems.ufl.edu/mirrors/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en de" MAKEOPTS="-j3" 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/layman/qting-edge /usr/local/portage/layman/kde-testing /usr/local/portage/layman/gcc-porting /usr/local/portage/layman/x11 /usr/local/portage/layman/zugaina /usr/local/portage/ownage /usr/local/portage/funtoo" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X Xaw3d a52 acl acpi addressbook aiglx alsa amarok amd64 apache2 asf avahi bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdparanoia cdr cli cracklib crypt css cups custom-cflags custom-cxxflags dbus dga dri dts dvb dvd dvdr dvdread eds emboss encode exif expat fam ffmpeg fftw firefox flac flash ftp gd gdbm geoip gif gimp gphoto2 gpm guile hal hddtemp iconv icq id3 id3tag idn ieee1394 imagemagick inotify jabber java java5 java6 javascript jpeg jpeg2k kde kdehiddenvisibility kqemu kvm lame laptop lastfm ldap libnotify lirc lm_sensors lzw mad midi mikmod mmx mng mp3 mp4 mpeg mplayer mudflap multilib musicbrainz mysql mysqli ncurses nls nocd nptl nptlonly nsplugin ntfs nvidia offensive ogg openal openexr opengl openmp pam pcre pdf php plasma png postgres qt3support qt4 quicktime rar readline reflection reiserfs samba sdl session smp sockets spell spl sse sse2 ssl startup-notification svg sysfs syslog tcpd tex theora tidy tiff truetype unicode usb v4l2 vcd verbose videos vorbis webkit x264 xcb xcomposite xine xml xorg xpm xulrunner xv xvid zip 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 rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en de" QEMU_SOFTMMU_TARGETS="arm i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 ppc ppc64 x86_64" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Sorry, not taking care of external overlays here, nothing I can do about them. (especially Alpha-pre-releases) Feel free to reopen if you hav an actual error from the official ebuild
(In reply to comment #1) > Sorry, not taking care of external overlays here, nothing I can do about them. > (especially Alpha-pre-releases) Feel free to reopen if you hav an actual error > from the official ebuild > I perfectly understand that, but if you read my description I stated that this is just my latest attempt in emerging openoffice (hoping that the newest version would correct the issue). That same bug existed long ago with glibc-2.8 as well as (not quite but almost sure) gcc-4.3.3 and standard plain openoffice-3* ebuilds. Of course I can emerge that whole thing with the standard ebuild again if that helps my case, but I can assure you it will be reproduced 100%.
Those are my USE-flags for openoffice: USE="bash-completion branding cups dbus ldap opengl pam" LINGUAS="de en_GB"
Ok, now openoffice-3.1.1_beta2 is in portage, yet still fails with that same error.
duplicate just remembered about bug 151869 :D ( evil -finline-functions flag )
indeed, you're right. I didn't consider that flag as evil... *** This bug has been marked as a duplicate of bug 151869 ***