-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Python 2.7.3.px spkg does not build on Cygwin. #13319
Comments
Author: Jean-Pierre Flori |
comment:1
Some further details:
The patche we need from 9665 modifies configure.in (the other patch is just issue 14337). The updated spkg is available at: It builds correctly on Ubuntu 12.04 64 bits and is currently building on my Cygwin 1.7.16 on Windows 7 64 bits (it failed a first time but because of memory exhaustion which I often get while using Cygwin or MinGW). I've search trac for a more recent spkg than the 2.7.3.p0 but did not find anything. |
This comment has been minimized.
This comment has been minimized.
comment:2
this patch (apparently) allowed Python spkg to build on my Cygwin installation (on 32-bit Win 7). Good! The next spkg, mercurial, failed with a typical fork() trouble. But this is probably not related. I guess now I need to rebaseall, including newly created dlls... |
comment:3
Same for me about mercurial. |
Changed keywords from pythong cygwin to pythong cygwin spkg |
comment:5
Could you please use my autotools spkg to regenerate |
comment:6
Also, for timestamp reasons, the file |
comment:7
I've updated the spkg after using your autotools package and manually reversed the order of configure and configure.in in the parch file. |
spkg diff, for review only |
comment:8
Attachment: spkg.diff.gz One can remark that, although a quite similar version of autoconf was used, there are still of useless changes to the configure script... but much less than before. |
comment:9
looks OK to me. |
comment:10
Replying to @jpflori:
Indeed. This is likely because the previous |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Reviewer: Dmitrii Pasechnik |
comment:18
No problem, I understand your point. |
Dependencies: #13579 |
comment:20
In order to test Sage 5.5.rc0 on Cygwin, I created a (probably sketchy) spkg here based on #13631, the followup to #13579. JP or Jeroen can feel free to make it better, but I really wanted to try things on 5.5.rc0 since we have this little lull in merging now which gives me a breather to test this out. |
comment:21
Could you post the diff from last commit? |
comment:22
Good point, coming right up. |
Attachment: python-2.7.3.p3-python-2.7.3.p2.diff.gz Diff from #13631 to the kcrisman p3 spkg |
comment:23
Well, Python builds with this, anyway. I do get offset on the sdist.py file in hunks 1 and 2, and a huge number of warnings while untarring of
and I have no idea what that was about. As usual, the bits to build several modules were not found, but they look like the usual ones. I also got a somewhat more worrisome
but eventually everything seemed to work and
etc., so maybe we're in business... ? |
This comment has been minimized.
This comment has been minimized.
comment:24
Ok, I've slightly reworked your spkg to properly rebase it on the sage shipped spkg (I guess you took the spkg from the ticket page which does not contain the hg tag). If you wanna have a look and check it builds correctly it shoudl stay positive review I guess. I've checked it builds ok on Linux and will try Cygwin tonight. |
spkg diff, for review only |
comment:25
Attachment: python-2.7.3.p3.diff.gz I've built the spkg successfully with sage-5.5.rc0 on my windows 7 (64 bits) as well. So let's leave this as positive review, nothing really changed since Dima review, and merge this asap to avoid further rebasing. |
comment:26
Hilarious - it's yet another combo on XP and another on Mac.
Agreed. |
comment:27
Replying to @kcrisman:
That's because of a slightly different tar format (GNU tar vs. BSD tar). But that's no problem because my merger script always untars and tars the spkgs to ensure a consistent format. |
Work Issues: HTTP 404 |
comment:28
|
Changed work issues from HTTP 404 to none |
This comment has been minimized.
This comment has been minimized.
comment:29
The URL was just a little off. |
Merged: sage-5.6.beta0 |
Some patches posterior to Python 2.7.3 are needed to build on Cygwin.
Namely fixes from the issues 9665, 14437, 14438 on Python issue tracker.
Use the spkg available at:
http://boxen.math.washington.edu/home/jpflori/python-2.7.3.p3.spkg
Depends on #13579
Upstream: Fixed upstream, but not in a stable release.
CC: @kcrisman @dimpase
Component: porting: Cygwin
Keywords: pythong cygwin spkg
Author: Jean-Pierre Flori
Reviewer: Dmitrii Pasechnik
Merged: sage-5.6.beta0
Issue created by migration from https://trac.sagemath.org/ticket/13319
The text was updated successfully, but these errors were encountered: