[Python-modules-team] Bug#456892: FTBFS

Philipp Kern pkern at debian.org
Mon Dec 31 13:07:07 UTC 2007


On Tue, Dec 18, 2007 at 11:18:37AM +0100, Ondrej Certik wrote:
> When trying to build the source package from unstable, I get:

This caused a FTBFS on arm.  I thus uploaded the attached NMU with
Kumar's patch to DELAYED/2-days.

Kind regards,
Philipp Kern
-------------- next part --------------
diff -u python-scipy-0.6.0/debian/patches/series python-scipy-0.6.0/debian/patches/series
--- python-scipy-0.6.0/debian/patches/series
+++ python-scipy-0.6.0/debian/patches/series
@@ -2,0 +3 @@
+swig_ftbfs.dpatch
diff -u python-scipy-0.6.0/debian/control python-scipy-0.6.0/debian/control
--- python-scipy-0.6.0/debian/control
+++ python-scipy-0.6.0/debian/control
@@ -7,7 +7,7 @@
  python-all-dev, python-central (>= 0.5), python-numpy (>= 1:1.0.2),
  g77, sharutils, swig, libsuitesparse-dev (>= 3.0.0-6.1), netcdfg-dev,
  libx11-dev, refblas3-dev | atlas3-base-dev, lapack3-dev | atlas3-base-dev,
- fftw3-dev
+ libfftw3-dev
 XS-Python-Version: all
 Standards-Version: 3.7.3
 Homepage: http://www.scipy.org/
diff -u python-scipy-0.6.0/debian/changelog python-scipy-0.6.0/debian/changelog
--- python-scipy-0.6.0/debian/changelog
+++ python-scipy-0.6.0/debian/changelog
@@ -1,3 +1,13 @@
+python-scipy (0.6.0-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Changed `fftw3-dev' to `libfftw3-dev' to get rid of that dependency
+    on a virtual package.
+  * Fix FTBFS with relation to swig with a patch provided by
+    Kumar Appaiah (Closes: #456892)
+
+ -- Philipp Kern <pkern at debian.org>  Mon, 31 Dec 2007 13:45:10 +0100
+
 python-scipy (0.6.0-5) unstable; urgency=low
 
   * DM-Upload-Allowed changed to XS-DM-Upload-Allowed 
only in patch2:
unchanged:
--- python-scipy-0.6.0.orig/debian/patches/swig_ftbfs.dpatch
+++ python-scipy-0.6.0/debian/patches/swig_ftbfs.dpatch
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## swig_ftbfs.dpatch by Kumar Appaiah
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix swig to look in `/usr/include' for includes.
+
+ at DPATCH@
+--- python-scipy-0.6.0.orig/scipy/linsolve/umfpack/setup.py
++++ python-scipy-0.6.0/scipy/linsolve/umfpack/setup.py
+@@ -24,6 +24,7 @@
+     config.add_extension( '__umfpack',
+                           sources = [umfpack_i],
+                           depends = ['umfpack.i'],
++                          include_dirs = ['/usr/include'],
+                           **build_info)
+ 
+     return config
only in patch2:
unchanged:
--- python-scipy-0.6.0.orig/.pc/.version
+++ python-scipy-0.6.0/.pc/.version
@@ -0,0 +1 @@
+2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20071231/f3b20ceb/attachment.pgp 


More information about the Python-modules-team mailing list