Article View: linux.debian.bugs.dist
Article #2302Bug#1152211: amd-aie-rt FTCBFS: multiple reasons
From: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
Date: Mon, 26 Oct 2026 20:20
85 lines
4939 bytes
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--
Technical Details
Message-ID:
<NSzkJ-84wi-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Helmut Grohne <helmut@subdivi.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152211: amd-aie-rt FTCBFS: multiple reasons Date: Mon, 26 Oct 2026 21:20:01 +0100 Message-ID: <NSzkJ-84wi-5@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 26 20:17:24 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152211@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: isaac@is.having.coffee X-Debian-Pr-Message: report 1152211 X-Debian-Pr-Package: src:amd-aie-rt X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: amd-aie-rt MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="TEyFFxjP1Z379ZQ3" Content-Disposition: inline X-Reportbug-Version: 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999084 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 85 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 26 Oct 2026 21:03:29 +0100 X-Original-Message-ID: <20261026200329.GA3809535@subdivi.de>