Source: usbview
Version: 2.0-21-g6fe2f4f-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

While cross compiling usbview, I run into the following error:

| mkdir -p $(dirname hicolor/64x64/apps/usbview_icon.xpm)
| convert -geometry $(basename $(dirname $(dirname 
hicolor/64x64/apps/usbview_icon.xpm))) usbview_icon.svg 
hicolor/64x64/apps/usbview_icon.xpm
| convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ 
error/delegate.c/InvokeDelegate/1919.
| convert-im6.q16: unable to open file `/tmp/magick-15542-iTdLe4Tr9dU': No such 
file or directory @ error/constitute.c/ReadImage/544.
| convert-im6.q16: no images defined `hicolor/64x64/apps/usbview_icon.xpm' @ 
error/convert.c/ConvertImageCommand/3258.
| Makefile:963: recipe for target 'hicolor/64x64/apps/usbview_icon.xpm' failed
| make[2]: *** [hicolor/64x64/apps/usbview_icon.xpm] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| Makefile:354: recipe for target 'all' failed
| make[1]: *** [all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: make -j1 returned exit code 2
| debian/rules:4: recipe for target 'build-arch' failed
| make: *** [build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

It's not exactly clear to me why imagemagick behaves differently for
cross vs native builds here, but the build succeeds after adding
librsvg2-bin to Build-Depends. Can you apply that?

Helmut
diff --minimal -Nru usbview-2.0-21-g6fe2f4f/debian/changelog 
usbview-2.0-21-g6fe2f4f/debian/changelog
--- usbview-2.0-21-g6fe2f4f/debian/changelog    2017-02-04 12:24:40.000000000 
+0100
+++ usbview-2.0-21-g6fe2f4f/debian/changelog    2017-10-26 21:18:24.000000000 
+0200
@@ -1,3 +1,10 @@
+usbview (2.0-21-g6fe2f4f-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Add librsvg2-bin to Build-Depends for convert (closes: #-1).
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 26 Oct 2017 21:18:24 +0200
+
 usbview (2.0-21-g6fe2f4f-1) unstable; urgency=low
 
   * New upstream snapshot (closes: #849000).
diff --minimal -Nru usbview-2.0-21-g6fe2f4f/debian/control 
usbview-2.0-21-g6fe2f4f/debian/control
--- usbview-2.0-21-g6fe2f4f/debian/control      2017-02-04 12:24:38.000000000 
+0100
+++ usbview-2.0-21-g6fe2f4f/debian/control      2017-10-26 21:18:22.000000000 
+0200
@@ -5,7 +5,7 @@
 Standards-Version: 3.9.6
 Homepage: http://www.kroah.com/linux-usb/
 Build-Depends: debhelper (>= 9), dh-autoreconf, autoconf-archive,
-  imagemagick, libmagickcore-6.q16-2-extra, libgtk-3-dev
+  imagemagick, libmagickcore-6.q16-2-extra, libgtk-3-dev, librsvg2-bin
 X-Vcs-Upstream-Git: git://github.com/gregkh/usbview.git
 
 Package: usbview

Reply via email to