Bug#891435: dpkg-genbuildinfo: does not arch qualify Installed-Build-Depends

Helmut Grohne helmut at subdivi.de
Sun Feb 25 15:18:25 UTC 2018


Package: dpkg-dev
Version: 1.18.11
File: /usr/bin/dpkg-genbuildinfo
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

When building packages with foreign architecture packages installed, the
recorded Installed-Build-Depends are imprecise. dpkg-genbuildinfo only
records which packages are installed, not for which architecture. For
native builds, one can install M-A:foreign packages from foreign
architectures (unusual), but for cross builds this is very relevant. In
fact, the produced .buildinfo files are unsuitable for reproducing a
cross build environment. dpkg-genbuildinfo should add an architecture
qualification whenever a binary package is not from the native
architecture.

Helmut



More information about the Reproducible-bugs mailing list