#9041: python fails to build _socket on OpenSolaris x64, so pygments fails to
build.
----------------------------+-----------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.4.3
Component: solaris | Keywords:
Author: David Kirkby | Upstream: Workaround found; Bug reported
upstream.
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Changes (by newvalueoldvalue):
* cc: jsp, robertwb (added)
* status: new => needs_review
* author: => David Kirkby
Comment:
The updated spkg is now ready for review at
http://boxen.math.washington.edu/home/kirkby/patches/python-2.6.4.p9.spkg
The attached patch looks huge, since it includes a huge C file
(patches/Modules.socketmodule.c) which is largely untouched from the
original Python file (Modules/socketmodule.c) Only the following 3 files
really need to be looked at
* SPKG.txt
* spkg-install
* patches/Modules.socketmodule.diff (the diff from the original python
file).
This contains a fix from Robert Bradsure for #9042, which I've given
positive review to.
The new python package has been tested on the following platforms, and
found to work ok.
== Testing on OS X (bsd.math) ==
The test was performed using Sage 4.4.2
{{{
Sleeping for three seconds before testing python
math module OK
hashlib module imported
real 5m26.771s
user 2m13.789s
sys 0m40.901s
Successfully installed python-2.6.4.p9
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing python-2.6.4.p9.spkg
}}}
I've checked that _socket builds - it is not listed in the list of either:
* Modules where Python could not find the necessary parts, '''or'''
* Modules which failed to build
== Testing on Linux (sage.math) ==
The test was performed using Sage 4.4.2
{{{
Sleeping for three seconds before testing python
math module OK
hashlib module imported
real 4m5.736s
user 2m21.730s
sys 0m39.420s
Successfully installed python-2.6.4.p9
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing python-2.6.4.p9.spkg
}}}
Again, the _socket module builds.
== Testing on !OpenSolaris 06/2009 build 134 on my Sun Ultra 27 (Xeon
processor) ==
The test was performed using Sage 4.4.2.
{{{
math module OK
hashlib module imported
real 1m35.872s
user 1m17.241s
sys 0m12.711s
Successfully installed python-2.6.4.p9
Now cleaning up tmp files.
rm: Cannot remove any directory in the path of the current working
directory
/export/home/drkirkby/sage-4.4.2/spkg/build/python-2.6.4.p9
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing python-2.6.4.p9.spkg
}}}
Obviously _socket builds there, otherwise I would not be submitted this as
a patch!
== Testing on Solaris 10 on SPARC (my own Sun Blade 1000) ==
The test was performed using Sage 4.4.rc0. Any differences between 4.4.rc0
and 4.4.2 should not affect the building of the python package.
I've not bothered testing on the SPARC-based Sun T5240 't2.math', as I
don't have a build of Sage on 't2'. But my own Sun Blade 1000 (SPARC
based) has an older release of Solaris 10. The fact the python module
builds on that, should ensure it builds on any later release of Solaris 10
on SPARC.
{{{
Sleeping for three seconds before testing python
math module OK
hashlib module imported
real 14m32.311s
user 11m15.781s
sys 2m22.087s
Successfully installed python-2.6.4.p9
}}}
Again, the _socket module builds ok.
== Notes to the release manager ==
1) This package includes the fix from Robert Bradsure #9042. The patch
must be applied after that at #9042. The package here at
http://boxen.math.washington.edu/home/kirkby/patches/python-2.6.4.p9.spkg
can replace Robert's python-2.6.4.p8.spkg
2) Once this is closed #9022 can be closed too, since the root cause of
the problem at #9022 is the same as here. A python module failed to build,
so two parts of Sage would not build.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9041#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.