Bug#1134628: buildinfo: looks like architecture $foo, but this is not listed in the Architecture-Header!

Johannes Schauer Marin Rodrigues josch at debian.org
Wed Apr 22 12:58:35 BST 2026


Package: reprepro
Version: 5.4.8-1
Severity: normal
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildinfo

Hi,

when enabling includebuildinfos, reprepro does not seem to like buildinfo files
of source packages that only build Architecture:all packages:

Here is a reproducer:

---%<---------------------------------------------------------------------
mkdir -p conf
cat << END > conf/distributions
Codename: sid
Suite: unstable
Architectures: arm64
Components: main
UDebComponents: main
Description: dummy
Tracking: minimal includebuildinfos
END

cat << END > dummy_0_arm64.changes
Format: 1.8
Date: Thu, 01 Jan 1970 01:00:00 +0100
Source: dummy
Binary: dummy
Architecture: all
Version: 0
Distribution: unstable
Maintainer: dummy
Files:
 da2f9e7c530e45bb3b3b26c89b6a88ee 26 misc optional dummy_0_arm64.buildinfo
 d41d8cd98f00b204e9800998ecf8427e 0 misc optional dummy_0_all.deb
END

echo Build-Architecture: arm64 > dummy_0_arm64.buildinfo
: > dummy_0_all.deb

# the following will error out with:
# 'dummy_0_arm64.buildinfo' looks like architecture 'arm64', but this is not listed in the Architecture-Header!
# To ignore use --ignore=surprisingarch.
# There have been errors!
./reprepro include unstable dummy_0_arm64.changes
--->%---------------------------------------------------------------------

I'd expect reprepro to be able to include a dummy_0_arm64.buildinfo file which
was built on arm64 even though it does not reference any arm64 binaries as
indicated by the Architecture header of the .changes file.

Thanks!

cheers, josch



More information about the Reproducible-bugs mailing list