Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724274 - dev-util/clazy-1.6-r1: Could not find LLVM: Could NOT find 'llvm-config' executable
Summary: dev-util/clazy-1.6-r1: Could not find LLVM: Could NOT find 'llvm-config' exec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-20 08:05 UTC by Agostino Sarubbo
Modified: 2020-06-30 14:54 UTC (History)
0 users

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


Attachments
build.log (build.log,8.45 KB, text/plain)
2020-05-20 08:05 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-20 08:05:48 UTC
This is an auto-filed bug because dev-util/clazy fails to compile.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-20 08:05:56 UTC
Created attachment 640474 [details]
build.log

build log and emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2020-05-22 14:25:33 UTC
Please include the actual error message in $summary.
Comment 3 Andreas Sturmlechner gentoo-dev 2020-05-22 14:27:52 UTC
Please show:

$ ls -l /usr/lib/llvm/10/bin/*llvm-config
$ equery k llvm
$ equery l llvm
Comment 4 Agostino Sarubbo gentoo-dev 2020-06-12 14:20:28 UTC
(In reply to Andreas Sturmlechner from comment #3)
> Please show:
> 
> $ ls -l /usr/lib/llvm/10/bin/*llvm-config
> $ equery k llvm
> $ equery l llvm

$ ls -l /usr/lib/llvm/10/bin/*llvm-config
lrwxrwxrwx 1 root root    31 Jun  9 06:48 /usr/lib/llvm/10/bin/llvm-config -> x86_64-pc-linux-gnu-llvm-config
-rwxr-xr-x 1 root root 92472 Jun  9 06:48 /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-llvm-config


$ equery k llvm
* Checking sys-devel/llvm-10.0.0 ...
   1720 out of 1720 files passed

$ equery l llvm
 * Searching for llvm ...
[IP-] [  ] sys-devel/llvm-10.0.0:10



What I noticed is:
I do not have llvm, so it is installed together clazy and after see the failure I do not see my PATH updated with the LLVM path.
So llvm-config here gives command not found while is present in /usr/lib/llvm/10/bin/llvm-config
env-update && source /etc/profile fixes the issue here
Comment 5 Andreas Sturmlechner gentoo-dev 2020-06-30 14:54:50 UTC
I believe this to be fixed in 1.7.