[DebianGIS-dev] Bug#599330: python-mapnik: broken on mips*: ImportError: invalid mode parameter

Jakub Wilk jwilk at debian.org
Wed Oct 6 17:25:58 UTC 2010


Package: python-mapnik
Version: 0.7.1-1
Severity: grave
Tags: patch
User: debian-mips at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-mapnik-rtld.diff
Type: text/x-diff
Size: 394 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20101006/bd37a410/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20101006/bd37a410/attachment.pgp>


More information about the Pkg-grass-devel mailing list