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

Bug 765739

Summary: sci-libs/amd depends on virtual/fortran even if USE=-fortran
Product: Gentoo Linux Reporter: tka <tka>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: frp.bissey, ionen, kingjon3377
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/19090
Whiteboard:
Package list:
Runtime testing required: ---

Description tka 2021-01-17 13:49:11 UTC
# emerge -pv sci-libs/amd

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-devel/gcc-10.2.0-r5:10::gentoo  USE="(cxx) fortran* hardened nptl openmp (pie) sanitize (ssp) test vtv (-ada) -d -debug -doc (-fixed-point) -go -graphite -jit (-libssp) -lto (-multilib) -nls -objc -objc++ -objc-gc (-pch) -pgo -systemtap -vanilla -zstd" 73270 KiB
[ebuild  N     ] virtual/fortran-0::gentoo  USE="openmp" 0 KiB
[ebuild   R    ] sci-libs/amd-2.4.6-r1::gentoo [2.4.6-r1::local] USE="-doc -fortran" 0 KiB

Total: 3 packages (1 new, 2 reinstalls), Size of downloads: 73270 KiB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by virtual/fortran-0::gentoo
# required by sci-libs/amd-2.4.6-r1::gentoo
# required by sci-libs/amd (argument)
>=sys-devel/gcc-10.2.0-r5 fortran


Reproducible: Always
Comment 1 François Bissey 2021-01-17 19:00:51 UTC
It needs the FORTRAN_NEEDED variable as in the pull request indeed.
Comment 2 Larry the Git Cow gentoo-dev 2021-06-11 12:42:29 UTC
The bug has been closed via the following commit(s):

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

commit 6b5baeaee2cf11265852f0edbd1d2c28eee4d1c0
Author:     Timo Kamph <tka@kamph.org>
AuthorDate: 2021-01-17 13:50:34 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-06-11 12:42:26 +0000

    sci-libs/amd: only depend on virtual/fortran if USE=fortran
    
    Closes: https://bugs.gentoo.org/765739
    Signed-off-by: Timo Kamph <tka@kamph.org>
    Closes: https://github.com/gentoo/gentoo/pull/19090
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/amd/amd-2.4.6-r1.ebuild | 1 +
 sci-libs/amd/amd-2.4.6.ebuild    | 1 +
 2 files changed, 2 insertions(+)