[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#805892: autopkgtest fails on squeeze to due incompatibe python APIs



Package: autopkgtest
Version: 1.2.0+nmu1
Severity: normal

Hi,
as part of the LTS work I added some autopkgtest to a package. Trying to
run this in pbuilder with

    adt-run --source nss_3.12.8-1+squeeze12.dsc --- adt-virt-null

failed since gdebi-comman an python-apt weren't installed after "fixing"
this by installing it manually it still fails with:

adt-run: trace: $ dsc0: python -c <SCRIPT>
-c:4: DeprecationWarning: Attribute 'Set' of the 'apt_pkg.Configuration' object is deprecated, use 'set' instead.
-c:5: DeprecationWarning: Attribute 'Set' of the 'apt_pkg.Configuration' object is deprecated, use 'set' instead.
Traceback (most recent call last):
  File "<string>", line 6, in <module>
ImportError: No module named GDebi.Cache
blame: arg:nss_3.12.8-1+squeeze12.dsc dsc:nss

Squeeze's gdebi doesn't have a cache module, it is in apt.cache but when
using that there's more trouble due to the API of DebPackage that
adt-run expects being different from what's in gdebi-common in squeeze.

I then tried the autopkgtest from wheezy which works nicely on squeeze.

So should we update autopkgtest in squeeze lts? Is there a simple fix
for the above issue I've overlooked?

Cheers,
 -- Guido

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autopkgtest depends on:
ii  apt-utils       1.0.10.2
ii  libdpkg-perl    1.18.3
ii  procps          2:3.3.9-9
ii  python3         3.4.3-7
ii  python3-debian  0.1.27

Versions of packages autopkgtest recommends:
ii  autodep8  0.2

Versions of packages autopkgtest suggests:
ii  lxc          1:1.0.7-11
ii  qemu-system  1:2.4+dfsg-4
ii  qemu-utils   1:2.4+dfsg-4
ii  schroot      1.6.10-2

-- no debconf information



Reply to: