Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214474 - dev-cpp/cairomm-1.4.4 (and anything using cairomm) fails to build with x11-libs/cairo-1.5.14
Summary: dev-cpp/cairomm-1.4.4 (and anything using cairomm) fails to build with x11-li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 214501 214567 214756 215243 (view as bug list)
Depends on:
Blocks: 206660
  Show dependency tree
 
Reported: 2008-03-24 04:55 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2008-03-28 20:10 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cairomm-1.5.0-cairo_font_type_atsui.patch (cairomm-1.5.0-cairo_font_type_atsui.patch,427 bytes, patch)
2008-03-24 05:22 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff
cairomm-1.5.0.ebuild (cairomm-1.5.0.ebuild,1.06 KB, text/plain)
2008-03-24 05:26 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-03-24 04:55:23 UTC
After emerging cairo-1.5.14 :
# emerge cairomm
[...]
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=nocona -O2 -pipe -MT context.lo -MD -MP -MF .deps/context.Tpo -c context.cc  -fPIC -DPIC -o .libs/context.o
In file included from ../cairomm/fontoptions.h:23,
                 from fontoptions.cc:20:
../cairomm/enums.h:195: error: 'CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ' was not declared in this scope
make[3]: *** [fontoptions.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=nocona -O2 -pipe -MT fontface.lo -MD -MP -MF .deps/fontface.Tpo -c fontface.cc  -fPIC -DPIC -o .libs/fontface.o
In file included from ../cairomm/fontface.h:23,
                 from fontface.cc:20:
../cairomm/enums.h:195: error: 'CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ' was not declared in this scope
make[3]: *** [fontface.lo] Error 1
In file included from ../cairomm/surface.h:25,
                 from ../cairomm/context.h:25,
                 from context.cc:20:
../cairomm/enums.h:195: error: 'CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ' was not declared in this scope
make[3]: *** [context.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-cpp/cairomm-1.4.6/work/cairomm-1.4.6/cairomm'
make[2]: *** [all-recursive] Error 1


I also get the same error when building packages that use cairomm (e.g. dev-cpp/libsexymm)
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-03-24 05:10:13 UTC
Oh, and this same error is present in dev-cpp/cairomm-1.4.6 (in Gnome overlay), and even cairomm-1.5.0 (most recent version on cairographics page)
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-03-24 05:22:47 UTC
Created attachment 147086 [details, diff]
cairomm-1.5.0-cairo_font_type_atsui.patch

Patch to fix compilation for cairomm-1.5.0, from upstream git.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-03-24 05:26:02 UTC
Created attachment 147088 [details]
cairomm-1.5.0.ebuild

cairomm-1.5.0 ebuild that uses above patch.

Note that since cairo API broke, the patched cairomm-1.5.0 is not compatible with <x11-libs/cairo-1.5.14

Similarly, all existing versions of cairomm in the tree and Gnome overlay should be marked as DEPEND="<x11-libs/cairo-1.5.14" (the cairo devs are claiming they broke the API but did not break the ABI).
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-03-24 11:27:54 UTC
*** Bug 214501 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-03-24 19:30:19 UTC
*** Bug 214567 has been marked as a duplicate of this bug. ***
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2008-03-24 23:24:15 UTC
In CVS. Thanks for the heads up, Alex.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-03-25 20:08:00 UTC
*** Bug 214756 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-03-28 20:10:07 UTC
*** Bug 215243 has been marked as a duplicate of this bug. ***