Yes, I know, the ebuild warns beforehand that it has only been tested with the blackdown jdk distribution. Of course, being stubborn, I insisted on compiling OpenOffice against the latest shiny new Sun beta jdk (1.5.0_beta1-r1 at the time of this writing). The compilation sequence actually gets quite far before it eventually fails with the following message: ============================== ============= Building project XmlSearch ============= /var/tmp/portage/openoffice-1.1.1-r1/work/oo_1.1.1_src/XmlSearch/src/com/sun/xml search mkout -- version: 1.3 Making dpj... ------------------------------ Making: ../../../../unxlngi4.pro/misc/com_sun_xmlsearch.dpc dmake subdmake=true -f makefile.mk product="full" depend=t ALLDPC ------------------------------ No Dependencies javac -classpath ".:../../../../unxlngi4.pro/class:/opt/sun-jdk-1.5.0_beta1/jre/ lib/rt.jar:.:/var/tmp/portage/openoffice-1.1.1-r1/work/oo_1.1.1_src/solver/645/u nxlngi4.pro/bin/jaxp.jar:/var/tmp/portage/openoffice-1.1.1-r1/work/oo_1.1.1_src/ solver/645/unxlngi4.pro/bin/parser.jar:/var/tmp/portage/openoffice-1.1.1-r1/work /oo_1.1.1_src/solver/645/unxlngi4.pro/bin/xt.jar:/var/tmp/portage/openoffice-1.1 .1-r1/work/oo_1.1.1_src/external/common/jaxp.jar:/var/tmp/portage/openoffice-1.1 .1-r1/work/oo_1.1.1_src/external/common/parser.jar:/var/tmp/portage/openoffice-1 .1.1-r1/work/oo_1.1.1_src/external/common/xt.jar" -d ../../../../unxlngi4.pro/cl ass db/Block.java db/BlockFactory.java db/BlockManager.java db/Block ManagerParameters.java db/BlockProcessor.java db/BlockStack.ja va db/BtreeDict.java db/BtreeDictParameters.java db/CompactEdgeFo rmat.java db/DBPartParameters.java db/EdgePrinter.java db/Entry Processor.java db/FullBtreeDict.java db/FullVectorBtree.java db/Schema.java db/VectorBtree.java db/VectorBtreeIterator.j ava db/VectorBtreeParameters.java db/VectorFormat.java db/Vecto rProcessor.java util/ExtensibleURLStreamHandlerFactory.java u til/BitBuffer.java util/ByteArrayDecompressor.java util/Compressor. java util/CompressorIterator.java util/ConceptList.java util/ConceptLocation.java util/Configuration.java util/Dec ompressor.java util/DocumentCompressor.java util/Extent.java util/Index.java util/IndexAccessor.java util/IndexInvert er.java util/IntegerArray.java util/LineInput.java u til/Location.java util/NonnegativeIntegerGenerator.java util/Pre fixTranslator.java util/SimpleTokenizer.java util/StreamDecompressor. java util/Token.java util/Tokenizer.java tree/Names.java tree/Node2.java tree/NodeFactory.java tree/ResultAdapt er.java tree/TreeBuilder.java tree/XmlTreeNode.java t ree/XmlTreeNodeImpl.java qe/ConceptData.java qe/ConceptGroupG enerator.java qe/GeneratorHeap.java qe/HitStore.java q e/LiteMorph.java qe/LiteMorph_en.java qe/NextDocGenerator.java qe/NextDocGeneratorHeap.java qe/Query.java qe/Query Hit.java qe/RoleFiller.java qe/Rule.java qe/SearchEnviron ment.java xml/ContextTables.java xml/XmlIndex.java xml/inde xer/ElementIndexer.java xml/indexer/XmlIndexBuilder.java xml/inde xer/XmlIndexer.java xml/indexer/XmlIndexingException.java x ml/qe/ConceptData.java xml/qe/ConceptData1.java xml/qe/ConceptDa ta2.java xml/qe/ConceptData3.java xml/qe/ConceptData4.java x ml/qe/ConceptData5.java xml/qe/ConceptData7.java xml/qe/ConceptDa taStart.java xml/qe/ConceptDataStop.java xml/qe/ConceptGr oupGenerator.java xml/qe/GeneratorHeap.java xml/qe/HitStore.java xml/qe/MultiTokenLocator.java xml/qe/NextDocGenerator.java xml/qe/NextDocGeneratorHeap.java xml/qe/Query.java xml/qe/Q ueryFactoryImpl.java xml/qe/QueryHit.java xml/qe/QueryHitD ata.java xml/qe/QueryHitIterator.java xml/qe/QueryProcessor.ja va xml/qe/QueryProcessorImpl.java xml/qe/QueryResults.java x ml/qe/QueryStatement.java xml/qe/RoleFiller.java xml/qe/Search.ja va db/VectorBtree.java:277: as of release 1.4, 'assert' is a keyword, and may not be used as an identifier public static void assert(boolean assertion) { ^ 1 error dmake: Error code 1, while making '../../../../unxlngi4.pro/misc/com_sun_xmlsea rch_dummy.java' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.1-r1/wo rk/oo_1.1.1_src/XmlSearch/src/com/sun/xmlsearch !!! ERROR: app-office/openoffice-1.1.1-r1 failed. !!! Function src_compile, Line 363, Exitcode 1 !!! Build failed! ============================== Apparently, the source code of this version is incompatible with newer Java releases. Since it appears to be an issue in the source code, it is not really a Gentoo-specific problem. I'm sure I'm not the first one who encountered this problem, so there's a fair chance that there's already a patch available somewhere.
Is there any news on this bug? I can hardly believe that I would be the only one to have encountered this problem so far... ?
It is a general problem with the 1.5 beta jdk's. The problem is that the default source level is 1.5, not 1.3 as with previous jdk's. It is not really a priority right now
Move deprecated ebuild still being marked as LATER to Fixed.