[issue3770] test_multiprocessing fails on systems with HAVE_SEM_OPEN=0
Damien Miller
report at bugs.python.org
Thu Sep 4 03:52:47 CEST 2008
Damien Miller <djmdjm at users.sourceforge.net> added the comment:
On Thu, 4 Sep 2008, Jesse Noller wrote:
>
> Jesse Noller <jnoller at gmail.com> added the comment:
>
> Which platforms is this appearing on?
OpenBSD, with this section added to setup.py:
@@ -1269,6 +1268,14 @@ class PyBuildExt(build_ext):
)
libraries = []
+ elif platform.startswith('openbsd'):
+ macros = dict( # OpenBSD
+ HAVE_SEM_OPEN=0, # Not implemented
+ HAVE_SEM_TIMEDWAIT=0,
+ HAVE_FD_TRANSFER=1,
+ )
+ libraries = []
+
else: # Linux and other unices
macros = dict(
HAVE_SEM_OPEN=1,
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3770>
_______________________________________
More information about the Python-bugs-list
mailing list