[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#666592: google-gadgets: FTBFS: gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."



Source: google-gadgets
Version: 0.11.2-5
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20120331 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/   -D__STDC_CONSTANT_MACROS                    -DNDEBUG                    -DGGL_MODULE_DIR=\"/usr/lib/google-gadgets/modules\"                    -DGGL_INCLUDE_DIR=\"/usr/include/google-gadgets\"                    -DGGL_SYSDEPS_INCLUDE_DIR=\"/usr/lib/google-gadgets/include\"                    -DGGL_LIBEXEC_DIR=\"/usr/lib/google-gadgets\"                    -DGGL_RESOURCE_DIR=\"/usr/share/google-gadgets\" -DGGL_HOST_LINUX=1 -DGGL_LITTLE_ENDIAN -DHAVE_PTHREAD=1 -DHAVE_X11=1 -DHAVE_DBUS_LIBRARY -DHAVE_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION -DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_JAVA_SCRIPT_H -DGGL_GTK_WEBKIT_SUPPORT_JSC -DHAVE_MKDTEMP -DHAVE_MMAP "-DGGL_DIST_INFO=\"linux-x86_64 (wheezy/sid) (-)\""                      -DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\"                      -DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/usr/lib/xulrunner-addons/plugins\" -DGGL_ENABLE_XDGMIME -DGGL_GTK_HTML_SCRIPT_ENGINE=\"webkit\" -DGGL_GTK_XML_HTTP_REQUEST=\"soup\" -DGGL_QT_SCRIPT_ENGINE=\"qt\"  -I/usr/include/startup-notification-1.0   -pthread -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2    -O2 -Wall -fstack-protector -fno-strict-aliasing  -c -o libggadget_gtk-1.0_la-main_loop.lo `test -f 'main_loop.cc' || echo './'`main_loop.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -D__STDC_CONSTANT_MACROS -DNDEBUG -DGGL_MODULE_DIR=\"/usr/lib/google-gadgets/modules\" -DGGL_INCLUDE_DIR=\"/usr/include/google-gadgets\" -DGGL_SYSDEPS_INCLUDE_DIR=\"/usr/lib/google-gadgets/include\" -DGGL_LIBEXEC_DIR=\"/usr/lib/google-gadgets\" -DGGL_RESOURCE_DIR=\"/usr/share/google-gadgets\" -DGGL_HOST_LINUX=1 -DGGL_LITTLE_ENDIAN -DHAVE_PTHREAD=1 -DHAVE_X11=1 -DHAVE_DBUS_LIBRARY -DHAVE_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION -DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_JAVA_SCRIPT_H -DGGL_GTK_WEBKIT_SUPPORT_JSC -DHAVE_MKDTEMP -DHAVE_MMAP "-DGGL_DIST_INFO=\"linux-x86_64 (wheezy/sid) (-)\"" -DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\" -DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/usr/lib/xulrunner-addons/plugins\" -DGGL_ENABLE_XDGMIME -DGGL_GTK_HTML_SCRIPT_ENGINE=\"webkit\" -DGGL_GTK_XML_HTTP_REQUEST=\"soup\" -DGGL_QT_SCRIPT_ENGINE=\"qt\" -I/usr/include/startup-notification-1.0 -pthread -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -O2 -Wall -fstack-protector -fno-strict-aliasing -c main_loop.cc  -fPIC -DPIC -o .libs/libggadget_gtk-1.0_la-main_loop.o
> In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0,
>                  from /usr/include/glib-2.0/glib/ghash.h:34,
>                  from main_loop.cc:19:
> /usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
> make[6]: *** [libggadget_gtk-1.0_la-main_loop.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/31/google-gadgets_0.11.2-5_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.



Reply to: