Your message dated Sat, 09 Oct 2010 15:02:57 +0000
with message-id <e1p4awr-0006bv...@franck.debian.org>
and subject line Bug#599330: fixed in mapnik 0.7.1-2
has caused the Debian Bug report #599330,
regarding python-mapnik: broken on mips*: ImportError: invalid mode parameter
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
599330: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599330
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-mapnik
Version: 0.7.1-1
Severity: grave
Tags: patch
User: debian-m...@lists.debian.org
Usertags: mips
Justification: renders package unusable (on mips & mipsel)

mapnik is not importable on mips{,el}:

$ python -c 'import mapnik'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/mapnik/__init__.py", line 53, in <module>
    from _mapnik import *
ImportError: invalid mode parameter


I believe that the attached (untested) patch fixes this bug.

BTW, such a breakage could be detected earlier if test suite were run at build time.

--
Jakub Wilk
diff --git a/bindings/python/mapnik/__init__.py b/bindings/python/mapnik/__init__.py
--- a/bindings/python/mapnik/__init__.py
+++ b/bindings/python/mapnik/__init__.py
@@ -42,7 +42,7 @@
 
 from sys import getdlopenflags, setdlopenflags
 try:
-    from ctypes import RTLD_NOW, RTLD_GLOBAL
+    from DLFCN import RTLD_NOW, RTLD_GLOBAL
 except ImportError:
     RTLD_NOW = 2
     RTLD_GLOBAL = 256

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: mapnik
Source-Version: 0.7.1-2

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

libmapnik-dev_0.7.1-2_i386.deb
  to main/m/mapnik/libmapnik-dev_0.7.1-2_i386.deb
libmapnik0.7_0.7.1-2_i386.deb
  to main/m/mapnik/libmapnik0.7_0.7.1-2_i386.deb
mapnik-doc_0.7.1-2_all.deb
  to main/m/mapnik/mapnik-doc_0.7.1-2_all.deb
mapnik-utils_0.7.1-2_i386.deb
  to main/m/mapnik/mapnik-utils_0.7.1-2_i386.deb
mapnik_0.7.1-2.debian.tar.gz
  to main/m/mapnik/mapnik_0.7.1-2.debian.tar.gz
mapnik_0.7.1-2.dsc
  to main/m/mapnik/mapnik_0.7.1-2.dsc
python-mapnik_0.7.1-2_i386.deb
  to main/m/mapnik/python-mapnik_0.7.1-2_i386.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 599...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <da...@debian.org> (supplier of updated mapnik 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Sat, 09 Oct 2010 16:25:18 +0200
Source: mapnik
Binary: libmapnik0.7 libmapnik-dev mapnik-utils python-mapnik mapnik-doc
Architecture: source i386 all
Version: 0.7.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian GIS Project <pkg-grass-de...@lists.alioth.debian.org>
Changed-By: David Paleino <da...@debian.org>
Description: 
 libmapnik-dev - C++/Python toolkit for developing GIS applications (devel)
 libmapnik0.7 - C++/Python toolkit for developing GIS applications (libraries)
 mapnik-doc - C++/Python toolkit for developing GIS applications (doc)
 mapnik-utils - C++/Python toolkit for developing GIS applications (utilities)
 python-mapnik - C++/Python toolkit for developing GIS applications (Python)
Closes: 599330
Changes: 
 mapnik (0.7.1-2) unstable; urgency=low
 .
   * debian/patches/03-fix_ImportError_mips.patch added, fixes
     un-importability on mips{,-el} due to a wrong import. Thanks
     Jakub Wilk (Closes: #599330)
Checksums-Sha1: 
 b4537f7963f1289f106632ab5b97153502723660 1856 mapnik_0.7.1-2.dsc
 f7a5e0a1ac9daecfd9e3caeb0519fa1ff8f62420 10816 mapnik_0.7.1-2.debian.tar.gz
 a8cc633d94c5b3cf1b0f1d64db809acc2b75931a 1043264 libmapnik0.7_0.7.1-2_i386.deb
 62629b955b986aef606c3a6d29ec3869aaa97b35 97248 libmapnik-dev_0.7.1-2_i386.deb
 7eb4ddc83e4858c3efe51acf20688eec4c64ce2f 66028 mapnik-utils_0.7.1-2_i386.deb
 a4c8f8b7881569514d249a226fe9757c96b9da71 1236028 python-mapnik_0.7.1-2_i386.deb
 f65eb3b721eff9fe8a5dffda4eab1dc2752870a0 2242110 mapnik-doc_0.7.1-2_all.deb
Checksums-Sha256: 
 fc145a6e27958d620c83dcea6fb9617716a45a1c3cbb95a9ed1cb8992c134019 1856 
mapnik_0.7.1-2.dsc
 b921d663f3193f8aef0898d703404bea6c64d05d43b10c508f22c9af250235db 10816 
mapnik_0.7.1-2.debian.tar.gz
 e6e3e97cf3444c3169f56797a98dbc5197058631d1ffe5e6943859b1959c457e 1043264 
libmapnik0.7_0.7.1-2_i386.deb
 ad8aec298f29cfd0513290188cb8191938045545f2efaffae6993c7c57e1f1f8 97248 
libmapnik-dev_0.7.1-2_i386.deb
 7dc8d219b301b5890d5e57650e61c213dab2e9c33bf5f9fd39df1a51ec68321d 66028 
mapnik-utils_0.7.1-2_i386.deb
 5831ea3fa65014e1256275c64cea6d1bf391dcdfcdc82e8d421ab0f33950e233 1236028 
python-mapnik_0.7.1-2_i386.deb
 9cc18d74015f6f1b97db657b7ac1634fd3a7c69da001bf264d4216601381145b 2242110 
mapnik-doc_0.7.1-2_all.deb
Files: 
 fb3b25d9f512154cf0a34c569e1a16fd 1856 libs optional mapnik_0.7.1-2.dsc
 ade54377f782fb219789acbde755e1c3 10816 libs optional 
mapnik_0.7.1-2.debian.tar.gz
 ca2f5fa964b76bae98852423ae59cc54 1043264 libs optional 
libmapnik0.7_0.7.1-2_i386.deb
 4b2b4ec87d2e1abf3e5de99df652167c 97248 libdevel optional 
libmapnik-dev_0.7.1-2_i386.deb
 639c2a2c3fc24b917b3fd7db617ab330 66028 utils optional 
mapnik-utils_0.7.1-2_i386.deb
 20200be1ef3807cd05a25b5e9f6aa5b5 1236028 python optional 
python-mapnik_0.7.1-2_i386.deb
 10471c2d406c20f703a06031a2531477 2242110 doc optional 
mapnik-doc_0.7.1-2_all.deb

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

iEYEARECAAYFAkywgLoACgkQ5qqQFxOSsXRzkACgkaSIvpswT+y3DsukLVgRSvMh
IiAAnjo2ZWCSnekxJCbA8A7Zqo25N2WA
=4ECp
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to