#11243: python spkg build fails on Ubuntu 11.04
-------------------------------------------------------------+--------------
Reporter: pipedream | Owner:
Type: defect | Status:
needs_review
Priority: blocker | Milestone:
sage-4.7
Component: build | Resolution:
Keywords: | Work_issues:
Upstream: None of the above - read trac for reasoning. | Reviewer:
David Kirkby, Jan Groenewald
Author: Jan Groenewald, David Kirkby | Merged:
Dependencies: |
-------------------------------------------------------------+--------------
Changes (by pipedream):
* owner: ddrake =>
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).
>
> == Note for the release manager ==
>
> Just merge
>
> http://boxen.math.washington.edu/home/kirkby/patches/python-2.6.4.p10.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).
== Note for the release manager ==
Not ready for merging
--
Comment:
The sage subshell does not find lsb_release.
{{{
jan@mamadou-laptop:/usr/local/src/sage-4.6.2/spkg/build/python-2.6.4.p10$
cat mytest
#!/usr/bin/env bash
lsb_release -d
jan@mamadou-laptop:/usr/local/src/sage-4.6.2/spkg/build/python-2.6.4.p10$
./mytest
Description: Ubuntu 11.04
jan@mamadou-laptop:/usr/local/src/sage-4.6.2/spkg/build/python-2.6.4.p10$
sage -sh mytest
Starting subshell with Sage environment variables set.
Be sure to exit when you are done and do not do anything
with other copies of Sage!
Bypassing shell configuration files ...
Traceback (most recent call last):
File "/usr/bin/lsb_release", line 26, in <module>
import lsb_release
ImportError: No module named lsb_release
Exited Sage subshell.
jan@mamadou-laptop:/usr/local/src/sage-4.6.2/spkg/build/python-2.6.4.p10$
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11243#comment:30>
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.