No need to depend on libXaw because cairo can be built also with USE=-X. Reproducible: Always Steps to Reproduce: USE="-X cairo" emerge -pv graphviz Actual Results: [ebuild R ] x11-libs/cairo-1.8.8 USE="svg -X -cleartype -debug -directfb -doc -glitz -opengl -xcb" 0 kB [0] .. [ebuild N ] x11-libs/libSM-1.1.0 USE="ipv6 -debug" 247 kB [0] [ebuild N ] x11-libs/libXt-1.0.5 USE="-debug" 489 kB [0] [ebuild N ] x11-libs/libXpm-3.5.7 USE="-debug" 350 kB [0] [ebuild N ] x11-libs/libXmu-1.0.4 USE="ipv6 -debug" 299 kB [0] [ebuild N ] x11-libs/libXaw-1.0.5 USE="-debug" 502 kB [0] [ebuild R ] media-gfx/graphviz-2.24.0 USE="cairo jpeg png -doc -examples -gtk -java -lasi -nls -perl -python -ruby -tcl" 0 kB [0] Expected Results: [ebuild R ] x11-libs/cairo-1.8.8 USE="svg -X -cleartype -debug -directfb -doc -glitz -opengl -xcb" 0 kB [0] .. [ebuild R ] media-gfx/graphviz-2.24.0 USE="cairo jpeg png -X -doc -examples -gtk -java -lasi -nls -perl -python -ruby -tcl" 0 kB [0]
Created attachment 197137 [details, diff] IUSE=X in media-gfx/graphviz-2.24.0 This fixes the bug for me.
Since this patch fixes the bug AND 2.24 is no longer in the tree, please close this bug. Thanks, cheers.
Same problem is still in graphviz-2.26.3-r2, which also depends on libXaw with either USE=cairo or USE=gtk+ when I think libXaw seems to only be required when cairo actually USEs X.
I just read a comment in the ebuild that the lefty program (built with USE=tcl) needs Xaw and X. So the correct fix would be tcl? x11-libs/libXaw, not X?.
Hmmm. Graphics herd, have you had a look at the patch? Peter, could you update the summary to reflect the current/latest version of graphviz that it affects. Thanks.
Sorry for the confusion now, but lefty isn't built with USE=tcl, and the issue is still the same as originally reported; cairo can be built without USE=X and graphviz can be built without libXaw. Maybe it's because of some other graphviz USE flag I'm not setting.. doc? examples? lasi?
I don't understand what's going on in this bug. sandybridge bin # scanelf -n lefty TYPE NEEDED FILE ET_EXEC libXaw.so.7,libXpm.so.4,libXmu.so.6,libXt.so.6,libSM.so.6,libICE.so.6,libuuid.so.1,libxcb.so.1,libXau.so.6,libXdmcp.so.6,libXext.so.6,libX11.so.6,libm.so.6,libdl.so.2,libc.so.6 lefty lefty clearly depends on libXaw, as can be seen here^ and by looking at its sources. It's not clear to me that there's any way to build with lefty, much less one that the ebuild exposes. The graphics herd has been totally silent so I don't think I'll be stepping on their toes by closing this bug. In short, the dependency on Xaw isn't because of how cairo is build. lefty (part of graphviz) actually depends on libXaw.
Or, maybe you're saying that USE=-X should cause graphviz to not build lefty and not depend on Xaw? That makes sense, but I can't be sure since there's a lot of confusion in the comments. If you can explain, please reopen and I'll try to fix it myself.
(In reply to comment #8) > Or, maybe you're saying that USE=-X should cause graphviz to not build lefty > and not depend on Xaw? That's perfect. The core issue is that other parts of graphviz could run without X, even if that means giving up on lefty. > That makes sense, but I can't be sure since there's a lot of confusion in > the comments. If you can explain, please reopen and I'll try to fix it myself. Sorry for the confusion. Thanks for your help!
+ 28 May 2012; Sebastian Pipping <sping@gentoo.org> graphviz-2.28.0.ebuild: + Remove use of --with(out)-x as there is no parameter by that name. Add use + flag "X" to compile without libXaw (bug #276992) as Xaw is only needed by + lefty. As a side note both cairo and gtk can be compiled with USE=-X. +