Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932638 - dev-cpp/clhpp-2023.12.14 fails tests: Make Error at tests/CMakeLists.txt:135 (add_executable): Cannot find source file
Summary: dev-cpp/clhpp-2023.12.14 fails tests: Make Error at tests/CMakeLists.txt:135 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-05-24 15:20 UTC by matoro
Modified: 2024-06-12 13:52 UTC (History)
1 user (show)

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


Attachments
build.log and emerge --info (file_932638.txt,14.94 KB, text/plain)
2024-05-24 15:20 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-05-24 15:20:55 UTC
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.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-12 06:53:20 UTC
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"
```
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-12 06:56:27 UTC
(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
Comment 3 Larry the Git Cow gentoo-dev 2024-06-12 13:52:11 UTC
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(-)