Bug#750047: qtbase-opensource-src: Fix FTBFS on arm64
Package: qtbase-opensource-src
Version: 5.2.1+dfsg-3
Severity: important
Tags: patch
User: debian-arm@lists.debian.org
Usertag: arm64
qtbase-opensource-src fails to build on arm64. (see http://buildd.debian-ports.org/status/fetch.php?pkg=icedove&arch=arm64&ver=30.0%7Eb1-1&stamp=1401496681)
The attached patch fixes the issues. The arm64 porters would
appreciate an upload containing this patch reasonably soon as qt5 has
a lot of rdepends.
thanks
-- System Information:
Debian Release: 7.5
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-kvm-i386-20110111 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Nru qtbase-opensource-src-5.2.1+dfsg/debian/changelog qtbase-opensource-src-5.2.1+dfsg/debian/changelog
--- qtbase-opensource-src-5.2.1+dfsg/debian/changelog 2014-03-24 23:05:46.000000000 +0000
+++ qtbase-opensource-src-5.2.1+dfsg/debian/changelog 2014-05-31 21:50:31.000000000 +0000
@@ -1,3 +1,12 @@
+qtbase-opensource-src (5.2.1+dfsg-3+arm64) unreleased; urgency=medium
+
+ * arm64 changes cherry picked from ubuntu
+ + Add arm64 to list of 64-bit architectures that should not use -m64
+ + Add arm64 to list of architectures that should not use pch
+ * Remove .device.vars and .qmake.vars in clean target.
+
+ -- Peter Michael Green <plugwash@debian.org> Thu, 29 May 2014 15:12:55 +0000
+
qtbase-opensource-src (5.2.1+dfsg-3) unstable; urgency=medium
* Release to unstable.
diff -Nru qtbase-opensource-src-5.2.1+dfsg/debian/rules qtbase-opensource-src-5.2.1+dfsg/debian/rules
--- qtbase-opensource-src-5.2.1+dfsg/debian/rules 2014-02-24 15:06:11.000000000 +0000
+++ qtbase-opensource-src-5.2.1+dfsg/debian/rules 2014-05-31 21:50:31.000000000 +0000
@@ -48,7 +48,7 @@
extra_configure_opts += -no-sql-ibase
endif
-no_pch_architectures := armel armhf ia64
+no_pch_architectures := armel armhf ia64 arm64
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(no_pch_architectures)))
extra_configure_opts += -no-pch
endif
@@ -65,7 +65,7 @@
endif
ifeq ($(DEB_HOST_ARCH_OS),linux)
- ifneq (,$(filter $(DEB_HOST_ARCH),alpha ia64 mips64 mips64el))
+ ifneq (,$(filter $(DEB_HOST_ARCH),alpha ia64 mips64 mips64el arm64))
platform_arg = linux-g++
else ifeq ($(DEB_HOST_ARCH_BITS),64)
platform_arg = linux-g++-64
@@ -198,6 +198,9 @@
rm -f debian/shlibs.local
rm -f debian/stamp-makefile-build-tools
+ # more leftovers
+ rm -f .device.vars .qmake.vars
+
ifeq ($(vendor),Ubuntu)
rm -rf po
endif
Reply to: