Red Hat Bugzilla – Bug 465480
Openoffice.org doesn't build with java/javac combination of java from java-1.6.0-openjdk and javac of java-1.5.0-gcj-devel
Last modified: 2008-10-04 13:56:44 EDT
Description of problem:
Openoffice.org doesn't build on x86_64
Version-Release number of selected component (if applicable):
I tried it once - it looks serious.
Steps to Reproduce:
1. cd ~/rpmbuild
2. yumdownloader --source openoffice.org
3. TIME="%E" time rpmbuild -ba openoffice.org.spec 2>&1 | tee build.log
In order to satisfy build dependencies, I ran -
yum install ant icu java-1.5.0-devel vigra-devel libxml2-devel libxslt-devel neon-devel libcurl-devel libidn-devel pam-devel cups-devel xulrunner-devel libwpd-devel hunspell-devel unixODBC-devel sane-backends-devel libicu-devel perl-Archive-Zip gtk2-devel gnome-vfs2-devel evolution-data-server-devel libtextcat-devel nss-devel gstreamer-devel gstreamer-plugins-base-devel hyphen-devel
- although there are bound to be other dependencies that I already had installed.
I've got a custom build environment - see attached .rpmmacros and .rpmrc
I've gzipped the build log but it's 1.5MB compressed, 15.2MB uncompressed.
I will attach it if more information is needed.
Created attachment 319371 [details]
Created attachment 319372 [details]
Between "Steps to Reproduce" steps 2 and 3 above insert
rpm -i openoffice.org-2.4.1-17.6.fc9.src.rpm
Well, it definitely *does* build on x86_64 on vanilla F9, seeing as I build it all the time :-), so you'll have to show me your specific failure.
Created attachment 319383 [details]
gzipped build log
Your "java" is probably openjdk and your "javac" is probably "ecj". Mixing them doesn't work in 2.4.1, they both have to match, i.e. both from java-1.5.0-gcj or both from java-1.6.0-openjdk
I think I fixed this upstream for 3.0
My /root/install.log contains
so they were installation choices - not mine.
I agree that one or the other should be chosen - why this isn't the case for the F9 x86_64 install DVD is curious.
I installed java-1.6.0-openjdk-devel and galternatives shows that my system is now using java-1.6.0-openjdk-devel's version.
I'll give it a try tomorrow and see how it goes.
Yep. Build complete.