Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830570 - dev-lang/julia-1.8.5-r1 fails to compile: Make.inc:1207: "Attempting to build OpenBLAS or SuiteSparse without a functioning fortran compiler!"
Summary: dev-lang/julia-1.8.5-r1 fails to compile: Make.inc:1207: "Attempting to build...
Status: CONFIRMED
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:
Depends on:
Blocks:
 
Reported: 2022-01-04 06:58 UTC by Agostino Sarubbo
Modified: 2023-05-02 10:34 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,43.37 KB, text/plain)
2022-01-04 06:58 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-04 06:58:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/julia-1.7.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-04 06:58:12 UTC
Created attachment 761239 [details]
build.log

build log and emerge --info
Comment 2 Patrick Lauer gentoo-dev 2022-01-04 08:18:34 UTC
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/lapack-3.10.0::gentoo
# required by virtual/blas-3.8::gentoo
# required by dev-lang/julia-1.7.1::gentoo
# required by julia (argument)
>=sys-devel/gcc-11.2.1_p20211127 fortran

The dependencies *require* fortran, so not having a working fortran compiler makes very little sense.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-04 08:31:54 UTC
(In reply to Patrick Lauer from comment #2)
> 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/lapack-3.10.0::gentoo
> # required by virtual/blas-3.8::gentoo
> # required by dev-lang/julia-1.7.1::gentoo
> # required by julia (argument)
> >=sys-devel/gcc-11.2.1_p20211127 fortran
> 
> The dependencies *require* fortran, so not having a working fortran compiler
> makes very little sense.

Yes, but from the log, you can see he does have it installed. So the question is why can't it detect it?
Comment 4 Agostino Sarubbo gentoo-dev 2022-01-04 19:27:31 UTC
(In reply to Patrick Lauer from comment #2)
> 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/lapack-3.10.0::gentoo
> # required by virtual/blas-3.8::gentoo
> # required by dev-lang/julia-1.7.1::gentoo
> # required by julia (argument)
> >=sys-devel/gcc-11.2.1_p20211127 fortran
> 
> The dependencies *require* fortran, so not having a working fortran compiler
> makes very little sense.

Alright.

Build log provides installed packages (qlist -ICvUSS) and gcc[fortran] is there
Comment 5 Agostino Sarubbo gentoo-dev 2022-01-04 19:27:55 UTC
ci has reproduced this issue with version 1.7.1-r1 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2022-01-05 14:04:42 UTC
the build log says it is a -native-symlink build. So I suppose it looks for gfortran or something that is not there with -native-symlink build
Comment 7 Agostino Sarubbo gentoo-dev 2023-05-02 10:34:01 UTC
ci has reproduced this issue with version 1.8.5-r1 - Updating summary.