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

Bug 759109

Summary: sys-devel/bc: bc-1.07.1-use-system-bc.patch - needs sys-devel/bc in BDEPEND
Product: Gentoo Linux Reporter: Aisha Tammy <gentoo>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aisha Tammy 2020-12-08 19:21:58 UTC
the patch calls system bc but that means it needs system bc to be installed

https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-devel/bc/files/bc-1.07.1-use-system-bc.patch
Comment 1 SpanKY gentoo-dev 2022-09-09 08:14:23 UTC
while true, there isn't really a way to express this since it's a self-circular loop when not cross-compiling.  ebuilds have no way of expressing "only when cross-compiling" in dependencies.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-10 06:07:10 UTC
What we tend to do is build one for CBUILD within the ebuild if it's not already installed.