When compiling graphviz-2.22.0 this error occurs : libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -march=native -O3 -pipe -msse3 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT adjust.lo -MD -MP -MF .deps/adjust.Tpo -c adjust.c -fPIC -DPIC -o .libs/adjust.o mv -f .deps/circuit.Tpo .deps/circuit.Plo /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -march=native -O3 -pipe -msse3 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT geometry.lo -MD -MP -MF .deps/geometry.Tpo -c -o geometry.lo geometry.c mv -f .deps/edges.Tpo .deps/edges.Plo /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -march=native -O3 -pipe -msse3 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT heap.lo -MD -MP -MF .deps/heap.Tpo -c -o heap.lo heap.c adjust.c: In function 'makeMatrix': adjust.c:718: error: 'Agedge_t' has no member named 'head' adjust.c:719: error: 'Agsym_t' has no member named 'index' make[3]: *** [adjust.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -march=native -O3 -pipe -msse3 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT geometry.lo -MD -MP -MF .deps/geometry.Tpo -c geometry.c -fPIC -DPIC -o .libs/geometry.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/common -I../../lib/gvc -I../../lib/pack -I../../lib/ortho -I../../lib/pathplan -I../../lib/cgraph -I../../lib/sparse -I../../lib/rbtree -I../../lib/sfdpgen -I../../lib/cdt -march=native -O3 -pipe -msse3 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT heap.lo -MD -MP -MF .deps/heap.Tpo -c heap.c -fPIC -DPIC -o .libs/heap.o mv -f .deps/geometry.Tpo .deps/geometry.Plo mv -f .deps/heap.Tpo .deps/heap.Plo make[3]: Leaving directory `/var/tmp/paludis/media-gfx-graphviz-2.22.0/work/graphviz-2.22.0/lib/neatogen' make[2]: Leaving directory `/var/tmp/paludis/media-gfx-graphviz-2.22.0/work/graphviz-2.22.0/lib' make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/var/tmp/paludis/media-gfx-graphviz-2.22.0/work/graphviz-2.22.0' make: *** [all] Error 2 my USE flags are : [ebuild U ] media-gfx/graphviz-2.22.0 [2.20.3] USE="cairo cgraph gnome gtk java jpeg nls perl png python ruby tcl -doc -examples" 16,420 kB When emerging the package without the "cgraph" USE flag, compilation works fine. emerge --info is following Reproducible: Always
Created attachment 184322 [details] emerge --info
Reassigning to graphics herd.
It has other problems, too. On sparc and amd64, with USE="cairo examples gtk jpeg nls perl png python ruby tcl -cgraph -doc -gnome -java" (and forcing MAKEOPTS='-j1' to take care of parallel make problems), I see: ========================== /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -march=k8 -pipe -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -version-info "5:0:0" -no-undefined -Wl,-O1 -o libgvc.la -rpath /usr/lib64 gvrender.lo gvlayout.lo gvdevice.lo gvloadimage.lo gvcontext.lo gvjobs.lo gvevent.lo gvplugin.lo gvconfig.lo gvtextlayout.lo gvusershape.lo gvc.lo ../../lib/pack/libpack_C.la ../../lib/common/libcommon_C.la ../../lib/cdt/libcdt.la ../../lib/graph/libgraph.la ../../lib/pathplan/libpathplan.la -lexpat -lz -lm ../../libltdl/libltdlc.la -lz -lm libtool: link: cannot find the library `../../libltdl/libltdlc.la' or unhandled argument `../../libltdl/libltdlc.la' make[3]: *** [libgvc.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.22.0/work/graphviz-2.22.0/lib/gvc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.22.0/work/graphviz-2.22.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.22.0/work/graphviz-2.22.0' make: *** [all] Error 2 * * ERROR: media-gfx/graphviz-2.22.0 failed. ======================================= If it matters, this is: sys-devel/libtool-1.5.26
Created attachment 184425 [details] confirm problems on amd64 the same problems happen here, which one depends on the version of libtool installed
Created attachment 184426 [details] emerge failure caused by libltdl
Created attachment 184427 [details] emerge failure caused by missing elements with the newer version of libtool installed, the libltdl error disappears here.
Similar error was discussed in relation to mac OS X in bug 235147.
cgraph USE-flag is now disabled in media-gfx/graphviz-2.22.1 as it's not ready yet (according to upstream). From the graphviz ChangeLog: - 90% conversion to cgraph has been done, but not enabled yet, (and yes, its true what they say about the last 10% ) I'm leaving this bug open for the libtool inconsistencies.
*** Bug 263943 has been marked as a duplicate of this bug. ***
> with the newer version of libtool installed, the libltdl error disappears here. Yes. Confirm problem with libtool-1.5.26 and fine compile with libtool-2.2.6a
19 May 2009; Peter Volkov <pva@gentoo.org> graphviz-2.22.2-r1.ebuild: Fixed broken build caused by inability to use system ltdl reported by Michael Pontus in bug #265859. should fix this issue.