Bug#623011: python-debian: FTBFS: Test failure (missing Build-Depends?)
John Wright
jsw at debian.org
Sat Apr 16 22:58:18 UTC 2011
On Sat, Apr 16, 2011 at 08:47:51AM -0700, Daniel Schepler wrote:
> 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
Crap. Sorry. Will fix this tonight.
--
John Wright <jsw at debian.org>
More information about the pkg-python-debian-maint
mailing list