Package: autopkgtest
Version: 5.42
Severity: serious

Hello,

With the unshare backend(?) it seems that rebuilding a package without
changing the version is causing test to fail becuase it consider the
same version as a downgrade.

For example:

apt-get source libselinux
cd libselinux-3.7
autopkgtest -U -- unshare

The tests fail with something like:

The following NEW packages will be installed:
  libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 
libselinux1-dev libsepol-dev libsepol2 pkg-config pkgconf pkgconf-bin
The following packages will be DOWNGRADED:
  libselinux1
0 upgraded, 11 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
E: Failed to process build dependencies
build                FAIL badpkg

Kind regards,
Laurent Bigonville


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

Kernel: Linux 6.11.5-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autopkgtest depends on:
ii  apt-utils            2.9.10
ii  libdpkg-perl         1.22.11
ii  mawk                 1.3.4.20240905-1
ii  procps               2:4.0.4-6
ii  python3              3.12.6-1
ii  python3-debian       0.1.49
ii  python3-distro-info  1.12
ii  retry                1.0.5-3

Versions of packages autopkgtest recommends:
ii  autodep8  0.28+nmu1
ii  fakeroot  1.36-1

Versions of packages autopkgtest suggests:
pn  docker-cli | docker.io  <none>
pn  docker.io               <none>
pn  fakemachine             <none>
ii  genisoimage             9:1.1.11-3.5
pn  incus                   <none>
pn  lxc                     <none>
pn  lxd                     <none>
ii  ovmf                    2024.08-4
pn  ovmf-ia32               <none>
ii  podman                  5.2.5-1
pn  qemu-efi-aarch64        <none>
pn  qemu-efi-arm            <none>
pn  qemu-efi-riscv64        <none>
pn  qemu-system             <none>
ii  qemu-utils              1:9.1.1+ds-2
pn  schroot                 <none>
ii  util-linux              2.40.2-10
pn  vmdb2                   <none>
pn  zerofree                <none>

-- no debconf information

Reply via email to