Bug#893582: telepathy-accounts-signon FTCBFS: uses the build architecture compiler as linker
Source: telepathy-accounts-signon
Version: 1.0-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
telepathy-accounts-signon fails to cross build from source, because it
uses the build architecture compiler as linker. It does so via
QMAKE_LINK_C, which is not supplied by debhelper unlike other tools such
as QMAKE_CC. Dmitry Shachnev said that only two packages need
QMAKE_LINK_C, so I'm suggesting that we provide that variable here.
Please consider applying the attached patch.
Helmut
diff --minimal -Nru telepathy-accounts-signon-1.0/debian/changelog telepathy-accounts-signon-1.0/debian/changelog
--- telepathy-accounts-signon-1.0/debian/changelog 2015-09-19 23:45:41.000000000 +0200
+++ telepathy-accounts-signon-1.0/debian/changelog 2018-03-20 04:26:48.000000000 +0100
@@ -1,3 +1,10 @@
+telepathy-accounts-signon (1.0-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Pass QMAKE_LINK_C to qmake. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Tue, 20 Mar 2018 04:26:48 +0100
+
telepathy-accounts-signon (1.0-1) unstable; urgency=low
[ Rohan Garg ]
diff --minimal -Nru telepathy-accounts-signon-1.0/debian/rules telepathy-accounts-signon-1.0/debian/rules
--- telepathy-accounts-signon-1.0/debian/rules 2015-09-19 23:45:23.000000000 +0200
+++ telepathy-accounts-signon-1.0/debian/rules 2018-03-20 04:25:55.000000000 +0100
@@ -2,11 +2,15 @@
#export DH_VERBOSE = 1
include /usr/share/dpkg/default.mk
+-include /usr/share/dpkg/buildtools.mk
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export QT_SELECT=qt5
%:
dh $@ --buildsystem qmake
+override_dh_auto_configure:
+ dh_auto_configure -- 'QMAKE_LINK_C=$(CC)'
+
override_dh_install:
dh_install --list-missing
Reply to: