Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 826914

Summary: media-libs/opensubdiv-3.4.4-r2 : Cmake list index: 1 out of range (-1, 0)
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Adrian <agrigo2001>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ionen, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info

Description Helmut Jarausch 2021-11-23 15:13:40 UTC
Created attachment 755574 [details]
build log

I get several
CMake Error at cmake/FindOpenCL.cmake:189 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:350 (find_package)
Comment 1 Helmut Jarausch 2021-11-23 15:14:14 UTC
Created attachment 755578 [details]
emerge --info
Comment 2 Ionen Wolkens gentoo-dev 2021-11-23 18:36:46 UTC
Hm, the only way I see this would happen is if it finds CL/cl.hpp (in /usr/include or /usr/local/include)

This /used/ to be installed by dev-libs/clhpp but that hasn't been the case since version 2.0.11 (not in tree anymore, current stable 2.0.15 doesn't install it)

Any idea?
Comment 3 Helmut Jarausch 2021-11-24 09:47:22 UTC
Many thanks, there existed /usr/include/CL/cl.hpp indeed.
After removing it, emerge succeeded.