Source: wpa Version: 2:2.7+git20190128+0c1e29f-1 Tags: patch User: [email protected] Usertags: rebootstrap
wpa fails to cross build from source, because debian/rules exports CC with a (default) value of cc. That's the wrong compiler for cross building and does no good: If there is a non-default, it already is exported. After removing the export, wpa cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru wpa-2.7+git20190128+0c1e29f/debian/changelog wpa-2.7+git20190128+0c1e29f/debian/changelog --- wpa-2.7+git20190128+0c1e29f/debian/changelog 2019-01-29 18:11:01.000000000 +0100 +++ wpa-2.7+git20190128+0c1e29f/debian/changelog 2019-02-11 05:47:36.000000000 +0100 @@ -1,3 +1,10 @@ +wpa (2:2.7+git20190128+0c1e29f-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Don't export CC=cc. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Mon, 11 Feb 2019 05:47:36 +0100 + wpa (2:2.7+git20190128+0c1e29f-1) unstable; urgency=medium * Upload to unstable. diff --minimal -Nru wpa-2.7+git20190128+0c1e29f/debian/rules wpa-2.7+git20190128+0c1e29f/debian/rules --- wpa-2.7+git20190128+0c1e29f/debian/rules 2019-01-29 18:11:01.000000000 +0100 +++ wpa-2.7+git20190128+0c1e29f/debian/rules 2019-02-11 05:47:33.000000000 +0100 @@ -19,7 +19,7 @@ PKG_CONFIG ?= $(DEB_HOST_GNU_TYPE)-pkg-config -export CC BINDIR V PKG_CONFIG +export BINDIR V PKG_CONFIG DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) HOSTAPD_DOT_CONFIG := debian/config/hostapd/$(DEB_HOST_ARCH_OS)

