Bug#515722: libgtk2.0-dev: gdkspawn.h fails G_DISABLE_SINGLE_INCLUDES check "Only <glib.h> can be included directly."
Steve Cotton
steve0001 at s.cotton.clara.co.uk
Tue Feb 17 07:31:03 UTC 2009
Package: libgtk2.0-dev
Version: 2.12.12-1
Severity: serious
Justification: root cause of #515679 (xlog FTBFS)
GTK apps that use the GLIB sanity check G_DISABLE_SINGLE_INCLUDES don't build.
steve at localhost:~/temp$ cat includegtk.c
#include <gtk/gtk.h>
int main(int argv, char** argc)
{
return 0;
}
steve at localhost:~/temp$ gcc \
> -I/usr/include/gtk-2.0 \
> -I/usr/lib/gtk-2.0/include \
> -I/usr/include/atk-1.0 \
> -I/usr/include/cairo \
> -I/usr/include/pango-1.0 \
> -I/usr/include/glib-2.0 \
> -I/usr/lib/glib-2.0/include \
> -DG_DISABLE_SINGLE_INCLUDES \
> -Wall \
> -g \
> -O0 \
> includegtk.c
In file included from /usr/include/gtk-2.0/gdk/gdkspawn.h:26,
from /usr/include/gtk-2.0/gdk/gdk.h:52,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from includegtk.c:1:
/usr/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only <glib.h> can be included directly."
Lenny:
The G_DISABLE_SINGLE_INCLUDES test is introduced in glib2.0 upstream 2.17.1 ,
which is not in Lenny.
libgtk2.0-dev 2.12.11-4 has this bug when used with glib2.0 2.18.4-2
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgtk2.0-dev depends on:
ii libatk1.0-dev 1.22.0-1 Development files for the ATK acce
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcairo2-dev 1.6.4-7 Development files for the Cairo 2D
ii libglib2.0-0 2.18.4-2 The GLib library of C routines
ii libglib2.0-dev 2.18.4-2 Development files for the GLib lib
ii libgtk2.0-0 2.12.12-1 The GTK+ graphical user interface
ii libgtk2.0-common 2.12.12-1 Common files for the GTK+ graphica
ii libpango1.0-dev 1.20.5-3 Development files for the Pango
ii libx11-dev 2:1.1.5-2 X11 client-side library (developme
ii libxcomposite-dev 1:0.4.0-3 X11 Composite extension library (d
ii libxcursor-dev 1:1.1.9-1 X cursor management library (devel
ii libxdamage-dev 1:1.1.1-4 X11 damaged region extension libra
ii libxext-dev 2:1.0.4-1 X11 miscellaneous extensions libra
ii libxfixes-dev 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi-dev 2:1.2.0-2 X11 Input extension library (devel
ii libxinerama-dev 2:1.0.3-2 X11 Xinerama extension library (de
ii libxml2-utils 2.6.32.dfsg-5 XML utilities
ii libxrandr-dev 2:1.2.3-1 X11 RandR extension library (devel
ii pkg-config 0.22-1 manage compile and link flags for
Versions of packages libgtk2.0-dev recommends:
ii debhelper 7.0.17 helper programs for debian/rules
ii python 2.5.2-3 An interactive high-level object-o
Versions of packages libgtk2.0-dev suggests:
ii libgtk2.0-doc 2.12.11-4 Documentation for the GTK+ graphic
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list