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

Bug 202956

Summary: media-gfx/graphviz-2.16.1 does not detect missing svg use-flag on cairo
Product: Gentoo Linux Reporter: Mark <magesing>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: eradicator
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark 2007-12-21 20:14:52 UTC
If cairo is not built with the svg use flag, then the graphviz emerge will fail without any descriptive error message

Reproducible: Always

Steps to Reproduce:
1.Have cairo installed without the svg use flag
2.try to emerge graphviz 2.16.1


Actual Results:  
... lots of building before this ...

x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -o .libs/dot dot.o  ../../lib/gvc/.libs/libgvc.so /var/tmp/portage/media-gfx/graphviz-2.16.1/work/graphviz-2.16.1/lib/graph/.libs/libgraph.so /var/tmp/portage/media-gfx/graphviz-2.16.1/work/graphviz-2.16.1/lib/cdt/.libs/libcdt.so /var/tmp/portage/media-gfx/graphviz-2.16.1/work/graphviz-2.16.1/lib/pathplan/.libs/libpathplan.so -lm /usr/lib64/libexpat.so /usr/lib64/libltdl.so -ldl -lz 
creating dot
x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -o .libs/dot_builtins dot.o dot_builtins.o no_demand_loading.o  ../../plugin/dot_layout/.libs/libgvplugin_dot_layout.so ../../plugin/neato_layout/.libs/libgvplugin_neato_layout.so ../../plugin/core/.libs/libgvplugin_core.so ../../plugin/gd/.libs/libgvplugin_gd.so -L/usr/lib64 ../../plugin/pango/.libs/libgvplugin_pango.so /var/tmp/portage/media-gfx/graphviz-2.16.1/work/graphviz-2.16.1/lib/gvc/.libs/libgvc.so ../../lib/gvc/.libs/libgvc_builtins.so /var/tmp/portage/media-gfx/graphviz-2.16.1/work/graphviz-2.16.1/lib/graph/.libs/libgraph.so /var/tmp/portage/media-gfx/graphviz-2.16.1/work/graphviz-2.16.1/lib/pathplan/.libs/libpathplan.so ../../lib/pathplan/.libs/libpathplan.so ../../lib/graph/.libs/libgraph.so /var/tmp/portage/media-gfx/graphviz-2.16.1/work/graphviz-2.16.1/lib/cdt/.libs/libcdt.so ../../lib/cdt/.libs/libcdt.so /usr/lib64/libgd.so /usr/lib64/libjpeg.so /usr/lib64/libltdl.so ../../lib/vpsc/.libs/libvpsc_C.a -lstdc++ /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libpng12.so -lz /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -lm  -Wl,--rpath -Wl,/usr/lib64/graphviz
../../plugin/pango/.libs/libgvplugin_pango.so: undefined reference to `cairo_svg_surface_create_for_stream'
collect2: ld returned 1 exit status
make[3]: *** [dot_builtins] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.16.1/work/graphviz-2.16.1/cmd/dot'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.16.1/work/graphviz-2.16.1/cmd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.16.1/work/graphviz-2.16.1'
make: *** [all] Error 2

Expected Results:  
the graph-viz e-build should prompt the user to re-build cairo with the svg use flag.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-21 20:19:34 UTC
emerge --sync before reporting bugs.


*** This bug has been marked as a duplicate of bug 202781 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-21 20:39:12 UTC
*** Bug 202958 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-03 03:35:05 UTC
*** Bug 204148 has been marked as a duplicate of this bug. ***