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

Bug 908103

Summary: app-crypt/libb2: pulls gcc as RDEPEND when openmp USE flag is enabled
Product: Gentoo Linux Reporter: Edoardo Liverani <eddyx89>
Component: Current packagesAssignee: Fabian Groffen <grobian>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Edoardo Liverani 2023-06-09 09:58:16 UTC
I am reporting a possible bug in the app-crypt/libb2 ebuild. I noticed that when the openmp USE flag is enabled, the ebuild adds gcc as RDEPEND. This seems unnecessary and incorrect, as gcc should not be a runtime dependency for this package, imho.
I am not familiar with this package nor this USE, so I'm not sure it's a bug, but I took a look at other packages with openmp USE and none of them adds gcc as a dependency, neither run-time nor build-time.
The problem turns up when emerging a list of packages to an empty root that I'd like to keep clean without build dependencies.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-09 10:02:28 UTC
If you're using openmp, then you do genuinely need gcc at runtime for libomp.