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
Add GNU patch 2.5.9 as a standard package. #9418
Comments
comment:3
Would you care to provide a |
Work Issues: deps.patch |
Author: David Kirkby |
Changed keywords from none to patch spkg |
Attachment: install.patch.gz Patch for the install file in the sage_scripts-4.6.1.alpha1 package. |
Attachment: install.gz Replacement 'install' file |
comment:5
I'm somewhat puzzled. There seems to be two copies of the install file - one in I think its only necessary to update the one in spkg, which makes me wonder whats the point of the one in the sage_scripts package. That has a repository, but there are uncommitted changes. Dave |
comment:6
I just realised, I ommitted to add PATCH as a dependancy of GAP. It's implied anyway, due to the fact readline, sage and termcap all depend on patch, and gap depends on all them. But I will correct it to make it clearer. IMHO, it would be a lot nice if this file was sorted alphabetically a bit better, but I wont do that now. |
Changed work issues from deps.patch to none |
SPKG.txt |
Attachment: SPKG.txt spkg-check |
Attachment: spkg-check.gz Attachment: spkg-install.gz spkg-install |
comment:9
I realised I had not stuck a Mercurial repository in the package - I guess I was expecting people to want to make changes. But I've added one now. I don't know if its normal to add the SPKG.txt, spkg-install and spkg-check files to a new package, but I've them here anyway. No doubt Leif will find something wrong! Dave |
comment:10
What I meant to say was, I don't know if its normal to attach those 3 files to the ticket. But it can't do any harm I guess. |
Remove the spkg-check file, as this version of patch has no self-tests that can be run. |
comment:35
Attachment: 9418-remove-spkg-check-file.patch.gz I've checked the version at http://boxen.math.washington.edu/home/kirkby/older/patch-2.5.9.spkg installs OK on
I can confirm that 2.6.1 did fail to install on Solaris 10 on SPARC (t2.math) Dave |
This comment has been minimized.
This comment has been minimized.
comment:36
We need info about if this builds OK on other operating systems. I've changed from Needs Work -> Needs Info, as I think this should need no further changes. Can someone confirm it works on OS X 10.4? If so, I think this will be ready for review. Dave |
Reviewer: David Kirkby, Jeroen Demeyer, John Cremona |
Changed author from David Kirkby to David Kirkby, Jeroen Demeyer |
Work Issues: Check on OS X 10.4 |
comment:38
David's spkg works on OS X 10.4 (as expected) |
Changed work issues from Check on OS X 10.4 to none |
comment:39
With this now checked on
I think this is enough for a positive review. I've set to needs review. If someone else feels likewise, we might as well set this to positive. If there are any issues on fully supported platforms, the buildbot should find them. Will the sphinx package that has been used as a test be in the next alpha? If so, that will test not only the build, but also the functionality. Dave |
comment:40
Replying to @sagetrac-drkirkby:
Yes, it will be in the next alpha (unless there is major breakage on my own testing systems), but it still needs_review (#10118). |
comment:41
PS, it would be useful to attach a build log of the failure to build on OS X 10.4 with patch 2.6.1, along with the config.log for OS X. Just log building the upstream source, outside of Sage. I'll do likewise for Solaris 10 on SPARC. Then I can report the bug with patch 2.6.1 upstream, and provide links to the failed logs. Having provided links to failed builds on two platforms, the developers should be in a good position to fix the bug. Dave |
comment:42
Fixed a trivial typo ( New spkg: http://sage.math.washington.edu/home/jdemeyer/spkg/patch-2.5.9.spkg |
This comment has been minimized.
This comment has been minimized.
Merged: sage-4.6.1.alpha2 |
comment:44
See #10299 for a follow-up. |
comment:45
Replying to @sagetrac-drkirkby:
Should we ask Microsoft if we can make Stop environmental pollution... We already have nice environment variables like " P.S.: Why not add the As is, all standard spkgs will get rebuilt on an upgrade (to a version of Sage with |
comment:46
Leif: I don't have any particular feelings either in favour of or against your suggestions. Feel free to open a new ticket for these issues. About |
As discussed here:
http://groups.google.co.uk/group/sage-devel/browse_thread/thread/c566520374106df3
GNU patch is to be added as a standard package to Sage, to allow the use of 'patch' to be used to make patches, rather than to us 'cp' as now.
A new package may be found here
http://sage.math.washington.edu/home/jdemeyer/spkg/patch-2.5.9.spkg
In order to test this spkg, you could also try installing a new Sphinx spkg using patch: http://sage.math.washington.edu/home/jdemeyer/spkg/sphinx-1.0.4.p3.spkg (there is a corresponding .p1 using cp, see #10118 for the Sphinx upgrade).
Once this is done, the Sage Developers Guide will need to be updated to reflect a new method to create patches. A separate ticket #9419 has been opened for that.
CC: @nexttime
Component: build
Keywords: patch spkg
Author: David Kirkby, Jeroen Demeyer
Reviewer: David Kirkby, Jeroen Demeyer, John Cremona
Merged: sage-4.6.1.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/9418
The text was updated successfully, but these errors were encountered: