Source: sosreport
Version: 3.2-2
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

The package fails to build:


======================================================================
ERROR: test_add_dir (archive_tests.ZipFileArchiveTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/sosreport-3.2/.pybuild/pythonX.Y_3.5/build/tests/archive_tests.py", 
line 47, in test_add_dir
    self.check_for_file('tests/ziptest')
  File "/sosreport-3.2/.pybuild/pythonX.Y_3.5/build/tests/archive_tests.py", 
line 25, in check_for_file
    zf.getinfo(filename)
  File "/usr/lib/python3.5/zipfile.py", line 1199, in getinfo
    'There is no item named %r in the archive' % name)
KeyError: "There is no item named 'tests/ziptest' in the archive"

======================================================================
ERROR: test_add_file (archive_tests.ZipFileArchiveTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/sosreport-3.2/.pybuild/pythonX.Y_3.5/build/tests/archive_tests.py", 
line 32, in test_add_file
    self.zf.add_file('tests/ziptest')
  File "/sosreport-3.2/.pybuild/pythonX.Y_3.5/build/sos/archive.py", line 444, 
in add_file
    self.zipfile.write(src)
  File "/usr/lib/python3.5/zipfile.py", line 1433, in write
    st = os.stat(filename)
FileNotFoundError: [Errno 2] No such file or directory: 'tests/ziptest'


...


----------------------------------------------------------------------
Ran 90 tests in 0.218s

FAILED (errors=7, failures=2)
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd 
/sosreport-3.2/.pybuild/pythonX.Y_3.5/build; python3.5 -m nose tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p 3.5 3.4 --dir . 
returned exit code 13

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/sosreport.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Reply via email to