Bug#1152883: rkcommon FTCBFS for various architecture combinations
Helmut Grohne
helmut at subdivi.de
Sun Nov 1 08:35:02 GMT 2026
Source: rkcommon
Version: 1.15.2-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
rkcommon fails to cross build from source when building on amd64 or
arm64 for something other than amd64 or arm64, because it detects the
SIMD feature based on the build architecture while it should be
considering the host architecture. The attached patch fixes this. It
also widens the matching such that SIMD is enabled on all architectures
with those CPUs such as hurd-amd64 or musl-linux-arm64 as I think this
was the original intention. Please consider applying it.
Helmut
-------------- next part --------------
diff -Nru rkcommon-1.15.2/debian/changelog rkcommon-1.15.2/debian/changelog
--- rkcommon-1.15.2/debian/changelog 2026-10-31 01:20:00.000000000 +0100
+++ rkcommon-1.15.2/debian/changelog 2026-11-01 09:29:02.000000000 +0100
@@ -1,3 +1,10 @@
+rkcommon (1.15.2-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix build vs host confusion. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Sun, 01 Nov 2026 09:29:02 +0100
+
rkcommon (1.15.2-2) unstable; urgency=medium
* Team upload.
diff -Nru rkcommon-1.15.2/debian/rules rkcommon-1.15.2/debian/rules
--- rkcommon-1.15.2/debian/rules 2026-10-30 23:00:00.000000000 +0100
+++ rkcommon-1.15.2/debian/rules 2026-11-01 09:28:44.000000000 +0100
@@ -5,9 +5,9 @@
# Upstream supports SIMD on amd64 and arm64 only.
NO_SIMD=ON
-ifeq ($(DEB_BUILD_ARCH), amd64)
+ifeq ($(DEB_HOST_ARCH_CPU), amd64)
NO_SIMD=OFF
-else ifeq ($(DEB_BUILD_ARCH), arm64)
+else ifeq ($(DEB_HOST_ARCH_CPU), arm64)
NO_SIMD=OFF
endif
More information about the debian-science-maintainers
mailing list