[Pkg-gmagick-im-team] sunflow: FTBFS: sh: rsvg: not found

peter green plugwash at p10link.net
Sat Nov 12 14:46:02 UTC 2011


tags 628278 - unreproducible
severity 628278 important
thanks

ccing the imagemagick developers because the proper way to fix this 
issue would probablly be to change the imagemagick packaging.

 >tags 628278 + unreproducible
 >thanks

I've managed to reproduce it but it requires a fairly specific 
combination of circumstances.

Build-Depends: cdbs, debhelper (>= 7), ant, imagemagick, default-jdk, 
libmagickcore-extra

imagemagick is a package containing executables that rely on 
libmagickcore? (where ? is the soversion the imagemagick libraries)
libmagickcore-extra is a virtual package provided by libmagick?-extra. 
libmagick?-extra provides support for extra formats to libmagickcore?

The problem is there is nothing to enforce that the imagemagick and 
libmagick-extra build-dependencies are satisfied by the same soversion 
of the imagemagick libraries. In the case of the failing build they were 
indeed satisfied by different versions (imagemagick was based on 
libmagickcore4 but the libmagickcore-extra dependency was satisfied by 
libmagickcore3-extra).

Without libmagickcore4-extra imagemagick couldn't use internal svg 
support so it tried to use the rsvg binary instead. This also failed 
because the package containing that binary (librsvg-bin) was not installed.

I'm downgrading the bug to important as it's not an issue for builds on 
a clean and current sid environment but IMO this is still a deficiency 
that should be dealt with. IMO the best option would be to introduce an 
"imagemagick-extra" package that had both a dependency on the 
appropriate libmagick?-extra package and a tightly versioned dependency 
on the imagemagick package.



More information about the Pkg-gmagick-im-team mailing list