From d2738ece190a1586bbe2c5eadf94c46e0cf17dfb Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.com> Date: Mon, 2 Jun 2014 10:40:09 -0400 Subject: [PATCH] fix for 2.6.x series --- builds/runtimes/python-2.6.0 | 4 +++- builds/runtimes/python-2.6.1 | 3 +++ builds/runtimes/python-2.6.2 | 3 +++ builds/runtimes/python-2.6.3 | 3 +++ builds/runtimes/python-2.6.4 | 3 +++ builds/runtimes/python-2.6.5 | 3 +++ builds/runtimes/python-2.6.6 | 3 +++ builds/runtimes/python-2.6.7 | 3 +++ builds/runtimes/python-2.6.8 | 3 +++ builds/runtimes/python-2.6.9 | 3 +++ 10 files changed, 30 insertions(+), 1 deletion(-) diff --git a/builds/runtimes/python-2.6.0 b/builds/runtimes/python-2.6.0 index 88301d27..950b04ab 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 2bb5e68d..c59e62fa 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 d79a3b59..895c69c4 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 c130830f..14ba4370 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 7ecd7c56..93179d91 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 e70de684..62a7c410 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 69276fd7..f4200b97 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 6639db28..9d7f6cea 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 01b60731..20493c70 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 b346d704..1fb010fa 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 -- GitLab