[Pkg-javascript-devel] Bug#994223: lintian-brush crashes with multiple sources

Yadd yadd at debian.org
Tue Sep 14 07:23:05 BST 2021


Package: lintian-brush
Version: 0.111
Severity: important
X-Debbugs-Cc: pkg-javascript-devel at lists.alioth.debian.org

Hi,

when launching lintian-brush on a multiple-sources packages, it crashes:

  Traceback (most recent call last):
  File "/usr/bin/lintian-brush", line 33, in <module>
    sys.exit(load_entry_point('lintian-brush==0.111', 'console_scripts', 'lintian-brush')())
  File "/usr/lib/python3/dist-packages/lintian_brush/__main__.py", line 328, in main
    overall_result = run_lintian_fixers(
  File "/usr/lib/python3/dist-packages/lintian_brush/__init__.py", line 1165, in run_lintian_fixers
    check_clean_tree(local_tree, basis_tree, subpath)
  File "/usr/lib/python3/dist-packages/lintian_brush/__init__.py", line 778, in check_clean_tree
    changes = local_tree.iter_changes(
  File "/usr/lib/python3/dist-packages/breezy/tree.py", line 269, in iter_changes
    return intertree.iter_changes(include_unchanged, specific_files, pb,
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 971, in iter_changes
    changes, target_extras = self._iter_git_changes(
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1622, in _iter_git_changes
    return changes_between_git_tree_and_working_copy(
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1643, in changes_between_git_tree_and_working_copy
    for path, index_entry in target._recurse_index_entries():
  File "/usr/lib/python3/dist-packages/breezy/git/tree.py", line 1266, in _recurse_index_entries
    (ctime, mtime, dev, ino, mode, uid, gid, size, sha,
  ValueError: too many values to unpack (expected 10)

You can try for example with node-ws.

Cheers,
Yadd


-- System Information:

Versions of packages lintian-brush depends on:
ii  devscripts                   2.21.4
ii  python3                      3.9.2-3
ii  python3-breezy               3.1.0-8
ii  python3-debian               0.1.39
ii  python3-debmutate            0.38
ii  python3-distro-info          1.0
ii  python3-dulwich              0.20.23-1
ii  python3-iniparse             0.4-3
ii  python3-iso8601              0.1.13-1
ii  python3-ruamel.yaml          0.16.12-2
ii  python3-upstream-ontologist  0.1.22-1

Versions of packages lintian-brush recommends:
ii  decopy               0.2.4.4-0.1
ii  dos2unix             7.4.1-1
ii  gpg                  2.2.27-2
ii  libdebhelper-perl    13.5.1
ii  lintian              2.106.0
ii  ognibuild            0.0.9-1
ii  python3-asyncpg      0.24.0-1
ii  python3-bs4          4.9.3-1
ii  python3-docutils     0.16+dfsg-4
ii  python3-levenshtein  0.12.2-1
ii  python3-lxml         4.6.3+dfsg-0.1
ii  python3-markdown     3.3.4-1
ii  python3-pyinotify    0.9.6-1.3
ii  python3-tomlkit      0.6.0-2

Versions of packages lintian-brush suggests:
pn  breezy-debian      <none>
pn  gnome-pkg-tools    <none>
ii  po-debconf         1.0.21+nmu1
ii  postgresql-common  227

-- no debconf information



More information about the Pkg-javascript-devel mailing list