Package: src:apt-transport-in-toto
Version: 0.1.1-5
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3-coverage run -m unittest discover
EE
======================================================================
ERROR: tests.test_intoto (unittest.loader._FailedTest.tests.test_intoto)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_intoto
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/tests/test_intoto.py", line 30, in <module>
    import intoto
  File "/<<PKGBUILDDIR>>/intoto.py", line 115, in <module>
    import securesystemslib.gpg.functions
ModuleNotFoundError: No module named 'securesystemslib.gpg'


======================================================================
ERROR: tests.test_units (unittest.loader._FailedTest.tests.test_units)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_units
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/tests/test_units.py", line 26, in <module>
    import intoto
  File "/<<PKGBUILDDIR>>/intoto.py", line 115, in <module>
    import securesystemslib.gpg.functions
ModuleNotFoundError: No module named 'securesystemslib.gpg'


----------------------------------------------------------------------
Ran 2 tests in 0.000s

FAILED (errors=2)
make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

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.

Thanks.

Reply via email to