#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, Dan Drake
Author: Jan Groenewald, David Kirkby | Merged:
Dependencies: |
-------------------------------------------------------------+--------------
Changes (by pipedream):
* reviewer: David Kirkby, Jan Groenewald => David Kirkby, Jan
Groenewald, Dan Drake
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 ==
>
> Not ready for merging
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. It
potentially affects future multiarch Debian/Ubuntu and derivatives. (At
some point python 2.7 series
may be patched upstream though.)
== Note for the release manager ==
Not ready for merging
--
Comment:
New patch attached. lsb_release is a python script trying to import a
system python package called lsb_release. I changed to check /etc/issue
exists, and if so contains Ubuntu 11.04.
I also added an exit if the patch fails to apply, which we forgot to add
before. That will also prevent already patched sources in src/ as the
patch will fail to apply.
New spkg at http://users.aims.ac.za/~jan/python-2.6.4.p10.spkg
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11243#comment:31>
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.