freebsd-ports/lang/python34/files
Kubilay Kocak c0cd7bc6cc lang/python34: Fix build when semaphores are not enabled
Backport fix [1] for upstream Python Issue #21704 [2]: Fix build error for
_multiprocessing when semaphores are not available.

The symptom was originally reported by RedPorts 8.4-QAT/i386,
ultimately resulting in a packaging error:

  ...
  checking for sem_open... yes
  checking for sem_timedwait... yes
  checking for sem_getvalue... yes
  checking for sem_unlink... yes
  ...
  checking whether POSIX semaphores are enabled... no
  checking for broken sem_getvalue... yes
  ...

  *** WARNING: renaming "_multiprocessing" since importing it failed:
  build/lib.freebsd-8.4-RELEASE-i386-3.4/_multiprocessing.so: Undefined
  symbol "_PyMp_sem_unlink"

  ...

  pkg-static: lstat(/work/a/ports/lang/python34/work/stage/usr/local/lib/
  python3.4/lib-dynload/_multiprocessing.so): No such file or directory

Something is funny for Jail-based systems when it comes to host/jail
semaphore detection. A config.log would be handy to help determine why.

[1] http://hg.python.org/cpython/rev/f618f6739200
[2] http://bugs.python.org/issue21704
2014-08-25 07:59:45 +00:00
..
patch-issue20210 - Create symlinks for non-ABI-suffixed python*-config and ABI-suffixed python-*.pc 2014-06-16 17:46:41 +00:00
patch-issue21166 lang/python{27,33,34}: Backport fix for upstream Issue #21166 2014-08-23 03:53:25 +00:00
patch-issue21704 lang/python34: Fix build when semaphores are not enabled 2014-08-25 07:59:45 +00:00
patch-Lib__distutils__unixccompiler.py
patch-Makefile.pre.in - Create symlinks for non-ABI-suffixed python*-config and ABI-suffixed python-*.pc 2014-06-16 17:46:41 +00:00
patch-Modules-_ctypes-libffi-configure
patch-Modules___ctypes__libffi__src__arm__ffi.c
patch-Modules__fcntlmodule.c