Hi,

On Sun, Jul 29, 2018 at 10:57:44AM -0300, Antonio Terceiro wrote:
> Source: wand
> Version: Wrong dependencies on libmagickcore-6.q16-6 instead of 
> libmagickwand-6.q16-6
> Severity: serious
> Justification: missing dependencies
> 
> I think there is a typo in Depends: which causes this:
> 
> $ python3 -c 'from wand.image import Image'
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/wand/api.py", line 180, in <module>
>     libraries = load_library()
>   File "/usr/lib/python3/dist-packages/wand/api.py", line 135, in load_library
>     raise IOError('cannot find library; tried paths: ' + repr(tried_paths))
> OSError: cannot find library; tried paths: []
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/lib/python3/dist-packages/wand/image.py", line 20, in <module>
>     from .api import MagickPixelPacket, libc, libmagick, library
>   File "/usr/lib/python3/dist-packages/wand/api.py", line 206, in <module>
>     'Try to install:\n  ' + msg)
> ImportError: MagickWand shared library not found.
> You probably had not installed ImageMagick library.
> Try to install:
>   apt-get install libmagickwand-dev

FWIW, I intend to upload the patch below. wand is used as a test case in
the test suite of autopkgtest, and this bug causes it to fail.

diff --git a/debian/changelog b/debian/changelog
index 888cb22..77a55e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+wand (0.4.4-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix typo in dependencies: s/magickcore/magickwand/ (Closes: #904921)
+
+ -- Antonio Terceiro <terce...@debian.org>  Sun, 29 Jul 2018 10:52:53 -0300
+
 wand (0.4.4-2) unstable; urgency=medium
 
   * Update dependencies on libmagicwand to libmagickwand-6.q16-6 (Closes:
diff --git a/debian/control b/debian/control
index b5eb063..c96cc11 100644
--- a/debian/control
+++ b/debian/control
@@ -21,7 +21,7 @@ Vcs-Browser: https://salsa.debian.org/debian/wand
 Package: python-wand
 Architecture: all
 Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},
-         libmagickcore-6.q16-6
+         libmagickwand-6.q16-6
 Suggests: wand-doc
 Description: Python interface for ImageMagick library (Python 2 build)
  Wand is a ctypes-based simple ImageMagick binding for Python. It
@@ -37,7 +37,7 @@ Description: Python interface for ImageMagick library (Python 
2 build)
 Package: python3-wand
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends},
-         libmagickcore-6.q16-6
+         libmagickwand-6.q16-6
 Suggests: wand-doc
 Description: Python interface for ImageMagick library (Python 3 build)
  Wand is a ctypes-based simple ImageMagick binding for Python. It

Attachment: signature.asc
Description: PGP signature

Reply via email to