Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138158 - gnome-base/librsvg requires cairo built with png support
Summary: gnome-base/librsvg requires cairo built with png support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-27 01:04 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-06-29 15:40 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-27 01:04:35 UTC
Building librsvg out of a 2006.1 ~amd64 stage, librsvg fails because cairo is not built with png support by default:

/bin/sh ./libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc  -O2 -pipe   -o rsvg-convert  rsvg-convert.o  -lgsf-1 -lgobject-2.0 -lxml2 -lz -lm -lglib-2.0   -lcroco-0.6 -lglib-2.0 -lxml2 -lz -lm   -lgdk_pixbuf-2.0 -lxml2 -lm -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lcairo -lfontconfig -lexpat -lfreetype -lz   -lpopt ./librsvg-2.la -lm
x86_64-pc-linux-gnu-gcc -O2 -pipe -o .libs/rsvg-convert rsvg-convert.o  /usr/lib64/libpopt.so ./.libs/librsvg-2.so /usr/lib64/libgsf-1.so /usr/lib64/libcroco-0.6.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libxml2.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libcairo.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl /usr/lib64/libfontconfig.so /usr/lib64/libexpat.so /usr/lib64/libfreetype.so -lz -lm
rsvg-convert.o: In function `main':
rsvg-convert.c:(.text+0x90d): undefined reference to `cairo_surface_write_to_png_stream'
collect2: ld returned 1 exit status
make[2]: *** [rsvg-convert] Error 1
make[2]: Leaving directory `/var/tmp/portage/librsvg-2.14.3/work/librsvg-2.14.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/librsvg-2.14.3/work/librsvg-2.14.3'
make: *** [all] Error 2


Rebuilding cairo with png useflag fixes the problem. A pkg_setup to require cairo to be built with png useflag would help here :)

HTH,
Diego
Comment 1 foser (RETIRED) gentoo-dev 2006-06-29 15:40:18 UTC
this should be 'fixed' in librsvg-2.14.3 now, thanks for the report.