Your message dated Sun, 10 Jun 2012 09:53:47 +0000
with message-id <[email protected]>
and subject line Bug#675529: Removed package(s) from unstable
has caused the Debian Bug report #631079,
regarding [boost1.46] Please build boost.python for pythonX-dbg too
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.)


-- 
631079: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631079
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: boost1.46
Severity: normal
Tags: patch

Hi,

I'm working on #628041 [0], building python-libtorrent (python
bindings for libtorrent-rasterbar) for pythonX-dbg.

Unfortunately, those extensions can't actually work:

$ python-dbg -c "import libtorrent"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /usr/lib/libboost_python-py26.so.1.46.1: undefined symbol: 
Py_InitModule4_64
[15005 refs]

This error is obliviously due to the fact boost.python is built against
pythonX and not pythonX-dbg. Would it be possible to add such a version
of boost.python (argh, another one!)?

I tested a modified build and it compiles and works fine, please find
attached my patch. It is _very_ imprecise and incomplete, but maybe can
save you a bit of work or give an idea of what is needed. File
debian/rtupdate should be updated too, I just installed the symlinks
manually.

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628041

Thanks,
--
Cristian Greco
GPG key ID: 0xCF4D32E4
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+boost1.46 (1.46.1-6.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build boost.python for python-dbg with a -dbg suffix.
+
+ -- Cristian Greco <[email protected]>  Sun, 19 Jun 2011 18:20:43 +0200
+
 boost1.46 (1.46.1-6) unstable; urgency=low
 
   * control(libboost-mpi-python1.46.1, libboost-python1.46.1): Suggests a
--- a/debian/control
+++ b/debian/control
@@ -7,8 +7,8 @@
 Build-Depends: debhelper (>= 8), 
  zlib1g-dev, libbz2-dev, libicu-dev, mpi-default-dev,
  bison, flex, docbook-to-man, help2man, xsltproc, doxygen, 
- python, python-all-dev, 
- python3, python3-all-dev (>= 3.1)
+ python, python-all-dev, python-all-dbg,
+ python3, python3-all-dev (>= 3.1), python3-all-dbg (>= 3.1)
 Build-Conflicts: libopenmpi-dev (= 1.3.2-2)
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-boost/boost/trunk/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-boost/boost/trunk
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,8 @@
 SHLIBS_VERSION = (>= 1.46.1-1)
 
 pyversions = $(shell pyversions -rv) $(shell py3versions -rv)
+dbgpyversions = $(pyversions:%=%-dbg)
+allpyversions = $(pyversions) $(dbgpyversions)
 
 # Boost libraries for which we want separate packages
 boost_libs := date-time filesystem graph-parallel graph iostreams math \
@@ -29,7 +31,7 @@
 boost_lib_test := prg_exec_monitor test_exec_monitor unit_test_framework
 
 # These are special cases for suffixes.  Generally come from --python-buildid, so begin with a dash.
-boost_suffixes_python := $(addprefix -py,$(subst .,,$(pyversions)))
+boost_suffixes_python := $(addprefix -py,$(subst .,,$(allpyversions)))
 boost_suffixes_mpi-python := $(boost_suffixes_python)
 
 # Files that are generated by filtering a template
@@ -172,6 +174,9 @@
 	for pyver in $(filter-out $(shell pyversions -dv),$(pyversions)); do \
 		echo "using python : $$pyver : /usr ;" >> $@; \
 	done
+	for pyver in $(pyversions); do \
+		echo "using python : $$pyver : /usr : /usr/include/python$${pyver}_d : : <python-debugging>on ;" >> $@; \
+	done
 
 build: build-stamp
 build-stamp: $(bjam) user-config.jam
@@ -183,6 +188,7 @@
 		echo "Building Boost.Python for python version $$pyver"; \
 	 	$(JAM) --with-python --with-mpi --python-buildid=py$$pyid python=$$pyver; \
 	 	mv stage/lib/mpi.so stage/lib/mpi-py$$pyid.so; \
+	 	$(JAM) --with-python --with-mpi --python-buildid=py$$pyid-dbg python=$$pyver python-debugging=on; \
 	done
 
 	cd $(bbv2dir) && ./bootstrap.sh --with-toolset=gcc
@@ -243,6 +249,7 @@
 	for pyver in $(pyversions); do \
 		pyid=`echo $$pyver | tr -d .`; \
 		$(JAM) --prefix=$(CURDIR)/debian/tmp/usr install --with-python --with-mpi --python-buildid=py$$pyid python=$$pyver; \
+		$(JAM) --prefix=$(CURDIR)/debian/tmp/usr install --with-python --with-mpi --python-buildid=py$$pyid-dbg python=$$pyver python-debugging=on; \
 	done
 
 	# Install Boost.Build v2 & jam

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 1.46.1-8+rm

Dear submitter,

as the package boost1.46 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/675529

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

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

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)


--- End Message ---

Reply via email to