Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 829756

Summary: net-fs/samba-4.15.3: add llvm-libunwind as alternative for libunwind
Product: Gentoo Linux Reporter: Bogdan <bogdan.pylypenko107>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bogdan 2021-12-21 07:38:40 UTC
I try to use 'clang' profile to use clang as default compiler.
Clang compiler require sys-libs/llvm-libunwind package.

The biggest conflict: samba needs sys-libs/libunwind package, which conflicts with sys-libs/llvm-libunwind.

It is a problem, because a lot of packets require samba.

I was add sys-libs/libunwind into package.provided, and samba was compiled successfully. This is because system has installed alternative unwind sys-libs/llvm-libunwind.

Reproducible: Always

Actual Results:  
Dependencies conflict with llvm-libunwind, required for clang as default compiled.

Expected Results:  
Ebuild must allow to use alternative unwinder.

Please, change ebuild, to allow to use llvm-libunwind:
from
  !alpha? ( !sparc? ( sys-libs/libunwind:= ) )
to
  !alpha? ( !sparc? ( || ( sys-libs/libunwind:= sys-libs/llvm-libunwind:= ) ) )
Comment 1 Ionen Wolkens gentoo-dev 2021-12-21 07:40:53 UTC

*** This bug has been marked as a duplicate of bug 791349 ***