Emerging media-gfx/graphviz-2.24.0-r2 with the java USE flag enabled doesn't build graphviz with java support. In the summary at the end of the configure phase under "language extensions" it says there is a missing header. At http://www.linuxfromscratch.org/blfs/view/6.3/general/graphviz.html I found that graphviz needs some things pointing to java headers to be set in $CPPFLAGS. Setting the environment variable as mentioned on that page and emerging graphviz does build with java support. Reproducible: Always Steps to Reproduce: 1. Emerge media-gfx/graphviz-2.24.0-r2 with java USE enabled 2. 3. Actual Results: Graphviz is built without java extension. Expected Results: Java extension to be built.
Attach build.log and (probably) config.log.
Created attachment 208354 [details] build.log
Created attachment 208356 [details] config.log
OK, I looked at my own build logs. The ebuild is indeed incorrect here. It looks like something like '-with-javaincludedir=${JAVA_HOME}/include' (+ eclass that sets JAVA_HOME) is needed. Even the latest (2.26.3) is affected.
As even 2.28.0 ebuild from bug 372939 is affected, adding the block to the tracker.
media-gfx/graphviz-2.24.0 no longer exists in the tree: https://github.com/gentoo/gentoo/tree/master/media-gfx/graphviz Starting from version 2.34.0, the ebuild inherits java-pkg-opt-2, which allows for IUSE flags: monsieurp@epsilon ~/gentoo/media-gfx/graphviz $ grep java-pkg-opt *.ebuild graphviz-2.34.0.ebuild:inherit autotools eutils flag-o-matic java-pkg-opt-2 multilib python-single-r1 graphviz-2.34.0.ebuild: java-pkg-opt-2_pkg_setup graphviz-2.36.0.ebuild:inherit autotools eutils flag-o-matic java-pkg-opt-2 multilib python-single-r1 graphviz-2.36.0.ebuild: java-pkg-opt-2_pkg_setup graphviz-2.36.0-r1.ebuild:inherit autotools eutils flag-o-matic java-pkg-opt-2 multilib python-single-r1 graphviz-2.36.0-r1.ebuild: java-pkg-opt-2_pkg_setup graphviz-2.38.0.ebuild:inherit autotools eutils flag-o-matic java-pkg-opt-2 multilib python-single-r1 graphviz-2.38.0.ebuild: java-pkg-opt-2_pkg_setup https://github.com/gentoo/gentoo/blob/master/eclass/java-pkg-opt-2.eclass#L36 This bug is not longer valid.
I will nitpick - it was valid at the time of filing.