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

Bug 686810

Summary: dev-util/kdevelop-5.3.2 fails to start if emerged while sys-devel/llvm:8 is present, when using media-libs/mesa-18.3.6
Product: Gentoo Linux Reporter: Cyp <cyp561>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cyp 2019-05-26 17:39:46 UTC
Alternative summary: Installing unstable firefox (which requires llvm:8) breaks kdevelop.

Emerging kdevelop links with llvm:8, if present.

Emerging mesa links with <llvm-8.

Running kdevelop first loads mesa which loads llvm-7, then loads llvm-8 directly. This causes problems.

Not sure whether this is a Gentoo bug, LLVM bug, KDevelop bug, or if having llvm:8 installed while stable mesa is present is just unsupported.

----

$ kdevelop
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

----

$ strace kdevelop 2>&1| grep lib64/libLLVMCore
openat(AT_FDCWD, "/usr/lib/llvm/7/lib64/libLLVMCore.so.7.1", O_RDONLY|O_CLOEXEC) = 13
openat(AT_FDCWD, "/usr/lib64/llvm/8/lib64/../lib64/../lib64/libLLVMCore.so.8", O_RDONLY|O_CLOEXEC) = 60

----

$ strace kdevelop 2>&1| grep lib64/../lib64/../lib64/../lib64/../lib64
openat(AT_FDCWD, "/usr/lib64/llvm/8/lib64/../lib64/../lib64/../lib64/../lib64/tls/x86_64/x86_64/libLLVMAsmParser.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[more log truncated]
Comment 1 Andreas Sturmlechner gentoo-dev 2019-05-27 10:52:40 UTC

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