Source: jsusfx Version: 0.4.0-2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
jsusfx fails to cross build from source for architectures other than amd64 when built on amd64, because it confuses the terms build and host and makes the build non-portable. For a definition of these terms refer to man dpkg-architecture. Please consider applying the attached patch. Helmut
diff --minimal -Nru jsusfx-0.4.0/debian/changelog jsusfx-0.4.0/debian/changelog --- jsusfx-0.4.0/debian/changelog 2020-01-08 16:54:46.000000000 +0100 +++ jsusfx-0.4.0/debian/changelog 2021-01-15 21:47:54.000000000 +0100 @@ -1,3 +1,10 @@ +jsusfx (0.4.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Fix build vs host confusion. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 15 Jan 2021 21:47:54 +0100 + jsusfx (0.4.0-2) unstable; urgency=medium * Build portable binaries on non-amd64 diff --minimal -Nru jsusfx-0.4.0/debian/rules jsusfx-0.4.0/debian/rules --- jsusfx-0.4.0/debian/rules 2020-01-08 16:54:46.000000000 +0100 +++ jsusfx-0.4.0/debian/rules 2021-01-15 21:47:53.000000000 +0100 @@ -5,7 +5,7 @@ DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \ ^(\./\.git(/.*)?|\./debian(/.*)?|.*\.xcuserstate)$ -ifeq (,$(findstring amd64,$(DEB_BUILD_ARCH))) +ifeq (,$(findstring amd64,$(DEB_HOST_ARCH))) PORTABLE=ON else PORTABLE=OFF