Bug#1088164: qtremoteobjects-everywhere-src FTCBFS: fails running the host repc
Source: qtremoteobjects-everywhere-src
Version: 5.15.15-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
qtremoteobjects-everywhere-src fails to cross build from source, because
it attempts to run the build repc and gets an "Exec format error". It
should be using the build architecture one and that's actually somewhat
handled upstream, but it needs to be configured explicitly. I'm
attaching a patch for your convenience.
Helmut
diff --minimal -Nru qtremoteobjects-everywhere-src-5.15.15/debian/changelog qtremoteobjects-everywhere-src-5.15.15/debian/changelog
--- qtremoteobjects-everywhere-src-5.15.15/debian/changelog 2024-10-25 11:44:03.000000000 +0200
+++ qtremoteobjects-everywhere-src-5.15.15/debian/changelog 2024-11-24 11:38:11.000000000 +0100
@@ -1,3 +1,10 @@
+qtremoteobjects-everywhere-src (5.15.15-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Use the build architecture repc. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sun, 24 Nov 2024 11:38:11 +0100
+
qtremoteobjects-everywhere-src (5.15.15-2) unstable; urgency=medium
* Upload to unstable.
diff --minimal -Nru qtremoteobjects-everywhere-src-5.15.15/debian/control qtremoteobjects-everywhere-src-5.15.15/debian/control
--- qtremoteobjects-everywhere-src-5.15.15/debian/control 2024-10-25 11:44:03.000000000 +0200
+++ qtremoteobjects-everywhere-src-5.15.15/debian/control 2024-11-24 11:38:11.000000000 +0100
@@ -5,6 +5,7 @@
Uploaders: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>,
Dmitry Shachnev <mitya57@debian.org>
Build-Depends: debhelper-compat (= 13),
+ libqt5remoteobjects5-bin <cross>,
pkg-kde-tools,
qml-module-qttest (>= 5.15.15+dfsg~),
qtbase5-dev (>= 5.15.15+dfsg~),
diff --minimal -Nru qtremoteobjects-everywhere-src-5.15.15/debian/rules qtremoteobjects-everywhere-src-5.15.15/debian/rules
--- qtremoteobjects-everywhere-src-5.15.15/debian/rules 2024-10-25 11:44:03.000000000 +0200
+++ qtremoteobjects-everywhere-src-5.15.15/debian/rules 2024-11-24 11:38:11.000000000 +0100
@@ -11,7 +11,7 @@
dh $@ --with pkgkde_symbolshelper
override_dh_auto_configure:
- dh_auto_configure -- QT_BUILD_PARTS+=tests
+ dh_auto_configure -- QT_BUILD_PARTS+=tests $(if $(filter cross,$(DEB_BUILD_PROFILES)),QT.remoteobjects.bins=/usr/lib/qt5/bin)
override_dh_auto_build-indep:
dh_auto_build -- docs
Reply to: