Debian Bug report logs - #651726
python-gd: build not multiarch aware

version graph

Package: src:python-gd; Maintainer for src:python-gd is Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>;

Reported by: Julian Taylor <jtaylor@ubuntu.com>

Date: Sun, 11 Dec 2011 18:24:01 UTC

Severity: important

Found in version python-gd/0.56+dfsg-2

Fixed in version python-gd/0.56+dfsg-3

Done: Julián Moreno Patiño <darkjunix@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Julián Moreno Patiño <darkjunix@gmail.com>:
Bug#651726; Package src:python-gd. (Sun, 11 Dec 2011 18:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Julian Taylor <jtaylor@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Julián Moreno Patiño <darkjunix@gmail.com>. (Sun, 11 Dec 2011 18:24:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Julian Taylor <jtaylor@ubuntu.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-gd: build not multiarch aware
Date: Sun, 11 Dec 2011 19:21:09 +0100
[Message part 1 (text/plain, inline)]
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

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#651726; Package src:python-gd. (Wed, 14 Dec 2011 04:03:08 GMT) (full text, mbox, link).


Acknowledgement sent to Julián Moreno Patiño <darkjunix@gmail.com>:
Extra info received and forwarded to list. (Wed, 14 Dec 2011 04:03:08 GMT) (full text, mbox, link).


Message #10 received at 651726@bugs.debian.org (full text, mbox, reply):

From: Julián Moreno Patiño <darkjunix@gmail.com>
To: Julian Taylor <jtaylor@ubuntu.com>, 651726@bugs.debian.org
Subject: Re: Bug#651726: python-gd: build not multiarch aware
Date: Tue, 13 Dec 2011 22:59:59 -0500
[Message part 1 (text/plain, inline)]
Hi Julian :-) !

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
>
>
In Advance thank you so much to report it.

Sometime ago for recommendation of Jakub Wilk, I decide to maintain
python-gd in Debian Python Team[0] and I am waiting for a review. However
if you want feel free to take it and do any change[1] ( right now recognize
multiarch paths ), merge them with svn repository[2] and upload it to
unstable.


[0]
http://lists.alioth.debian.org/pipermail/python-modules-team/2011-July/010387.html
[1]
http://mentors.debian.net/debian/pool/main/p/python-gd/python-gd_0.56+dfsg-3.dsc
[2] svn+ssh://svn.debian.org/svn/python-modules/packages/python-gd/trunk

Kind regards,

-- 
Julián Moreno Patiño
 .''`. Debian GNU/{Linux,KfreeBSD}
: :' : Free Operating Systems
`. `'  http://debian.org/
  `-   PGP KEY ID 6168BF60
Registered GNU Linux User ID 488513
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#651726; Package src:python-gd. (Sun, 05 Feb 2012 07:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Julián Moreno Patiño <darkjunix@gmail.com>:
Extra info received and forwarded to list. (Sun, 05 Feb 2012 07:03:03 GMT) (full text, mbox, link).


Message #15 received at submit@bugs.debian.org (full text, mbox, reply):

From: Julián Moreno Patiño <darkjunix@gmail.com>
To: submit@bugs.debian.org
Subject: Re: Bug#651726: python-gd: build not multiarch aware
Date: Sun, 5 Feb 2012 01:58:38 -0500
[Message part 1 (text/plain, inline)]
tags 651726 + pending
thanks
[Message part 2 (text/html, inline)]

Added tag(s) pending. Request was from Julián Moreno Patiño <darkjunix@gmail.com> to control@bugs.debian.org. (Sun, 05 Feb 2012 07:06:02 GMT) (full text, mbox, link).


Reply sent to Julián Moreno Patiño <darkjunix@gmail.com>:
You have taken responsibility. (Tue, 07 Feb 2012 21:03:06 GMT) (full text, mbox, link).


Notification sent to Julian Taylor <jtaylor@ubuntu.com>:
Bug acknowledged by developer. (Tue, 07 Feb 2012 21:03:06 GMT) (full text, mbox, link).


Message #22 received at 651726-close@bugs.debian.org (full text, mbox, reply):

From: Julián Moreno Patiño <darkjunix@gmail.com>
To: 651726-close@bugs.debian.org
Subject: Bug#651726: fixed in python-gd 0.56+dfsg-3
Date: Tue, 07 Feb 2012 21:02:12 +0000
Source: python-gd
Source-Version: 0.56+dfsg-3

We believe that the bug you reported is fixed in the latest version of
python-gd, which is due to be installed in the Debian FTP archive:

python-gd-dbg_0.56+dfsg-3_amd64.deb
  to main/p/python-gd/python-gd-dbg_0.56+dfsg-3_amd64.deb
python-gd_0.56+dfsg-3.debian.tar.bz2
  to main/p/python-gd/python-gd_0.56+dfsg-3.debian.tar.bz2
python-gd_0.56+dfsg-3.dsc
  to main/p/python-gd/python-gd_0.56+dfsg-3.dsc
