missing libsigc++-2.0 dependency breaks cairomm pkg-config search

Bug #452733 reported by springmeyer
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
cairomm (Debian)
Fix Released
Unknown
cairomm (Ubuntu)
Fix Released
Undecided
Unassigned
mapnik (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description: Ubuntu karmic (development branch)
Release: 9.10

To replicate:

$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install libcairomm-1.0-1 libcairomm-1.0-dev

libsigc++ should have been installed when libcairomm* was requested but was not.

So, when trying to configure a package with pkg-config this fails:

$ pkg-config --exists 'cairomm-1.0'
dane@ubuntu:~/src/mapnik-trunk$ pkg-config --libs 'cairomm-1.0'
Package sigc++-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sigc++-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'sigc++-2.0', required by 'cairomm', not found

Manually running works:

$ sudo apt-get install libsigc*

$ pkg-config --libs 'cairomm-1.0'
-lcairomm-1.0 -lcairo -lsigc-2.0

This is affecting the python-mapnik package when installed from apt-get packages.

>>> import mapnik

leads to:

ImportError: /usr/lib/python2.6/dist-packages/mapnik/_mapnik.so: undefined symbol: _ZN6mapnik19cairo_renderer_base7processERKNS_15text_symbolizerERKNS_7featureINS_8geometryINS_6vertexIdLi2EEEEEN5boost10shared_ptrINS_6rasterEEEEERKNS_14proj_transformE

Uninstalling the python-mapnik package, after installing libsigc++, then reinstalling python-mapnik fixes the above undefined symbol error.

Revision history for this message
springmeyer (springmeyer) wrote :

ping

Revision history for this message
springmeyer (springmeyer) wrote :

Is anyone maintaining this package?

Revision history for this message
springmeyer (springmeyer) wrote :

also a problem on LUCID

David MENTRÉ (dmentre)
Changed in cairomm (Ubuntu):
status: New → Confirmed
Revision history for this message
springmeyer (springmeyer) wrote :

ping

Revision history for this message
Daniel Elstner (daniel-elstner) wrote :

I just checked, the problem has been fixed upstream already with the 1.8.4 release from October 2009.

Revision history for this message
Daniel Elstner (daniel-elstner) wrote :

This bug can be closed once bug #566986 is fixed.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Fixed in both Maverick and Natty:

cairomm (1.8.4-3) unstable; urgency=low

  * debian/control: Add dependency for libcairomm-1.0-dev on
    libsigc++-2.0-dev (Closes: #580431)

cairomm (1.8.4-2) unstable; urgency=low

  * Add cairommconfig.h to package (Closes: #579771, #579772)

cairomm (1.8.4-1) unstable; urgency=low

  * New upstream release
  * Standards-Version: 3.8.4
  * debian/source/format: Added with 3.0 (quilt) format

 -- Ubuntu Archive Auto-Sync <<email address hidden>

Changed in cairomm (Ubuntu):
status: Confirmed → Fix Released
Changed in cairomm (Debian):
status: Unknown → Fix Released
Matthias Klose (doko)
Changed in mapnik (Ubuntu):
status: New → 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.