[Python-modules-team] FTBFS trouble upgrading python-django to 1.9.4-1

Brian May brian at linuxpenguins.xyz
Sun Mar 6 00:13:21 UTC 2016


Luke Faraone <lfaraone at debian.org> writes:

> Notably, similar ln/mv errors happen in 1.9.2-1[2], but they aren't
> fatal.

There should not be any errors, fatal or not.


> Does anybody have an idea what's wrong here?

Some sort of weird race condition with "find" locating the file, and
something else deleting it before the "mv"???

I tried to reproduce, but my build crashed before it even got to this
step.

Traceback (most recent call last):
  File "./runtests.py", line 458, in <module>
  Applying sites_framework.0001_initial... OK
Cloning test database for alias 'other' (':memory:')...
Cloning test database for alias 'other' (':memory:')...
Cloning test database for alias 'other' (':memory:')...
Cloning test database for alias 'other' (':memory:')...
    options.debug_sql, options.parallel)
  File "./runtests.py", line 275, in django_tests
    extra_tests=extra_tests,
  File "/«PKGBUILDDIR»/django/test/runner.py", line 533, in run_tests
    result = self.run_suite(suite)
  File "/«PKGBUILDDIR»/django/test/runner.py", line 494, in run_suite
    ).run(suite)
  File "/usr/lib/python2.7/unittest/runner.py", line 151, in run
    test(result)
  File "/usr/lib/python2.7/unittest/suite.py", line 70, in __call__
    return self.run(*args, **kwds)
  File "/«PKGBUILDDIR»/django/test/runner.py", line 310, in run
    counter = multiprocessing.Value(ctypes.c_int, 0)
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 253, in Value
    return Value(typecode_or_type, *args, **kwds)
  File "/usr/lib/python2.7/multiprocessing/sharedctypes.py", line 108, in Value
    lock = RLock()
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 183, in RLock
    return RLock()
  File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 172, in __init__
    SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1)
  File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
    sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied
make[1]: *** [override_dh_auto_test] Error 1
debian/rules:22: recipe for target 'override_dh_auto_test' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build] Error 2
debian/rules:10: recipe for target 'build' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2


-- 
Brian May <brian at linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/



More information about the Python-modules-team mailing list