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
Summary: Openoffice.org doesn't build with java/javac combination of java from java-1....
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: 9
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-03 14:56 UTC by Philip Ashmore
Modified: 2008-10-04 17:56 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-10-03 15:50:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
rpmrc (178 bytes, text/plain)
2008-10-03 14:57 UTC, Philip Ashmore
no flags Details
rpmmacros (3.24 KB, application/octet-stream)
2008-10-03 14:58 UTC, Philip Ashmore
no flags Details
gzipped build log (1.49 MB, application/octet-stream)
2008-10-03 15:35 UTC, Philip Ashmore
no flags Details

Description Philip Ashmore 2008-10-03 14:56:16 UTC
Description of problem:
Openoffice.org doesn't build on x86_64

Version-Release number of selected component (if applicable):
openoffice.org-2.4.1-17.6.fc9

How reproducible:
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

Actual results:
Build failed

Expected results:
Build succeeded

Additional info:
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.

Comment 1 Philip Ashmore 2008-10-03 14:57:27 UTC
Created attachment 319371 [details]
rpmrc

Comment 2 Philip Ashmore 2008-10-03 14:58:11 UTC
Created attachment 319372 [details]
rpmmacros

Comment 3 Philip Ashmore 2008-10-03 15:04:38 UTC
Between "Steps to Reproduce" steps 2 and 3 above insert
rpm -i openoffice.org-2.4.1-17.6.fc9.src.rpm
cd openoffice.org-2.4.1

Comment 4 Caolan McNamara 2008-10-03 15:13:56 UTC
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.

Comment 5 Philip Ashmore 2008-10-03 15:35:48 UTC
Created attachment 319383 [details]
gzipped build log

Comment 6 Caolan McNamara 2008-10-03 15:50:19 UTC
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

Comment 7 Philip Ashmore 2008-10-04 00:30:06 UTC
My /root/install.log contains

    Installing java-1.6.0-openjdk-1.6.0.0-0.10.b09.fc9.x86_64
    ...
    Installing java-1.5.0-gcj-1.5.0.0-21.fc9.x86_64

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.

Comment 8 Philip Ashmore 2008-10-04 17:56:44 UTC
Yep. Build complete.


Note You need to log in before you can comment on or make changes to this bug.