[Python-modules-commits] [pythonqt] 01/01: Attempt to fix ftbfs

Jonathan Cristopher Carter jcc at moszumanska.debian.org
Mon Sep 18 11:44:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

jcc pushed a commit to branch master
in repository pythonqt.

commit 4c5effd6bc3331576ae0222d20e16b2fdcbe7aa7
Author: Jonathan Carter <jcarter at linux.com>
Date:   Mon Sep 18 13:45:05 2017 +0200

    Attempt to fix ftbfs
---
 debian/changelog |  6 ++++++
 debian/rules     | 11 +++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 983a061..a0e0e1b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pythonqt (3.2-4~exp1) experimental; urgency=medium
+
+  * Fix FTBFS on arm and hppa architectures
+
+ -- Jonathan Carter <jcc at debian.org>  Mon, 18 Sep 2017 08:46:23 +0200
+
 pythonqt (3.2-3) unstable; urgency=medium
 
   * debian/control: fix typo 's/libpythont/libpythonqt/g' (Closes: 875680)
diff --git a/debian/rules b/debian/rules
index 34eb2f1..3a1d52d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,16 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 export QT_SELECT=qt5
 
+# Use less optimization on architectures that FTBFS otherwise
+# Thanks to John David Anglin (see: #839602) who originally
+# submitted this snippet for the hyperrogue package
+ifneq (,$(findstring $(DEB_HOST_ARCH),arm64))
+export DEB_CXXFLAGS_MAINT_APPEND=-O0
+endif
+# See also bug report #823265
+ifneq (,$(findstring $(DEB_HOST_ARCH),hppa))
+export DEB_CXXFLAGS_MAINT_APPEND=-mlong-calls
+endif
+
 %:
 	dh $@ --parallel --buildsystem=qmake

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pythonqt.git



More information about the Python-modules-commits mailing list