-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
./bootstrap: Format build/pkgs/SPKG/distros/ information to produce the apt-get/yum command lines shown in the installation manual #26964
Comments
comment:2
Retarging tickets optimistically to the next milestone. If you are responsible for this ticket (either its reporter or owner) and don't believe you are likely to complete this ticket before the next release (8.7) please retarget this ticket's milestone to sage-pending or sage-wishlist. |
comment:3
Removing most of the rest of my open tickets out of the 8.7 milestone, which should be closed. |
comment:4
Added these 2 packages to #29053. |
Dependencies: #29053 |
This comment has been minimized.
This comment has been minimized.
Changed dependencies from #29053 to none |
comment:6
I'm not sure how I feel about using the bootstrap script for this purpose. I think I would prefer if it were done by configure instead. Reason: The bootstrap script should really be limited to tasks specific to generating the |
comment:7
No, no,
None of this depends on the configuration determined by As the installation manual sources are part of the sagelib sdist, the command lines of this ticket should be prepared in the bootstrap phase. |
comment:8
Replying to @mkoeppe:
I want to clarify something about this here: Do you mean the sagelib sdist, or the sage-the-distribution sdist? I sort of see your point, but I'm still not sure why it needs to go here. Also, as part of #29119 I'm adding a Anyways, setting back to needs_work since no branch is attached. Maybe then I'll see what you're talking about. |
comment:9
Couldn't this also be done as part of |
comment:10
Replying to @embray:
Both. Currently, of course, only sage-the-distribution has a working sdist. sagelib's sdist needs fixing. You might remember ticket #21516 - Fix sagelib sdist (
In my opinion, there should only be one developer-invoked
Sure. #29041 (src/requirements.txt, src/constraints.txt, src/setup.cfg) has a branch, needs review. |
comment:11
Replying to @embray:
No, because developers who build sage out of a git worktree do not run |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:31
Replying to @mkoeppe:
Done. |
comment:32
That doesn't help, because the necessary text files are not
or the new style
better. Is there a ticket which adds homebrew information to the |
comment:33
Replying to @jhpalmieri:
The generated files are in |
comment:34
Replying to @jhpalmieri:
#29104 is for homebrew. I haven't added the package information there yet -- any help is very welcome! |
comment:35
Replying to @mkoeppe:
But this ticket doesn't change any of those .txt files. In my case I have Sage 9.1.beta3, then I switch to this branch and
|
comment:36
the idea is that one can can we get rid of |
comment:37
Replying to @jhpalmieri:
the new style is built automatically, whereas the old one was manual. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:39
Replying to @jhpalmieri:
Thanks! |
comment:40
Replying to @dimpase:
I don't think there's anything wrong with these make targets -- also autotools have them (in maintainer mode). |
comment:41
a typical autotools project won't have a Makefile in unbuilt state, only Makefile.am |
comment:42
That is true, but there are Makefile targets that regenerate configure etc. from configure.ac. |
comment:43
That works for me, thanks. I don't in general ever use |
comment:44
is |
comment:45
It's an internal script of sage the distribution. That's why it's in build/bin. |
Reviewer: John Palmieri, Dima Pasechnik |
comment:46
OK, the only nitpck is that on modern Fedora's it's |
comment:47
Thank you! |
Changed commit from |
comment:49
This breaks incremental builds: #29233 |
When trying to build Sage on a very bare fedora install (e.g. a Docker container) the packages listed in the build instructions at:
https://doc.sagemath.org/html/en/installation/source.html#linux-prerequisite-installation
are insufficient. At the very least it also needs
findutils
andwhich
, and currently it also requirespython2
, though that should be fixed as part of #26953. The need forwhich
comes, at the very least, from MPIR'sconfigure
script, which useswhich
at least on Linux.With #29053, the necessary distribution packages for an installation are cataloged in
build/pkgs/fedora.txt
,build/pkgs/SPKG/distros/fedora.txt
and similar for other distributions.In this ticket, we add to
bootstrap
some code to keep theyum
(andapt-get
for debian) command-lines in the installation manual up to date. #29053 prepared this by isolating these command lines in separate .txt files insrc/doc
.CC: @dimpase @embray @jhpalmieri
Component: documentation
Author: Matthias Koeppe
Branch:
688c68e
Reviewer: John Palmieri, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/26964
The text was updated successfully, but these errors were encountered: