Source: prosody Version: 0.10.2-1 Tags: patch User: [email protected] Usertags: rebootstrap
prosody fails to cross build from source, because it configures for the build architecture. For cross builds, one has to pass suitable tools for --c-compiler and --linker. The attached patch implements that and makes prosody cross build successfully. Please consider applying it. Helmut
diff --minimal -Nru prosody-0.10.2/debian/changelog prosody-0.10.2/debian/changelog --- prosody-0.10.2/debian/changelog 2018-05-31 22:57:00.000000000 +0200 +++ prosody-0.10.2/debian/changelog 2018-11-02 17:38:23.000000000 +0100 @@ -1,3 +1,10 @@ +prosody (0.10.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass --c-compiler and --linker to ./configure. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Fri, 02 Nov 2018 17:38:23 +0100 + prosody (0.10.2-1) unstable; urgency=medium * Team upload. diff --minimal -Nru prosody-0.10.2/debian/rules prosody-0.10.2/debian/rules --- prosody-0.10.2/debian/rules 2018-05-31 22:51:25.000000000 +0200 +++ prosody-0.10.2/debian/rules 2018-11-02 17:38:21.000000000 +0100 @@ -3,12 +3,13 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +-include /usr/share/dpkg/buildtools.mk %: dh $@ override_dh_auto_configure: - ./configure --ostype=debian --prefix=/usr + ./configure --ostype=debian --prefix=/usr --c-compiler=$(CC) --linker=$(CC) override_dh_auto_build: dh_auto_build

