From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.dream-property.net ([82.149.226.172]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S5L10-0008CM-Ot for bitbake-devel@lists.openembedded.org; Wed, 07 Mar 2012 18:51:06 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.dream-property.net (Postfix) with ESMTP id 459533159DDD for ; Wed, 7 Mar 2012 18:42:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.dream-property.net Received: from mail.dream-property.net ([127.0.0.1]) by localhost (mail.dream-property.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AC5EA+grcHsB for ; Wed, 7 Mar 2012 18:42:19 +0100 (CET) Received: from [172.22.22.61] (drms-590ec29b.pool.mediaWays.net [89.14.194.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.dream-property.net (Postfix) with ESMTPSA id A66E93159DCA for ; Wed, 7 Mar 2012 18:42:19 +0100 (CET) Message-ID: <4F579DFA.8010404@opendreambox.org> Date: Wed, 07 Mar 2012 18:42:18 +0100 From: Andreas Oberritter User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: bitbake-devel@lists.openembedded.org References: <4F579790.7020806@opendreambox.org> In-Reply-To: <4F579790.7020806@opendreambox.org> Subject: Re: bitbake multi-processing semaphore in linux-vserver X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 17:51:06 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 > 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