Bug#1058727: dsda-doom FTCBFS: passes host flags to native build
Helmut Grohne
helmut at subdivi.de
Fri Dec 15 06:51:25 GMT 2023
Source: dsda-doom
Version: 0.27.4+dfsg-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
dsda-doom fails to cross build from source, because it passes host
compiler flags to a build compiler invocation. This used to not be a
problem, but with PAC/BTI we now have architecture-specific compiler
flags that are not understood by all architectures. I'm attaching a
patch for your convenience.
Helmut
-------------- next part --------------
diff --minimal -Nru dsda-doom-0.27.4+dfsg/debian/changelog dsda-doom-0.27.4+dfsg/debian/changelog
--- dsda-doom-0.27.4+dfsg/debian/changelog 2023-11-20 08:53:49.000000000 +0100
+++ dsda-doom-0.27.4+dfsg/debian/changelog 2023-12-15 07:23:19.000000000 +0100
@@ -1,3 +1,10 @@
+dsda-doom (0.27.4+dfsg-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Recompute compiler flags for native build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Fri, 15 Dec 2023 07:23:19 +0100
+
dsda-doom (0.27.4+dfsg-1) unstable; urgency=medium
* New upstream version 0.27.4+dfsg
diff --minimal -Nru dsda-doom-0.27.4+dfsg/debian/rules dsda-doom-0.27.4+dfsg/debian/rules
--- dsda-doom-0.27.4+dfsg/debian/rules 2023-10-28 16:55:46.000000000 +0200
+++ dsda-doom-0.27.4+dfsg/debian/rules 2023-12-15 07:23:17.000000000 +0100
@@ -11,7 +11,7 @@
override_dh_auto_configure:
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
- dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_configure -Bbuild-native
+ dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_configure --reload-all-buildenv-variables -Bbuild-native
dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build -Bbuild-native
endif
dh_auto_configure -- \
More information about the Pkg-games-devel
mailing list