Package: python-gpiv Version: 2.0.0-1.1 Severity: normal Ubuntu has FTBFS on python 2.6 due to multiple inclusions of setjmp.h being disallowed. attached is the debdiff adapted from pygpiv - 2.0.0-1ubuntu1 which may be useful in future debian releases. it seems to not cause any problems on debian builds
+pygpiv (2.0.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * pygpiv.i: add #define PNG_SKIP_SETJMP_CHECK to fix a multiple setjmp.h + inclusion problem due to swig including Python.h before we add gpiv.h In file included from /usr/include/png.h:481, from /usr/include/gpiv.h:203, from pygpiv_wrap.c:2550: /usr/include/pngconf.h:335: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token /usr/include/pngconf.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'include' error: command 'gcc' failed with exit status 1 -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-gpiv depends on: ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libfftw3-3 3.2.2-1 library for computing Fast Fourier ii libglib2.0-0 2.22.3-2 The GLib library of C routines ii libgpiv3 0.6.1-3 library for Particle Image Velocim ii libgsl0ldbl 1.13+dfsg-1 GNU Scientific Library (GSL) -- li ii libhdf5-serial-1.8.3 [libhdf 1.8.3-2.1 Hierarchical Data Format 5 (HDF5) ii libnetpbm10 2:10.0-12 Shared libraries for netpbm ii libpng12-0 1.2.41-1 PNG library - runtime python-gpiv recommends no packages. python-gpiv suggests no packages. -- no debconf information
diff -u pygpiv-2.0.0/debian/changelog pygpiv-2.0.0/debian/changelog --- pygpiv-2.0.0/debian/changelog +++ pygpiv-2.0.0/debian/changelog @@ -1,3 +1,11 @@ +pygpiv (2.0.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * pygpiv.i: add #define PNG_SKIP_SETJMP_CHECK to fix a multiple setjmp.h + inclusion problem due to swig including Python.h before we add gpiv.h + + -- SevenMachines <sevenmachi...@yahoo.co.uk> Fri, 01 Jan 2010 07:08:18 +0000 + pygpiv (2.0.0-1) unstable; urgency=low * New upstream release only in patch2: unchanged: --- pygpiv-2.0.0.orig/pygpiv.i +++ pygpiv-2.0.0/pygpiv.i @@ -34,6 +34,7 @@ %pragma make_default %{ +#define PNG_SKIP_SETJMP_CHECK #include <gpiv.h> #include <glib-2.0/glib.h> %}