Your message dated Fri, 03 Jul 2009 07:33:02 +0000
with message-id <[email protected]>
and subject line Bug#535145: fixed in trilinos 9.0.2.dfsg-5
has caused the Debian Bug report #535145,
regarding trilinos FTBFS with python2.6
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
535145: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535145
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: trilinos
Version: 9.0.2.dfsg-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu jaunty ubuntu-patch

This package needs some adaptation to be ready for python2.6, that are 
compatible with python2.5. Here is the patch.

*** /tmp/tmpUtIw5z
In Ubuntu, we've applied the attached patch to achieve the following:

  * Adapt package to python2.6 (LP: #386625):
    - debian/python-pytrilinos.install: changed python2.5 to python*
    - debian/control: changed build dependency from python2.5-dev to python-dev
    - debian/rules: changed reference to python2.5 to python2.6
    - debian/patches/python_2.6.patch: add --install-layout=deb to setup.py
      call in Makefile.in and Makefile.am for Packages/PyTrilinos/shared,
      packages/PyTrilinos/src and packages/Sundance/python/src

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-13-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u trilinos-9.0.2.dfsg/debian/python-pytrilinos.install trilinos-9.0.2.dfsg/debian/python-pytrilinos.install
--- trilinos-9.0.2.dfsg/debian/python-pytrilinos.install
+++ trilinos-9.0.2.dfsg/debian/python-pytrilinos.install
@@ -1,2 +1,2 @@
-debian/tmp/usr/lib/python2.5 /usr/lib
+debian/tmp/usr/lib/python* /usr/lib
 
diff -u trilinos-9.0.2.dfsg/debian/rules trilinos-9.0.2.dfsg/debian/rules
--- trilinos-9.0.2.dfsg/debian/rules
+++ trilinos-9.0.2.dfsg/debian/rules
@@ -9,6 +9,7 @@
 DEB_MAKE_BUILD_TARGET    := default
 DEB_COMPRESS_EXCLUDE     := .pdf
 DEB_MAKE_INSTALL_TARGET = install $(DEB_DESTDIR)
+PYVER     = $(shell pyversions -dv)
 
 #ENABLE_NOX=--disable-nox-epetra --disable-nox --disable-loca
 ENABLE_NOX=--enable-nox-epetra
@@ -62,8 +63,8 @@
   --enable-pytrilinos\
   --disable-examples --disable-tests    \
   --with-mpi-incdir=/usr/include/mpi \
-  --with-libs="-lsuperlu -lumfpack -lamd -lpython2.5" \
-  --with-incdirs="-I/usr/include/python2.5 -I/usr/include/superlu -I/usr/include/suitesparse" \
+  --with-libs="-lsuperlu -lumfpack -lamd -lpython$(PYVER)" \
+  --with-incdirs="-I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/python$(PYVER)" \
 
 #  --enable-shared \
 #   --enable-anasazi\
diff -u trilinos-9.0.2.dfsg/debian/control trilinos-9.0.2.dfsg/debian/control
--- trilinos-9.0.2.dfsg/debian/control
+++ trilinos-9.0.2.dfsg/debian/control
@@ -1,9 +1,10 @@
 Source: trilinos
 Section: math
 Priority: extra
-Maintainer: Debian Scientific Computing Team <[email protected]>
+Maintainer: Ubuntu MOTU Developers <[email protected]>
+XSBC-Original-Maintainer: Debian Scientific Computing Team <[email protected]>
 Uploaders: Christophe Prud'homme <[email protected]>
-Build-Depends: cdbs, quilt, debhelper (>= 7), automake, autoconf, gfortran, libopenmpi-dev, libsuperlu3-dev, libsuitesparse-dev, python2.5-dev, swig1.3, python-numpy, python-numeric, libexpat1-dev, libxml2-dev
+Build-Depends: cdbs, quilt, debhelper (>= 7), automake, autoconf, gfortran, libopenmpi-dev, libsuperlu3-dev, libsuitesparse-dev, python-dev, swig1.3, python-numpy, python-numeric, libexpat1-dev, libxml2-dev
 Standards-Version: 3.8.1
 Homepage: http://trilinos.sandia.gov/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/trilinos/trunk/
diff -u trilinos-9.0.2.dfsg/debian/patches/series trilinos-9.0.2.dfsg/debian/patches/series
--- trilinos-9.0.2.dfsg/debian/patches/series
+++ trilinos-9.0.2.dfsg/debian/patches/series
@@ -2,0 +3 @@
+python_2.6.patch
only in patch2:
unchanged:
--- trilinos-9.0.2.dfsg.orig/debian/patches/python_2.6.patch
+++ trilinos-9.0.2.dfsg/debian/patches/python_2.6.patch
@@ -0,0 +1,84 @@
+Index: trilinos-9.0.2.dfsg/packages/PyTrilinos/shared/Makefile.in
+===================================================================
+--- trilinos-9.0.2.dfsg.orig/packages/PyTrilinos/shared/Makefile.in	2009-06-15 22:27:13.000000000 +0200
++++ trilinos-9.0.2.dfsg/packages/PyTrilinos/shared/Makefile.in	2009-06-15 22:42:28.000000000 +0200
+@@ -510,7 +510,7 @@
+ 	$(PYTHON) $(srcdir)/setup.py build
+ 
+ install:
+-	$(PYTHON) $(srcdir)/setup.py install --destdir=$(DESTDIR)
++	$(PYTHON) $(srcdir)/setup.py install --install-layout=deb --destdir=$(DESTDIR)
+ 
+ uninstall:
+ 	$(PYTHON) $(srcdir)/setup.py uninstall
+Index: trilinos-9.0.2.dfsg/packages/PyTrilinos/shared/Makefile.am
+===================================================================
+--- trilinos-9.0.2.dfsg.orig/packages/PyTrilinos/shared/Makefile.am	2009-06-15 22:27:13.000000000 +0200
++++ trilinos-9.0.2.dfsg/packages/PyTrilinos/shared/Makefile.am	2009-06-15 22:42:28.000000000 +0200
+@@ -250,7 +250,7 @@
+ 	$(PYTHON) $(srcdir)/setup.py build
+ 
+ install:
+-	$(PYTHON) $(srcdir)/setup.py install --destdir=$(DESTDIR)
++	$(PYTHON) $(srcdir)/setup.py install --install-layout=deb  --destdir=$(DESTDIR)
+ 
+ uninstall:
+ 	$(PYTHON) $(srcdir)/setup.py uninstall
+Index: trilinos-9.0.2.dfsg/packages/PyTrilinos/src/Makefile.am
+===================================================================
+--- trilinos-9.0.2.dfsg.orig/packages/PyTrilinos/src/Makefile.am	2009-06-15 22:27:13.000000000 +0200
++++ trilinos-9.0.2.dfsg/packages/PyTrilinos/src/Makefile.am	2009-06-15 22:42:28.000000000 +0200
+@@ -325,9 +325,9 @@
+ 
+ install: package
+ 	if test -z '$(DESTDIR)'; then \
+-	$(PYTHON) $(srcdir)/setup.py install --prefix $(PYTHON_PREFIX); \
++	$(PYTHON) $(srcdir)/setup.py install --install-layout=deb --prefix $(PYTHON_PREFIX); \
+ 	else \
+-	$(PYTHON) $(srcdir)/setup.py install --root $(DESTDIR); \
++	$(PYTHON) $(srcdir)/setup.py install --install-layout=deb --root $(DESTDIR); \
+ 	fi
+ 
+ uninstall:
+Index: trilinos-9.0.2.dfsg/packages/PyTrilinos/src/Makefile.in
+===================================================================
+--- trilinos-9.0.2.dfsg.orig/packages/PyTrilinos/src/Makefile.in	2009-06-15 22:27:13.000000000 +0200
++++ trilinos-9.0.2.dfsg/packages/PyTrilinos/src/Makefile.in	2009-06-15 22:42:28.000000000 +0200
+@@ -708,9 +708,9 @@
+ 
+ install: package
+ 	if test -z '$(DESTDIR)'; then \
+-	$(PYTHON) $(srcdir)/setup.py install --prefix $(PYTHON_PREFIX); \
++	$(PYTHON) $(srcdir)/setup.py install --install-layout=deb --prefix $(PYTHON_PREFIX); \
+ 	else \
+-	$(PYTHON) $(srcdir)/setup.py install --root $(DESTDIR); \
++	$(PYTHON) $(srcdir)/setup.py install --install-layout=deb --root $(DESTDIR); \
+ 	fi
+ 
+ uninstall:
+Index: trilinos-9.0.2.dfsg/packages/Sundance/python/src/Makefile.am
+===================================================================
+--- trilinos-9.0.2.dfsg.orig/packages/Sundance/python/src/Makefile.am	2009-06-15 22:42:42.000000000 +0200
++++ trilinos-9.0.2.dfsg/packages/Sundance/python/src/Makefile.am	2009-06-15 22:43:14.000000000 +0200
+@@ -75,7 +75,7 @@
+ 	$(PYTHON) $(srcdir)/setup.py build
+ 
+ install: build
+-	$(PYTHON) $(srcdir)/setup.py install --prefix=$(PYTHON_PREFIX)
++	$(PYTHON) $(srcdir)/setup.py install --install-layout=deb  --prefix=$(PYTHON_PREFIX)
+ 
+ clean-local:
+ 	$(PYTHON) $(srcdir)/setup.py clean
+Index: trilinos-9.0.2.dfsg/packages/Sundance/python/src/Makefile.in
+===================================================================
+--- trilinos-9.0.2.dfsg.orig/packages/Sundance/python/src/Makefile.in	2009-06-15 22:42:38.000000000 +0200
++++ trilinos-9.0.2.dfsg/packages/Sundance/python/src/Makefile.in	2009-06-15 22:42:57.000000000 +0200
+@@ -479,7 +479,7 @@
+ 	$(PYTHON) $(srcdir)/setup.py build
+ 
+ install: build
+-	$(PYTHON) $(srcdir)/setup.py install --prefix=$(PYTHON_PREFIX)
++	$(PYTHON) $(srcdir)/setup.py install --install-layout=deb  --prefix=$(PYTHON_PREFIX)
+ 
+ clean-local:
+ 	$(PYTHON) $(srcdir)/setup.py clean

--- End Message ---
--- Begin Message ---
Source: trilinos
Source-Version: 9.0.2.dfsg-5

We believe that the bug you reported is fixed in the latest version of
trilinos, which is due to be installed in the Debian FTP archive:

libtrilinos-dbg_9.0.2.dfsg-5_amd64.deb
  to pool/main/t/trilinos/libtrilinos-dbg_9.0.2.dfsg-5_amd64.deb
libtrilinos-dev_9.0.2.dfsg-5_amd64.deb
  to pool/main/t/trilinos/libtrilinos-dev_9.0.2.dfsg-5_amd64.deb
libtrilinos-doc_9.0.2.dfsg-5_all.deb
  to pool/main/t/trilinos/libtrilinos-doc_9.0.2.dfsg-5_all.deb
libtrilinos_9.0.2.dfsg-5_amd64.deb
  to pool/main/t/trilinos/libtrilinos_9.0.2.dfsg-5_amd64.deb
python-pytrilinos_9.0.2.dfsg-5_amd64.deb
  to pool/main/t/trilinos/python-pytrilinos_9.0.2.dfsg-5_amd64.deb
trilinos_9.0.2.dfsg-5.diff.gz
  to pool/main/t/trilinos/trilinos_9.0.2.dfsg-5.diff.gz
trilinos_9.0.2.dfsg-5.dsc
  to pool/main/t/trilinos/trilinos_9.0.2.dfsg-5.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christophe Prud'homme <[email protected]> (supplier of updated trilinos 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 03 Jul 2009 07:32:36 +0200
Source: trilinos
Binary: libtrilinos libtrilinos-dev libtrilinos-dbg python-pytrilinos 
libtrilinos-doc
Architecture: source all amd64
Version: 9.0.2.dfsg-5
Distribution: unstable
Urgency: low
Maintainer: Debian Scientific Computing Team 
<[email protected]>
Changed-By: Christophe Prud'homme <[email protected]>
Description: 
 libtrilinos - parallel solver libraries within an object-oriented software fram
 libtrilinos-dbg - parallel solver libraries within an object-oriented software 
fram
 libtrilinos-dev - parallel solver libraries within an object-oriented software 
fram
 libtrilinos-doc - parallel solver libraries within an object-oriented software 
fram
 python-pytrilinos - parallel solver libraries within an object-oriented 
software fram
Closes: 535145
Changes: 
 trilinos (9.0.2.dfsg-5) unstable; urgency=low
 .
   [Fabrice Coutadeur]
   * Adapt package to python2.6 (LP: #386625):
     - debian/python-pytrilinos.install: changed python2.5 to python*
     - debian/control: changed build dependency from python2.5-dev to python-dev
     - debian/rules: changed reference to python2.5 to python2.6
     - debian/patches/python_2.6.patch: add --install-layout=deb to setup.py
       call in Makefile.in and Makefile.am for Packages/PyTrilinos/shared,
       packages/PyTrilinos/src and packages/Sundance/python/src
 .
   [Christophe Prud'homme]
   * debian/rules: fix some lintian warnings
   * Bug fix: "trilinos FTBFS with python2.6", thanks to Fabrice Coutadeur
     (Closes: #535145).
Checksums-Sha1: 
 261566c0dd01d44af32a74cd0829ec52a7782e79 1490 trilinos_9.0.2.dfsg-5.dsc
 c1cc96d82636f5d1f33690ef929cdc48f2d4d877 7603 trilinos_9.0.2.dfsg-5.diff.gz
 9b3d2006b9c513065b80c669225744265c8e24fc 380426 
libtrilinos-doc_9.0.2.dfsg-5_all.deb
 9142356d5d3212a82cf92a1f110a77eabe540351 8742224 
libtrilinos_9.0.2.dfsg-5_amd64.deb
 70210fc7c9d8cd30accdda4a503b1cad9b8b9eb8 27241802 
libtrilinos-dev_9.0.2.dfsg-5_amd64.deb
 c17d3eaf9cb43e1f80a214cb2730d793dc7e76c2 56640144 
libtrilinos-dbg_9.0.2.dfsg-5_amd64.deb
 bc63aab7e2af564cb7f42887386d4f8efbdd786e 3250146 
python-pytrilinos_9.0.2.dfsg-5_amd64.deb
Checksums-Sha256: 
 55ef698cff5f78c4eb411e48898f583df636b94c5700dadb0945d2b219ee8ade 1490 
trilinos_9.0.2.dfsg-5.dsc
 2bf93c0f7f1c80cbf44ac734aaa17046c49fc05923a41ba6e5dbd339440c4efd 7603 
trilinos_9.0.2.dfsg-5.diff.gz
 0867c4069228da78ff0cf942b3dc652fe3d487a2e8f84b05662a412d9b45f5f2 380426 
libtrilinos-doc_9.0.2.dfsg-5_all.deb
 5f28e555adade4f432a60335a168fae72f37194feabdb974355b61b2ea85d511 8742224 
libtrilinos_9.0.2.dfsg-5_amd64.deb
 7764bbaf2aed66da3258bdfa3d2243afc5174a0ee1ae958a3516efddeb30ddb2 27241802 
libtrilinos-dev_9.0.2.dfsg-5_amd64.deb
 c596a11a7d3496cda6a6c35ed5d7edf9f02099a5c1880e233993d6d75d2f4ca2 56640144 
libtrilinos-dbg_9.0.2.dfsg-5_amd64.deb
 b71fbeff5602d002013c36d6f425da8e0aad459c316129c06944d589ce9cacb8 3250146 
python-pytrilinos_9.0.2.dfsg-5_amd64.deb
Files: 
 80bc91d817f45f690d4cfc078b2f8cf3 1490 math extra trilinos_9.0.2.dfsg-5.dsc
 65b4136f7941b17ce8aba4349d6cd371 7603 math extra trilinos_9.0.2.dfsg-5.diff.gz
 188069fdeddf33aad980b54b05571edd 380426 doc extra 
libtrilinos-doc_9.0.2.dfsg-5_all.deb
 a99af1d3333d8eb969c48925b02bade2 8742224 libs extra 
libtrilinos_9.0.2.dfsg-5_amd64.deb
 c472231710213ac89eedd37bed649bdb 27241802 libdevel extra 
libtrilinos-dev_9.0.2.dfsg-5_amd64.deb
 956f4e7794d03a3ce0f9eb0aeefbe668 56640144 debug extra 
libtrilinos-dbg_9.0.2.dfsg-5_amd64.deb
 e1014693fe3b1ce5e94e971f546da88a 3250146 python extra 
python-pytrilinos_9.0.2.dfsg-5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKTbLLoY+0C9S+FFARAqBxAJ9mC5jeB0+A7Wa2hkgl62S8tX80ogCgjcIG
5zClJFxt+9u+jklq9Bxn0Ks=
=398h
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to