[Bug 929573] Re: /usr/bin/rsvg removed from latest upload (causing FTBFSes in archive)

Scott Howard showard314 at ubuntu.com
Thu Feb 9 15:35:22 UTC 2012


>From the linked debian bug:
imagemagick is not supposed to use /usr/bin/rsvg because it's supposed to pull in it's own svg converter in the package libmagick?-extras where ? is the SONAME version, and is recommended by imagemagick.

However, as you can see in:
https://launchpadlibrarian.net/92231198/buildlog_ubuntu-precise-i386.librecad_1.0.0%2Bnolibs-1_FAILEDTOBUILD.txt.gz

it is pulling in:
libmagickcore4

but is NOT pulling in:
libmagickcore4-extra

since it is only a recommends.


So this is the real bug:
1) imagemagick's convert first will try to use the internal svg converter found in the recommended package libmagickcore4-extra. Since it is recommended, it is not pulled into the buildds.
2) When libmagickcore?-extra is missing on a system (such as the buildds and a user's system), "convert" will fall back to /usr/bin/rsvg. However, that file no longer exists in ubuntu.

The hack, for now, is to build depend on imagemagickcore4-extra - but
that requires bumping the dependency name everytime libmagickcore gets a
SONAME bump (which happened between oneiric and precise). or you can
depend on libmagickcore-dev which will pull in the correct
libmagickcore?-extra, but that's really overkill

** Description changed:

- The most recent upload of rsvg (2.35.2-0ubuntu1) no longer includes
- /usr/bin/rsvg.
+ 1) imagemagick's /usr/bin/convert first will try to use the internal svg converter found in the recommended package libmagickcore4-extra. Since it is recommended, it is not pulled into the buildds and not required on users systems.
+ 2) When libmagickcore?-extra is missing on a system (such as the buildds and a user's system), "convert" will fall back to /usr/bin/rsvg. However, that file no longer exists in ubuntu.
+ 
+ 
+ Original report:
+ The most recent upload of rsvg (2.35.2-0ubuntu1) no longer includes /usr/bin/rsvg.
  
  imagemagick's "convert" uses it to convert svgs to other file types.
  
  Many packages use "convert" in the build to generate the pixmaps
  required for debian menus.
  
  See:
  https://launchpadlibrarian.net/92231198/buildlog_ubuntu-precise-i386.librecad_1.0.0%2Bnolibs-1_FAILEDTOBUILD.txt.gz
- 
- 
- Either imagemagick or rsvg should be fixed so the "convert" command works again.

** Changed in: imagemagick (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to imagemagick in Ubuntu.
https://bugs.launchpad.net/bugs/929573

Title:
  /usr/bin/rsvg removed from latest upload (causing FTBFSes in archive)

Status in “imagemagick” package in Ubuntu:
  Triaged
Status in “librsvg” package in Ubuntu:
  Invalid
Status in “imagemagick” package in Debian:
  Unknown

Bug description:
  1) imagemagick's /usr/bin/convert first will try to use the internal svg converter found in the recommended package libmagickcore4-extra. Since it is recommended, it is not pulled into the buildds and not required on users systems.
  2) When libmagickcore?-extra is missing on a system (such as the buildds and a user's system), "convert" will fall back to /usr/bin/rsvg. However, that file no longer exists in ubuntu.


  Original report:
  The most recent upload of rsvg (2.35.2-0ubuntu1) no longer includes /usr/bin/rsvg.

  imagemagick's "convert" uses it to convert svgs to other file types.

  Many packages use "convert" in the build to generate the pixmaps
  required for debian menus.

  See:
  https://launchpadlibrarian.net/92231198/buildlog_ubuntu-precise-i386.librecad_1.0.0%2Bnolibs-1_FAILEDTOBUILD.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/929573/+subscriptions




More information about the foundations-bugs mailing list