#18438: Race between building and using python
----------------------+-------------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.7
Component: build | Keywords: random_fail
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------+-------------------------------
I think what happened below is that the build system tried to use the
sage-download-file script while Python was in the process of being
installed. Rebuild works. We should probably use sage-native-execute
python:
{{{
Found local metadata for ntl-6.2.1.p0
Attempting to download package ntl-6.2.1.p0
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
File "/mnt/disk/home/buildslave-sage/slave/sage_git/build/src/bin/sage-
download-file", line 11, in <module>
import contextlib
File "/mnt/disk/home/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/contextlib.py", line 4, in
<module>
from functools import wraps
File "/mnt/disk/home/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/functools.py", line 10, in
<module>
from _functools import partial, reduce
ImportError: No module named _functools
Error: spkg file '/mnt/disk/home/buildslave-
sage/slave/sage_git/build/upstream/ntl-6.2.1.tar.bz2' not found.
This shouldn't happen, it is a bug in the sage-spkg script.
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/18438>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.