-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
Even more minor Cygwin fixes for FLINT #11727
Comments
comment:1
I suppose here hg did not see the file being opened in Unix mode, and saved in DOS mode. If I open it in vim I see
these What you need to do is to save this file in Unix mode and re-package... |
comment:2
The CR characters were introduced to this file in p7, as you can see by doing |
comment:3
Replying to @kini:
in fact hg log -p mpn_extras.h.patch shows this change, done by Jeroen, so this came in p7. I cc to him. He didn't notice, apparently. The whole src/ directory is in DOS mode there... |
comment:4
Okay, see http://sage.math.washington.edu/home/kcrisman/flint-1.5.0.p9.spkg for a fix. Can someone very quickly just check that this has fixed it? (I can't see this in pico/nano.) I think that if it works for me, and you review it, then that would be sufficient for positive review. |
comment:5
This fixes the problem. I don't see any crud in the spkg, either. cc:ing Jeroen as apparently he did it as well. I'd appreciate a quick review for folks, if possible :) |
Author: Karl-Dieter Crisman |
This comment has been minimized.
This comment has been minimized.
comment:7
Replying to @kcrisman:
patches/mpn_extras.h.patch
New package, with this done, at http://boxen.math.washington.edu/home/dima/packages/flint-1.5.0.p9.spkg |
comment:8
Thanks. I have no idea what is going on with this - I only use Mac for developing (don't create patches/spkgs on Cygwin) so I am very unfamiliar with all this. My editors don't show these things. (I'll try to check this on Cygwin soon - having some problems getting new builds started post 4.7.1, something might have changed in prereq or spkg/standard/deps.) |
Reviewer: Dima Pasechnik |
Changed author from Karl-Dieter Crisman to Karl-Dieter Crisman, Dima Pasechnik |
comment:9
Okay, your version did not change SPKG.txt (maybe mine didn't either?) so I did that, and then even added a tag for the p9 (thanks, Leif!) Still at http://sage.math.washington.edu/home/kcrisman/flint-1.5.0.p9.spkg. |
comment:10
Replying to @kcrisman:
well, on every Mac there is vim, which you can run in terminal window - and it will show you the encoding... |
comment:11
This still fixes the patch problem on Cygwin, builds ok. Positive review. Thanks, Dima, for catching the precise cause of this. |
Changed reviewer from Dima Pasechnik to Dima Pasechnik, Karl-Dieter Crisman |
comment:12
How's the storm? Did all machines survive? If you can tell me what DOS file endings are... ;) (DOS actually used Hopefully this will be the last spkg in the FLINT 1.5.0 series, so I can finally rebase my 1.5.2 one on it. |
comment:13
Replying to @nexttime:
yeah, "line endings" meant, indeed. |
comment:14
Turned out to be more of a non-event here, fortunately. Elsewhere on the US East Coast, not so much.
Yes, let's hope! |
comment:15
Please don't put tabs into the ticket's description, as trac (at least our current version) doesn't properly handle these (i.e., doesn't escape them when exporting). |
This comment has been minimized.
This comment has been minimized.
Merged: sage-4.7.2.alpha3 |
Changed reviewer from Dima Pasechnik, Karl-Dieter Crisman to Dmitrii Pasechnik, Karl-Dieter Crisman |
Changed author from Karl-Dieter Crisman, Dima Pasechnik to Karl-Dieter Crisman, Dmitrii Pasechnik |
I'm not quite sure how this happened, but apparently in newer Cygwins patch won't accept certain things.
FLINT now doesn't actually work on one of my Cygwins, even after #11547, because of an extra line that crept into one of the patches.
Note the newline at the end; removing this solves the problem. I guess this didn't cause trouble on other systems, since these patches are applied universally. I can't even figure out where this change happened.
See also #9858 and #10328 for other updates to FLINT needed.
Spkg at http://sage.math.washington.edu/home/kcrisman/flint-1.5.0.p9.spkg.
CC: @mwhansen @dimpase @nexttime @jdemeyer
Component: porting: Cygwin
Author: Karl-Dieter Crisman, Dmitrii Pasechnik
Reviewer: Dmitrii Pasechnik, Karl-Dieter Crisman
Merged: sage-4.7.2.alpha3
Issue created by migration from https://trac.sagemath.org/ticket/11727
The text was updated successfully, but these errors were encountered: