Package: autopkgtest
Version: 5.55
Severity: normal

Dear Maintainer,

The documentation at https://salsa.debian.org/ci-team/autopkgtest/-/blob/1d2f93dc1d3ad1e3f27e3ace9a520d47372d8a20/doc/README.package-tests.rst states that:

> Binary packages from the source package under test are always installed for the test architecture, as though they had been specified as |foo:${DEB_HOST_ARCH}|. > Other dependencies in the |Depends| field are treated like cross build-dependencies, with the testbed architecture taking the place of the build architecture and the architecture under test taking the place of the host architecture:

     * |Multi-Arch: foreign| packages are installed for the testbed
       architecture
     * All other packages are installed for the architecture under
       test, unless qualified with |:native| in which case the testbed
       architecture is used

But in reality all other dependencies are always installed for the testbed architecture, even Multi-Arch: same ones.

This makes it not possible to add library dependencies that are dlopen'ed from the tested binary, if these were not a hard Depends of the tested binary.

-- System Information:
Debian Release: forky/sid
APT prefers resolute
APT policy: (1001, 'resolute'), (500, 'resolute-proposed'), (100, 'resolute-proposed')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.0-10-generic (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
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 3.1.16
ii libdpkg-perl 1.23.7ubuntu1
ii mawk 1.3.4.20260129-1
ii procps 2:4.0.4-9ubuntu1
ii python3 3.14.3-0ubuntu1
ii python3-debian 1.0.1ubuntu2
ii python3-distro-info 1.15
ii retry 1.0.6-1

Versions of packages autopkgtest recommends:
ii autodep8 0.30build1
ii fakeroot 1.37.2-1

Versions of packages autopkgtest suggests:
pn docker-cli | docker.io <none>
pn docker.io <none>
ii fakemachine 0.0.12-3
ii genisoimage 9:1.1.11-5
pn incus <none>
pn lxc <none>
pn lxd <none>
ii mmdebstrap 1.5.7-3
ii ovmf 2025.11-3ubuntu6
pn ovmf-ia32 <none>
ii podman 5.7.0+ds2-3build1
ii qemu-efi-aarch64 2025.11-3ubuntu6
ii qemu-efi-arm 2025.02-8ubuntu3
ii qemu-efi-riscv64 2025.11-3ubuntu6
ii qemu-system 1:10.2.1+ds-1ubuntu2
ii qemu-utils 1:10.2.1+ds-1ubuntu2
ii schroot 1.6.13-8
ii uidmap 1:4.17.4-2ubuntu3
ii util-linux 2.41.3-3ubuntu2
ii vmdb2 0.41-1
ii zerofree 1.1.1-1build6

-- no debconf information

Reply via email to