Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948861 - sys-block/nbdkit-1.36.1[-libssh] links against libssh
Summary: sys-block/nbdkit-1.36.1[-libssh] links against libssh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Arsen Arsenović
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-01-26 15:59 UTC by Georgi
Modified: 2025-03-02 21:21 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 Georgi 2025-01-26 15:59:42 UTC
```
# emerge -pv nbdkit
...
[ebuild   R    ] sys-block/nbdkit-1.36.1::gentoo  USE="zlib -curl -ext2 -gnutls (-libguestfs) -libssh -libvirt -lzma -nbd (-selinux) -torrent -valgrind -zlib-ng -zstd" 0 KiB

# emerge -c
...
>>> Unmerging (1 of 1) net-libs/libssh-0.11.1-r1...
...
!!! existing preserved libs:
>>> package: net-libs/libssh-0.11.1-r1
 *  - /usr/lib64/libssh.so.4
 *  - /usr/lib64/libssh.so.4.10.1
 *      used by /usr/lib64/nbdkit/plugins/nbdkit-ssh-plugin.so (sys-block/nbdkit-1.36.1)
Use emerge @preserved-rebuild to rebuild packages using these libraries
```

Reproducible: Always

Steps to Reproduce:
Provided you don't have libssh in your world file or sets or pulled in by something else:

1. emerge -1 libssh
2. emerge -1 nbdkit
3. emerge -c libssh

Alternatively you can forcefully unmerge libssh and you'll see nbdkit in the list of packages using the preserved libs.
Comment 1 Georgi 2025-01-26 16:17:19 UTC
I forgot to add, after reemerging nbdlit after libssh depclean, all is fixed, which confirms nbdkit links agains libssh not when the use flag is enabled but whenever libssh is present on the system.
Comment 2 Larry the Git Cow gentoo-dev 2025-03-02 21:21:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d59ede50f0aa6affe08675edf99e7e54c9c684

commit 91d59ede50f0aa6affe08675edf99e7e54c9c684
Author:     Christopher Byrne <salah.coronya@gmail.com>
AuthorDate: 2025-03-01 01:26:41 +0000
Commit:     Arsen Arsenović <arsen@gentoo.org>
CommitDate: 2025-03-02 21:14:55 +0000

    sys-block/nbdkit: add 1.42.0
    
    Fixes libssh support, it wasn't wired up in src_configure before
    Add python bindings (needed to add app-emulation/virt-v2v)
    
    Closes: https://bugs.gentoo.org/910645
    Closes: https://bugs.gentoo.org/948861
    Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40825
    Signed-off-by: Arsen Arsenović <arsen@gentoo.org>

 sys-block/nbdkit/Manifest             |   1 +
 sys-block/nbdkit/nbdkit-1.42.0.ebuild | 130 ++++++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)