Originally misreported as part of #586732 Tomcat slots 8.5 and 9 with doc USE flag enabled (tested on 8.5.3, 8.5.4, and 9.0.0_alpha9) require the "failonwarning" feature introduced in ant-1.9.4 (see <https://archive.apache.org/dist/ant/RELEASE-NOTES-1.9.4.html> under "Other changes" at entry #4, which references <https://bz.apache.org/bugzilla/show_bug.cgi?id=55015>) using >=dev-java/ant-core-1.9.5_pre::poly-c (1.9.4 is unavailable) rather than =dev-java/ant-core-1.9.2::gentoo resolves this particular bug Recommended action is to add "doc? >=dev-java/ant-core-1.9.4" to the DEPEND section for >=www-server/tomcat:8.5 Reproducible: Always
we already have only ant that supports this feature