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

Bug 608426

Summary: app-eselect/eselect-opencl-1.1.0-r4 missing intended functionality
Product: Gentoo Linux Reporter: Amaroun <vit.kasal>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 651660    
Attachments: Copies cl.hpp for each version if available on src_install;Creates unversioned CL simlink to CL-1.2;

Description Amaroun 2017-02-06 12:41:48 UTC
Created attachment 462610 [details, diff]
Copies cl.hpp for each version if available on src_install;Creates unversioned CL simlink to CL-1.2;

On src_install, it tries to copy cl.hpp file for all supported versions (1.1 1.2 2.1) into single ABI directory, as the target directory uses variable iterating in for cycle already finished.

On profile switch, it tries to fill implementation specific include files using default ones, supplied by eselect-opencl package. Sadly, it uses files in /usr/$(get_libdir)/OpenCL/global/include/CL, which does not exists, as only /usr/$(get_libdir)/OpenCL/global/include/CL-${OCL-ABI} directories are installed for specific versions of OpenCL, no dir without version.

See patch for proposed solution (can be tested as app-eselect/eselect-opencl-1.1.0-r5::gamarouns)

BTW please upgrade to EAPI6