Package: devscripts Version: 2.23.4+deb12u1 Severity: normal X-Debbugs-Cc: al...@ading.dev
When --host-arch is passed into mk-build-deps, the generated package's dependencies always use the specified architecture. However, this behavior causes issues when a build dependency has the "all" architecture, since mk- build-deps will try to install that package for an architecture which doesn't exist. To reproduce: $ git clone --depth=1 https://salsa.debian.org/xorg-team/lib/mesa-amber.git $ cd mesa-amber $ mk-build-deps --host-arch arm64 $ apt-get install -y ./*.deb Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'mesa-amber-cross-build-deps:arm64' instead of './mesa-amber- cross-build-deps_21.3.9-1_arm64.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mesa-amber-cross-build-deps:arm64 : Depends: python3:arm64 but it is not going to be installed Depends: python3-mako:arm64 but it is not installable In this example, mk-build-deps tries to install python3-mako:arm64, which doens't exist. The correct package would be python3-mako:all. -- Package-specific info: --- /etc/devscripts.conf --- Empty. --- ~/.devscripts --- Not present -- System Information: Debian Release: 12.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-17-amd64 (SMP w/32 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages devscripts depends on: ii dpkg-dev 1.21.22 ii fakeroot 1.31-1.2 ii file 1:5.44-3 ii gnupg 2.2.40-1.1 ii gnupg2 2.2.40-1.1 ii gpgv 2.2.40-1.1 ii libc6 2.36-9+deb12u7 ii libfile-dirlist-perl 0.05-3 ii libfile-homedir-perl 1.006-2 ii libfile-touch-perl 0.12-2 ii libfile-which-perl 1.27-2 ii libipc-run-perl 20220807.0-1 ii libmoo-perl 2.005005-1 ii libwww-perl 6.68-1 ii patchutils 0.4.2-1 ii perl 5.36.0-7+deb12u1 ii python3 3.11.2-1+b1 ii sensible-utils 0.0.17+nmu1 ii wdiff 1.2.2-5 Versions of packages devscripts recommends: ii apt 2.6.1 ii curl 7.88.1-10+deb12u5 ii dctrl-tools 2.24-3+b1 ii debian-keyring 2022.12.24 ii dput 1.1.3 ii equivs 2.3.1 ii libdistro-info-perl 1.5+deb12u1 ii libdpkg-perl 1.21.22 ii libencode-locale-perl 1.05-3 ii libgit-wrapper-perl 0.048-2 ii libgitlab-api-v4-perl 0.26-3 ii liblist-compare-perl 0.55-2 ii liblwp-protocol-https-perl 6.10-1 ii libsoap-lite-perl 1.27-3 ii libstring-shellquote-perl 1.04-3 ii libtry-tiny-perl 0.31-2 ii liburi-perl 5.17-1 ii licensecheck 3.3.5-1 ii lintian 2.116.3 ii man-db 2.11.2-2 ii patch 2.7.6-7 ii pristine-tar 1.50 ii python3-apt 2.6.0 ii python3-debian 0.1.49 ii python3-magic 2:0.4.26-3 ii python3-requests 2.28.1+dfsg-1 ii python3-unidiff 0.7.3-1 ii python3-xdg 0.28-2 ii strace 6.1-0.1 ii unzip 6.0-28 ii wget 1.21.3-1+b2 ii xz-utils 5.4.1-0.2 Versions of packages devscripts suggests: pn adequate <none> pn at <none> ii autopkgtest 5.28 pn bls-standalone <none> ii build-essential 12.9 pn check-all-the-things <none> pn cvs-buildpackage <none> ii debhelper 13.11.4 pn diffoscope <none> pn disorderfs <none> pn dose-extra <none> pn duck <none> pn elpa-devscripts <none> pn faketime <none> pn gnuplot <none> pn how-can-i-help <none> ii libauthen-sasl-perl 2.1600-3 pn libdbd-pg-perl <none> ii libfile-desktopentry-perl 0.22-3 pn libterm-size-perl <none> ii libtimedate-perl 2.3300-2 pn libyaml-syck-perl <none> ii mailutils [mailx] 1:3.15-4 ii mmdebstrap 1.3.5-7 pn mozilla-devscripts <none> pn mutt <none> ii openssh-client [ssh-client] 1:9.2p1-2+deb12u2 pn piuparts <none> pn postgresql-client <none> pn pristine-lfs <none> ii quilt 0.67+really0.66-1 pn ratt <none> pn reprotest <none> pn svn-buildpackage <none> ii w3m 0.5.3+git20230121-2 -- no debconf information