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

Bug 683216

Summary: sys-apps/hwloc-2.0.2: automagic dependency on dev-libs/ocl-icd
Product: Gentoo Linux Reporter: Tiziano Müller (RETIRED) <dev-zero>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tiziano Müller (RETIRED) gentoo-dev 2019-04-13 06:51:09 UTC
I just depcleaned dev-libs/ocl-icd on my system and got the following warning:

!!! existing preserved libs:
>>> package: dev-libs/ocl-icd-2.2.12
 *  - /usr/lib64/OpenCL/vendors/ocl-icd/libOpenCL.so.1
 *  - /usr/lib64/OpenCL/vendors/ocl-icd/libOpenCL.so.1.0.0
 *      used by /usr/lib64/libhwloc.so.15.0.1 (sys-apps/hwloc-2.0.2)
 *      used by /usr/lib64/libmca_common_monitoring.so.50.10.0 (sys-cluster/openmpi-4.0.1)
 *      used by /usr/lib64/libmca_common_ompio.so.41.19.1 (sys-cluster/openmpi-4.0.1)
 *      used by 108 other files

so it seems that hwloc has an automagic dependency on OpenCL.

Btw, the OpenCL USE flag mentioned in #564820 does not seem to exist anymore.
Comment 1 Justin Bronder (RETIRED) gentoo-dev 2019-04-15 20:27:21 UTC
commit 9377a0a43cb2a4bc366efe449419659200dc3d08
Author: Justin Bronder <jsbronder@gentoo.org>
Date:   Mon Apr 15 16:00:48 2019 -0400

    sys-apps/hwloc: explicitly disable opencl
    
    Per #683216, OpenCL will get picked up automatically.
    
    Signed-off-by: Justin Bronder <jsbronder@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11



I suspect this will take care of #683218 as well.
Comment 2 Justin Bronder (RETIRED) gentoo-dev 2019-04-15 20:28:02 UTC
*** Bug 683218 has been marked as a duplicate of this bug. ***