Summary: | x11-drivers/ati-drivers revdep-rebuild reports about broken binary if opencl AMD is not enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anton Bolshakov <anton.bugs> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jekarlson, zerochaos |
Priority: | Normal | ||
Version: | 10.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 395521 |
Description
Anton Bolshakov
2012-11-16 01:53:33 UTC
My current opencl settings: eselect opencl list Available OpenCL implementations: [1] amd [2] nvidia * pentoo@pentoo ~ $ Or do not install /opt/bin/clinfo at all when opencl is disabled. (In reply to comment #2) > Or do not install /opt/bin/clinfo at all when opencl is disabled. This is an issue on my livecd which intel, amd, and nvidia opencl toolkits are all installed. If you have anything but amd selected it causes constant revdep-rebuild of ati-drivers. Please don't remove tools I want, just add a mask for revdep rebuild to ignore it. Greetings what does ldd /opt/bin/clinfo say What libs do nVidia/intel provide? /usr/lib64/libOpenCL.so* ? SEARCH_DIRS_MASK is probably good, just wondering whether nVidia/intel should also provide those libs... I should check khronos standards, recommendations. Please forgive me my laziness, here is the screenshot with the answers http://img42.imageshack.us/img42/3539/screenshotfrom201211190.png Creating a file /etc/revdep-rebuild/ati-drivers containing SEARCH_DIRS_MASK="/opt/bin/clinfo" fixes this issue (thanks to fuzzyray for helping). Anyone see an issue with just masking this one file? I masked the clinfo binary in x11 overlay for now, perhaps this problem will be fixed properly later. No one seems to be arguing again this fix, so fixed in the tree: + 27 Nov 2012; Rick Farina <zerochaos@gentoo.org> ati-drivers-12.10.ebuild, + ati-drivers-12.11_beta.ebuild, ati-drivers-12.4.ebuild, + ati-drivers-12.6.ebuild, ati-drivers-12.6_beta_pre897.ebuild, + ati-drivers-12.8.ebuild: + masking clinfo for revdep-rebuild, see bug #443466 Feel free to reopen and yell at me if need be but this should fix the bug and I really can't see a downside. No need to CC: me, as I am already on the x11 alias. As we are only proxying for Emil Karlson, feel free to commit any updates to ati-drivers that he makes in the x11 overlay. |