Just found this on the forums https://forums.gentoo.org/viewtopic-t-574860.html but basically there is an error in the src_install when attempting to install html documentation. I would suggest someone add 'do' somewhere on line 78. (i wont take all the fun away from you) Anyway, the relevant section of error: BUILD SUCCESSFUL Total time: 4 seconds >>> Source compiled. >>> Test phase [not enabled]: dev-java/xstream-1.2 >>> Install xstream-1.2 into /home/portagetmp/portage/dev-java/xstream-1.2/image/ category dev-java /usr/portage/dev-java/xstream/xstream-1.2.ebuild: line 78: html: command not found !!! ERROR: dev-java/xstream-1.2 failed. Call stack: ebuild.sh, line 1632: Called dyn_install ebuild.sh, line 1077: Called qa_call 'src_install' ebuild.sh, line 44: Called src_install xstream-1.2.ebuild, line 78: Called die and the Offending function src_install() { java-pkg_newjar ${P}.jar if use doc; then html *.html || die java-pkg_dohtml -r docs/ fi use source && java-pkg_dosrc src/java/com }
Well in the current shape the javadocs don't build either: [javadoc] /var/tmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:25: <identifier> expected [javadoc] private static final Set<Class<?>> configuredTypes = new HashSet<Class<?>>(); [javadoc] ^ Seems the javadoc target should be done with 1.5.
*** Bug 204648 has been marked as a duplicate of this bug. ***
Markus Meier <maekke@gentoo.org> says: >>> Install xstream-1.2-r1 into /var/tmp/portage/dev-java/xstream-1.2-r1/image/ category dev-java * No index.html in javadoc directory find: `/var/tmp/portage/dev-java/xstream-1.2-r1/image//usr/share/doc/': No such file or directory >>> Completed installing xstream-1.2-r1 into /var/tmp/portage/dev-java/xstream-1.2-r1/image/ # qlist xstream-1.2-r1 /usr/share/xstream/lib/xstream.jar /usr/share/xstream/package.env /usr/share/xstream/sources/xstream-src.zip /usr/share/xstream/api api is a dead symlink to /usr/share/doc/xstream-1.2-r1/html/api Which is just a symptom of what Betegeuse says above :)
Added patch for build.xml which fixes generating build.xml using jdk-1.4.