Bug#620795: emacs23 does actually FTBFS on i386 now

2011-07-09 Thread Sven Joachim
tags 620795 + patch
thanks

For the record, here is the patch that has been applied in Ubuntu
already.  It seems to work (building right now).

Sven

Index: emacs23-23.3+1/lib-src/Makefile.in
===
--- emacs23-23.3+1.orig/lib-src/Makefile.in
+++ emacs23-23.3+1/lib-src/Makefile.in
@@ -141,6 +141,9 @@
 # == start of cpp stuff ===
 /* From here on, comments must be done in C syntax.  */
 
+/* Make sure a built-in define doesn't break our multiarch include path! */
+#undef i386
+
 #define THIS_IS_MAKEFILE
 #define NOT_C_CODE
 #include ../src/config.h
Index: emacs23-23.3+1/src/Makefile.in
===
--- emacs23-23.3+1.orig/src/Makefile.in
+++ emacs23-23.3+1/src/Makefile.in
@@ -73,6 +73,9 @@
 # == start of cpp stuff ===
 /* From here on, comments must be done in C syntax.  */
 
+/* Make sure a built-in define doesn't break our multiarch include path! */
+#undef i386
+
 C_SWITCH_SYSTEM=
 
 /* just to be sure the sh is used */


Bug#620795: emacs23 does actually FTBFS on i386 now

2011-07-08 Thread Sven Joachim
severity 620795 serious
tags 620795 + wheezy sid
thanks

After the latest dbus upload I'm seeing this error:

,
| gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. 
-I/usr/local/src/deb-src/emacs23/emacs23-23.3+1/debian/build-x/src 
-D_BSD_SOURCE -pthread -I/usr/include/atk-1.0 -I/usr/include/pixman-1 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 
-I/usr/include/freetype2 -I/usr/include/alsa -pthread -I/usr/include/pixman-1 
-I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 
-I/usr/include/freetype2 -I/usr/include/dbus-1.0 -I/usr/lib/1 
-linux-gnu/dbus-1.0/include -DORBIT2=1 -pthread -I/usr/include/gconf/2 
-I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-DDEBIAN -g -O2 -I/usr/include/freetype2 -MMD -MF deps/dbusbind.d dbusbind.c
| In file included from dbusbind.c:24:0:
| /usr/include/dbus-1.0/dbus/dbus.h:29:33: fatal error: dbus/dbus-arch-deps.h: 
No such file or directory
`

Note the mangled -I/usr/lib/1 -linux-gnu/dbus-1.0/include.

Cheers,
   Sven




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