When updating my system, sci-libs/rocBLAS-6.3.3 fails to configure due to missing gtest dependency. >>> Emerging (255 of 328) sci-libs/rocBLAS-6.3.3::gentoo * rocm-rocBLAS-6.3.3.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking rocm-rocBLAS-6.3.3.tar.gz to /var/tmp/portage/sci-libs/rocBLAS-6.3.3/work >>> Source unpacked in /var/tmp/portage/sci-libs/rocBLAS-6.3.3/work [...] -- CLIENT COMMON CXX_OPTIONS: -- CLIENT COMMON LINK: OpenMP::OpenMP_CXX;-Wl;Threads::Threads -- Linking Reference BLAS LIB: cblas -- Found ROCmSMI: /usr/lib64/librocm_smi64.so CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindGTest.cmake:273 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) clients/CMakeLists.txt:187 (find_package) -- Configuring incomplete, errors occurred! * ERROR: sci-libs/rocBLAS-6.3.3::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 2550: Called cmake_src_configure * environment, line 1064: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=sci-libs/rocBLAS-6.3.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-libs/rocBLAS-6.3.3::gentoo'`. * The complete build log is located at '/var/tmp/portage/sci-libs/rocBLAS-6.3.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/rocBLAS-6.3.3/temp/environment'. * Working directory: '/var/tmp/portage/sci-libs/rocBLAS-6.3.3/work/rocBLAS-rocm-6.3.3_build' * S: '/var/tmp/portage/sci-libs/rocBLAS-6.3.3/work/rocBLAS-rocm-6.3.3' Reproducible: Always When installing dev-cpp/gtest-1.14.0-r1::gentoo manually, configuration of the build works fine.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1eb82c0f9c56ad857bda3fe944112196ce8a95 commit 0b1eb82c0f9c56ad857bda3fe944112196ce8a95 Author: Sv. Lockal <lockalsash@gmail.com> AuthorDate: 2025-04-05 22:57:50 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2025-04-06 02:26:00 +0000 sci-libs/rocBLAS: DEPENDS on dev-cpp/gtest for USE=benchmark. Closes: https://github.com/gentoo/gentoo/pull/41469 Closes: https://bugs.gentoo.org/952128 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> sci-libs/rocBLAS/rocBLAS-6.3.2.ebuild | 1 + sci-libs/rocBLAS/rocBLAS-6.3.3.ebuild | 1 + 2 files changed, 2 insertions(+)