python-gd_0.56+dfsg-3_amd64.deb
  to main/p/python-gd/python-gd_0.56+dfsg-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 651726@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julián Moreno Patiño <darkjunix@gmail.com> (supplier of updated python-gd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 04 Feb 2012 22:47:46 +0200
Source: python-gd
Binary: python-gd python-gd-dbg
Architecture: source amd64
Version: 0.56+dfsg-3
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Changed-By: Julián Moreno Patiño <darkjunix@gmail.com>
Description: 
 python-gd  - Python module wrapper for libgd
 python-gd-dbg - Python module wrapper for libgd (debug extension)
Closes: 635490 651726
Changes: 
 python-gd (0.56+dfsg-3) unstable; urgency=low
 .
   * Generate python-gd-dbg.
     + Thanks to Matthias Klose.
   * Update B-D:
     + Add libx11-dev.
     + Change libjpeg62-dev to libjpeg-dev. (Closes: #635490)
     + Change libpng12-dev to libpng-dev.
     + Update debhelper to v8.
     + Version python-all-* build-deps on 2.6.6-3~
   * Detect multiarch libraries. (Closes: #651726 LP: #901525)
   * Bump Standards-Version to 3.9.2 (no changes).
   * Switch compat level 7 to 8.
   * Use binary compression package.
     + Thanks to Raphaël Hertzog.
   * Refresh patches offset.
   * Set Python Modules Team as Maintainer.
   * Add myself to Uploaders.
   * Add Vcs-Svn and Vcs-Browser fields.
   * Remove 02_setup.diff for not override CFLAGS.
   * Export CFLAGS and LDFLAGS from dpkg-buildflags
     in debian/rules, to use hardening flags.
   * Add override_dh_clean in debian/rules, to clean
     properly.
   * Add get-packaged-orig-source target in debian/rules
     to get DFSG upstream tarball.
     + Document how to get the tarball in README.source.
   * Update copyright file to DEP5 rev 174.
     + Extend copyright holder years.
     + Use right BSD license.
     + Add documentation license.
     + Use GPL-2+ license in debian packaging.
   * Remove Provides: ${python:Provides} in d/control.
   * Wraps the package lists with wrap-and-sort.
Checksums-Sha1: 
 98e38d1a93c0ea2516b8d453cfea5b800c245aa8 2223 python-gd_0.56+dfsg-3.dsc
 bc22c67e654ac4f347f946f1b4554ca074902e7b 9131 python-gd_0.56+dfsg-3.debian.tar.bz2
 ed1f1fafa4686dfc08f03ce2a6fa4370ae0e2c1d 37086 python-gd_0.56+dfsg-3_amd64.deb
 9bc0197bd91daa9aa9f2b5d5ddddba497bdbeb31 81448 python-gd-dbg_0.56+dfsg-3_amd64.deb
Checksums-Sha256: 
 03663202bc731fe4fd21d8e812f00dcd154bf283d46e26adf2bf9f634f3713d7 2223 python-gd_0.56+dfsg-3.dsc
 82431730ef3f4b9757d12275dfa4c7c25121213af8b95be02f08beb195ba2ed6 9131 python-gd_0.56+dfsg-3.debian.tar.bz2
 034c696f1e4c68b8d341fcb46ec81f89f3370aa6fbf717b9294e752deed7fba8 37086 python-gd_0.56+dfsg-3_amd64.deb
 cdab8fccc3c9d712e1d58e422b74d2f11f5dca6bc218ae1a4f2bfb0a4a8cc37a 81448 python-gd-dbg_0.56+dfsg-3_amd64.deb
Files: 
 bef1e06127c404c298edd5ab5e0ee517 2223 python extra python-gd_0.56+dfsg-3.dsc
 bda3a48b0872cfb2b0d0a36b4df134c6 9131 python extra python-gd_0.56+dfsg-3.debian.tar.bz2
 c6250bba3caa4ed8daae433af3f6de61 37086 python extra python-gd_0.56+dfsg-3_amd64.deb
 67be3352d38a97c441c86ec46bba0ab3 81448 debug extra python-gd-dbg_0.56+dfsg-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJPLZn2AAoJEACQ/CG1zRrMWtQQAOX0Wk+RNO/UPoJFXeSwyaDI
w4MQkO8+mRTMWMnd0VFxIW/dc8GgeeKyKKWqsCSqRABEJ0GA+EpUysdY8LWpbfiu
ehSdrNpKEbf8rl2PLuDqBFkb0pIuhNHISHlDw4GmjET/1fG5TV3dXcOwsbsRnUgG
suuTgRYj8ZYgeWlhcAbT9mzl+NRp5kr4TgDfK+FDqETQqO7PyvJTEg9FF1awD0O1
uUCswQei3BKTNrZ+wxUjVfy3gxyOFT5relItoahrOKFHY09RgSB/RMtPyTrt7oGV
zjqGdDS6vQTZLZTLkM8vUViAgM/gcOpIN90RslR7BfpsLAeosWECW7GR19EQu800
BjkfETtcQfqrtC/Rq3VR7p0rn0s19lBcffCrCcjAgkTylTcgvtsaism+Foydm/hR
UZ5I0tv7OjznPWSCW18GvpDHAkA4V9JvIEwHUygz0CDQ3+VIFot48UvjthhV5/Vv
dh+EYrWkqElLFtPP3zTcCX6UjdAVR6F8ceWbnBpEPaZJ1nDf5Z4TkDM4IJN8lVhs
3UZ6GMO6FGPwFGmGSjqlSx/rLmIuV4SekEfvFQrE55153O+d55OUVR4NrA1dx/Tm
RzzWFlkXZPwXj41K6L9s/53QfkpXcLBaAzyJpXPDRyQLP/EyBs4vNKH+lx2IbfQo
N1E1FURGOwgMDkO8Nwez
=hWD7
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 17 Mar 2012 07:35:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 12 18:31:02 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.