Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715490 - >=net-fs/samba-4.12 automagically depends on sys-libs/libunwind
Summary: >=net-fs/samba-4.12 automagically depends on sys-libs/libunwind
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-30 18:10 UTC by Eugene Shalygin
Modified: 2020-12-17 12:18 UTC (History)
5 users (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 Eugene Shalygin 2020-03-30 18:10:06 UTC
>>> package: sys-libs/libunwind-1.3.1
 *  - /usr/lib64/libunwind-x86_64.so.8
 *  - /usr/lib64/libunwind-x86_64.so.8.0.1
 *      used by /usr/lib64/libsamba-util.so.0.0.1 (net-fs/samba-4.12.0)


Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis 2020-05-18 10:22:46 UTC
Optional usage of libunwind was introduced over 12 years ago in:
https://gitlab.com/samba-team/samba/-/commit/7a5ff0885d08f9e32dc9939e5fd676a987b881d9

Later, over 2 years ago, code was moved in:
https://gitlab.com/samba-team/samba/-/commit/bf9551902afdb32310db4a3381964c435dd08bf0

After move to Waf, detection of libunwind was broken and was fixed over 3 months ago in:
https://gitlab.com/samba-team/samba/-/commit/558bd7c83d08523a9e88414195d9703df38e9af2

(This code would fail to detect currently available versions of sys-libs/llvm-libunwind, which do not provide .pc files.)
Comment 2 Frank Krömmelbein 2020-11-28 18:52:02 UTC
The problem still exists with the current stable version:

[ebuild   R    ] net-fs/samba-4.12.9-r1::gentoo  USE="acl client cups pam quota system-mitkrb5 winbind -addc -addns -ads -ceph -cluster -debug (-dmapi) (-fam) -gpg -iprint -json -ldap -profiling-data -python (-selinux) -snapper -syslog (-system-heimdal) -systemd (-test) -zeroconf" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8" 0 KiB

!!! existing preserved libs:
>>> package: sys-libs/libunwind-1.4.0
 *  - /usr/lib64/libunwind.so.8
 *  - /usr/lib64/libunwind.so.8.0.1
 *      used by /usr/lib64/libsamba-util.so.0.0.1 (net-fs/samba-4.12.9-r1)
 *  - /usr/lib64/libunwind-x86_64.so.8
 *  - /usr/lib64/libunwind-x86_64.so.8.0.1
 *      used by /usr/lib64/libsamba-util.so.0.0.1 (net-fs/samba-4.12.9-r1)