-
-
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
Removal of pyprocessing causing problems as _multiprocessing not building on Solaris #8440
Comments
This comment has been minimized.
This comment has been minimized.
Author: David Kirkby |
Changed upstream from Fixed upstream, but not in a stable release. to Not yet reported upstream; Will do shortly. |
comment:2
The solution to this problem is found in the old pyprocessing package, where it says:
This is not as well documented in Python's setup.py, but by setting
in Python's top-level setup.py, the problem goes away. Python's build then reports:
The _multiprocessing module is now building ok. The new setup.py has a Solaris-specific section, which I added. However, so reviewers can be even more confident this will only affect Solaris, the patch is only applied on Solaris. I also took time to address a minor issue at #8356, where '--without-libpng' was used, despite the fact the option is no longer recognised. == Notes for Release Manager ==
This patch should be applied on top of the changes at #7867 Once this ticket is closed, #8356 may be closed too. It would be appreciated if #8374, #8375, 8391 and #8404 could also be integrated into the next alpha, as that would have a high probability of allowing all doc tests to pass. All these tickets have positive review. |
comment:3
I forgot to put the location of the package http://boxen.math.washington.edu/home/kirkby/portability/python-2.6.4.p7/python-2.6.4.p7.spkg Patch will be attached in a minute |
Attachment: 8440-python.patch.gz Mercurial patch |
comment:4
The updated package python-2.6.4.p7.spkg needs a minor clean up:
That is, we don't place Python bytecode under revision control. Nor do we put any binary or Python bytecode under the directory "patches/". |
comment:5
Hi Minh, There should be a .spkg in the directory http://boxen.math.washington.edu/home/kirkby/portability/python-2.6.4.p7/ which does (for me at least) not have any such file or problem. There should be a directory below that where I extracted the file. But when I look with the browser, I can not see any of it! So in summary.
If you look at this location, you might find the package, but I'm totally confused. I think the file system might be messed up.
I will have to look later, as I need to go out now. Dave |
comment:6
I managed to look at this in more detail today. The reason the directory was not visable was a permissions problem, and nothing to do with file system errors. I still can't understand why you see this odd file, as I don't:
|
comment:7
Minh, could you double- check you are using the same package as me, since I simply can't see this spurious file. |
Reviewer: Minh Van Nguyen |
comment:8
Replying to @sagetrac-drkirkby:
I have re-checked python-2.6.4.p7.spkg and indeed it's OK by me. I have no idea why I received the warning about a bytecode file under the directory
On all systems/platforms that I tested, the said Python package builds as claimed. Where relevant (i.e. bsd.math, rosemary.math, sage.math), all doctests passed. |
Merged: sage-4.3.4.alpha1 |
comment:10
#8356 can be closed too following the inclusion of this updated python package. dave |
Since #6503 removed pyprocessing from Sage, multiprocessing (or perhaps _multiprocessing) is needed, but this is not building on Solaris 10 SPARC.
Further down the log, the fact the _multiprocessing module has failed to build is clearly stated:
Upstream: Not yet reported upstream; Will do shortly.
CC: @mwhansen @jhpalmieri @williamstein @sagetrac-mvngu @jaapspies
Component: porting: Solaris
Author: David Kirkby
Reviewer: Minh Van Nguyen
Merged: sage-4.3.4.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/8440
The text was updated successfully, but these errors were encountered: