Bug#1118589: dpkg-genbuildinfo: inconsistency in dpkg-genbuildinfo vs dpkg-checkbuilddeps in arch:all builds

Jochen Sprickerhof <[email protected]>
Newsgroups gmane.linux.debian.devel.dpkg.bugs
Message-ID <176114688520.83252.12099578944700553688.reportbug__35172.4622583546$1761146968$gmane$org@fenchel>
Package: dpkg-dev
Version: 1.22.21
Severity: normal
User: [email protected]
Usertags: dpkg-genbuildinfo

Hi Guillem,

there seem to be an inconsistency about build dependencies with
architecture specification in arch:all builds:

python3.14 has:

Build-Depends: clang [amd64 arm64],
               llvm [amd64 arm64],

https://sources.debian.org/src/python3.14/3.14.0-4/debian/control#L29

And sbuild installs them during an arch:all build:

Filtered Build-Depends: debhelper (>= 11), dpkg-dev (>= 1.17.11), quilt,
autoconf, lsb-release, sharutils, libreadline-dev, libncurses-dev,
zlib1g-dev, libbz2-dev, liblzma-dev, libzstd-dev, libgdbm-dev,
libdb-dev, tk-dev, blt-dev (>= 2.4z), libssl-dev, libexpat1-dev,
libbluetooth-dev, locales-all, libnsl-dev, libsqlite3-dev, libffi-dev
(>= 3.0.5), libgpm2, media-types, netbase, bzip2, time, python3:any,
net-tools, python3-pip-whl, python3-setuptools-whl (>= 70.1), xvfb,
xauth, tzdata, systemtap-sdt-dev, valgrind-if-available, clang, llvm,
build-essential, python3-sphinx (>= 8.2), python3-sphinx-notfound-page,
python3-sphinxext-opengraph, python3-docs-theme, texinfo

https://buildd.debian.org/status/fetch.php?pkg=python3.14&arch=all&ver=3.14.0-4&stamp=1761071251&raw=0

Whereas they are not listed in the buildinfo file (same log).

When using debrebuild they are not installed into the chroot and
dpkg-checkbuilddeps complains about missing dependencies:

dpkg-checkbuilddeps: error: unmet build dependencies: clang llvm

https://reproduce.debian.net/all/api/v1/builds/101788/log

Cheers Jochen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.