Bug#902575: phasex FTCBFS: confuses build and host architecture
Helmut Grohne
helmut at subdivi.de
Thu Jun 28 06:16:53 BST 2018
Source: phasex
Version: 0.14.97-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
phasex fails to cross build from source, because it confuses build and
host architecture. For instance, when cross building from amd64 to
ppc64el, it passes --enable-amd64. The attached patch fixes that and
makes phasex cross build successfully. Please consider applying it.
Helmut
-------------- next part --------------
diff --minimal -Nru phasex-0.14.97/debian/changelog phasex-0.14.97/debian/changelog
--- phasex-0.14.97/debian/changelog 2013-05-27 05:23:10.000000000 +0200
+++ phasex-0.14.97/debian/changelog 2018-06-28 07:11:10.000000000 +0200
@@ -1,3 +1,10 @@
+phasex (0.14.97-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: fix build/host confusion. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Thu, 28 Jun 2018 07:11:10 +0200
+
phasex (0.14.97-2) unstable; urgency=low
* Upload to unstable.
diff --minimal -Nru phasex-0.14.97/debian/rules phasex-0.14.97/debian/rules
--- phasex-0.14.97/debian/rules 2013-01-13 18:15:10.000000000 +0100
+++ phasex-0.14.97/debian/rules 2018-06-28 07:11:08.000000000 +0200
@@ -1,8 +1,8 @@
#!/usr/bin/make -f
-DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+include /usr/share/dpkg/architecture.mk
-ifneq (,$(findstring amd64,$(DEB_BUILD_ARCH)))
+ifneq (,$(findstring amd64,$(DEB_HOST_ARCH)))
DEB_CONFIGURE_FLAGS_EXTRA=--enable-arch=amd64
endif
More information about the pkg-multimedia-maintainers
mailing list