Package: src:pyparted
Version: 3.11.1-12
Severity: important
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem pybuild --with python2,python3
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config 
running config
I: pybuild base:217: python2.7-dbg setup.py config 
running config
I: pybuild base:217: python3.6 setup.py config 
running config
I: pybuild base:217: python3.6-dbg setup.py config 
running config

[... snipped ...]

  File "/<<PKGBUILDDIR>>/tests/test_parted_alignment.py", line 23, in <module>
    import _ped
ImportError: No module named _ped


======================================================================
ERROR: tests.test_parted_geometry (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_parted_geometry
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 232, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/tests/test_parted_geometry.py", line 23, in <module>
    import parted
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_dbg_parted/build/parted/__init__.py", 
line 33, in <module>
    import _ped
ImportError: No module named _ped


======================================================================
ERROR: tests.test__ped_chsgeometry (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test__ped_chsgeometry
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 232, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/tests/test__ped_chsgeometry.py", line 22, in <module>
    import _ped
ImportError: No module named _ped


----------------------------------------------------------------------
Ran 22 tests in 0.008s

FAILED (errors=18, skipped=4)
make[2]: *** [Makefile:42: test] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:18: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A" but a
similar error happens in reproducible builds in a random way, for example,
here:

https://tests.reproducible-builds.org/debian/logs/unstable/i386/pyparted_3.11.1-12.build2.log.gz

I've put a bunch of my own build logs here:

https://people.debian.org/~sanvila/build-logs/pyparted/

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

If you could not reproduce this, please say so and I could give you
access to a machine where it happens all the time.

Thanks.

Reply via email to