Bug#623011: python-debian: FTBFS: Test failure (missing Build-Depends?)
Daniel Schepler
dschepler at gmail.com
Sat Apr 16 15:47:51 UTC 2011
Source: python-debian
Version: 0.1.19
Severity: serious
From my pbuilder build log:
...
# run the tests
cd tests && ./test_deb822.py
.......................................
----------------------------------------------------------------------
Ran 39 tests in 0.165s
OK
cd tests && ./test_debfile.py
..........
----------------------------------------------------------------------
Ran 10 tests in 0.220s
OK
cd tests && ./test_debtags.py
...
----------------------------------------------------------------------
Ran 3 tests in 0.006s
OK
cd tests && ./test_changelog.py
..............
----------------------------------------------------------------------
Ran 14 tests in 0.031s
OK
cd tests && ./test_debian_support.py
.....E
======================================================================
ERROR: testversions (__main__.VersionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test_debian_support.py", line 77, in testversions
ValueError, cls, 'a1:1.8.8-070403-1~priv1')
File "/usr/lib/python2.6/unittest.py", line 336, in failUnlessRaises
callableObj(*args, **kwargs)
File "../lib/debian/debian_support.py", line 170, in __init__
raise NotImplementedError("apt_pkg not available; install the "
NotImplementedError: apt_pkg not available; install the python-apt package
----------------------------------------------------------------------
Ran 6 tests in 0.011s
FAILED (errors=1)
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Daniel Schepler
More information about the pkg-python-debian-maint
mailing list