tag 530478 patch pending
thanks

Steve M. Robbins <s...@debian.org> (24/05/2009):
> Due to the recently-introduced package boost-defaults [1], the
> unversioned Boost -dev packages changed from Boost version 1.34.1 to
> version 1.38.0.
> 
> You package now fails to build due to that change.  Specifically, you
> will need to link against "-mt" variants of the boost libraries.
> 
> Upstream stopped building separate single- and multi-threaded variants
> of all libraries and Debian followed suit as of 1.37.0.  The
> single-threaded variant was named, e.g. "-lboost_regex" while the
> multi-threaded variant was suffixed with "-mt", i.e. named
> "-lboost_regex-mt".  Your package needs to change its linker
> arguments.

Thanks for these explanations, Steve (I've managed to get boost on
kfreebsd-* and I wondered a bit why linking failed, and first thought
our packages were botched somehow). I've prepared a fixed package
uploaded to DELAYED/3 to fix that. Tim: you can incorporate the changes
and do an MU in the meanwhile, or ask me to cancel it if you would like
more time to do that yourself. But given there was no answer on this bug
report yet, I chose “action by default”. :)

Mraw,
KiBi.
diff -u polybori-0.5~rc1/debian/changelog polybori-0.5~rc1/debian/changelog
--- polybori-0.5~rc1/debian/changelog
+++ polybori-0.5~rc1/debian/changelog
@@ -1,3 +1,18 @@
+polybori (0.5~rc1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with current boost (Closes: #530478). As explained by Steve
+    M. Robbins, single- and multi-threaded variants got dropped, only mt
+    variants are available as of 1.37.0, suffixed with “-mt”. Since the
+    previous filenames aren't specified, make sure a “modern” version of
+    boost headers are used, bumping the versioned build dependency from
+    “>= 1.33” to “>= 1.37”, and tweak SConstruct to use “boost_python-mt”
+    instead of “boost_python” for the LIBS variable, using the following
+    patch:
+     - 01-fix-ftbfs-with-new-boost.diff
+
+ -- Cyril Brulebois <k...@debian.org>  Thu, 02 Jul 2009 17:26:00 +0200
+
 polybori (0.5~rc1-1) unstable; urgency=low
 
   * Initial release to Debian (Closes: #480077)
diff -u polybori-0.5~rc1/debian/control polybori-0.5~rc1/debian/control
--- polybori-0.5~rc1/debian/control
+++ polybori-0.5~rc1/debian/control
@@ -4,7 +4,7 @@
 Maintainer: Tim Abbott <tabb...@mit.edu>
 Uploaders: Alexander Dreyer <adre...@gmx.de>
 Homepage: http://polybori.sourceforge.net/
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), scons, python-setuptools, libboost-dev, libboost-python-dev (>=1.33), doxygen (>= 1.4.6), hevea | tex4ht, python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6)
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), scons, python-setuptools, libboost-dev, libboost-python-dev (>= 1.37), doxygen (>= 1.4.6), hevea | tex4ht, python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6)
 XS-Python-Version: all
 Standards-Version: 3.8.0
 
only in patch2:
unchanged:
--- polybori-0.5~rc1.orig/debian/patches/01-fix-ftbfs-with-new-boost.diff
+++ polybori-0.5~rc1/debian/patches/01-fix-ftbfs-with-new-boost.diff
@@ -0,0 +1,11 @@
+--- a/SConstruct
++++ b/SConstruct
+@@ -495,7 +495,7 @@ for t in tests_gb:
+         CPPPATH=CPPPATH)
+ 
+ 
+-LIBS = env['LIBS']+['boost_python']+USERLIBS
++LIBS = env['LIBS']+['boost_python-mt']+USERLIBS
+ 
+ LIBS_static = ["polybori", 'groebner', cudd_name] + LIBS
+ #env["CPPDEFINES"].Append("Packed")
only in patch2:
unchanged:
--- polybori-0.5~rc1.orig/debian/patches/series
+++ polybori-0.5~rc1/debian/patches/series
@@ -0,0 +1 @@
+01-fix-ftbfs-with-new-boost.diff

Reply via email to