| Summary: | =dev-java/ant-core-1.9.2[doc]: fails on javadocs target | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Patrice Clement <monsieurp> |
| Component: | [OLD] Java | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Index: ant-core-1.9.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.9.2.ebuild,v
retrieving revision 1.10
diff -u -B -r1.10 ant-core-1.9.2.ebuild
--- ant-core-1.9.2.ebuild 11 Jul 2015 09:20:53 -0000 1.10
+++ ant-core-1.9.2.ebuild 27 Jul 2015 10:16:23 -0000
@@ -40,6 +40,12 @@
# use our split-ant build.xml.
mv -f "${WORKDIR}/build.xml" . || die
+ # Fixes bug 556008.
+ java-ant_xml-rewrite -f build.xml \
+ -c -e javadoc \
+ -a failonerror \
+ -v "false"
+
# See bug #196080 for more details.
java-ant_bsfix_one build.xml
java-pkg-2_src_prepare
which now yields:
BUILD SUCCESSFUL
Total time: 38 seconds
>>> Source compiled.
[...]
>>> Install ant-core-1.9.2 into /var/tmp/portage/dev-java/ant-core-1.9.2/image/ category dev-java
>>> Completed installing ant-core-1.9.2 into /var/tmp/portage/dev-java/ant-core-1.9.2/image/
+ 27 Jul 2015; Patrice Clement <monsieurp@gentoo.org> ant-core-1.9.2.ebuild:
+ Set javadoc flag failonerror to false in build.xml so that the documentation
+ generation can succeed. Fixes bug 556008.
+
|
BUILD FAILED /var/tmp/portage/dev-java/ant-core-1.9.2/work/apache-ant-1.9.2/build.xml:1211: Javadoc returned 1 Total time: 39 seconds * ERROR: dev-java/ant-core-1.9.2::gentoo failed (compile phase): * build failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3906: Called die * The specific snippet of code: * CLASSPATH="$(java-config -t)" ./build.sh ${bsyscp} jars internal_dist $(use_doc javadocs) || die "build failed" * * If you need support, post the output of `emerge --info '=dev-java/ant-core-1.9.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/ant-core-1.9.2::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=oracle-jdk-bin-1.8 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.45" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info =ant-core-1.9.2 * The complete build log is located at '/var/tmp/portage/dev-java/ant-core-1.9.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-core-1.9.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/ant-core-1.9.2/work/apache-ant-1.9.2' * S: '/var/tmp/portage/dev-java/ant-core-1.9.2/work/apache-ant-1.9.2' Reproducible: Always