-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
Reduce outdated gdb and valgrind packages to dummy script packages #30158
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
indeed, looks like makeinfo is missing; can we just add makeinfo to the list of reqs on Linux (typically, it's texinfo, at least on debian/ubuntu package) alternatively modify spkg-install to configure without makeinfo. |
comment:4
Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date. |
This comment has been minimized.
This comment has been minimized.
comment:9
Rather than dummy packages, or maybe in addition, would it make sense to put the relevant scripts in their own package? Or just document how to replicate their effects in the Developer's Guide, as I think @orlitzky suggested on sage-devel? |
comment:10
These packages don't supply the scripts; they are equivalent to any system installation of gdb or valgrind. One thing that our So it could make sense to vendor python3's supp files as part of #33074. |
comment:11
What benefit would we get from script packages opposed to removal? I think the scripts can go, but not before we add some docs. There are a few critical tricks one needs to know:
The python3 suppression rules generally won't be installed, but instead of vendoring them for the zero people that currently use this, we could probably just link to the rules file in the upstream repo. This is a process that's heavy on manual intervention anyway. |
comment:12
Replying to @mkoeppe:
Sorry, I wasn't very clear. By "maybe in addition," I was asking if there should be a new package that supplies the scripts,
I don't know how any of this works. If someone uses a system Python without
Anyway, if it is possible to mix |
comment:13
Regarding this I tend to agree with @orlitzky. Unlike some aspects of Sage, this is something that will only be used by people who know what they're doing, and they should be able to handle reading some docs to do it. Other parts of Sage must be accessible to math students and math researchers and other computer neophytes, but not |
comment:14
Replying to @orlitzky:
Dummy script packages are there for advertising system package information. |
comment:15
Replying to @jhpalmieri:
Yes, the idea of the I like the idea of this script, but the details need updating. I needed valgrind only once in the last 5 years and noticed that it was outdated but didn't have the energy to make the proper update. For such rare uses, an updated script (and a vendored copy of the Python suppressions -- note that they are NOT frequently updated upstream) would be of great value. |
comment:16
Replying to @jhpalmieri:
That would of course be possible; but I am not sure if it would be an improvement. |
comment:17
Replying to @mkoeppe:
Yeah, I know, but... do we really need to suggest installing gdb and valgrind to people? Installing them doesn't improve the normal sage experience. And anyone who's actually going to use them is aware of their existence. |
The scripts are updated in: The packages are reduced to dummy in: |
sagemathgh-38306: Reduce outdated `gdb` and `valgrind` packages to dummy packages <!-- ^ 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". --> - As discussed in sagemath#30158. Resolves sagemath#30158. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] 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#38306 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
sagemathgh-38306: Reduce outdated `gdb` and `valgrind` packages to dummy packages <!-- ^ 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". --> - As discussed in sagemath#30158. Resolves sagemath#30158. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] 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#38306 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
These are devtools, not needed for building.
Last update to
gdb
was made in 2018Last update to
valgrind
was made in 2019CC: @dimpase @jhpalmieri @orlitzky
Component: packages: experimental
Issue created by migration from https://trac.sagemath.org/ticket/30158
The text was updated successfully, but these errors were encountered: