🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Mon, 02 Nov 2026 20:50
Bug#1152883: rkcommon FTCBFS for various architecture combinations
#3063
Author: Helmut Grohne
Date: Mon, 02 Nov 2026 20:50
56 lines
3440 bytes
--8DinrR0Ccaf8n5bT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: rkcommon
Version: 1.15.2-2
Tags: patch
User: debian-cross@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

--8DinrR0Ccaf8n5bT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="rkcommon_1.15.2-2.1.debdiff"

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@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
 

--8DinrR0Ccaf8n5bT--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads