#1152211 amd-aie-rt FTCBFS: multiple reasons

#1152211#5
Date:
2026-10-26 20:03:29 UTC
From:
To:
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

#1152211#10
Date:
2026-11-12 17:24:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
amd-aie-rt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1152211@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Isaac True <isaac@is.having.coffee> (supplier of updated amd-aie-rt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 09 Nov 2026 13:18:36 +0000
Source: amd-aie-rt
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 2026.1.1+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Isaac True <isaac@is.having.coffee>
Changed-By: Isaac True <isaac@is.having.coffee>
Closes: 1152211
Changes:
 amd-aie-rt (2026.1.1+dfsg-3) unstable; urgency=medium
 .
   [ Talha Can Havadar ]
 .
   * d/control: fix Multi-Arch warning for xaiefal-doc
   * d/gbp.conf: do not number the patches with gbp pq
 .
   [ Helmut Grohne ]
 .
   * Fix FTCBFS: (Closes: #1152211)
     + Reduce cpputest dependency to libcpputest-dev.
     + Export pkg-config for use-system-liburing.patch.
Checksums-Sha1:
 11ce8ef3e3061d8bab555b7cdb90c135f3b6c31d 2449 amd-aie-rt_2026.1.1+dfsg-3.dsc
 5365097876332c9ef2e67b1ffdaf58ac58f1f6e8 529948 amd-aie-rt_2026.1.1+dfsg.orig.tar.xz
 9c8db0150d62e8389cf43465eae41f1f18c3f51f 11228 amd-aie-rt_2026.1.1+dfsg-3.debian.tar.xz
 9f9d16d83ce702d787adcf4aa2cefdffa27fda6c 8854 amd-aie-rt_2026.1.1+dfsg-3_source.buildinfo
Checksums-Sha256:
 bf84bbe1f56d13509c7e936d7a6d765bcd660375f2f07282138205ef3cb5ca4f 2449 amd-aie-rt_2026.1.1+dfsg-3.dsc
 0ad63f4ed5d8af1e082ddd9298c885adfb22794e5d3e4166f3b4c0357f9f0aed 529948 amd-aie-rt_2026.1.1+dfsg.orig.tar.xz
 cc675c3872165871c37e06db27466ec917414f132f8b7254760ed104e0383921 11228 amd-aie-rt_2026.1.1+dfsg-3.debian.tar.xz
 21e5d3b72497d5bfadda9768393641c807051b07ef19220260ccb77febf4216c 8854 amd-aie-rt_2026.1.1+dfsg-3_source.buildinfo
Files:
 7b8dae3081b2b95db10aab15f72e0b96 2449 libdevel optional amd-aie-rt_2026.1.1+dfsg-3.dsc
 dc6eac27864ee4695e96ab45f8100bb6 529948 libdevel optional amd-aie-rt_2026.1.1+dfsg.orig.tar.xz
 05b1cbbd82e07bd1951eb34da464cb17 11228 libdevel optional amd-aie-rt_2026.1.1+dfsg-3.debian.tar.xz
 e626a755fb0c2d7ae5d77635612f4c17 8854 libdevel optional amd-aie-rt_2026.1.1+dfsg-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEECwtuSU6dXvs5GA2aLRkspiR3AnYFAmr171UACgkQLRkspiR3
AnZnXg/9Gfky/CVCDX5ehnE3a9i2gdFuSFexTxfN9WftZsSykGpWZy3CEs9FMzhD
LH8KS58vrjCEau6V/huY/Ctv0lxiN6Q3aUYPg9sZopSzRFqE2RkmgwspDO6LHatX
qrQKHO0QlHuHc890M7a0y6pI9FBlPZDL+RLPnBL/3Ze+q3Bs1aU/Lh9PlB9UwNjC
xG53hm6TJMUcvvtz1ym6qnWRGJLaKqfvik0Ta2ixK00RB706PCeNn76yCXkEbwgE
HIBp4sf+pqXQsm7Umqt3Z/XX92rQ1LVFdPbA/Etd1hd0gncIz75/uSwRnNJJAJK5
2pZHEn58aXVilSXCddrE8z49EIbL/6uhcC/fvkFZWvHwcCcGYSBGvdMzXoGdNC78
IFNZsWqrcgJtMrUFFAz2LLHpqaeNLYQLeBHyAa4uV0IYG5BBlP4z1Oygu+AfQSQ4
wTFyeWYqu9kljjjMiFRo1EANUqyJy8v7NSobOnNhauNukRSnyIr8hmCc963rSlu5
/cLZLfd+Gaebu+gyhD9w5AQ1hfixQOLj24dn27+cdjFkH0VE/OKIeUmEtn3pbztv
uVvCdrGaufAiXjNbPon9ZWyGKmB3FFxDXOVgFIMVe3GEePtxVWcWL1yrLtuvPRJH
8/IEb1hCS+rpqLH4YZ5X1xd37Id0uzNVE3Y3J68h1vNZyniwJJc=
=uhJb
-----END PGP SIGNATURE-----