To reproduce: python > from multiprocessing import synchronize ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770. According to the issue, the binary of /usr/lib64/python2.7/lib-dynload/_multiprocessing.so lacks support for semaphores (?!) . Perhaps a packaging error? Reproducible: Steps to Reproduce:
http://bugs.python.org/issue3770
I think someone filed a similar bug report on mandriva. The problem is our buildbot is minimal, and do not have the proper fs mounted.
Created attachment 207 [details] This forces the semaphore functions to be available regardless of host
Created attachment 208 [details] The corresponding patch to the spec file
The patch look good, expect this cannot be sent to upstream I guess. I will apply it.
Ok after discussing with Victor Stinner ( python developper ), he told me the patch was not really the proper one, but as I do not have more time to fix it properly, I will take this for now ( I just hope to not forget to fix this correctly one day ).
Ok, it seems now to block on test when compiling , due to the patch ( as gdb have show on the BS ). 0x00007ff4519854b0 in sem_timedwait () from /lib64/libpthread.so.0 It is blocked in threading test, on x86_64. Maybe related ( found by pterjan : http://bugs.python.org/issue5114 ).
Ok so this was already fixed on mandriva : https://qa.mandriva.com/show_bug.cgi?id=62281
IIRC, this is fixed, no ?
(In reply to comment #9) > IIRC, this is fixed, no ? @ Panos Christeas, can you please confirm or disconfirm?
CC: (none) => marja11
I think it works, running python-2.7.1-6.mga1, no hacks AFAICS
I understand this bug got fixed. Feel free to reopen when I'm mistaken
Status: NEW => RESOLVEDResolution: (none) => FIXED