Bug#871494: dpkg-genbuildinfo: Include crossbuild-essential-ARCH when cross-building

Vagrant Cascadian vagrant at debian.org
Tue Aug 8 13:20:32 UTC 2017


Package: dpkg-dev
Severity: wishlist
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

When I've crossbuilt packages such as u-boot for the armhf architecture,
I've noticed there there's no mention of crossbuild-essential-armhf or
gcc-arm-linux-gnueabihf in Installed-Build-Depends in the buildinfo, but
in reality these are the primary tools used to cross-build u-boot.

If BUILD_PROFILES includes "cross" and/or the Architecture and
Build-Architecture do not match (except for Architecture: all or
Architecture: source builds), it seems like it would be appropriate to
treat crossbuild-essential-ARCH similarly to build-essential, including
it's dependencies in Installed-Build-Depends.

Sbuild automatically installs crossbuild-essential-ARCH when it detects
that you are cross-building.


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-bugs/attachments/20170808/6414f68c/attachment.sig>


More information about the Reproducible-bugs mailing list