-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
At end of configure, suggest a list of system packages to install #27351
Comments
comment:2
It's a good idea to make it fail on !Linux/Cygwin/Homebrew/FreeBSD. |
comment:3
Replying to @jdemeyer:
I agree, that's not the motivation at all. My point was that it happened to expose the fact that a lot of people, more than I'd imagined was the case, were trying (and in the past, presumably, succeeding) to build gfortran when it wasn't really necessary for them to. |
comment:4
Removing most of the rest of my open tickets out of the 8.7 milestone, which should be closed. |
This comment has been minimized.
This comment has been minimized.
comment:5
Instead of refusing to build it, I think we should in general suggest a list of system packages to install, at the end of the I have revised the ticket description accordingly. |
Commit: |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Dependencies: #29143 |
comment:8
The code on this branch is roughly what I have in mind for this functionality. Doesn't quite work yet. |
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:13
I'd be fine with completely reworking the package summary at the end of configure (the currently existing one that prints out every package name). I think this could be done much more clearly, ending with a list of suggested system packages to install as you describe. |
comment:14
Replying to @embray:
We reworked it recently in #28788. Further ideas for improvement - please on a new ticket. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
Needs review... |
comment:17
In a brand new tarball on an Ubuntu virtual machine:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
What about embray's suggestion to fail on some platforms if gfortran is not installed? I worry that many users will run I wouldn't object if Sage converted to the more standard |
comment:20
I don't see any message being printed on OS X with homebrew. Is this intentional? I guess so, since there aren't any files By the way, not related to this ticket, but is there a better place to put files like |
comment:21
Replying to @jhpalmieri:
I prefer the milder solution - warning instead of error - for this ticket.
Good point.
I wouldn't mind making this change. Separate ticket?
Right. |
comment:22
Replying to @jhpalmieri:
That's right, this needs to be done. That would be a follow up ticket of #29104.
Yes, in #29124 (Add script packages build/pkgs/_prereq, build/pkgs/_toolchain, build/pkgs/_bootstrap) I plan to move these files to a better location. |
comment:23
Replying to @mkoeppe:
Yes.
This is now #29310. |
comment:24
This looks okay to me as a first step. We should do more to highlight the messages, at least by encouraging people to run |
Reviewer: John Palmieri |
comment:25
Thanks! |
Changed branch from u/mkoeppe/at_end_of_configure__suggest_a_list_of_system_packages_to_install to |
There have been a spate of reports of issues like #26996 all stemming from people trying to build Sage on Linux systems that do not already have a supported Fortran compiler installed (but easily could). Likewise, for some other packages (openblas, R, ...).
embray suggests: I would [...] just fail--with a helpful error message-at
./configure
time, at least on platforms like Cygwin and most Linux distributions, to just install the system's fortran compiler, unless a flag is given to explicitly request it. [...]In this ticket we just make it a friendly message at the end of the configure run -- not just for
gfortran
, but for all packages that have system packages. We will check if this already reduces the volume of messages regarding build problems on the lists.Example:
Depends on #29143
CC: @jdemeyer @dimpase @vbraun @jhpalmieri @orlitzky @kiwifb
Component: packages: optional
Author: Matthias Koeppe
Branch/Commit:
35e1e7d
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/27351
The text was updated successfully, but these errors were encountered: