Bug#356859: vdkxdb2: FTBFS: cairo.h missing from /usr/include/gtk-2.0/gdk/gdkcolor.h

stigge at antcom.de stigge at antcom.de
Tue Mar 14 14:24:44 UTC 2006


Package: libgtk2.0-dev
Version: 2.4.0-3
Severity: serious

Hi,

building the package vdkxdb2 in a clean sid build environment
(with pbuilder) on i386 results in:

=========================================================================
[...]
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2 -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -s -O2 -Wall -Wcast-qual -Woverloaded-virtual -Wconversion -Wstrict-prototypes -Winline -Wno-deprecated -MT vdkxdb.lo -MD -MP -MF .deps/vdkxdb.Tpo -c vdkxdb.cc  -fPIC -DPIC -o .libs/vdkxdb.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/vdk2/vdk/vdkfont.h:30,
                 from /usr/include/vdk2/vdk/vdkprops.h:31,
                 from ../include/vdkxdb2/vdkxtable.h:32,
                 from vdkxdb.cc:29:
/usr/include/gtk-2.0/gdk/gdkcolor.h:30:19: error: cairo.h: No such file or directory
/usr/include/pango-1.0/pango/pangocairo.h:62: error: variable or field 'pango_cairo_update_context' declared void
/usr/include/pango-1.0/pango/pangocairo.h:62: error: 'cairo_t' was not declared in this scope
[...]
/usr/include/gtk-2.0/gdk/gdkcairo.h:34: error: 'pixbuf' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:35: error: expected primary-expression before 'double'
/usr/include/gtk-2.0/gdk/gdkcairo.h:36: error: expected primary-expression before 'double'
/usr/include/gtk-2.0/gdk/gdkcairo.h:36: error: initializer expression list treated as compound expression
/usr/include/gtk-2.0/gdk/gdkcairo.h:38: error: variable or field 'gdk_cairo_rectangle' declared void
/usr/include/gtk-2.0/gdk/gdkcairo.h:38: error: 'cairo_t' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:38: error: 'cr' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:39: error: expected primary-expression before '*' token
/usr/include/gtk-2.0/gdk/gdkcairo.h:39: error: 'rectangle' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:39: error: initializer expression list treated as compound expression
/usr/include/gtk-2.0/gdk/gdkcairo.h:40: error: variable or field 'gdk_cairo_region' declared void
/usr/include/gtk-2.0/gdk/gdkcairo.h:40: error: 'cairo_t' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:40: error: 'cr' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:41: error: expected primary-expression before '*' token
/usr/include/gtk-2.0/gdk/gdkcairo.h:41: error: 'region' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:41: error: initializer expression list treated as compound expression
/usr/include/gtk-2.0/gdk/gdkdrawable.h:196: error: ISO C++ forbids declaration of 'cairo_surface_t' with no type
/usr/include/gtk-2.0/gdk/gdkdrawable.h:196: error: expected ';' before '*' token
/usr/include/gtk-2.0/gdk/gdkscreen.h:51: error: ISO C++ forbids declaration of 'cairo_font_options_t' with no type
/usr/include/gtk-2.0/gdk/gdkscreen.h:51: error: expected ';' before '*' token
/usr/include/gtk-2.0/gdk/gdkscreen.h:106: error: expected ',' or '...' before '*' token
/usr/include/gtk-2.0/gdk/gdkscreen.h:106: error: ISO C++ forbids declaration of 'cairo_font_options_t' with no type
/usr/include/gtk-2.0/gdk/gdkscreen.h:107: error: expected initializer before '*' token
make[3]: *** [vdkxdb.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0'
make: *** [build-stamp] Error 2
=========================================================================

Shouldn't cairo.h be available from gdkcolor.h if it is referenced from there?

Thanks.


--
DARTS - Debian Archive Regression Test Suite
http://darts.alioth.debian.org/





More information about the Pkg-gnome-maintainers mailing list