Which some helps on a chat, it turned out an upstream bug in FindOpenCL.cmake which prompts to disable OpenCL support for the time being.

On 2020-09-23 5:57 p.m., Luya Tshimbalanga wrote:

Hello team,

As part to adhering the Fedora cmake guideline, opensubdiv oddly failed to build without a proper details. As I am unfamiliar with cmake debugging, here is the tail result:

- Found TBB: /usr/include (found suitable version "2020.3", minimum required is 
"4.0")
-- Found OpenGL: /usr/lib64/libOpenGL.so
CMake Error at cmake/FindOpenCL.cmake:189 (list):
   list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
   CMakeLists.txt:328 (find_package)


CMake Error at cmake/FindOpenCL.cmake:189 (list):
   list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
   CMakeLists.txt:328 (find_package)


CMake Error at cmake/FindOpenCL.cmake:189 (list):
   list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
   CMakeLists.txt:328 (find_package)


CMake Error at cmake/FindOpenCL.cmake:188 (list):
   list GET given empty list
Call Stack (most recent call first):
   CMakeLists.txt:328 (find_package)


CMake Error at cmake/FindOpenCL.cmake:189 (list):
   list GET given empty list
Call Stack (most recent call first):
   CMakeLists.txt:328 (find_package)


-- Found OpenCL: /usr/lib64/libOpenCL.so (found suitable version "12.", minimum required 
is "1.1")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found GLFW: /usr/include (found suitable version "3.3.2", minimum required is 
"3.0.0")
-- Found Doxygen: /usr/bin/doxygen (found suitable version "1.8.20", minimum required is 
"1.8.4") found components: doxygen dot
-- Found Docutils: /usr/bin/rst2html (found suitable version "0.16", minimum required is 
"0.9")
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.9", minimum required 
is "3")
-- Configuring incomplete, errors occurred!
See also 
"/builddir/build/BUILD/OpenSubdiv-3_4_3/x86_64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log".
See also 
"/builddir/build/BUILD/OpenSubdiv-3_4_3/x86_64-redhat-linux-gnu/CMakeFiles/CMakeError.log".
error: Bad exit status from /var/tmp/rpm-tmp.m9Rf0v (%build)


RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.m9Rf0v (%build)


You can view the full details on https://download.copr.fedorainfracloud.org/results/luya/OpenSubdiv/fedora-33-x86_64/01682937-opensubdiv/

Opensubdiv is needed for Blender 2.90 series.

Thanks in advance.

--
Luya Tshimbalanga
Fedora Design Team
Fedora Design Suite maintainer

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

--
Luya Tshimbalanga
Fedora Design Team
Fedora Design Suite maintainer

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to