Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 290524

Summary: media-gfx/graphviz-2.24.0-r2 java USE flag doesn't work
Product: Gentoo Linux Reporter: Michiel <bm.hartsuiker>
Component: [OLD] UnspecifiedAssignee: Gentoo Graphics Project <graphics+disabled>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 388937    
Attachments: build.log

Description Michiel 2009-10-26 00:21:20 UTC
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 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

Actual Results:  
Graphviz is built without java extension.

Expected Results:  
Java extension to be built.
Comment 1 Rafał Mużyło 2009-10-26 18:14:10 UTC
Attach build.log and (probably) config.log.
Comment 2 Michiel 2009-10-26 21:01:34 UTC
Created attachment 208354 [details]
Comment 3 Michiel 2009-10-26 21:03:46 UTC
Created attachment 208356 [details]
Comment 4 Rafał Mużyło 2010-02-14 15:43:41 UTC
OK, I looked at my own build logs.
The ebuild is indeed incorrect here.
It looks like something like
(+ eclass that sets JAVA_HOME)
is needed.

Even the latest (2.26.3) is affected.
Comment 5 Rafał Mużyło 2011-10-30 12:37:01 UTC
As even 2.28.0 ebuild from bug 372939 is affected, adding the block to the tracker.
Comment 6 Patrice Clement gentoo-dev 2015-08-13 18:14:14 UTC
media-gfx/graphviz-2.24.0 no longer exists in the tree:

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

This bug is not longer valid.
Comment 7 Rafał Mużyło 2015-08-14 10:11:27 UTC
I will nitpick - it was valid at the time of filing.