Source: python-gd
Version: 0.56+dfsg-2
Severity: important

the build of python-gd only looks in /usr/lib for its required libraries.
This fails for its dependencies in multiarch paths.
When building in unstable with multiarched libpng the library will not
have png support:
>>> import gd
>>> gd.image('/icon.png')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gd.py", line 22, in __init__
    self.__dict__["_image"] = _gd.image(*args)
IOError: unsupported file type (only
.gif|.png|.jpeg|.jpg|.gd|.gd2|.xbm|.xpm accepted)

please improve the build process by making it not requiring knownledge
of the default library paths (e.g. by test linking) or add the multiarch
paths to the search path using dpkg-architecture -qDEB_HOST_MULTIARCH

see also the ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/python-gd/+bug/901525

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to