#11243: python spkg build fails on Ubuntu 11.04
----------------------------+-----------------------------------------------
   Reporter:  pipedream     |          Owner:  GeorgSWeber                      
           
       Type:  defect        |         Status:  needs_review                     
           
   Priority:  major         |      Milestone:  sage-4.7.1                       
           
  Component:  build         |       Keywords:                                   
           
Work_issues:                |       Upstream:  None of the above - read trac 
for reasoning.
   Reviewer:  David Kirkby  |         Author:  Jan Groenewald, David Kirkby     
           
     Merged:                |   Dependencies:                                   
           
----------------------------+-----------------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * author:  Jan Groenewald => Jan Groenewald, David Kirkby


Old description:

> http://groups.google.com/group/sage-
> devel/browse_thread/thread/593b9a4124f5075d
>
> This patch is a fix for Ubuntu 11.04. Ubuntu already patch their python
> like this.  It is not a python bug. It is the Ubuntu+python combination,
> see the above thread for an answer I got from bugs.python.org.
>
> If this harms building on other systems, I can make it specific to
> checking the Ubuntu version and only then applying the patch (using
> lsb_release -d).
>
> To test, untar SAGE_ROOT/spkg/standard/python-2.6.4.p9.spkg, in there
> replace with attached versions:
>
> SPKG.txt
> spkg-install
> patches/Setup.dist
> patches/Setup.dist.patch
>
> tar up as python 2.6.4.p10.spkg
> sage -f python-2.6.4.p10.spkg
>
> Revert with sage -f python-2.4.6.p9.spkg

New description:

 http://groups.google.com/group/sage-
 devel/browse_thread/thread/593b9a4124f5075d

 This patch is a fix for Ubuntu 11.04. Ubuntu already patch their python
 like this.  It is not a python bug. It is the Ubuntu+python combination,
 see the above thread for an answer I got from bugs.python.org.

 If this harms building on other systems, I can make it specific to
 checking the Ubuntu version and only then applying the patch (using
 lsb_release -d).

 '{{{11243-build-crypto-on-Ubuntu-11.04.patch}}}' is for review purposes
 only.

 An updated package, which should fix the problem can be found at:
 http://boxen.math.washington.edu/home/kirkby/patches/python-2.6.4.p10.spkg

--

Comment:

 I've created a package which I think addresses the problem although I
 can't check it as I don't have a Ubuntu 11.04 system set up. This should
  * Use a portable method to check for Ubuntu 11.04 which will not generate
 any error messages on systems which do not have the '{{{lsb_release}}}'
 command.
  * Builds the '{{{crypto}}}' module on Ubuntu 11.04
  * Changes the method of checking that the '{{{haslib}}}' and '{{{math}}}'
 modules import properly by using a loop rather than repeating almost
 identical code.
  * Check that the '{{{crypto}}}' module actually imports properly on
 Ubuntu 11.04

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11243#comment:6>
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.

Reply via email to