[pkg-boost-devel] Bug#595786: libboost-python-dev: Boost Python should also be compiled against Python3

Steve M. Robbins steve at sumost.ca
Sun Sep 12 16:36:03 UTC 2010


On Mon, Sep 06, 2010 at 12:22:07PM -0400, Andreas Kloeckner wrote:

> I very much appreciate that you already compile Boost Python against
> Python 2.5 and 2.6. Since upstream already also supports Python3, it
> would be nice to also compile against whatever the currently supported
> version of Python3 is (3.1 as of this writing).

I agree.  Unfortunately, when I tried building Boost 1.44 (just
uploaded to experimental), it failed to build Boost.MPI.  I posted the
build failure to the Boost list [1] but no response yet.

I'd appreciate help in tracking down the problem.  You can find the
Debian package sources in svn [2].  The following patch adds
support for Python 3.1.

Thanks,
-Steve

[1] http://lists.boost.org/Archives/boost/2010/09/170659.php
[2] svn://svn.debian.org/svn/pkg-boost/boost/trunk


Index: debian/control
===================================================================
--- debian/control	(revision 14598)
+++ debian/control	(working copy)
@@ -4,9 +4,10 @@
 Priority: optional
 Maintainer: Debian Boost Team <pkg-boost-devel at lists.alioth.debian.org>
 Uploaders: Steve M. Robbins <smr at debian.org>, Domenico Andreoli <cavok at debian.org>
-Build-Depends: debhelper (>= 7), bison, flex, docbook-to-man, xsltproc, doxygen, zlib1g-dev, libbz2-dev, libicu-dev, python-all-dev, python-support (>= 0.6), mpi-default-dev
-Build-Conflicts: boost-build, libopenmpi-dev (= 1.3.2-2)
+Build-Depends: debhelper (>= 7), bison, flex, docbook-to-man, xsltproc, doxygen, zlib1g-dev, libbz2-dev, libicu-dev, python-all-dev, python3-all-dev (>= 3.1), python-support (>= 0.6), mpi-default-dev
+Build-Conflicts: libopenmpi-dev (= 1.3.2-2)
 XS-Python-Version: >= 2.4
+XS-Python3-Version: >= 3.0
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-boost/boost/trunk/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-boost/boost/trunk
 Standards-Version: 3.8.3
Index: debian/rules
===================================================================
--- debian/rules	(revision 14599)
+++ debian/rules	(working copy)
@@ -13,7 +13,7 @@
 SOVERSION = 1.44.0
 SHLIBS_VERSION = (>= 1.44.0-1)
 
-pyversions = $(shell pyversions -rv)
+pyversions = $(shell pyversions -rv) 3.1
 
 # Boost libraries for which we want separate packages
 boost_libs := date-time filesystem graph-parallel graph iostreams math \

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20100912/4da2c2c5/attachment.pgp>


More information about the pkg-boost-devel mailing list