Bug#441195: gtk+2.0_2.11.6-1(sparc/experimental): FTBFS: error: dereferencing pointer to incomplete type)
Martin Michlmayr
tbm at cyrius.com
Sat Oct 13 09:50:48 UTC 2007
> From: Loïc Minier <lool at dooz.org>
>
> Ok; I wasn't sure whether the experimental buildd are online 100% of
> the time. Sjoerd confirmed buildability under sparc, so I've pushed
> gtk to unstable and am closing this bug.
This bug has nothing to do with SPARC, really. It's just that gtk+2.0
2.10 and 2.11 are incompatible with CUPS 1.3. I just ran into this on
amd64 because testing has CUPS 1.3 but only gtk 2.10. Below is a
patch for other people trying to compile testing.
Index: debian/patches/080_cups_build_fix.patch
===================================================================
--- debian/patches/080_cups_build_fix.patch (revision 0)
+++ debian/patches/080_cups_build_fix.patch (revision 0)
@@ -0,0 +1,13 @@
+--- gtk+2.0-2.10.13/modules/printbackends/cups/gtkcupsutils.c~ 2007-10-13 09:10:08.000000000 +0000
++++ gtk+2.0-2.10.13/modules/printbackends/cups/gtkcupsutils.c 2007-10-13 09:10:13.000000000 +0000
+@@ -30,10 +30,6 @@
+ #include <stdlib.h>
+ #include <time.h>
+
+-#if CUPS_VERSION_MAJOR > 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR > 1) || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR == 1 && CUPS_VERSION_PATCH >= 20)
+-#define HAVE_HTTP_AUTHSTRING 1
+-#endif
+-
+ typedef void (*GtkCupsRequestStateFunc) (GtkCupsRequest *request);
+
+ static void _connect (GtkCupsRequest *request);
Index: debian/patches/series
===================================================================
--- debian/patches/series (revision 631)
+++ debian/patches/series (working copy)
@@ -14,3 +14,4 @@
040_filechooser_single-click.patch
041_ia32-libs.patch
070_mandatory-relibtoolize.patch
+080_cups_build_fix.patch
Index: debian/changelog
===================================================================
--- debian/changelog (revision 631)
+++ debian/changelog (working copy)
@@ -1,3 +1,10 @@
+gtk+2.0 (2.10.13-1olmec1) unstable; urgency=low
+
+ * Backport a build fix from 2.12 that's needed when CUPS 1.3.2 is
+ used (see Debian bug #441195).
+
+ -- Martin Michlmayr <tbm at cyrius.com> Sat, 13 Oct 2007 11:13:00 +0200
+
gtk+2.0 (2.10.13-1) unstable; urgency=low
* Bump Conflicts to iiimf-client-gtk << 12.3.91-4.
--
Martin Michlmayr
http://www.cyrius.com/
More information about the pkg-gnome-maintainers
mailing list