Summary: | media-tv/v4l-utils-1.20.0 : * clang does not support the BPF target. Please check LLVM_TARGETS. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | James Le Cuirot <chewi> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | ashley.blue.skye |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
die.env emerge-history.txt etc.portage.tbz2 logs.tbz2 media-tv:v4l-utils-1.20.0:20210104-234253.log |
Description
Toralf Förster
2021-01-05 08:27:06 UTC
Created attachment 681214 [details]
emerge-info.txt
Created attachment 681217 [details]
die.env
Created attachment 681220 [details]
emerge-history.txt
Created attachment 681223 [details]
etc.portage.tbz2
Created attachment 681226 [details]
logs.tbz2
Created attachment 681229 [details]
media-tv:v4l-utils-1.20.0:20210104-234253.log
This has most likely happened because you have an old version of clang installed with LLVM_TARGETS="BPF" but your latest installed version does not have it. This is what the check is supposed to guard against. Unfortunately there's no way to enforce this purely through Portage dependencies. :( I could iterate through numbered SLOTs with has_version but it wouldn't be pretty so I'd rather not. Unfortunately there's no ebuild helper to iterate through installed versions like portageq can. I'm seeing this issue with no clang/llvm installed and with the correct LLVM_TARGETS defined. In other words, portage should be pulling in the correct packages, but they are not installed now, and I get this error. That can't be what is intended. Should I have to to install clang first manually before installing this package? That seems counterintuitive to the idea of a package manager. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eca9891419d58dde8eb284ed60a6dd71278e08f commit 9eca9891419d58dde8eb284ed60a6dd71278e08f Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2021-01-17 10:27:16 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2021-01-17 10:27:16 +0000 media-tv/v4l-utils: Only check Clang in pkg_pretend when installed I forgot that pkg_pretend() fires before dependencies are installed. We therefore need to check again in pkg_setup(). Bug: https://bugs.gentoo.org/763654 Package-Manager: Portage-3.0.13, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org> media-tv/v4l-utils/v4l-utils-1.20.0.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) Thanks! |