Source: openttd Version: 14.1-2 Tags: patch X-Debbugs-Cc: [email protected] User: [email protected] Usertags: arm64 User: [email protected] Usertags: ftcbfs
openttd fails to cross build from source for arm4, because it passes -mbranch-protection=standard to the native build pass. This is a common issue arising from architecture-specific build flags and commonly happens to native build passes. The typical solution is adding --reload-all-buildenv-variables to the debhelper invocation. I'm attaching a patch for your convenience. Helmut
diff -Nru openttd-14.1/debian/changelog openttd-14.1/debian/changelog --- openttd-14.1/debian/changelog 2025-10-08 20:15:53.000000000 +0200 +++ openttd-14.1/debian/changelog 2025-12-01 20:07:31.000000000 +0100 @@ -1,3 +1,10 @@ +openttd (14.1-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS for arm64: --reload-all-buildenv-variables for native. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Mon, 01 Dec 2025 20:07:31 +0100 + openttd (14.1-2) unstable; urgency=medium * [10c3c48] Backport upstream patch to fix FTBFS. Thanks to Adrian Bunk diff -Nru openttd-14.1/debian/rules openttd-14.1/debian/rules --- openttd-14.1/debian/rules 2025-10-08 20:15:53.000000000 +0200 +++ openttd-14.1/debian/rules 2025-12-01 20:07:30.000000000 +0100 @@ -60,7 +60,7 @@ # clean build root. override_dh_auto_configure: ifneq ($(TOOLS_DIR),) - dpkg-architecture -a"$(DEB_BUILD_ARCH)" -f -c dh_auto_configure -B"$(TOOLS_DIR)" -- -DOPTION_TOOLS_ONLY=ON + dpkg-architecture -a"$(DEB_BUILD_ARCH)" -f -c dh_auto_configure --reload-all-buildenv-variables -B"$(TOOLS_DIR)" -- -DOPTION_TOOLS_ONLY=ON endif dh_auto_configure -- $(CMAKE_CONFIG_ARGUMENTS)

