Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938576 - net-libs/libktorrent: automagic dependency on sys-fs/xfsprogs
Summary: net-libs/libktorrent: automagic dependency on sys-fs/xfsprogs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://invent.kde.org/network/libkto...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: gear-24.08.3-stable
  Show dependency tree
 
Reported: 2024-08-27 23:47 UTC by Sam James
Modified: 2024-11-10 09:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-27 23:47:13 UTC
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.)
Comment 1 Matt Whitlock 2024-08-28 00:08:57 UTC
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
Comment 2 Andreas Sturmlechner gentoo-dev 2024-08-28 10:51:05 UTC
This needs a new CMake option in (ideally upstream's) CMakelists.txt.
Comment 3 Larry the Git Cow gentoo-dev 2024-11-09 22:32:32 UTC
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(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-11-10 09:30:59 UTC
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(+)