This came up in bug 938569. net-libs/libktorrent uses <xfs/xfs.h> if available at https://invent.kde.org/network/libktorrent/-/blob/master/src/util/fileops.cpp#L302. (Not checked if it's a header-only dep.)
Appears to be header-only… $ scanelf -n /usr/lib64/libKTorrent6.so TYPE NEEDED FILE ET_DYN libKF6Archive.so.6,libgcrypt.so.20,libgmp.so.10,libQt6Core5Compat.so.6,libKF6KIOCore.so.6,libQt6Network.so.6,libKF6I18n.so.6,libQt6Xml.so.6,libKF6CoreAddons.so.6,libKF6ConfigCore.so.6,libQt6Core.so.6,libstdc++.so.6,libgcc_s.so.1,libc.so.6 /usr/lib64/libKTorrent6.so
This needs a new CMake option in (ideally upstream's) CMakelists.txt.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=8d3305a525177701f99364489694d5374337079e commit 8d3305a525177701f99364489694d5374337079e Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-11-09 22:23:25 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-11-09 22:32:00 +0000 net-libs/libktorrent: Add IUSE xfs Used in public header, so part of RDEPEND. Upstream commit fb59986a15ca93346a1e2f4cbb0c90804dc0eb40 Bug: https://bugs.gentoo.org/938576 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> net-libs/libktorrent/libktorrent-9999.ebuild | 11 +++++++++-- net-libs/libktorrent/metadata.xml | 3 +++ 2 files changed, 12 insertions(+), 2 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb56662ef43039d3c207e5483e5165972c66ebd commit 1eb56662ef43039d3c207e5483e5165972c66ebd Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-11-09 22:23:25 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-11-10 09:30:45 +0000 net-libs/libktorrent: Add IUSE xfs Used in public header, so part of RDEPEND. Upstream commit fb59986a15ca93346a1e2f4cbb0c90804dc0eb40 Closes: https://bugs.gentoo.org/938576 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> net-libs/libktorrent/libktorrent-24.08.3-r1.ebuild | 66 ++++++++++++++++++++++ net-libs/libktorrent/metadata.xml | 3 + 2 files changed, 69 insertions(+)