[buildd-tools-devel] Bug#836737: libsbuild-perl: aptitude resolver fails for non-multiarch chroots

Stephan Suerken absurd at debian.org
Mon Sep 5 10:46:59 UTC 2016


Package: libsbuild-perl
Version: 0.71.0-2
Severity: normal
Tags: patch

Dear Maintainer,

building any package using the aptitude resolver fails for any
chroots not being multiarch (i.e., squeeze or less) (the apt
resolver still works fine, btw).

This is due to a code part in the aptitude resolver adding the
new ':ARCH' postfix to the package name when installing via
aptitude.

I have attached a simple patch that does this only when
multiarch is detected, which makes it work for <= squeeze again.

I know supporting old systems is not a focus ;), but I think
it's a small and sane change.

Hoping for review && consideration...

Thx!

S

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages libsbuild-perl depends on:
ii  adduser                              3.115
ii  apt                                  1.3~rc4
ii  apt-utils                            1.3~rc4
ii  dctrl-tools                          2.24-2
ii  devscripts                           2.16.7
ii  dpkg-dev                             1.18.10
ii  libdpkg-perl                         1.18.10
ii  libexception-class-perl              1.40-1
ii  libfilesys-df-perl                   0.92-6
ii  libmime-lite-perl                    3.030-2
ii  perl                                 5.22.2-5
ii  perl-modules-5.22 [libio-zlib-perl]  5.22.2-5
ii  schroot                              1.6.10-2+b1

Versions of packages libsbuild-perl recommends:
ii  ssmtp [mail-transport-agent]  2.64-8

Versions of packages libsbuild-perl suggests:
ii  libwww-perl  6.15-1

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/perl5/Sbuild/AptitudeResolver.pm (from libsbuild-perl package)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aptitude_resolver.patch
Type: text/x-diff
Size: 928 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160905/2aa9d7d1/attachment.patch>


More information about the Buildd-tools-devel mailing list