Mageia Bugzilla – Attachment 207 Details for
Bug 481
Broken module "multiprocessing.synchronize"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
This forces the semaphore functions to be available regardless of host
python-2.7-semaphores.patch (text/plain), 1.02 KB, created by
Panos Christeas
on 2011-04-07 00:38:28 CEST
(
hide
)
Description:
This forces the semaphore functions to be available regardless of host
Filename:
MIME Type:
Creator:
Panos Christeas
Created:
2011-04-07 00:38:28 CEST
Size:
1.02 KB
patch
obsolete
>--- configure.in.old 2011-04-06 21:48:00.000000000 +0300 >+++ configure.in 2011-04-06 21:53:03.000000000 +0300 >@@ -2743,7 +2743,7 @@ > initgroups kill killpg lchmod lchown lstat mkfifo mknod mktime \ > mremap nice pathconf pause plock poll pthread_init \ > putenv readlink realpath \ >- select sem_open sem_timedwait sem_getvalue sem_unlink setegid seteuid \ >+ select setegid seteuid \ > setgid \ > setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \ > setlocale setregid setreuid setresuid setresgid \ >@@ -2752,6 +2752,13 @@ > sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \ > truncate uname unsetenv utimes waitpid wait3 wait4 wcscoll _getpty) > >+# Explicitly define them, because build bots may have broken >+# runtime support for semaphores >+AC_DEFINE(HAVE_SEM_OPEN) >+AC_DEFINE(HAVE_SEM_TIMEDWAIT) >+AC_DEFINE(HAVE_SEM_GETVALUE) >+AC_DEFINE(HAVE_SEM_UNLINK) >+ > # For some functions, having a definition is not sufficient, since > # we want to take their address. > AC_MSG_CHECKING(for chroot)
--- configure.in.old 2011-04-06 21:48:00.000000000 +0300 +++ configure.in 2011-04-06 21:53:03.000000000 +0300 @@ -2743,7 +2743,7 @@ initgroups kill killpg lchmod lchown lstat mkfifo mknod mktime \ mremap nice pathconf pause plock poll pthread_init \ putenv readlink realpath \ - select sem_open sem_timedwait sem_getvalue sem_unlink setegid seteuid \ + select setegid seteuid \ setgid \ setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \ setlocale setregid setreuid setresuid setresgid \ @@ -2752,6 +2752,13 @@ sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \ truncate uname unsetenv utimes waitpid wait3 wait4 wcscoll _getpty) +# Explicitly define them, because build bots may have broken +# runtime support for semaphores +AC_DEFINE(HAVE_SEM_OPEN) +AC_DEFINE(HAVE_SEM_TIMEDWAIT) +AC_DEFINE(HAVE_SEM_GETVALUE) +AC_DEFINE(HAVE_SEM_UNLINK) + # For some functions, having a definition is not sufficient, since # we want to take their address. AC_MSG_CHECKING(for chroot)
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 481
: 207 |
208