Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111482 - gimp-2.2.9 fails to compile if the "svg" flag is set
Summary: gimp-2.2.9 fails to compile if the "svg" flag is set
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 08:15 UTC by Stanislav Nikolov
Modified: 2006-03-01 10:08 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 Stanislav Nikolov 2005-11-04 08:15:08 UTC
If I try to emerge gimp-2.2.9 with the svg flag on, it fails after some time of
compiling with the following (truncated) message:

...
/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -O3
-march=athlon -fomit-frame-pointer -pipe -Wall   -o tiff  tiff.o
../../libgimp/libgimpui-2.0.la ../../libgimpwidgets/libgimpwidgets-2.0.la
../../libgimp/libgimp-2.0.la ../../libgimpcolor/libgimpcolor-2.0.la
../../libgimpbase/libgimpbase-2.0.la -ltiff -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
warning: libgsf-1.so.1, needed by /usr/lib/librsvg-2.so, not found (try using
-rpath or -rpath-link)
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_get_bytes'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_write'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_close'
/usr/lib/librsvg-2.so: undefined reference to `gsf_shutdown'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_read'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_size'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_memory_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_gzip_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_memory_new'
/usr/lib/librsvg-2.so: undefined reference to `gsf_init'
/usr/lib/librsvg-2.so: undefined reference to `gsf_output_get_type'
/usr/lib/librsvg-2.so: undefined reference to `gsf_input_remaining'
collect2: ld returned 1 exit status
make[3]: *** [svg] Error 1
make[3]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -O3 -march=athlon -fomit-frame-pointer -pipe -Wall -o
.libs/tiff tiff.o  ../../libgimp/.libs/libgimpui-2.0.so
../../libgimpwidgets/.libs/libgimpwidgets-2.0.so
../../libgimp/.libs/libgimp-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so
../../libgimpbase/.libs/libgimpbase-2.0.so /usr/lib/libtiff.so
/usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so
/usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
creating tiff
make[3]: Leaving directory
`/var/tmp/portage/gimp-2.2.9/work/gimp-2.2.9/plug-ins/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.2.9/work/gimp-2.2.9/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.2.9/work/gimp-2.2.9'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2005-11-04 08:19:24 UTC
you recently upgraded libgsf -- please remerge librsvg (gentoolkit didn't do a
great job at detecting this) -- also , please remerge nautilus, gdm and
gnome-desktop if you have those installed.

Assigning to portage-tools developers to see about revdep-rebuild fix0ring
Comment 2 Paul Varner (RETIRED) gentoo-dev 2005-11-04 09:09:06 UTC
I need more info to determine anything about revdep-rebuild.

Which version of gentoolkit and which version of findutils was installed when
revdep-rebuild was run?
Comment 3 Stanislav Nikolov 2005-11-05 10:18:00 UTC
I followed the advice to re-emerge librsvg and found that I was missing libgsf. 
Output form 'emerge -pv librsvg': 
 
[ebuild  N    ] gnome-extra/libgsf-1.13.2  -bzip2 -debug +doc +gnome -static 
492 kB 
[ebuild     U ] gnome-base/librsvg-2.12.7 [2.9.5] -debug +doc +gnome -nsplugin 
+zlib 387 kB 
 
After the emerge of the both packages, gimp compiled ok with the 'svg' flag on. 
Perhaps add a dependancy on 'libgsf' as well ? 
Comment 4 Paul Varner (RETIRED) gentoo-dev 2006-03-01 10:08:05 UTC
Never received the requested information.