ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] [python] sem_open in multiprocessing.queues.Queue
@ 2012-04-19  6:32 Ildar Mulyukov
  2012-04-19  6:45 ` REAL
  2012-04-19  9:01 ` Vitaly Kuznetsov
  0 siblings, 2 replies; 9+ messages in thread
From: Ildar Mulyukov @ 2012-04-19  6:32 UTC (permalink / raw)
  To: ALT Devel discussion list

Оба наших питона выдают следующее:
$ python3 -c 'from multiprocessing.queues import Queue;'
Traceback (most recent call last):
   File "/usr/lib64/python3.2/multiprocessing/synchronize.py", line 54,  
in <module>
     from _multiprocessing import SemLock
ImportError: cannot import name SemLock

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/usr/lib64/python3.2/multiprocessing/queues.py", line 48, in  
<module>
     from multiprocessing.synchronize import Lock, BoundedSemaphore,  
Semaphore, Condition
   File "/usr/lib64/python3.2/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.

Прошу помочь побороть. Спасибо.
С уважением,
-- 
Ildar Mulyukov,
   free SW designer/programmer/packager
======================================
email: ildar@altlinux.ru
Jabber: ildar.mulyukov@gmail.com
ICQ: 4334029
ALT Linux http://packages.altlinux.org/ru/Sisyphus/maintainers/ildar/
======================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] [python] sem_open in multiprocessing.queues.Queue
  2012-04-19  6:32 [devel] [python] sem_open in multiprocessing.queues.Queue Ildar Mulyukov
@ 2012-04-19  6:45 ` REAL
  2012-04-19  6:59   ` Ildar Mulyukov
  2012-04-19  9:01 ` Vitaly Kuznetsov
  1 sibling, 1 reply; 9+ messages in thread
From: REAL @ 2012-04-19  6:45 UTC (permalink / raw)
  To: ALT Linux Team development discussions

19.04.2012 13:32, Ildar Mulyukov пишет:
> File "/usr/lib64/python3.2/multiprocessing/synchronize.py", line 54,
> in <module>
> from _multiprocessing import SemLock
> ImportError: cannot import name SemLock
[...]
> Прошу помочь побороть. Спасибо.

https://bugs.launchpad.net/ubuntu/+source/python3.1/+bug/556477

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] [python] sem_open in multiprocessing.queues.Queue
  2012-04-19  6:45 ` REAL
@ 2012-04-19  6:59   ` Ildar Mulyukov
  0 siblings, 0 replies; 9+ messages in thread
From: Ildar Mulyukov @ 2012-04-19  6:59 UTC (permalink / raw)
  To: devel

On 19.04.2012 12:45:24, REAL wrote:
> 19.04.2012 13:32, Ildar Mulyukov пишет:
>> File "/usr/lib64/python3.2/multiprocessing/synchronize.py", line 54,
>> in <module>
>> from _multiprocessing import SemLock
>> ImportError: cannot import name SemLock
> [...]
>> Прошу помочь побороть. Спасибо.
> 
> https://bugs.launchpad.net/ubuntu/+source/python3.1/+bug/556477

1. Будет ли фикс для p2.7?
2. Когда будет в Сизифе? Или почему у нас на p3 этот баг?
-- 
Ildar

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] [python] sem_open in multiprocessing.queues.Queue
  2012-04-19  6:32 [devel] [python] sem_open in multiprocessing.queues.Queue Ildar Mulyukov
  2012-04-19  6:45 ` REAL
@ 2012-04-19  9:01 ` Vitaly Kuznetsov
  2012-04-19  9:04   ` Ildar Mulyukov
  1 sibling, 1 reply; 9+ messages in thread
From: Vitaly Kuznetsov @ 2012-04-19  9:01 UTC (permalink / raw)
  To: devel

On Thu, 19 Apr 2012 12:32:05 +0600, Ildar Mulyukov wrote:
> Оба наших питона выдают следующее:
> $ python3 -c 'from multiprocessing.queues import Queue;'
> Traceback (most recent call last):
>    File "/usr/lib64/python3.2/multiprocessing/synchronize.py", line 
> 54,
> in <module>
>      from _multiprocessing import SemLock
> ImportError: cannot import name SemLock
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>    File "<string>", line 1, in <module>
>    File "/usr/lib64/python3.2/multiprocessing/queues.py", line 48, in
> <module>
>      from multiprocessing.synchronize import Lock, BoundedSemaphore,
> Semaphore, Condition
>    File "/usr/lib64/python3.2/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.

Это баг, при сборке в нашей сборочнице не проходит тест sem_open:

к примеру, 
http://git.altlinux.org/tasks/archive/done/_67/69340/build/100/x86_64/log:
checking whether POSIX semaphores are enabled... no
checking for broken sem_getvalue... yes

сейчас попробую посмотреть как объехать.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] [python] sem_open in multiprocessing.queues.Queue
  2012-04-19  9:01 ` Vitaly Kuznetsov
@ 2012-04-19  9:04   ` Ildar Mulyukov
  2012-04-19  9:24     ` Vitaly Kuznetsov
  0 siblings, 1 reply; 9+ messages in thread
From: Ildar Mulyukov @ 2012-04-19  9:04 UTC (permalink / raw)
  To: devel

On 19.04.2012 15:01:32, Vitaly Kuznetsov wrote:
> On Thu, 19 Apr 2012 12:32:05 +0600, Ildar Mulyukov wrote:
>> Оба наших питона выдают следующее:
>> $ python3 -c 'from multiprocessing.queues import Queue;'
>> Traceback (most recent call last):
>>    File "/usr/lib64/python3.2/multiprocessing/synchronize.py", line  
>> 54,
>> in <module>
>>      from _multiprocessing import SemLock
>> ImportError: cannot import name SemLock
>> 
>> During handling of the above exception, another exception occurred:
>> 
>> Traceback (most recent call last):
>>    File "<string>", line 1, in <module>
>>    File "/usr/lib64/python3.2/multiprocessing/queues.py", line 48, in
>> <module>
>>      from multiprocessing.synchronize import Lock, BoundedSemaphore,
>> Semaphore, Condition
>>    File "/usr/lib64/python3.2/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.
> 
> Это баг, при сборке в нашей сборочнице не проходит тест sem_open:
> 
> к примеру,  
> http://git.altlinux.org/tasks/archive/done/_67/69340/build/100/x86_64/log:
> checking whether POSIX semaphores are enabled... no
> checking for broken sem_getvalue... yes
> 
> сейчас попробую посмотреть как объехать.

Этот баг воспроизводится на полноценной машине. Даже в сборочницу не  
надо залезать.
-- 
Ildar

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] [python] sem_open in multiprocessing.queues.Queue
  2012-04-19  9:04   ` Ildar Mulyukov
@ 2012-04-19  9:24     ` Vitaly Kuznetsov
  2012-04-19  9:57       ` Ildar Mulyukov
  0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Kuznetsov @ 2012-04-19  9:24 UTC (permalink / raw)
  To: devel

On Thu, 19 Apr 2012 15:04:57 +0600, Ildar Mulyukov wrote:
> On 19.04.2012 15:01:32, Vitaly Kuznetsov wrote:
>> On Thu, 19 Apr 2012 12:32:05 +0600, Ildar Mulyukov wrote:
>>> Оба наших питона выдают следующее:
>>> $ python3 -c 'from multiprocessing.queues import Queue;'
>>> Traceback (most recent call last):
>>>    File "/usr/lib64/python3.2/multiprocessing/synchronize.py", line
>>> 54,
>>> in <module>
>>>      from _multiprocessing import SemLock
>>> ImportError: cannot import name SemLock
>>>
>>> During handling of the above exception, another exception occurred:
>>>
>>> Traceback (most recent call last):
>>>    File "<string>", line 1, in <module>
>>>    File "/usr/lib64/python3.2/multiprocessing/queues.py", line 48, 
>>> in
>>> <module>
>>>      from multiprocessing.synchronize import Lock, 
>>> BoundedSemaphore,
>>> Semaphore, Condition
>>>    File "/usr/lib64/python3.2/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.
>>
>> Это баг, при сборке в нашей сборочнице не проходит тест sem_open:
>>
>> к примеру,
>> 
>> http://git.altlinux.org/tasks/archive/done/_67/69340/build/100/x86_64/log:
>> checking whether POSIX semaphores are enabled... no
>> checking for broken sem_getvalue... yes
>>
>> сейчас попробую посмотреть как объехать.
>
> Этот баг воспроизводится на полноценной машине. Даже в сборочницу не
> надо залезать.

При сборке питон проверяет, работает ли sem_open. В хешере sem_open() 
обламывается (ему нужен /dev/shm) и поэтому в собранном питоне отключена 
соответствующая поддержка. Я сейчас уберу соответствующие проверки и 
соберу рабочие питоны в Сизиф.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] [python] sem_open in multiprocessing.queues.Queue
  2012-04-19  9:24     ` Vitaly Kuznetsov
@ 2012-04-19  9:57       ` Ildar Mulyukov
  2012-04-19 13:07         ` Vitaly Kuznetsov
  0 siblings, 1 reply; 9+ messages in thread
From: Ildar Mulyukov @ 2012-04-19  9:57 UTC (permalink / raw)
  To: devel

On 19.04.2012 15:24:14, Vitaly Kuznetsov wrote:
> При сборке питон проверяет, работает ли sem_open. В хешере sem_open()  
> обламывается (ему нужен /dev/shm) и поэтому в собранном питоне  
> отключена соответствующая поддержка. Я сейчас уберу соответствующие  
> проверки и соберу рабочие питоны в Сизиф.

А соберётся?
Пожалуйста, держите в курсе. Спасибо, Виталий.
С уважением,
-- 
Ildar

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] [python] sem_open in multiprocessing.queues.Queue
  2012-04-19  9:57       ` Ildar Mulyukov
@ 2012-04-19 13:07         ` Vitaly Kuznetsov
  2012-04-19 13:11           ` Aleksey Novodvorsky
  0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Kuznetsov @ 2012-04-19 13:07 UTC (permalink / raw)
  To: devel

On Thu, 19 Apr 2012 15:57:42 +0600, Ildar Mulyukov wrote:
> On 19.04.2012 15:24:14, Vitaly Kuznetsov wrote:
>> При сборке питон проверяет, работает ли sem_open. В хешере 
>> sem_open()
>> обламывается (ему нужен /dev/shm) и поэтому в собранном питоне
>> отключена соответствующая поддержка. Я сейчас уберу соответствующие
>> проверки и соберу рабочие питоны в Сизиф.
>
> А соберётся?
> Пожалуйста, держите в курсе. Спасибо, Виталий.

Исправлено в python-2.7.3-alt4, python3-3.2.3-alt2.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] [python] sem_open in multiprocessing.queues.Queue
  2012-04-19 13:07         ` Vitaly Kuznetsov
@ 2012-04-19 13:11           ` Aleksey Novodvorsky
  0 siblings, 0 replies; 9+ messages in thread
From: Aleksey Novodvorsky @ 2012-04-19 13:11 UTC (permalink / raw)
  To: ALT Linux Team development discussions

19 апреля 2012 г. 17:07 пользователь Vitaly Kuznetsov
<vitty@altlinux.ru> написал:
> On Thu, 19 Apr 2012 15:57:42 +0600, Ildar Mulyukov wrote:
>>
>> On 19.04.2012 15:24:14, Vitaly Kuznetsov wrote:
>>>
>>> При сборке питон проверяет, работает ли sem_open. В хешере sem_open()
>>> обламывается (ему нужен /dev/shm) и поэтому в собранном питоне
>>> отключена соответствующая поддержка. Я сейчас уберу соответствующие
>>> проверки и соберу рабочие питоны в Сизиф.
>>
>>
>> А соберётся?
>> Пожалуйста, держите в курсе. Спасибо, Виталий.
>
>
> Исправлено в python-2.7.3-alt4, python3-3.2.3-alt2.

Надо ли исправлять в бранчах?

Rgrds, Алексей

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-04-19 13:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-19  6:32 [devel] [python] sem_open in multiprocessing.queues.Queue Ildar Mulyukov
2012-04-19  6:45 ` REAL
2012-04-19  6:59   ` Ildar Mulyukov
2012-04-19  9:01 ` Vitaly Kuznetsov
2012-04-19  9:04   ` Ildar Mulyukov
2012-04-19  9:24     ` Vitaly Kuznetsov
2012-04-19  9:57       ` Ildar Mulyukov
2012-04-19 13:07         ` Vitaly Kuznetsov
2012-04-19 13:11           ` Aleksey Novodvorsky

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git