[Pkg-bazaar-maint] Bug#1117389: breezy-debian: FTBFS: TypeError: cannot unpack non-iterable NoneType object

Santiago Vila sanvila at debian.org
Sun Oct 5 18:34:16 BST 2025


Package: src:breezy-debian
Version: 2.8.80
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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 add an affects on src:breezy-debian, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
I: pybuild base:311: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        ********************************************************************************
        Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.


[... snipped ...]

breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_create_old_tarball(.tar)   OK        2ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_contents(.tar.gz)   OK        3ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_contents(.tar.xz)   OK       11ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_contents(.zip)   OK        4ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_creates_new(dir)   OK        3ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_creates_new(.tar.bz2)   OK        3ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_creates_new(.tar.lzma)   OK        6ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_creates_new(.tar)   OK        3ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_non_extant(.tar.gz)   OK        2ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_non_extant(.tar.xz)   OK        2ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_non_extant(.zip)   OK        2ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_result_extant(dir)   OK        2ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_result_extant(.tar.bz2)   OK        2ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_result_extant(.tar.lzma)   OK        3ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_result_extant(.tar)   OK        2ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir(.tar.gz)   OK        3ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir(.tar.xz)   OK        9ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir(.zip)   OK        4ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_exists(dir)   OK        3ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_exists(.tar.bz2)   OK        3ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_exists(.tar.lzma)   OK        4ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_exists(.tar)   OK        3ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.gz)   OK        2ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.tar.xz)   OK        8ms
breezy.plugins.debian.tests.test_repack_tarball.TestRepackTarball.test_repack_tarball_with_target_dir_not_dir(.zip)   OK        2ms
======================================================================
ERROR: breezy.plugins.debian.tests.test_upstream.GitPristineTarSourceTests.test_version_as_revisions_single
----------------------------------------------------------------------
testtools.testresult.real._StringException: log: {{{
20.477  preparing to commit
    INFO  Committing to: /tmp/testbzr-urwxd03b.tmp/breezy.plugins.debian.tests.test_upstream.GitPristineTarSourceTests.test_version_as_revisions_single/work/unstable/
20.477  Selecting files for commit with filter None
20.477  aborting commit write group because of exception:
20.479  Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 414, in commit
    self._update_builder_with_changes()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 694, in _update_builder_with_changes
    for path, fs_hash in self.builder.record_iter_changes(
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.work_tree, self.basis_revid, iter_changes
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/usr/lib/python3/dist-packages/breezy/git/commit.py", line 53, in record_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 712, in _filter_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1002, in changes_from_git_changes
    (oldpath, oldmode, oldsha) = old
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
}}}

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_upstream.py", line 1086, in test_version_as_revisions_single
    revid1 = self.tree.commit("msg")
  File "/usr/lib/python3/dist-packages/breezy/mutabletree.py", line 118, in commit
    committed_id = commit.Commit().commit(
        working_tree=self,
    ...<3 lines>...
        **kwargs,
    )
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 414, in commit
    self._update_builder_with_changes()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 694, in _update_builder_with_changes
    for path, fs_hash in self.builder.record_iter_changes(
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.work_tree, self.basis_revid, iter_changes
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/usr/lib/python3/dist-packages/breezy/git/commit.py", line 53, in record_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 712, in _filter_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1002, in changes_from_git_changes
    (oldpath, oldmode, oldsha) = old
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object

======================================================================
ERROR: breezy.plugins.debian.tests.test_upstream.GitPristineTarSourceTests.test_version_component_as_revision
----------------------------------------------------------------------
testtools.testresult.real._StringException: log: {{{
20.486  preparing to commit
    INFO  Committing to: /tmp/testbzr-urwxd03b.tmp/breezy.plugins.debian.tests.test_upstream.GitPristineTarSourceTests.test_version_component_as_revision/work/unstable/
20.487  Selecting files for commit with filter None
20.487  aborting commit write group because of exception:
20.487  Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 414, in commit
    self._update_builder_with_changes()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 694, in _update_builder_with_changes
    for path, fs_hash in self.builder.record_iter_changes(
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.work_tree, self.basis_revid, iter_changes
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/usr/lib/python3/dist-packages/breezy/git/commit.py", line 53, in record_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 712, in _filter_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1002, in changes_from_git_changes
    (oldpath, oldmode, oldsha) = old
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
}}}

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_upstream.py", line 1093, in test_version_component_as_revision
    revid1 = self.tree.commit("msg")
  File "/usr/lib/python3/dist-packages/breezy/mutabletree.py", line 118, in commit
    committed_id = commit.Commit().commit(
        working_tree=self,
    ...<3 lines>...
        **kwargs,
    )
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 414, in commit
    self._update_builder_with_changes()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 694, in _update_builder_with_changes
    for path, fs_hash in self.builder.record_iter_changes(
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.work_tree, self.basis_revid, iter_changes
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/usr/lib/python3/dist-packages/breezy/git/commit.py", line 53, in record_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 712, in _filter_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1002, in changes_from_git_changes
    (oldpath, oldmode, oldsha) = old
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object

======================================================================
ERROR: breezy.plugins.debian.tests.test_upstream.GitPristineTarSourceTests.test_has_version_partially_missing
----------------------------------------------------------------------
testtools.testresult.real._StringException: log: {{{
23.040  preparing to commit
    INFO  Committing to: /tmp/testbzr-ekr48i59.tmp/breezy.plugins.debian.tests.test_upstream.GitPristineTarSourceTests.test_has_version_partially_missing/work/unstable/
23.042  Selecting files for commit with filter None
23.042  aborting commit write group because of exception:
23.043  Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 414, in commit
    self._update_builder_with_changes()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 694, in _update_builder_with_changes
    for path, fs_hash in self.builder.record_iter_changes(
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.work_tree, self.basis_revid, iter_changes
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/usr/lib/python3/dist-packages/breezy/git/commit.py", line 53, in record_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 712, in _filter_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1002, in changes_from_git_changes
    (oldpath, oldmode, oldsha) = old
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
}}}

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_upstream.py", line 1133, in test_has_version_partially_missing
    revid1 = self.tree.commit("msg")
  File "/usr/lib/python3/dist-packages/breezy/mutabletree.py", line 118, in commit
    committed_id = commit.Commit().commit(
        working_tree=self,
    ...<3 lines>...
        **kwargs,
    )
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 414, in commit
    self._update_builder_with_changes()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 694, in _update_builder_with_changes
    for path, fs_hash in self.builder.record_iter_changes(
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.work_tree, self.basis_revid, iter_changes
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/usr/lib/python3/dist-packages/breezy/git/commit.py", line 53, in record_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 712, in _filter_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1002, in changes_from_git_changes
    (oldpath, oldmode, oldsha) = old
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object

======================================================================
ERROR: breezy.plugins.debian.tests.test_upstream.GitPristineTarSourceTests.test_version_as_revisions_partially_missing
----------------------------------------------------------------------
testtools.testresult.real._StringException: log: {{{
23.055  preparing to commit
    INFO  Committing to: /tmp/testbzr-ekr48i59.tmp/breezy.plugins.debian.tests.test_upstream.GitPristineTarSourceTests.test_version_as_revisions_partially_missing/work/unstable/
23.055  Selecting files for commit with filter None
23.056  aborting commit write group because of exception:
23.056  Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 414, in commit
    self._update_builder_with_changes()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 694, in _update_builder_with_changes
    for path, fs_hash in self.builder.record_iter_changes(
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.work_tree, self.basis_revid, iter_changes
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/usr/lib/python3/dist-packages/breezy/git/commit.py", line 53, in record_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 712, in _filter_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1002, in changes_from_git_changes
    (oldpath, oldmode, oldsha) = old
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
}}}

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_upstream.py", line 1113, in test_version_as_revisions_partially_missing
    revid1 = self.tree.commit("msg")
  File "/usr/lib/python3/dist-packages/breezy/mutabletree.py", line 118, in commit
    committed_id = commit.Commit().commit(
        working_tree=self,
    ...<3 lines>...
        **kwargs,
    )
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 414, in commit
    self._update_builder_with_changes()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 694, in _update_builder_with_changes
    for path, fs_hash in self.builder.record_iter_changes(
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self.work_tree, self.basis_revid, iter_changes
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/usr/lib/python3/dist-packages/breezy/git/commit.py", line 53, in record_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commit.py", line 712, in _filter_iter_changes
    for change in iter_changes:
                  ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1002, in changes_from_git_changes
    (oldpath, oldmode, oldsha) = old
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object

----------------------------------------------------------------------
Ran 559 tests in 23.756s

FAILED (errors=4, known_failure_count=3)
4 tests skipped
make[1]: *** [debian/rules:24: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-bazaar-maint mailing list