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

Bug 730302

Summary: dev-util/shadowman removes clang shadows
Product: Gentoo Linux Reporter: Jannik Glückert <jannik.glueckert>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jannik Glückert 2020-07-01 01:06:14 UTC
When running `eselect compiler-shadow update all` after installing clang, it removes / doesn't find the various clang tools

Note that when installing clang, the shadows are correctly registered. Only when you try to update the shadows afterwards it no longer finds clang.

This occurs with clang-10 (may have occured with earlier versions aswell) on amd64 and arm64, and probably all other arches
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-07-04 15:01:11 UTC
It creates clang symlinks for me just fine.  Could you verify that your PATH correctly includes /usr/lib/llvm/*/bin?
Comment 2 Jannik Glückert 2020-07-05 12:40:56 UTC
yes, /usr/lib/llvm/10/bin was in PATH. I also did a "cd /usr/bin && touch x86-64-pc-linux-gnu-clang" , but it didn't pick that one up either.

I'll see if I can reproduce this from a fresh tarball, but I won't be home for another 7 days
Comment 3 Jannik Glückert 2020-07-15 14:26:16 UTC
I can no longer reproduce this on both machines I tested, and not in a fresh tarball either. Closing with an increment in fear of ghosts