python3-mapnik not working due to stale icu65: refernces

Bug #1873670 reported by Hartmut Holzgraefe
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-mapnik (Ubuntu)
Fix Released
High
Brian Murray

Bug Description

Even though libicu66 "(>= 66.1~rc-1~)" is listed as a dependency for python3-mapnik, there still seem to be some stale references to the previous libicu65 in the python bindings library:

This is simple to reproduce by just trying to import mapnik:

# python3 -c "import mapnik"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/mapnik/__init__.py", line 74, in <module>
    from ._mapnik import *
ImportError: /usr/lib/python3/dist-packages/mapnik/_mapnik.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN6icu_6513UnicodeStringC1ERKS0_

The undefined symbol unmangled by c++filt is:

icu_65::UnicodeString::UnicodeString(icu_65::UnicodeString const&)

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: python3-mapnik 1:0.0~20180723-588fc9062-3ubuntu2
ProcVersionSignature: Ubuntu 5.4.0-24.28-generic 5.4.30
Uname: Linux 5.4.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sun Apr 19 15:57:17 2020
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: python-mapnik
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hartmut Holzgraefe (hartmut-php) wrote :
Revision history for this message
Trent Lloyd (lathiat) wrote :

A no-change rebuild seems to correct this

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-mapnik (Ubuntu):
status: New → Confirmed
Revision history for this message
Trent Lloyd (lathiat) wrote :

= Test Case =

Simple test case per upstream docs:

python3 -c "import mapnik;print(mapnik.__file__)" # should return the path to the python bindings and no errors

Fails with the current package (1:0.0~20180723-588fc9062-3ubuntu2) - works with a no-change rebuilt package

Changed in python-mapnik (Ubuntu):
importance: Undecided → High
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "lp1873670_mapnik_icu66.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Changed in python-mapnik (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-mapnik - 1:0.0~20180723-588fc9062-3ubuntu3

---------------
python-mapnik (1:0.0~20180723-588fc9062-3ubuntu3) focal; urgency=medium

  * No-change rebuild for icu ABI compatibility (LP: #1873670)

 -- Trent Lloyd <email address hidden> Mon, 20 Apr 2020 10:48:03 +0800

Changed in python-mapnik (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.