Comment 5 for bug 1073147

Revision history for this message
TJ (tj) wrote :

Looking at the build history the problem seems to be that the package was last built for Oneiric which defaults to using Python 2.7.2 (on the build server).

There was no rebuild for Precise which uses Python 2.7.3 as the default. Therefore the Precise package is the same one built for Oneiric - it expects to be running on Python 2.7.2.

The latest change (revision 16) to use dh_python2 in the package's "debian/rules" uses the flag "--no-guessing-versions" which appears to cause the build system to ignore some multi-version support:

dh_python2 -plibapache2-mod-python --no-guessing-versions

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/libapache2-mod-python/precise/revision/16

This build server Python version being older than the runtime seems to be the cause of the similar warning for mod_wsgi (build system using the older Python 2.7.2).