Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 151225
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ramin <gentoo@torabi.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
info compilation error & emerge --info text/plain Ramin 2006-10-13 13:53 0000 5.04 KB Details
info app-office/openoffice-2.0.4 fails to emerge with jrockit-jdk-bin-1.5 on AMD64 text/plain Rolf S. Arvidson 2006-10-20 06:57 0000 6.82 KB Details
openoffice-java-1.5-amd64.patch Patch to force jdk-1.4 on amd64 patch Jon Severinsson 2006-10-21 07:25 0000 1.01 KB Details | Diff
openoffice-java-1.5-amd64.patch Updated patch to force jdk-1.4 on amd64 patch Jon Severinsson 2006-10-22 22:47 0000 1.30 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 151225 depends on: Show dependency tree
Bug 151225 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-13 13:52 0000
app-office/openoffice-2.0.4

Details can be found in the attachment.

------- Comment #1 From Ramin 2006-10-13 13:53:50 0000 -------
Created an attachment (id=99593) [details]
compilation error & emerge --info

------- Comment #2 From Andreas Proschofsky 2006-10-13 14:21:53 0000 -------
Reassigning. AMD64-herd do you see the same happening?

------- Comment #3 From Patrick McLean 2006-10-13 20:31:26 0000 -------
Yes, I am getting the same failure, it looks like a Java problem to me.

------- Comment #4 From Christoph Mende 2006-10-14 01:43:20 0000 -------
[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

------- Comment #5 From Andreas Proschofsky 2006-10-14 02:04:16 0000 -------
(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

------- Comment #6 From Hanno Meyer-Thurow 2006-10-14 02:52:41 0000 -------
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."

------- Comment #7 From Vasileios P. Lourdas 2006-10-14 14:02:45 0000 -------
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 &#8216;TypeClass_CONSTANT&#8217; 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 &#8216;TypeClass_CONSTANTS&#8217; 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 &#8216;TypeClass_SINGLETON&#8217; 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 &#8216;TypeClass_MAKE_FIXED_SIZE&#8217; 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 &#8216;BOOL ScUnoAddInCollection::GetCalcName(const String&,
String&)&#8217;:
/media/ccache/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/sc/source/core/tool/addincol.cxx:715:
warning: declaration of &#8216;i&#8217; 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
&#8216;ScUnoAddInCall::ScUnoAddInCall(ScUnoAddInCollection&, const String&,
long int)&#8217;:
../../../inc/addincol.hxx:240: warning: &#8216;ScUnoAddInCall::pMatrix&#8217;
will be initialized after
../../../inc/addincol.hxx:234: warning:   &#8216;BOOL
ScUnoAddInCall::bValidCount&#8217;
/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 &#8216;nVarCount&#8217; 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 &#8216;nVarCount&#8217;
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

------- Comment #8 From Ramin 2006-10-14 14:46:54 0000 -------
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.

------- Comment #9 From Andreas Proschofsky 2006-10-15 10:46:50 0000 -------
Please don't close this bug just if you got it to build due a workaround, until
we have some sort of general solution,

------- Comment #10 From Andreas Proschofsky 2006-10-15 10:48:05 0000 -------
*** Bug 151435 has been marked as a duplicate of this bug. ***

------- Comment #11 From Vasileios P. Lourdas 2006-10-15 10:58:11 0000 -------
(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.

------- Comment #12 From Andreas Proschofsky 2006-10-15 11:47:56 0000 -------
(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

------- Comment #13 From Rolf S. Arvidson 2006-10-20 06:57:57 0000 -------
Created an attachment (id=100088) [details]
app-office/openoffice-2.0.4 fails to emerge with jrockit-jdk-bin-1.5 on AMD64

------- Comment #14 From Hanno Meyer-Thurow 2006-10-20 08:09:19 0000 -------
(In reply to comment #13)
> Created an attachment (id=100088) [edit] [details]
> 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)

------- Comment #15 From Jon Severinsson 2006-10-21 07:25:33 0000 -------
Created an attachment (id=100141) [details]
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.

------- Comment #16 From Jon Severinsson 2006-10-22 22:47:48 0000 -------
Created an attachment (id=100249) [details]
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.

------- Comment #17 From Andreas Proschofsky 2006-10-22 23:12:26 0000 -------
@Jon: Looks good to me, thanks.

Could someone of the AMD64-herd please comment, if this is sufficient for them?

------- Comment #18 From Simon Stelling (RETIRED) 2006-10-23 01:45:50 0000 -------
WORKSFORME. Thanks for making your box mad, btw ;)

------- Comment #19 From Andreas Proschofsky 2006-10-23 02:01:48 0000 -------
(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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug