https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/amdvlk-2022.3.5 calls ar directly. Discovered on: amd64 (internal ref: guru_ci) NOTE: As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Created attachment 822700 [details] build.log build log and emerge --info
Created attachment 822703 [details] 1-CMakeOutput.log 1-CMakeOutput.log
Is it real issue? This package is only for x86-based arches so it never will be ported to different architectures such as arm and so on. I'll try to fix it later but without the hastle, and I have no idea how to fix it immidiately.
I've understood that I should implement "clang" use flag.
Hello Denis, this has nothing to do with clang, is just use the default implementation that the user is choosing. There are a lot of similar bugs already fixed, so you can take them as hint for a possible fix. (tcgetAR and so on)
Ok, it seems that it fixed surprisingly easy. Well, as easy as rebuild amdvlk one-more times to ensure it still can be compiled. https://gitweb.gentoo.org/repo/proj/guru.git/commit/?h=dev&id=890b93904f29f7b7b607f41bd7eecfb443d9eac1 I'm still using nvidia gpu so I can't test whether driver is actually working or not, but it compiles succesfully.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=890b93904f29f7b7b607f41bd7eecfb443d9eac1 commit 890b93904f29f7b7b607f41bd7eecfb443d9eac1 Author: Denis Reva <denis7774@gmail.com> AuthorDate: 2022-10-12 08:44:45 +0000 Commit: Denis Reva <denis7774@gmail.com> CommitDate: 2022-10-12 08:44:56 +0000 media-libs/amdvlk: Fixes direct ar calls Bug: https://bugs.gentoo.org/875821 Signed-off-by: Denis Reva <denis7774@gmail.com> media-libs/amdvlk/amdvlk-2022.3.5-r1.ebuild | 114 +++++++++++++++++++++ .../amdvlk-2022.3.5-no-compiler-presets.patch | 20 ++++ 2 files changed, 134 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2f8fbe503a08532f48e7ff423dfa50ebfdc2ac4 commit a2f8fbe503a08532f48e7ff423dfa50ebfdc2ac4 Author: Denis Reva <denis7774@gmail.com> AuthorDate: 2022-10-19 06:54:03 +0000 Commit: Denis Reva <denis7774@gmail.com> CommitDate: 2022-10-19 06:54:16 +0000 media-libs/amdvlk: Removing version with bug Closes: https://bugs.gentoo.org/875821 Signed-off-by: Denis Reva <denis7774@gmail.com> media-libs/amdvlk/amdvlk-2022.3.5.ebuild | 110 ------------------------------- 1 file changed, 110 deletions(-)