From e478a34043087fe833f82616eaeb005f5f338c86 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 13 Mar 2014 15:11:28 +0000 Subject: main/python: rebuild with working mutiprocessing The build server did not have /dev/shm so python got built without multiprocessing. ref #2747 --- main/python/APKBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'main') diff --git a/main/python/APKBUILD b/main/python/APKBUILD index fad33f84e..61de1eef4 100644 --- a/main/python/APKBUILD +++ b/main/python/APKBUILD @@ -2,7 +2,7 @@ pkgname=python pkgver=2.7.6 _verbase=${pkgver%.*} -pkgrel=1 +pkgrel=2 pkgdesc="A high-level scripting language" url="http://www.python.org" arch="all" @@ -29,6 +29,13 @@ prepare() { # Make sure we use system libs rm -r Modules/expat Modules/_ctypes/libffi* Modules/zlib || return 1 + + # make sure our /dev/shm is world writeable + if ! touch /dev/shm/$pkgname-$pkgver; then + error "/dev/shm is not world writeable. this will cause a broken python build" + return 1 + fi + rm /dev/shm/$pkgname-$pkgver } build() { -- cgit v1.2.3