Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4982 - [OpenOffice.org] 1.0.0-r1 Does Not Compile With jdk-1.4.X
Summary: [OpenOffice.org] 1.0.0-r1 Does Not Compile With jdk-1.4.X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Seth Chandler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-14 07:00 UTC by Douglas Pollock
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Pollock 2002-07-14 07:00:12 UTC
The problem is that there are bugs in OpenOffice (v1.0.0) that prevent it from 
compiling with Sun's JDK 1.4 compiler (sun-jdk-1.4.0-r5).  The emerge of 
openoffice-1.0.0-r1 fails at multiple steps. 
 
The bug numbers (in the OpenOffice bug database) are: 4870 and 5440 
(duplicated in 5298 and 5301). 
 
The quick fixes for these bugs are as follows.  This is also how they are 
described in the OpenOffice bug database.  The paths below are relative.  On 
my system, the prefix to the path is 
"/var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/" 
+ Remove the second semi-colon on line 82 of 
XmlSearch/src/com/sun/xmlsearch/util/ExtensibleURLStreamHandlerFactory.java 
+ Comment out line 199 of sj2/stardiv/app/AppletViewer.java 
+ Add three stubs method to sj2/stardiv/applet/DocumentProxy.java: 
public final void setStream(final String key, final java.io.InputSource) {} 
public final java.io.InputSource getStream(final String key) { return null; } 
public final java.util.Iterator getStreamKeys() { return null; } 
 
I'd recommend either providing a patched version of OpenOffice to Gentoo 
users, disallowing sun-jdk-1.4.0-r5 from satisfying the java compiler 
dependency of openoffice-1.0.0-r1, or issuing a warning to the user. 
 
As it turns out, the user can manually patch these files at a very particular 
point.  When the script prompts for the java directory, the script is waiting 
infinitely for a response.  The user can open a separate terminal window and 
patch the files by hand.
Comment 1 Seth Chandler 2002-11-29 12:04:47 UTC
this is acutally still an issue, i'm working on updating the build so this 
works.  this prevented blackdown 1.4beta from working as well.  There are 
still some issues with sun-jdk segfaulting also...not sure why.  I'm looking 
into them...