From cbb4256a8000cb6b288ce581e169d39e3d12e8ef Mon Sep 17 00:00:00 2001 From: Bassam Tabbara Date: Tue, 24 Nov 2015 16:17:30 -0800 Subject: [PATCH] catalyst: workaround for bootstrap_sdk on Ubuntu workaround for bootstrap_sdk on an Ubuntu host where /dev/shm is a symlink to /run/shm. Since we mount the hosts /dev (for losetup) this interferes with building python 2.7. The workaround is to disable the /dev/shm during python builds. A longer term fix would be to not mount the hosts /dev. Thanks for marineam for suggesting the fix on IRC. --- build_library/catalyst.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_library/catalyst.sh b/build_library/catalyst.sh index 3e0ea854a4..6e39987e34 100644 --- a/build_library/catalyst.sh +++ b/build_library/catalyst.sh @@ -78,6 +78,7 @@ export EMERGE_DEFAULT_OPTS="\$MAKEOPTS" export PORTAGE_USERNAME=portage export PORTAGE_GRPNAME=portage export GENTOO_MIRRORS='$(portageq envvar GENTOO_MIRRORS)' +export ac_cv_posix_semaphores_enabled=yes EOF }