app-office/openoffice-2.0.4 Details can be found in the attachment.
Created attachment 99593 [details] compilation error & emerge --info
Reassigning. AMD64-herd do you see the same happening?
Yes, I am getting the same failure, it looks like a Java problem to me.
[ebuild R ] app-office/openoffice-2.0.4 USE="branding cairo cups dbus firefox gstreamer gtk ldap pam -binfilter -debug -eds -gnome -java -kde -odk -sound -webdav" Works for me - could be that it's a java problem since I compiled it with -java
(In reply to comment #4) > [ebuild R ] app-office/openoffice-2.0.4 USE="branding cairo cups dbus > firefox gstreamer gtk ldap pam -binfilter -debug -eds -gnome -java -kde -odk > -sound -webdav" > > Works for me - could be that it's a java problem since I compiled it with -java > Still - if it doesn't work, that's a recent bug, the last rc worked fine
My comment on bug 140728 explains the issue. "amd64 version of sun-jdk-1.5 has a broken libzip.so that conflicts with system libz namespace."
I don't know if this is AMD specific, but I get an error too. /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:240: warning: enumeration value ‘TypeClass_CONSTANT’ not handled in switch /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:240: warning: enumeration value ‘TypeClass_CONSTANTS’ not handled in switch /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:240: warning: enumeration value ‘TypeClass_SINGLETON’ not handled in switch /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:240: warning: enumeration value ‘TypeClass_MAKE_FIXED_SIZE’ not handled in switch /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx: In member function ‘BOOL ScUnoAddInCollection::GetCalcName(const String&, String&)’: /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:715: warning: declaration of ‘i’ shadows a previous local /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:705: warning: shadowed declaration is here ../../../inc/addincol.hxx: In constructor ‘ScUnoAddInCall::ScUnoAddInCall(ScUnoAddInCollection&, const String&, long int)’: ../../../inc/addincol.hxx:240: warning: ‘ScUnoAddInCall::pMatrix’ will be initialized after ../../../inc/addincol.hxx:234: warning: ‘BOOL ScUnoAddInCall::bValidCount’ /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:1406: warning: when initialized here /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:1425: warning: declaration of ‘nVarCount’ shadows a previous local /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:1419: warning: shadowed declaration is here /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:1419: warning: unused variable ‘nVarCount’ dmake: Error code 1, while making '../../../unxlngi6.pro/slo/addincol.obj' '---* tg_merge.mk *---' dmake: Error code 255, while making 'do_it_exceptions' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool make: *** [stamp/build] Error 1 !!! ERROR: app-office/openoffice-2.0.4 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile openoffice-2.0.4.ebuild, line 270: Called die !!! Build failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" emerge --info: Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.5 Last Sync: Sat, 14 Oct 2006 11:50:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch" GENTOO_MIRRORS="ftp://ftp.uoi.gr/mirror/OS/gentoo/ ftp://ftp.physics.auth.gr/pub/mirrors/gentoo/ ftp://gentoo.mirrors.pa ir.com/ ftp://gentoo.mirrors.tds.net/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://mirror.bih.net.ba/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ " LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac acl acpi alsa apache2 arts artswrappersuid asf bash-completion berkdb bitmap-fonts blu etooth branding bzip2 bzlib cairo caps cdr chm cli crypt css ctype cups curl dba dbus dlloader dmi doc dri dts dvd dvdr dvdread effects elibc_glibc emboss encode esd examples exif expat fam fbcon ffmpeg firefox flac flatfile foomaticdb fortran ftp gd gdbm gif gimp gimpprint glx gmp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk hal hddtemp howl iconv imagemagick imap imlib innodb input_devices_keyboard input_devices_mouse isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux lcms ldap libg++ libsamplerate libwww linguas_en lm_sensors mad maildir mailwrapper mhash mikmod mime mmx mmxext motif mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker multiuser mysql mysqli ncurses nls no-old-linux nodrm nomalloccheck nptl nptlonly nsplugin nvidia objc odbc offensive ogg opengl pam pcntl pcre pdf pear perl php pic plugin png posix postgres postgresi ppds pppd python qt3 qt4 quicktime rar rdesktop readline recode reflection ruby sasl scanner sdl server session slang sndfile soap sockets speex spell spl spreadsheet sqlite sse ssl subtitles subversion svga symlink tcltk tcpd tetex threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 vda video_cards_nvidia visualization vorbis win32codecs wmf wv wxgtk1 xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
It was a sun-jdk problem! I retried with: generation-1: *) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2.03] generation-2: *) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] And now everything compiled fine. First tests show me a nicely operating ooffice2. Since there is this known problem with the only amd64-version of sun-jdk (sun-jdk-1.5.0.08) I wondr why it has been marked stable today.
Please don't close this bug just if you got it to build due a workaround, until we have some sort of general solution,
*** Bug 151435 has been marked as a duplicate of this bug. ***
(In reply to comment #10) > *** Bug 151435 has been marked as a duplicate of this bug. *** OK, since bug 151435 is duplicate of this one, the hardware attribute must be set to All (?). I opened a new bug due to this and to closing the current bug by its reporter.
(In reply to comment #11) > (In reply to comment #10) > > *** Bug 151435 has been marked as a duplicate of this bug. *** > > OK, since bug 151435 is duplicate of this one, the hardware attribute must be > set to All (?). I opened a new bug due to this and to closing the current bug > by its reporter. > Sorry, my bad, was sure you would be on AMD64, will reopen the other bug, please continue the discussion there
Created attachment 100088 [details] app-office/openoffice-2.0.4 fails to emerge with jrockit-jdk-bin-1.5 on AMD64
(In reply to comment #13) > Created an attachment (id=100088) [edit] > app-office/openoffice-2.0.4 fails to emerge with jrockit-jdk-bin-1.5 on AMD64 This looks very much like bug 140809 (db miscompiled with gcc-4.x and -O2)
Created attachment 100141 [details, diff] Patch to force jdk-1.4 on amd64 This patch forces jdk-1.4 on amd64 (and amd64 only). It also forces ecj (3.2 or 3.1) for compilations on amd64 (and amd64 only), as not even blackdown-jdk-1.4.2 worked on my box (though it got further along the way), until I edited /etc/java-config-2/build/compilers.conf to favor ecj-3.2. I haven't tested with ecj-3.1 or jikes yet, but will do so as soon as I've tested ooo-build-2.0.4.1, with ecj-3.2 and javac (blackdown-jdk-1.4.2), to see if the .1 release changed anything.
Created attachment 100249 [details, diff] Updated patch to force jdk-1.4 on amd64 After extensive testing of 2.0.4.1 (thank the gods I've got a decent compiling machine) my results are the following: When using blackdown-jdk-1.4.2 openoffice 2.0.4.1 would compile with javac, ecj-3.2 or ecj-3.1 as compiler. Didn't test jikes. When using sun-jdk-1.5, ibm-jdk-1.5 or jrockit-jdk-1.5 openoffice 2.0.4.1 would not compile with javac. Didn't test ecj or jikes. Might be worth noticing that sun-jdk-1.5, ibm-jdk-1.5 and jrockit-jdk-1.5 all failed at different places. Didn't test reproducability though, my machine isn't *that* good... Based on these results I would recommend forcing =virtual/jdk-1.4* on amd64, but not forcing any specific compiler. Attached is a patch that does exactly that, as well as fixes a minor typo in SRC_URI.
@Jon: Looks good to me, thanks. Could someone of the AMD64-herd please comment, if this is sufficient for them?
WORKSFORME. Thanks for making your box mad, btw ;)
(In reply to comment #18) > WORKSFORME. Thanks for making your box mad, btw ;) > Great, I've added this to the ebuild. Thanks Jon! Closing this bug.