🚀 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, 26 Oct 2026 20:20
Bug#1152211: amd-aie-rt FTCBFS: multiple reasons
#2302
Author: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
85 lines
4939 bytes
--TEyFFxjP1Z379ZQ3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: amd-aie-rt
Version: 2026.1.1+dfsg-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

amd-aie-rt fails to cross build from source for two distinct reasons.

The first reason is rooted in its cpputest dependency. That package
depends on a library development package but is itself marked
Multi-Arch: foreign. This is an RC bug and I'm filing it separately. As
a result, the development package is installed for the build
architecture when it is actually needed for the host architecture. As it
happens, amd-aie-rt does not actually need any of the scripts and
examples contained in cpputest. What is contained in libcpputest-dev is
sufficient for building amd-aie-rt, so reducing the dependency helps
with cross building.

The other reason is rooted in the use-system-liburing.patch. It
introduces a use of PKG_CONFIG into the Makefiles driven from the CMake
build system. When debhelper detects CMake, it does not export
PKG_CONFIG and other variables, so liburing is not found. What would be
better here is locating liburing in CMake and linking the detected
library. Rather than fixing the patch, I suggest explicitly exporting
PKG_CONFIG.

The attached patch includes both changes and makes amd-aie-rt cross
buildable. Please consider applying an/or improving it.

Helmut

--TEyFFxjP1Z379ZQ3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="amd-aie-rt_2026.1.1+dfsg-2.1.debdiff"

diff -Nru amd-aie-rt-2026.1.1+dfsg/debian/changelog amd-aie-rt-2026.1.1+dfsg/debian/changelog
--- amd-aie-rt-2026.1.1+dfsg/debian/changelog	2026-10-14 14:50:17.000000000 +0200
+++ amd-aie-rt-2026.1.1+dfsg/debian/changelog	2026-10-26 20:56:25.000000000 +0100
@@ -1,3 +1,12 @@
+amd-aie-rt (2026.1.1+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Reduce cpputest dependency to libcpputest-dev.
+    + Export pkg-config for use-system-liburing.patch.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 26 Oct 2026 20:56:25 +0100
+
 amd-aie-rt (2026.1.1+dfsg-2) unstable; urgency=medium
 
   * d/watch: upgrade to version 5 format.
diff -Nru amd-aie-rt-2026.1.1+dfsg/debian/control amd-aie-rt-2026.1.1+dfsg/debian/control
--- amd-aie-rt-2026.1.1+dfsg/debian/control	2026-10-14 14:50:17.000000000 +0200
+++ amd-aie-rt-2026.1.1+dfsg/debian/control	2026-10-26 19:09:45.000000000 +0100
@@ -4,7 +4,7 @@
 Uploaders: Talha Can Havadar <havadartalha@gmail.com>
 Build-Depends: debhelper-compat (= 13),
                cmake,
-               cpputest,
+               libcpputest-dev,
                liburing-dev,
                pkgconf,
 Build-Depends-Indep: doxygen,
diff -Nru amd-aie-rt-2026.1.1+dfsg/debian/rules amd-aie-rt-2026.1.1+dfsg/debian/rules
--- amd-aie-rt-2026.1.1+dfsg/debian/rules	2026-10-14 14:50:17.000000000 +0200
+++ amd-aie-rt-2026.1.1+dfsg/debian/rules	2026-10-26 20:42:19.000000000 +0100
@@ -5,6 +5,10 @@
 # Fix "unsupported relocation" errors when linking
 export DEB_CFLAGS_MAINT_APPEND += -fPIC
 
+include /usr/share/dpkg/buildtools.mk
+# used by debian/patches/use-system-liburing.patch
+export PKG_CONFIG
+
 %:
 	# The build fails if run with parallel enabled
 	dh $@ --sourcedirectory=fal --no-parallel

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