Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930147 - net-fs/samba-4.20.0 falsely depends on <sys-libs/ldb-2.9.0 and fails to build
Summary: net-fs/samba-4.20.0 falsely depends on <sys-libs/ldb-2.9.0 and fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 930156 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-04-17 16:45 UTC by Johannes Penßel
Modified: 2024-04-17 17:39 UTC (History)
3 users (show)

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


Attachments
emerge --info (file_930147.txt,8.97 KB, text/plain)
2024-04-17 16:48 UTC, Johannes Penßel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Penßel 2024-04-17 16:45:55 UTC
relevant log snippet:

Checking for system ldb (>=2.9.0 <=2.9.999)                                                     : not found 
ERROR: System library ldb of version 2.9.0 not found, and bundling disabled
 * ERROR: net-fs/samba-4.20.0::gentoo failed (configure phase):
 *   configure failed


when trying to update samba and ldb in one go:

[ebuild   R    ] sys-libs/ldb-2.8.0:0/2.8.0::gentoo  USE="lmdb -doc -ldap -python -test" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB
[ebuild     U  ] net-fs/samba-4.20.0::gentoo [4.19.4::gentoo] USE="acl client cups json pam regedit system-mitkrb5 systemd unwind winbind zeroconf -addc -ads -ceph -cluster -debug (-fam) -glusterfs -gpg -iprint -ldap -llvm-libunwind -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) (-test)" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

sys-libs/ldb:0

  (sys-libs/ldb-2.9.0:0/2.9.0::gentoo, ebuild scheduled for merge) USE="lmdb -doc -ldap -python -test" PYTHON_SINGLE_TARGET="python3_11 -python3_10" conflicts with
    <sys-libs/ldb-2.9.0:=[abi_x86_64(-)] required by (net-fs/samba-4.20.0:0/0::gentoo, ebuild scheduled for merge) USE="acl client cups json pam regedit system-mitkrb5 systemd unwind winbind zeroconf -addc -ads -ceph -cluster -debug (-fam) -glusterfs -gpg -iprint -ldap -llvm-libunwind -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) (-test)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
    ^             ^^^^^                 

the ldb dependency for samba-4.20 should probably be <sys-libs/ldb-2.10.0.
Comment 1 Johannes Penßel 2024-04-17 16:48:17 UTC
Created attachment 890973 [details]
emerge --info
Comment 2 Ben Kohler gentoo-dev 2024-04-17 16:51:49 UTC
Thanks for catching that, there are a lot of lib deps that have to be adjusted for the new samba release-- i added the required ldb package to gentoo repo but forgot to update this one dep!  Fix incoming.
Comment 3 Larry the Git Cow gentoo-dev 2024-04-17 16:52:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68441713ebb2b75f5e5b1243982315fc30f8a44d

commit 68441713ebb2b75f5e5b1243982315fc30f8a44d
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2024-04-17 16:51:56 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2024-04-17 16:51:56 +0000

    net-fs/samba: fix ldb dep
    
    Closes: https://bugs.gentoo.org/930147
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 net-fs/samba/samba-4.20.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 Ben Kohler gentoo-dev 2024-04-17 17:39:37 UTC
*** Bug 930156 has been marked as a duplicate of this bug. ***