when compiling media-gfx/imagemagick-6.5.7.0 it said: /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgsf-1 collect2: ld returned 1 exit status make[1]: *** [coders/svg.la] Error 1 Sure enough, libgsf was not even installed. This has to be a dependency problem IMHO. Reproducible: Always Steps to Reproduce: 1. emerge -C libgsf 2. emerge imagemagick 3. watch the fireworks Actual Results: see description supra Expected Results: compiles w/o error media-gfx/imagemagick-6.5.7.0
(In reply to comment #0) > Steps to Reproduce: > 1. emerge -C libgsf > 2. emerge imagemagick > 3. watch the fireworks This is not a valid way to reproduce a problem. media-gfx/imagemagick[X,svg] depends on gnome-base/librsvg, gnome-base/librsvg[zlib] depends on gnome-extra/libgsf. If you change your USE flags, you are supposed to run emerge -NuD world, not just blindly unmerge libs.
Not according to my system, to wit: # emerge -pv imagemagick These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-gfx/imagemagick-6.5.7.0 USE="X bzip2 corefonts jpeg openmp perl png svg tiff truetype xml zlib -autotrace -djvu -doc -fftw -fontconfig -fpx -graphviz -gs -hdri -jbig -jpeg2k -lcms -lqr -nocxx -openexr -q32 -q8 -raw -wmf" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB # equery depends media-gfx/imagemagick [ Searching for packages depending on media-gfx/imagemagick... ] games-strategy/wesnoth-1.6.5 (!dedicated & tinygui? media-gfx/imagemagick[jpeg,png]) gnome-extra/libgsf-1.14.17 (gnome? media-gfx/imagemagick) kde-base/kopete-4.3.1 (latex? media-gfx/imagemagick) media-gfx/inkscape-0.47 (media-gfx/imagemagick) media-libs/gegl-0.0.22 (doc? media-gfx/imagemagick) media-libs/xine-lib-1.1.17 (imagemagick? media-gfx/imagemagick) media-video/dvdauthor-0.6.14 (>=media-gfx/imagemagick-5.5.7.14) sys-apps/paludis-0.44.1 (doc? media-gfx/imagemagick) x11-themes/tango-icon-theme-0.8.90 (media-gfx/imagemagick[png?]) xfce-extra/thunar-thumbnailers-0.4.1 (media-gfx/imagemagick) # That is not actually the way I produced the bug but it seemed the simplest way at the time. You don't *want* to know what I did to create the bug in the first place! :) Anyway, it appears that that librsvg is the actual missing dependency from imagemagick, wouldn't you say?
oops, nevermind. Looks like I ran that equery depends the wrong way! I'll keep looking into it.
Ok, this makes more sense: # emerge -pv gnome-base/librsvg These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] gnome-base/librsvg-2.26.0 USE="zlib -debug -doc" 467 kB Total: 1 package (1 reinstall), Size of downloads: 467 kB # equery depends gnome-base/librsvg [ Searching for packages depending on gnome-base/librsvg... ] app-editors/emacs-23.1-r2 (X & svg? >=gnome-base/librsvg-2.0) app-office/abiword-plugins-2.6.4 (svg? >=gnome-base/librsvg-2) dev-python/librsvg-python-2.24.1 (>=gnome-base/librsvg-2.13.93) gnome-base/gdm-2.20.10-r2 (>=gnome-base/librsvg-1.1.1) gnome-base/gnome-2.26.3 (>=gnome-base/librsvg-2.26.0) gnome-base/gnome-control-center-2.26.0 (>=gnome-base/librsvg-2.0) gnome-base/gnome-panel-2.26.3 (gnome-base/librsvg) gnome-extra/gnome-games-2.26.3-r1 (>=gnome-base/librsvg-2.14) gnome-extra/gnome-system-monitor-2.26.2 (>=gnome-base/librsvg-2.12) media-gfx/gimp-2.6.8 (svg? >=gnome-base/librsvg-2.8.0) media-gfx/imagemagick-6.5.7.0 (X & svg? >=gnome-base/librsvg-2.9.0) media-libs/gegl-0.0.22 (svg? >=gnome-base/librsvg-2.14.0) media-video/vlc-1.0.4 (svg? >=gnome-base/librsvg-2.9.0) rox-base/rox-2.10 (svg? gnome-base/librsvg) x11-misc/cairo-clock-0.3.3 (>=gnome-base/librsvg-2.14) x11-themes/tango-icon-theme-0.8.90 (>=gnome-base/librsvg-2.12.3) xfce-extra/xfce4-xkb-plugin-0.5.3.3-r1 (>=gnome-base/librsvg-2.18) ----- I don't see librsvg included as a direct dependency there anywhere there, do you? I don't know off hand how to do a reverse dependency list to check it from the other direction.
(In reply to comment #4) > I don't see librsvg included as a direct dependency there anywhere there, do > you? media-gfx/imagemagick-6.5.7.0 (X & svg? >=gnome-base/librsvg-2.9.0)