Last modified: 2014-05-15 10:30:18 UTC
I maintain the python-gear Debian package which is sponsored by mika (Jenkins debian glue author). The package fail to build from source: writing dependency_links to gear.egg-info/dependency_links.txt writing entry points to gear.egg-info/entry_points.txt [pbr] Reusing existing SOURCES.txt debian/rules override_dh_auto_test make[1]: Entering directory '/tmp/buildd/python-gear-0.5.4' # Command comes from upstream tox.ini python setup.py testr --slowest usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'testr' debian/rules:20: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/tmp/buildd/python-gear-0.5.4' debian/rules:13: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Additionally the changelog message needs to be proper english: * python-statsd is now a build depends (required to run tests) but is only a suggestion since it users do not need to have it configured.
Fixed by creating a Debian sid cowbuilder image and adding back the proper build dependencies. Changelog message tweaked.
The package has been uploaded to the Debian project by Michael "mika" Prokop, Jenkins Debian Glue author who already sponsored the package.