cairomm headers impinge upon user namespace

Bug #588627 reported by Richard Kettlewell
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cairomm (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

My project uses autoconf in the usual way, and cairomm. However, the current cairomm in lucid has a cairommconfig.h which defines many of the symbols that autoconf's generated config.h defines. The result is build errors such as the following:

In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from ../graph/Graph.h:4,
                 from ../graph/TimeGraph.h:4,
                 from spoolstats.h:44,
                 from spoolstats.cc:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: error: "PACKAGE" redefined
In file included from ../lib/utils.h:23,
                 from spoolstats.h:34,
                 from spoolstats.cc:20:
../config.h:101:1: error: this is the location of the previous definition

cairomm should not define these symbols. (For instance, it could rename them to something starting CAIROMM_).

richard@lancilark:~$ dpkg -l libcairomm-1.0-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libcairomm-1.0 1.8.0-1build2 C++ wrappers for Cairo (development files)
richard@lancilark:~$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

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

The fix for this particular bug should be in lucid-proposed already. See also bug #566986.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the comment suggests that the issue is fixed in lucid updates and maverick so closing the bug now

Changed in cairomm (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
Revision history for this message
jnq35 (quero-jeannoel) wrote : Obtain the career you have always wanted with the Univresity Dgeree you deserve. careers in medical field

A Gen ea uine Univ kle ersity Deg yn ree in 4-6 weeks!
Have you ever thought that the only thing stopping you from a great j oeo ob and better pay was a few letters behind your name?
Well now you can get them!

BA___BSc___MA___MSc___MBA___PhD

Within 4-6 weeks!
No St fzj udy Re tnl quired!
100% Ver gh ifiable!
These are real, ge qj nuine degrees that include Bac aqi helors, Ma gh sters, MBA and Do so ctorate Deg vnn rees.
They are fully ve tc rifiable and ce tqg rtified transcripts are available.

Just ca fh ll the number below.
You will thank me later�
+ 1 - 6 si 46 - 53 sc 7 - 17 xq 32Leave a message 24 hours a day, 7 days a week including Sundays and Holidays

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.