Hi all!

When I tried to build the current Bzr snapshot of python-coverage, I noticed
that in the build log gcc is invoked three times for Python 2 stuff and one time
for Python 3 stuff.

That happens because:

- dh_auto_build builds for python2.7 and python2.7-dbg;
- Your override_dh_auto_build builds for python2.7 and python3.3.

This way, the library for python3.3-dbg doesn’t get built at all. The library
currently getting shipped in python3-coverage-dbg package is a version built
against non-debug interpreter (libraries built against debug interpreter usually
have “cpython-33dm” in their name (note the “d”)). So we can’t consider this
bug fixed yet.

My advice will be:

- Let dh_auto_build cover the python2.7 stuff itself, no need to touch that.
- Make sure your overrides build and install python3 versions of libraries
  with both debug and non-debug interpreters.

You can also consider switching to pybuild, which does all this stuff
automatically.

--
Dmitry Shachnev

Reply via email to