Bug#526537: gtkhtml3.8: FTBFS: Compiler parser error

2009-05-23 Thread peter green

tags 526537 +patch
thanks

Patch is attached, just drop it in debian/patches (the package uses 
simple-patchsys so there is no series file to update)
diff -Nur -x '*.orig' -x '*~' gtkhtml3.8-3.12.3/a11y/Makefile.am gtkhtml3.8-3.12.3.new/a11y/Makefile.am
--- gtkhtml3.8-3.12.3/a11y/Makefile.am	2007-01-29 09:51:00.0 +
+++ gtkhtml3.8-3.12.3.new/a11y/Makefile.am	2009-05-23 20:40:23.0 +
@@ -2,7 +2,7 @@
 
 INCLUDES = -I$(top_srcdir)/src $(GTKHTML_CFLAGS) $(I18N_LIB_CFLAGS)
 
-AM_CFLAGS = $(GAIL_CFLAGS) -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1
+AM_CFLAGS = $(GAIL_CFLAGS) -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1
 
 noinst_LTLIBRARIES = libgtkhtml-a11y.la
 
diff -Nur -x '*.orig' -x '*~' gtkhtml3.8-3.12.3/a11y/Makefile.in gtkhtml3.8-3.12.3.new/a11y/Makefile.in
--- gtkhtml3.8-3.12.3/a11y/Makefile.in	2007-01-29 15:12:48.0 +
+++ gtkhtml3.8-3.12.3.new/a11y/Makefile.in	2009-05-23 20:40:40.0 +
@@ -251,7 +251,7 @@
 target_alias = @target_alias@
 END = 
 INCLUDES = -I$(top_srcdir)/src $(GTKHTML_CFLAGS) $(I18N_LIB_CFLAGS)
-AM_CFLAGS = $(GAIL_CFLAGS) -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1
+AM_CFLAGS = $(GAIL_CFLAGS) -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1
 noinst_LTLIBRARIES = libgtkhtml-a11y.la
 libgtkhtml_a11y_la_SOURCES = \
 	cell.h		\


Bug#526537: gtkhtml3.8: FTBFS: Compiler parser error

2009-05-01 Thread Daniel Schepler
Package: gtkhtml3.8
Version: 3.12.3-3
Severity: serious

From my pbuilder build log:

...
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. 
-I../src -DORBIT2=1 -pthread -D_REENTRANT -I/usr/include/libgnomeui-2.0 
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 
-
I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include 
-I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -
I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 
-I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 
-I/usr/include/freetype2 -
I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo 
-I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng12 
-I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 
-I/usr/include/libglade-2.0   -
DGNOME_EXPLICIT_TRANSLATION_DOMAIN=\gtkhtml-3.8\ 
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\gtkhtml-3.8\   -D_REENTRANT 
-I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 
-I/usr/include/glib-2.0 -
I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 
-I/usr/include/directfb -I/usr/include/libpng12   -DGTK_DISABLE_DEPRECATED=1 -
DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 
-g -O2 -g -Wall -O2 -Wall -Wmissing-prototypes -c -o factory.lo factory.c
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DORBIT2=1 -pthread -D_REENTRANT 
-I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 
-I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -
I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 
-I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -
I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 
-I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 
-I/usr/include/atk-1.0 -
I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 
-I/usr/include/directfb -I/usr/include/libpng12 
-I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 
-I/usr/include/libglade-2.0 -
DGNOME_EXPLICIT_TRANSLATION_DOMAIN=\gtkhtml-3.8\ 
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\gtkhtml-3.8\ -D_REENTRANT 
-I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 
-I/usr/include/glib-2.0 -
I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 
-I/usr/include/directfb -I/usr/include/libpng12 -DGTK_DISABLE_DEPRECATED=1 -
DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 
-g -O2 -g -Wall -O2 -Wall -Wmissing-prototypes -c factory.c  -fPIC -DPIC -o 
.libs/factory.o
In file included from factory.c:3:
../src/gtkhtml.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'gtk_html_get_type'
factory.c: In function 'gtk_html_accessibility_init':
factory.c:61: warning: implicit declaration of function 'gtk_html_get_type'
make[3]: *** [factory.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/gtkhtml3.8-3.12.3/a11y'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/gtkhtml3.8-3.12.3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/gtkhtml3.8-3.12.3'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
-- 
Daniel Schepler




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org