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

Bug 665648

Summary: dev-libs/beignet-1.3.2-r2 does not "eselect" itself when installed.
Product: Gentoo Linux Reporter: eroen <erikdenstore+gbugs>
Component: Current packagesAssignee: Marek Szuba (RETIRED) <marecki>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description eroen 2018-09-10 19:14:46 UTC
When eselect-opencl and beignet are to be installed as dependencies for a third package, the user is currently required to interrupt the installation and manually run `eselect opencl set beignet` before the third package will be able to link against libOpenCL.

I expect this can be resolved by putting something like this in the beignet ebuild:

pkg_postinst() {
    eselect opencl set --use-old beignet
}
Comment 1 Marek Szuba (RETIRED) archtester gentoo-dev 2018-10-01 13:47:02 UTC
Whoops, forgot to tag the relevant commit with a link to this ticket. Should be fine now, pkg_postinst() now runs 'eselect opencl'.