Control: tags -1 + patch On 2012-02-26 16:00:23, Matthias Urlichs wrote: > The package python-gevent-dbg only contains the GDB symbols for the binary > module. > > It also needs to contain the actual module, built with python-dbg. > Otherwise it's impossible to run gevent under a debugging Python. > > $ python-dbg test/interactive/main.py > Traceback (most recent call last): > [...] > File "/usr/lib/pymodules/python2.7/gevent/hub.py", line 6, in <module> > from gevent import core > ImportError: /usr/lib/pymodules/python2.7/gevent/core.so: undefined symbol: > Py_InitModule4_64
With the attached patch the extensions modules are also built for the debug variants. Regards -- Sebastian Ramacher
diff -Nru python-gevent-0.13.6/debian/changelog python-gevent-0.13.6/debian/changelog --- python-gevent-0.13.6/debian/changelog 2012-11-12 23:09:04.000000000 +0100 +++ python-gevent-0.13.6/debian/changelog 2013-02-26 16:51:34.000000000 +0100 @@ -1,3 +1,10 @@ +python-gevent (0.13.6-1+nmu2) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Build extensions modules for debug variants too. (Closes: #661342) + + -- Sebastian Ramacher <sramac...@debian.org> Tue, 26 Feb 2013 16:42:01 +0100 + python-gevent (0.13.6-1+nmu1) unstable; urgency=medium * Non-maintainer upload. diff -Nru python-gevent-0.13.6/debian/control python-gevent-0.13.6/debian/control --- python-gevent-0.13.6/debian/control 2011-05-17 16:45:37.000000000 +0200 +++ python-gevent-0.13.6/debian/control 2013-02-26 16:52:08.000000000 +0100 @@ -3,7 +3,8 @@ Maintainer: Örjan Persson <ora...@fobie.net> Uploaders: Andreas Schuldei <andr...@debian.org> Build-Depends: debhelper (>= 7.0.50), python-support, python-all-dev, libevent-dev (>= 1.4), - python-greenlet | python-codespeak-lib (<< 1.0), python-sphinx (>= 0.6) + python-greenlet | python-codespeak-lib (<< 1.0), python-sphinx (>= 0.6), + python-all-dbg Standards-Version: 3.9.0 Section: python Homepage: http://www.gevent.org/ @@ -11,7 +12,7 @@ Package: python-gevent-dbg Section: debug Architecture: any -Depends: ${misc:Depends}, python-gevent (= ${binary:Version}) +Depends: ${misc:Depends}, python-gevent (= ${binary:Version}), ${shlib:Depends}, python-dbg Description: gevent is a coroutine-based Python networking library - debugging symbols gevent uses greenlet to provide a high-level synchronous API on top of libevent event loop. diff -Nru python-gevent-0.13.6/debian/python-gevent-dbg.install python-gevent-0.13.6/debian/python-gevent-dbg.install --- python-gevent-0.13.6/debian/python-gevent-dbg.install 1970-01-01 01:00:00.000000000 +0100 +++ python-gevent-0.13.6/debian/python-gevent-dbg.install 2013-02-26 16:45:17.000000000 +0100 @@ -0,0 +1 @@ +usr/lib/python2*/*-packages/gevent/*_d.so diff -Nru python-gevent-0.13.6/debian/python-gevent.install python-gevent-0.13.6/debian/python-gevent.install --- python-gevent-0.13.6/debian/python-gevent.install 2011-05-17 16:45:37.000000000 +0200 +++ python-gevent-0.13.6/debian/python-gevent.install 2013-02-26 16:46:33.000000000 +0100 @@ -1 +1,2 @@ -usr/lib/* +usr/lib/python2*/*-packages/gevent/*.py +usr/lib/python2*/*-packages/gevent/*[!_][!d].so
signature.asc
Description: Digital signature