diff --git a/builds/runtimes/python-2.6.0 b/builds/runtimes/python-2.6.0 index 88301d2..950b04a 100755 --- a/builds/runtimes/python-2.6.0 +++ b/builds/runtimes/python-2.6.0 @@ -3,7 +3,9 @@ # Build Deps: libraries/sqlite OUT_PREFIX=$1 -unset LANG PYTHONHOME PYTHONPATH PYTHONBUFFER PYTHONDONTWRITEBYTECODE + +# Protect 2.6 builds from parent Python (causes segfault during build). +unset LANG PYTHONHOME PYTHONPATH echo "Building Python..." SOURCE_TARBALL='http://www.python.org/ftp/python/2.6/Python-2.6.tar.bz2' diff --git a/builds/runtimes/python-2.6.1 b/builds/runtimes/python-2.6.1 index 2bb5e68..c59e62f 100755 --- a/builds/runtimes/python-2.6.1 +++ b/builds/runtimes/python-2.6.1 @@ -4,6 +4,9 @@ OUT_PREFIX=$1 +# Protect 2.6 builds from parent Python (causes segfault during build). +unset LANG PYTHONHOME PYTHONPATH + echo "Building Python..." SOURCE_TARBALL='http://python.org/ftp/python/2.6.1/Python-2.6.1.tgz' curl -L $SOURCE_TARBALL | tar xz diff --git a/builds/runtimes/python-2.6.2 b/builds/runtimes/python-2.6.2 index d79a3b5..895c69c 100755 --- a/builds/runtimes/python-2.6.2 +++ b/builds/runtimes/python-2.6.2 @@ -4,6 +4,9 @@ OUT_PREFIX=$1 +# Protect 2.6 builds from parent Python (causes segfault during build). +unset LANG PYTHONHOME PYTHONPATH + echo "Building Python..." SOURCE_TARBALL='http://python.org/ftp/python/2.6.2/Python-2.6.2.tgz' curl -L $SOURCE_TARBALL | tar xz diff --git a/builds/runtimes/python-2.6.3 b/builds/runtimes/python-2.6.3 index c130830..14ba437 100755 --- a/builds/runtimes/python-2.6.3 +++ b/builds/runtimes/python-2.6.3 @@ -4,6 +4,9 @@ OUT_PREFIX=$1 +# Protect 2.6 builds from parent Python (causes segfault during build). +unset LANG PYTHONHOME PYTHONPATH + echo "Building Python..." SOURCE_TARBALL='http://python.org/ftp/python/2.6.3/Python-2.6.3.tgz' curl -L $SOURCE_TARBALL | tar xz diff --git a/builds/runtimes/python-2.6.4 b/builds/runtimes/python-2.6.4 index 7ecd7c5..93179d9 100755 --- a/builds/runtimes/python-2.6.4 +++ b/builds/runtimes/python-2.6.4 @@ -4,6 +4,9 @@ OUT_PREFIX=$1 +# Protect 2.6 builds from parent Python (causes segfault during build). +unset LANG PYTHONHOME PYTHONPATH + echo "Building Python..." SOURCE_TARBALL='http://python.org/ftp/python/2.6.4/Python-2.6.4.tgz' curl -L $SOURCE_TARBALL | tar xz diff --git a/builds/runtimes/python-2.6.5 b/builds/runtimes/python-2.6.5 index e70de68..62a7c41 100755 --- a/builds/runtimes/python-2.6.5 +++ b/builds/runtimes/python-2.6.5 @@ -4,6 +4,9 @@ OUT_PREFIX=$1 +# Protect 2.6 builds from parent Python (causes segfault during build). +unset LANG PYTHONHOME PYTHONPATH + echo "Building Python..." SOURCE_TARBALL='http://python.org/ftp/python/2.6.5/Python-2.6.5.tgz' curl -L $SOURCE_TARBALL | tar xz diff --git a/builds/runtimes/python-2.6.6 b/builds/runtimes/python-2.6.6 index 69276fd..f4200b9 100755 --- a/builds/runtimes/python-2.6.6 +++ b/builds/runtimes/python-2.6.6 @@ -4,6 +4,9 @@ OUT_PREFIX=$1 +# Protect 2.6 builds from parent Python (causes segfault during build). +unset LANG PYTHONHOME PYTHONPATH + echo "Building Python..." SOURCE_TARBALL='http://python.org/ftp/python/2.6.6/Python-2.6.6.tgz' curl -L $SOURCE_TARBALL | tar xz diff --git a/builds/runtimes/python-2.6.7 b/builds/runtimes/python-2.6.7 index 6639db2..9d7f6ce 100755 --- a/builds/runtimes/python-2.6.7 +++ b/builds/runtimes/python-2.6.7 @@ -4,6 +4,9 @@ OUT_PREFIX=$1 +# Protect 2.6 builds from parent Python (causes segfault during build). +unset LANG PYTHONHOME PYTHONPATH + echo "Building Python..." SOURCE_TARBALL='http://python.org/ftp/python/2.6.7/Python-2.6.7.tgz' curl -L $SOURCE_TARBALL | tar xz diff --git a/builds/runtimes/python-2.6.8 b/builds/runtimes/python-2.6.8 index 01b6073..20493c7 100755 --- a/builds/runtimes/python-2.6.8 +++ b/builds/runtimes/python-2.6.8 @@ -4,6 +4,9 @@ OUT_PREFIX=$1 +# Protect 2.6 builds from parent Python (causes segfault during build). +unset LANG PYTHONHOME PYTHONPATH + echo "Building Python..." SOURCE_TARBALL='http://python.org/ftp/python/2.6.8/Python-2.6.8.tgz' curl -L $SOURCE_TARBALL | tar xz diff --git a/builds/runtimes/python-2.6.9 b/builds/runtimes/python-2.6.9 index b346d70..1fb010f 100755 --- a/builds/runtimes/python-2.6.9 +++ b/builds/runtimes/python-2.6.9 @@ -4,6 +4,9 @@ OUT_PREFIX=$1 +# Protect 2.6 builds from parent Python (causes segfault during build). +unset LANG PYTHONHOME PYTHONPATH + echo "Building Python..." SOURCE_TARBALL='http://python.org/ftp/python/2.6.9/Python-2.6.9.tgz' curl -L $SOURCE_TARBALL | tar xz