[Python-modules-team] Bug#913037: dulwich fails to build on s390x using Python 3.7

Matthias Klose doko at debian.org
Tue Nov 6 10:02:25 GMT 2018


Package: src:dulwich
Version: 0.19.6-2
Severity: serious
Tags: sid buster

dulwich fails to build on s390x using Python 3.7. Endianess issue?

PYTHONHASHSEED=random PYTHONPATH=/<<PKGBUILDDIR>> python3 -m unittest
dulwich.tests.test_suite
...s..............................................................s..............................................................................................................................................................s.............................sss.....................................................................................................................................................................................................................................................................................................................................................................................................................s..........................................................E.........................................................................................................................................................................................................................................................................................................................................s....................................................s................................./<<PKGBUILDDIR>>/dulwich/tests/compat/utils.py:135:
ResourceWarning: unclosed <socket.socket fd=3, family=AddressFamily.AF_INET,
type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 35881)>
  p = subprocess.Popen(args, env=env, **popen_kwargs)
/<<PKGBUILDDIR>>/dulwich/tests/compat/utils.py:135: ResourceWarning: unclosed
file <_io.BufferedReader
name='local/.git/objects/pack/pack-f24e9574628e0e791aad98c454328069cfd8e0bd.pack'>
  p = subprocess.Popen(args, env=env, **popen_kwargs)
.............................ss.sss.ss............................................sssssssssssssssssssssssssssssssssssssssssssssss
======================================================================
ERROR: test_simple (dulwich.tests.test_porcelain.PushTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/dulwich/tests/test_porcelain.py", line 724, in test_simple
    self.assertEqual(r_clone[b'HEAD'].id, self.repo[refs_path].id)
  File "/<<PKGBUILDDIR>>/dulwich/repo.py", line 528, in __getitem__
    return self.object_store[self.refs[name]]
  File "/<<PKGBUILDDIR>>/dulwich/object_store.py", line 119, in __getitem__
    type_num, uncomp = self.get_raw(sha)
  File "/<<PKGBUILDDIR>>/dulwich/object_store.py", line 461, in get_raw
    raise KeyError(hexsha)
KeyError: b'a031515918b815701865df2363092b8d577d765f'

----------------------------------------------------------------------
Ran 1268 tests in 60.038s

FAILED (errors=1, skipped=63)
make[2]: *** [Makefile:32: check] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:28: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: build-arch] Error 2


More information about the Python-modules-team mailing list