Summary: | dev-util/roctracer-5.3.3 fails tests: x86_64-pc-linux-gnu-g++: error: unrecognized command-line option -print-resource-dir | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | candrews, gentoo, heroxbd, xgreenlandforwyy |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/29376 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 817440 | ||
Bug Blocks: | |||
Attachments: | build.log |
Description
Agostino Sarubbo
2023-01-31 14:27:27 UTC
Created attachment 849558 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) RESULT_VARIABLE No such file or directory OUTPUT_VARIABLE: x86_64-pc-linux-gnu-g++: error: unrecognized command-line option ‘-print-resource-dir’; did you mean ‘-print-search-dirs’? Failing tests is due to missing AMD GPU, which duplicates https://bugs.gentoo.org/817440 How `-print-resource-dir` goes into compiler flag still needs investigation, maybe due to ROCm cmake scripts. Switching to clang may help. Also, it's not a fatal issue to build process. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f749acaea36d8ef66c2c4834c598247bb15ae41 commit 4f749acaea36d8ef66c2c4834c598247bb15ae41 Author: Yiyang Wu <xgreenlandforwyy@gmail.com> AuthorDate: 2023-02-01 09:45:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-08 04:17:29 +0000 dev-util/roctracer: strip -Werror and fix a configure issue hip-config.cmake run ${HIP_CXX_COMPILER} -print-resource-dir to determine some paths. By default, HIP_CXX_COMPILER=${CMAKE_CXX_COMPILER}=gcc, causing configuration issues, so set HIP_CXX_COMPILER=hipcc. Closes: https://bugs.gentoo.org/891945 Bug: https://bugs.gentoo.org/892730 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29376 Signed-off-by: Sam James <sam@gentoo.org> dev-util/roctracer/files/roctracer-5.3.3-Werror.patch | 15 +++++++++++++++ dev-util/roctracer/roctracer-5.3.3.ebuild | 4 +++- 2 files changed, 18 insertions(+), 1 deletion(-) |