[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: DPMT: flufl.lock 2.1.1-1



On Tue, Aug 23, 2011 at 23:06, Piotr Ożarowski <piotr@debian.org> wrote:
> * it FTBFS in my pbuilder (works fine on my desktop):
>
> ======================================================================
> FAIL: /tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt
> Doctest: using.txt
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/lib/python2.7/doctest.py", line 2166, in runTest
>    raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for using.txt
>  File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 0
>
> ----------------------------------------------------------------------
> File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 116, in using.txt
> Failed example:
>    acquire(filename, timedelta(seconds=5))
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib/python2.7/doctest.py", line 1254, in __run
>        compileflags, 1) in test.globs
>      File "<doctest using.txt[24]>", line 1, in <module>
>        acquire(filename, timedelta(seconds=5))
>      File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/tests/subproc.py", line 45, in acquire
>        queue = multiprocessing.Queue()
>      File "/usr/lib/python2.7/multiprocessing/__init__.py", line 218, in Queue
>        return Queue(maxsize)
>      File "/usr/lib/python2.7/multiprocessing/queues.py", line 63, in __init__
>        self._rlock = Lock()
>      File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 147, in __init__
>        SemLock.__init__(self, SEMAPHORE, 1, 1)
>      File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
>        sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
>    OSError: [Errno 38] Function not implemented

for this I think you need /dev/shm bind-mounted in the pbuilder chroot.

HTH,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


Reply to: