Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202958 - media-gfx/graphviz-2.16.1 does not detect missing svg use-flag on cairo
Summary: media-gfx/graphviz-2.16.1 does not detect missing svg use-flag on cairo
Status: VERIFIED DUPLICATE of bug 202956
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-21 20:37 UTC by Mark
Modified: 2007-12-21 20:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2007-12-21 20:37:35 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:39:12 UTC
... and stop hitting refresh button

*** This bug has been marked as a duplicate of bug 202956 ***