[Barry Warsaw, 2011-08-22] > I've managed to file ITPs and package up two more flufl packages, flufl.lock
* build directory is not removed in clean target (and thus package cannot be build twice in a row) * lintian complains with: W: flufl.lock source: build-depends-on-1-revision build-depends: python-sphinx (>= 1.0.7+dfsg-1) E: python-flufl.lock: helper-templates-in-copyright E: python-flufl.lock: extended-description-is-empty W: python-flufl.lock: duplicate-changelog-files usr/share/doc/python-flufl.lock/changelog.gz usr/share/doc/python-flufl.lock/html/_sources/NEWS.txt.gz * 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 ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 121, in using.txt Failed example: t1 - t0 > 4 Differences (ndiff with -expected +actual): - True + False ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 151, in using.txt Failed example: t_broken = waitfor(filename, lock.lifetime) 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[36]>", line 1, in <module> t_broken = waitfor(filename, lock.lifetime) File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/tests/subproc.py", line 63, in waitfor 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 ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 152, in using.txt Failed example: t_broken < 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[37]>", line 1, in <module> t_broken < 5 NameError: name 't_broken' is not defined ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 154, in using.txt Failed example: lock.is_locked Differences (ndiff with -expected +actual): - False + True ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 160, in using.txt Failed example: lock.lock() 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[39]>", line 1, in <module> lock.lock() File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/_lockfile.py", line 261, in lock raise AlreadyLockedError('We already had the lock') AlreadyLockedError: We already had the lock ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 162, in using.txt Failed example: t_broken = waitfor(filename, lock.lifetime) 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[41]>", line 1, in <module> t_broken = waitfor(filename, lock.lifetime) File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/tests/subproc.py", line 63, in waitfor 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 ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 163, in using.txt Failed example: t_broken > 3 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[42]>", line 1, in <module> t_broken > 3 NameError: name 't_broken' is not defined ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 165, in using.txt Failed example: lock.is_locked Differences (ndiff with -expected +actual): - False + True ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 177, in using.txt Failed example: lock.lock() 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[45]>", line 1, in <module> lock.lock() File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/_lockfile.py", line 261, in lock raise AlreadyLockedError('We already had the lock') AlreadyLockedError: We already had the lock ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 189, in using.txt Failed example: acquire(filename, timedelta(seconds=3)) 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[51]>", line 1, in <module> acquire(filename, timedelta(seconds=3)) 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 ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 192, in using.txt Failed example: hostname, pid, lockfile = lock.details 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[53]>", line 1, in <module> hostname, pid, lockfile = lock.details File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/_lockfile.py", line 161, in details raise NotLockedError('Details are unavailable') NotLockedError: Details are unavailable ---------------------------------------------------------------------- File "/tmp/buildd/flufl.lock-2.1.1/flufl/lock/docs/using.txt", line 195, in using.txt Failed example: pid == os.getpid() Differences (ndiff with -expected +actual): - False + True ---------------------------------------------------------------------- Ran 2 tests in 0.016s PS feel free to reply in private -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110823210606.gw16...@piotro.eu