Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875821 - [guru] media-libs/amdvlk-2022.3.5 calls ar directly
Summary: [guru] media-libs/amdvlk-2022.3.5 calls ar directly
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Reva Denis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2022-10-07 09:38 UTC by Agostino Sarubbo
Modified: 2022-10-29 05:54 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,49.66 KB, text/plain)
2022-10-07 09:38 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,45.92 KB, text/plain)
2022-10-07 09:38 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 2022-10-07 09:38:06 UTC
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].
Comment 1 Agostino Sarubbo gentoo-dev 2022-10-07 09:38:09 UTC
Created attachment 822700 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-10-07 09:38:10 UTC
Created attachment 822703 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 3 Reva Denis 2022-10-11 16:48:36 UTC
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.
Comment 4 Reva Denis 2022-10-11 16:53:24 UTC
I've understood that I should implement "clang" use flag.
Comment 5 Agostino Sarubbo gentoo-dev 2022-10-12 06:55:30 UTC
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)
Comment 6 Reva Denis 2022-10-12 08:50:54 UTC
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.
Comment 7 Larry the Git Cow gentoo-dev 2022-10-17 11:26:44 UTC
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(+)
Comment 8 Larry the Git Cow gentoo-dev 2022-10-29 05:54:36 UTC
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(-)