[pkg-gnupg-maint] Bug#820776: gnupg: broken cross builds when involving armel or ppc64
Helmut Grohne
helmut at subdivi.de
Tue Apr 12 06:52:42 UTC 2016
Source: gnupg
Version: 1.4.20-5
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
Hi Daniel,
I reported this on IRC already, but I need some way to track (a git
commit would have done as well) this issue, so I am sending you a bug
report now:
When considering whether to pass --disable-asm or whether to build a
udeb, the packaging examines the architecture we are building on, not
the architecture we are building for. Thus we would e.g. pass
--disable-asm when building for amd64 on ppc64. This is not what you
intended and causes cross builds for armel to simply fail.
Patch:
sed -i -e '/^ifeq (\$(DEB_BUILD_ARCH),[a-z]/s/BUILD/HOST/' debian/rules
Helmut
More information about the pkg-gnupg-maint
mailing list