Created attachment 894213 [details] build.log and emerge --info Vendored cmock? -- Configuring done (0.4s) CMake Error at tests/CMakeLists.txt:135 (add_executable): Cannot find source file: /var/tmp/portage/dev-cpp/clhpp-2023.12.14/work/OpenCL-CLHPP-2023.12.14/external/CMock/src/cmock.c Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_120 CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_120_CL_HPP_ENABLE_EXCEPTIONS CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_120_CL_HPP_ENABLE_SIZE_T_COMPATIBILITY CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_120_CL_HPP_ENABLE_PROGRAM_CONSTRUCTION_FROM_ARRAY_COMPATIBILITY CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_120_CL_HPP_CL_1_2_DEFAULT_BUILD CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_120_CL_HPP_USE_CL_SUB_GROUPS_KHR CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_120_CL_HPP_USE_IL_KHR CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_200 CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_200_CL_HPP_ENABLE_EXCEPTIONS CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_200_CL_HPP_ENABLE_SIZE_T_COMPATIBILITY CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_200_CL_HPP_ENABLE_PROGRAM_CONSTRUCTION_FROM_ARRAY_COMPATIBILITY CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_200_CL_HPP_CL_1_2_DEFAULT_BUILD CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_200_CL_HPP_USE_CL_SUB_GROUPS_KHR CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_200_CL_HPP_USE_IL_KHR CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_210 CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_210_CL_HPP_ENABLE_EXCEPTIONS CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_210_CL_HPP_ENABLE_SIZE_T_COMPATIBILITY CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_210_CL_HPP_ENABLE_PROGRAM_CONSTRUCTION_FROM_ARRAY_COMPATIBILITY CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_210_CL_HPP_CL_1_2_DEFAULT_BUILD CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_210_CL_HPP_USE_CL_SUB_GROUPS_KHR CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_210_CL_HPP_USE_IL_KHR CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_220 CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_220_CL_HPP_ENABLE_EXCEPTIONS CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_220_CL_HPP_ENABLE_SIZE_T_COMPATIBILITY CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_220_CL_HPP_ENABLE_PROGRAM_CONSTRUCTION_FROM_ARRAY_COMPATIBILITY CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_220_CL_HPP_CL_1_2_DEFAULT_BUILD CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_220_CL_HPP_USE_CL_SUB_GROUPS_KHR CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_220_CL_HPP_USE_IL_KHR CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_300 CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_300_CL_HPP_ENABLE_EXCEPTIONS CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_300_CL_HPP_ENABLE_SIZE_T_COMPATIBILITY CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_300_CL_HPP_ENABLE_PROGRAM_CONSTRUCTION_FROM_ARRAY_COMPATIBILITY CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_300_CL_HPP_CL_1_2_DEFAULT_BUILD CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_300_CL_HPP_USE_CL_SUB_GROUPS_KHR CMake Error at tests/CMakeLists.txt:135 (add_executable): No SOURCES given to target: test_openclhpp_300_CL_HPP_USE_IL_KHR CMake Generate step failed. Build files cannot be regenerated correctly.
The tests are restricted, no? ``` # Tests require CMock (NOT cmocka), which is currently not in Gentoo # and has been found to be extremely awkward to package. # Should it ever get packaged, consult git history for how to set things up # for the clhpp test suite. RESTRICT="test" ```
(In reply to Sam James from comment #1) > The tests are restricted, no? > > ``` > # Tests require CMock (NOT cmocka), which is currently not in Gentoo > # and has been found to be extremely awkward to package. > # Should it ever get packaged, consult git history for how to set things up > # for the clhpp test suite. > RESTRICT="test" > ``` ah, because it doesn't have !test? ( test ) still
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=504584beed11ff838950e4e3733ee5a5bea26a61 commit 504584beed11ff838950e4e3733ee5a5bea26a61 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2024-06-12 13:27:35 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2024-06-12 13:51:57 +0000 dev-cpp/clhpp: drop IUSE=test from older versions Closes: https://bugs.gentoo.org/932638 Closes: https://bugs.gentoo.org/934115 Signed-off-by: Marek Szuba <marecki@gentoo.org> dev-cpp/clhpp/clhpp-2023.04.17.ebuild | 5 ++--- dev-cpp/clhpp/clhpp-2023.12.14.ebuild | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-)