Source: pyparted
Version: 3.10.7-1
Severity: serious
Justification: fails to build from source
Tags: sid 
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: runTest (tests.test__ped_ped.DiskFlagGetNameTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test__ped_ped.py", line 85, in runTest
    self.assertRaises(ValueError, _ped.disk_flag_get_name, 1000)
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
PartedException: Unknown disk flag, 1000.

======================================================================
ERROR: runTest (tests.test__ped_ped.PartitionFlagGetNameTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test__ped_ped.py", line 51, in runTest
    self.assertRaises(ValueError, _ped.partition_flag_get_name, 1000)
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
PartedException: Unknown partition flag, 1000.

======================================================================
ERROR: runTest (tests.test__ped_disk.DiskNewLabeledTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test__ped_disk.py", line 36, in runTest
    result = _ped.Disk(self._device)
DiskLabelException: /tmp/temp-device-RjgUz1: unrecognised disk label

======================================================================
FAIL: runTest (tests.test__ped_ped.DeviceGetNextTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test__ped_ped.py", line 210, in runTest
    self.assertGreater(len(lst), 0)
AssertionError: 0 not greater than 0

----------------------------------------------------------------------
Ran 272 tests in 2.772s

FAILED (failures=1, errors=3, skipped=123)
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd 
/pyparted-3.10.7/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover 
-v 
dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit 
code 13

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

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

Reply via email to