Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261658 - media-gfx/graphviz-2.22.0 compilation fails due to cgraph USE flag (or sometimes without it)
Summary: media-gfx/graphviz-2.22.0 compilation fails due to cgraph USE flag (or someti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 263943 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-08 09:56 UTC by BedOS_Gui
Modified: 2009-05-24 09:23 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info,11.48 KB, text/plain)
2009-03-08 09:57 UTC, BedOS_Gui
Details
confirm problems on amd64 (emerge-info,4.28 KB, text/plain)
2009-03-09 09:37 UTC, J. M. Gottfried
Details
emerge failure caused by libltdl (with_libtool-1.5.26,8.30 KB, text/plain)
2009-03-09 09:37 UTC, J. M. Gottfried
Details
emerge failure caused by missing elements (with_libtool-2.2.6a,7.04 KB, text/plain)
2009-03-09 09:38 UTC, J. M. Gottfried
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BedOS_Gui 2009-03-08 09:56:57 UTC
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
Comment 1 BedOS_Gui 2009-03-08 09:57:51 UTC
Created attachment 184322 [details]
emerge --info
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-08 10:15:58 UTC
Reassigning to graphics herd.
Comment 3 Ferris McCormick (RETIRED) gentoo-dev 2009-03-08 21:11:48 UTC
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
Comment 4 J. M. Gottfried 2009-03-09 09:37:05 UTC
Created attachment 184425 [details]
confirm problems on amd64

the same problems happen here, which one depends on the version of libtool installed
Comment 5 J. M. Gottfried 2009-03-09 09:37:28 UTC
Created attachment 184426 [details]
emerge failure caused by libltdl
Comment 6 J. M. Gottfried 2009-03-09 09:38:38 UTC
Created attachment 184427 [details]
emerge failure caused by missing elements

with the newer version of libtool installed, the libltdl error disappears here.
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2009-03-11 12:22:23 UTC
Similar error was discussed in relation to mac OS X in bug 235147.
Comment 8 Markus Meier gentoo-dev 2009-03-12 06:05:49 UTC
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.
Comment 9 Zac Medico gentoo-dev 2009-03-28 00:55:34 UTC
*** Bug 263943 has been marked as a duplicate of this bug. ***
Comment 10 Roman Karshiev 2009-05-04 12:00:31 UTC
> 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
Comment 11 Markus Meier gentoo-dev 2009-05-24 09:23:48 UTC
  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.