Build fails on Ubuntu Lucid with cairomm 1.8.0

Bug #1012442 reported by Cafuego on 2012-06-13
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Undecided
Unassigned

Bug Description

The latest trunk has failed to build on Ubuntu Lucid with errors due to a cairomm version issue. The last successful build I have was r11469.

The full failed build log is available at https://launchpadlibrarian.net/107460627/buildlog_ubuntu-lucid-amd64.inkscape_0.49~devel%2B11494%2B7~lucid1_FAILEDTOBUILD.txt.gz

Relevant part of log as follows:

  CXX display/sp-canvas.o
display/sp-canvas.cpp:22:28: error: cairomm/region.h: No such file or directory
display/sp-canvas.cpp:418: warning: unused parameter 'klass'
display/sp-canvas.cpp:422: warning: unused parameter 'klass'
display/sp-canvas.cpp:454: warning: unused parameter 'klass'
display/sp-canvas.cpp: In static member function 'static int SPCanvasImpl::paint(SPCanvas*)':
display/sp-canvas.cpp:2235: error: 'Region' is not a member of 'Cairo'
display/sp-canvas.cpp:2235: error: 'Region' is not a member of 'Cairo'
display/sp-canvas.cpp:2235: error: template argument 1 is invalid
display/sp-canvas.cpp:2235: error: invalid type in declaration before '=' token
display/sp-canvas.cpp:2235: error: 'Cairo::Region' has not been declared
display/sp-canvas.cpp:2242: error: 'RectangleInt' is not a member of 'Cairo'
display/sp-canvas.cpp:2242: error: expected ';' before 'rect'
display/sp-canvas.cpp:2244: error: base operand of '->' is not a pointer
display/sp-canvas.cpp:2244: error: 'rect' was not declared in this scope
display/sp-canvas.cpp:2250: error: base operand of '->' is not a pointer
display/sp-canvas.cpp:2254: error: 'RectangleInt' is not a member of 'Cairo'
display/sp-canvas.cpp:2254: error: expected ';' before 'rect'
display/sp-canvas.cpp:2255: error: 'rect' was not declared in this scope
make[4]: *** [display/sp-canvas.o] Error 1

Cafuego (cafuego) wrote :

I note that cairomm/region.h is present in the 1.9.8 package from the next supported Ubuntu version. I can backport that and provide it through my PPA, but I'd just like to check that upping the cairomm version depend was a conscious decision :-)

ScislaC (scislac) wrote :

It was, you should add it to the ppa... we need to add cairomm to the tracking dependencies wiki page it appears.

su_v (suv-lp) wrote :

@Alex - do you think cairomm needs to be added to the tracking page in the wiki (min version > 1.8.x), or is the existing statement «C++ bindings are not included, since their required versions match those of the C counterparts. » covering this issue sufficiently and this report can be closed?

Alex Valavanis (valavanisalex) wrote :

Hmm, yes this should really be set as a hard dependency in configure.ac. I've added a note to the dependency table in the wiki but I haven't yet checked its availability in distros.

Alex Valavanis (valavanisalex) wrote :

I've bumped the cairomm dependency to 1.9.8 in lp:inkscape r11517. I guess this means that this bug should be closed as "Won't fix", because we no longer support builds with earlier cairomm versions. Hopefully now, the configure script will explain the missing dependency rather than allowing a broken build to proceed.

As Cafuego pointed out, this can be fixed in Lucid by backporting cairomm 1.9.8 from Natty.

Changed in inkscape:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers