On Tue, 2012-05-15 at 01:43 +0200, D. Barbier wrote: > On 2012/5/14 Aron Xu wrote: > > The test build failed on amd64 and i386, at the same place. Attached > > is my change to your git tree and the build log produced on amd64. > > Hello, > > Here is an updated status; I did not encounter your problems because > my upstream tarball was buggy, we should now be in sync: > * a patch is needed to build with g++ 4.7 > * few runtime tests fail with g++ 4.7, this is why it now > Build-Depends: g++-4.6 > * add Build-Depends: bc, it is needed by a single test > * fix handling of the rotRPackage R package during tests > > It builds fine in pbuilder, but I did not yet check upgrade path from > openturns 0.15. I believe that it could be uploaded in experimental > or unstable when this is done. > > Denis
Hi, I had to explicitly specify python version in debian/rules to avoid an FTBS when python 3.2 is installed. Please find attached the patch. Best C. > > >
>From b7aded72dc6e5fe29ee0200c01e07f70a079ef95 Mon Sep 17 00:00:00 2001 From: Christophe Trophime <christophe.troph...@grenoble.cnrs.fr> Date: Tue, 15 May 2012 11:32:55 +0200 Subject: [PATCH] Specify python version in debian/rules Fix lintian warnings Signed-off-by: Christophe Trophime <christophe.troph...@grenoble.cnrs.fr> --- debian/changelog | 12 +++++++++++- debian/control | 1 + debian/copyright | 2 +- debian/rules | 5 ++++- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 110e3a8..9c81ecc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,14 @@ -openturns (1.0-1) experimental-UNRELEASED; urgency=low +openturns (1.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules: + explicit python version in override_dh_auto_configure target + * debian/copyright: + fix lintian warning + + -- Christophe Trophime <christophe.troph...@lncmi.cnrs.fr> Tue, 15 May 2012 11:16:00 +0200 + +openturns (1.0-1) unstable; urgency=low [ Denis Barbier ] * New upstream release (Closes: #669425). diff --git a/debian/control b/debian/control index 8154be9..57c7a66 100644 --- a/debian/control +++ b/debian/control @@ -8,6 +8,7 @@ Standards-Version: 3.9.3 Homepage: http://trac.openturns.org/ Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/openturns/trunk Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk +X-Python-Version: current Package: libopenturns0.1 Section: libs diff --git a/debian/copyright b/debian/copyright index 1768772..e7e990b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -53,7 +53,7 @@ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. The Debian packaging is (C) 2008, Christophe Prud'homme <prudh...@debian.org> and is licensed under the GPL, see -`/usr/share/common-licenses/GPL'. +`/usr/share/common-licenses/GPL-2'. ===================================================================== lib/COPYING.MuParser diff --git a/debian/rules b/debian/rules index 6b8d49a..26d07a8 100755 --- a/debian/rules +++ b/debian/rules @@ -64,7 +64,10 @@ override_dh_auto_configure: debian/tmp/usr/lib/R/site-library/rotRPackage -DOPENTURNS_LIBRARY_PATH:PATH=lib \ -DOPENTURNS_SYSCONFIG_PATH:PATH=/etc \ -DOPENTURNS_SYSTEM_INSTALL:BOOL=ON \ - -DINSTALL_DESTDIR:PATH=$(CURDIR)/debian/tmp + -DINSTALL_DESTDIR:PATH=$(CURDIR)/debian/tmp \ + -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python \ + -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python$(PYVER) \ + -DPYTHON_LIBRARY:PATH=/usr/lib/python$(PYVERS)/config/libpython$(PYVER).so override_dh_auto_install: debian/tmp/usr/lib/R/site-library/rotRPackage dh_auto_install -- 1.7.10