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.
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...