Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863617 - sci-misc/boinc-7.20.2-r2: unnecessary dependencies on specific opencl implementations
Summary: sci-misc/boinc-7.20.2-r2: unnecessary dependencies on specific opencl impleme...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-08-04 14:04 UTC by Craig Andrews
Modified: 2022-08-09 13:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2022-08-04 14:04:20 UTC
The ebuilds states:
	opencl? (
		virtual/opencl
		video_cards_amdgpu?   ( amd64? ( dev-libs/rocm-opencl-runtime ) )
		video_cards_intel?    ( amd64? ( dev-libs/intel-compute-runtime ) )
		video_cards_nvidia?   ( x11-drivers/nvidia-drivers )
		video_cards_radeonsi? ( media-libs/mesa[opencl] )
	)

https://github.com/gentoo/gentoo/blob/c107ea718ccf7c064567904731462692d78cbd47/sci-misc/boinc/boinc-7.20.2-r2.ebuild#L50

I don't think there should be dependencies on the specific opencl implementations. No other packages in Gentoo have such dependencies.

virtual/opencl tells users that they must install a runtime... packages shouldn't also redundantly tell users to do so (or try it do it for them via dependencies):
https://github.com/gentoo/gentoo/blob/c107ea718ccf7c064567904731462692d78cbd47/virtual/opencl/opencl-3-r2.ebuild#L17

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-08-09 13:12:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb1388ddcba362863ab793817e54f67fbe1e3c85

commit bb1388ddcba362863ab793817e54f67fbe1e3c85
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2022-08-04 14:07:21 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2022-08-09 13:11:59 +0000

    sci-misc/boinc: remove VIDEO_CARDS USE flag
    
    Closes: https://bugs.gentoo.org/863617
    Signed-off-by: Craig Andrews <candrews@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/26737
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 sci-misc/boinc/boinc-7.20.2-r3.ebuild | 196 ++++++++++++++++++++++++++++++++++
 sci-misc/boinc/boinc-9999.ebuild      |  15 +--
 2 files changed, 197 insertions(+), 14 deletions(-)