Summary: | >=www-servers/tomcat-8.0.36 - failure in compile phase: ${S}/build.xml:1616: javadoc doesn't support the "failonwarning" attribute | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Wernig <public> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | Martin.vGagern, mno2go, silver_ghost |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild error output
complete build log |
Description
Markus Wernig
2016-06-22 16:26:54 UTC
Created attachment 438446 [details]
ebuild error output
please attach full build.log. xz compress if necessary. Created attachment 439028 [details]
complete build log
complete build log added
Same here for www-servers/tomcat-9.0.0_alpha8. I guess it requires a newer version of Ant or something like that to build its documentation: javadoc: BUILD FAILED /var/tmp/portage/www-servers/tomcat-9.0.0_alpha8/work/apache-tomcat-9.0.0.M8-src /build.xml:1444: javadoc doesn't support the "failonwarning" attribute Total time: 17 seconds * ERROR: www-servers/tomcat-9.0.0_alpha8::gentoo failed (compile phase): * eant failed This is using dev-java/ant-1.9.2 and dev-java/ant-core-1.9.2 installed 2013, which seems pretty ancient compared to ant 1.9.7 available upstream. So perhaps bug #571110 will already resolve this. If so, declaring an updated dependency in the tomcat ebould would help. This is only the second time I've heard of the old Ant version not working. I guess this will give us the push we need. :) It's not entirely the Ant version.
>=ant-1.9.5_pre::poly-c gets rid of the failonwarning issue that is present on >=tomcat:8.5, as that was introduced in ant-1.9.4 (see <https://archive.apache.org/dist/ant/RELEASE-NOTES-1.9.4.html>), but the failure to recognize javax.wsdl* and javax.xml.rpc* packages remains.
javax.wsdl* and javax.xml.rpc* are JavaEE packages, so it may be some JavaEE component dependency.
BTW, >=tomcat:8.5 needs to be marked with "doc? >=dev-java/ant-core-1.9.4".
I've filed the failonwarning issue as bug 589546. Please revert the title as the failonwarning issue was not a part of the original bug report and is not present in tomcat-8.0.36 I have the same problem with www-servers/tomcat-9.0.5[extra-webapps]. (In reply to silver_ghost from comment #8) > I have the same problem with www-servers/tomcat-9.0.5[extra-webapps]. There is mistake. There should be www-servers/tomcat-9.0.5[doc]. (In reply to jeremiah from comment #6) > BTW, >=tomcat:8.5 needs to be marked with "doc? >=dev-java/ant-core-1.9.4". I guess a new bug to bump ant-core to latest version is also required. bug #662980 has been filed The affected version is gone. Closing |