Skip to content

Instantly share code, notes, and snippets.

@dlangille
Last active January 16, 2016 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlangille/50d349eb0a915362ec13 to your computer and use it in GitHub Desktop.
Save dlangille/50d349eb0a915362ec13 to your computer and use it in GitHub Desktop.
ansible fail
Fixed by adding OPTIONS_FILE_SET+=SEM to lang/python27
$ sudo poudriere options -s -j 102amd64 -p default -z master-list sysutils/ansible
[00:00:00] ====>> Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
[00:00:00] ====>> Appending to make.conf: /usr/local/etc/poudriere.d/master-list-make.conf
===> The following configuration options are available for ansible-2.0.0.2:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
===> The following configuration options are available for ansible-2.0.0.2 and dependencies
===> The following configuration options are available for ansible-2.0.0.2:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
===> The following configuration options are available for python27-2.7.11_1:
DEBUG=off: Build with debugging support
IPV6=on: IPv6 protocol support
LIBFFI=on: Use libffi from ports instead of bundled version
NLS=on: Enable gettext support for the locale module
PYMALLOC=on: Enable specialized mallocs
SEM=on: POSIX semaphores support
THREADS=on: Threading support
====> Unicode support: you have to select exactly one of them
UCS2=off: Enable UCS2 Unicode Strings
UCS4=on: Enable UCS4 Unicode Strings
===> Use 'make config' to modify these settings
===> The following configuration options are available for openssl-1.0.2_6:
SHARED=on: build of shared libs
THREADS=on: Threading support
I386=off: Optimize for i386 (instead of i486+)
SSE2=on: runtime SSE2 detection
ASM=off: optimized Assembler code
PADLOCK=off: VIA Padlock support
ZLIB=off: zlib compression support
GMP=off: gmp support (LGPLv3)
SCTP=on: SCTP protocol support
SSL2=on: SSLv2 protocol support
SSL3=on: SSLv3 protocol support
RFC3779=off: RFC3779 support (BGP)
MD2=on: MD2 hash (obsolete)
RC5=off: RC5 cipher (patented)
EXPCIPHERS=off: Include experimental ciphers
DOCS=on: Build and/or install documentation
MAN3=on: Install API manpages (section 3)
EC=on: Optimize NIST elliptic curves
===> Use 'make config' to modify these settings
===> The following configuration options are available for perl5-5.20.3_8:
DEBUG=off: Build with debugging support
GDBM=off: GDBM_File extension
MULTIPLICITY=on: Use multiplicity
PERL_64BITINT=on: Use 64 bit integers (on i386)
PTHREAD=on: Build with -lpthread
SITECUSTOMIZE=off: Run-time customization of @INC
====> Exclusive OPTIONS: you can only select none or one of them
THREADS=on: Build threaded perl
PERL_MALLOC=off: Use Perl malloc
===> Use 'make config' to modify these settings
===> The following configuration options are available for gettext-tools-0.19.6:
DOCS=on: Build and/or install documentation
THREADS=on: Threading support
===> Use 'make config' to modify these settings
===> The following configuration options are available for libiconv-1.14_9:
DOCS=on: Build and/or install documentation
ENCODINGS=on: Include extra character sets
PATCHES=off: Apply patches to fix CP932, add EUCJP-MS
===> Use 'make config' to modify these settings
===> The following configuration options are available for libffi-3.2.1:
TESTS=off: Include tools for test suite
===> Use 'make config' to modify these settings
===> The following configuration options are available for gmake-4.1_2:
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
===> The following configuration options are available for tcl86-8.6.4:
MODULES=on: Install Tcl common modules
TCLMAN=off: Install Tcl function manpages
THREADS=on: Threading support
TZDATA=off: Install Tcl timezone data
===> Use 'make config' to modify these settings
===> The following configuration options are available for py27-yaml-3.11:
EXAMPLES=on: Build and/or install examples
LIBYAML=off: Use textproc/libyaml for faster parsing
===> Use 'make config' to modify these settings
===> The following configuration options are available for py27-pycrypto-2.6.1_1:
GMP=on: Use GMP for faster DSA/RSA operations
===> Use 'make config' to modify these settings
===> The following configuration options are available for gmp-5.1.3_2:
CPU_OPTS=off: Enable assembly optimizations for your CPU
===> Use 'make config' to modify these settings
===> The following configuration options are available for py27-paramiko-1.15.2:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
===> The following configuration options are available for py27-Jinja2-2.8:
BABEL=on: Enable Babel extension
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
===> The following configuration options are available for py27-Babel-2.1.1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
$
# pkg info -x python ansible
python-2.7_2,2
python2-2_3
python27-2.7.11_1
ansible-2.0.0.2
py27-ploy_ansible-1.3.1
FreeBSD 10.2-RELEASE-p9
**** IN A JAIL ****
# sysctl security.jail.sysvipc_allowed
security.jail.sysvipc_allowed: 1
# ansible-playbook
Traceback (most recent call last):
File "/usr/local/bin/ansible-playbook", line 40, in <module>
from ansible.utils.display import Display
File "/usr/local/lib/python2.7/site-packages/ansible/utils/display.py", line 49, in <module>
debug_lock = Lock()
File "/usr/local/lib/python2.7/multiprocessing/__init__.py", line 175, in Lock
from multiprocessing.synchronize import Lock
File "/usr/local/lib/python2.7/multiprocessing/synchronize.py", line 59, in <module>
" function, see issue 3770.")
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment