-
-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building gfortran fails on GNU/Linux with Apple silicon #38424
Comments
Sage should leave building Fortran to experts. |
tachyon issue is a different one. for one, tachyon doesn't use Fortran. That is, just use gfortran from OS. |
Thanks very much, this package is in the hand of an expert. |
Installing the fedora package works. |
@aikrahguzar Please try with |
Thanks a lot. I checked out that commit, uninstalled the fedora gfortran and then ran Edit: The build itself fails while building tachyon but that is an unrelated issue and has been fixed separately. |
Thanks for testing! |
<!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> - Fixes sagemath#38424 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#38442 Reported by: Matthias Köppe Reviewer(s):
Environment
Steps To Reproduce
I ran on a Macbook air M2 running Fedora Asahi Linux,
Config log
config.log.txt
Package logs
gfortran-13.2.0.log.txt
Additional Information
The error seems to be due to the fact that the build process tries to install darwin version of the gfrotran and not the linux version.
I can workaround this by installing gfrotran from fedora repos. However that runs into issue with installing tachyon #23712 (comment)
[Aside] I have a working installation of sage from nixpkgs. I wonder how they are getting around the tachyon issue.
Checklist
The text was updated successfully, but these errors were encountered: