* bitbake multi-processing semaphore in linux-vserver
@ 2012-03-07 17:14 Andreas Oberritter
2012-03-07 17:42 ` Andreas Oberritter
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Oberritter @ 2012-03-07 17:14 UTC (permalink / raw)
To: bitbake-devel
Hello,
I tried to run today's BitBake master on Debian Squeeze,
running inside a Linux-Vserver. I ran into the problem below:
Traceback (most recent call last):
File ".../bitbake/bin/bitbake", line 258, in <module>
ret = main()
File ".../bitbake/bin/bitbake", line 226, in main
server.initServer()
File ".../bitbake/lib/bb/server/process.py", line 245, in initServer
self.event_queue = ProcessEventQueue(0)
File "/usr/lib/python2.6/multiprocessing/queues.py", line 37, in __init__
self._rlock = Lock()
File "/usr/lib/python2.6/multiprocessing/synchronize.py", line 117, in __init__
SemLock.__init__(self, SEMAPHORE, 1, 1)
OSError: [Errno 38] Function not implemented
Has anybody else seen this? Is it likely to be caused by limitations
of Linux-Vserver? Are there any workarounds or patches available to
address this?
Regards,
Andreas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bitbake multi-processing semaphore in linux-vserver
2012-03-07 17:14 bitbake multi-processing semaphore in linux-vserver Andreas Oberritter
@ 2012-03-07 17:42 ` Andreas Oberritter
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Oberritter @ 2012-03-07 17:42 UTC (permalink / raw)
To: bitbake-devel
On 07.03.2012 18:14, Andreas Oberritter wrote:
> I tried to run today's BitBake master on Debian Squeeze,
> running inside a Linux-Vserver. I ran into the problem below:
>
> Traceback (most recent call last):
> File ".../bitbake/bin/bitbake", line 258, in <module>
> ret = main()
> File ".../bitbake/bin/bitbake", line 226, in main
> server.initServer()
> File ".../bitbake/lib/bb/server/process.py", line 245, in initServer
> self.event_queue = ProcessEventQueue(0)
> File "/usr/lib/python2.6/multiprocessing/queues.py", line 37, in __init__
> self._rlock = Lock()
> File "/usr/lib/python2.6/multiprocessing/synchronize.py", line 117, in __init__
> SemLock.__init__(self, SEMAPHORE, 1, 1)
> OSError: [Errno 38] Function not implemented
>
> Has anybody else seen this? Is it likely to be caused by limitations
> of Linux-Vserver? Are there any workarounds or patches available to
> address this?
I was able to get rid of the problem by mounting a tmpfs to /dev/shm.
Maybe BitBake should suggest this in a future error message.
Regards,
Andreas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-07 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07 17:14 bitbake multi-processing semaphore in linux-vserver Andreas Oberritter
2012-03-07 17:42 ` Andreas Oberritter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.