Martin-Éric Racine
2024-12-20 10:40:01 UTC
Reply
PermalinkVersion: 0.160
Severity: important
X-Debbugs-Cc: martin-***@iki.fi
$ lintian-brush
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ 154/154No changes made.
Some fixer scripts failed to run:
upstream-metadata-file: Script failed: /usr/share/lintian-brush/fixers/upstream-metadata-file.py (exit code 1) (stderr: thread '<unnamed>' panicked at library/alloc/src/raw_vec.rs:25:5:
capacity overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
File "/usr/share/lintian-brush/fixers/upstream-metadata-file.py", line 123, in <module>
guess_upstream_metadata_items(
pyo3_runtime.PanicException: capacity overflow
)
pubkey: Script failed: /usr/share/lintian-brush/fixers/pubkey.py (exit code 1) (stderr:
Traceback (most recent call last):
File "/usr/share/lintian-brush/fixers/pubkey.py", line 80, in <module>
sorted(entry.discover(source_package_name()), reverse=True)
File "/usr/lib/python3/dist-packages/debmutate/watch.py", line 227, in __lt__
return Version(self.version) < Version(other.version)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/debian/debian_support.py", line 287, in __init__
super(AptPkgVersion, self).__init__(version)
File "/usr/lib/python3/dist-packages/debian/debian_support.py", line 168, in __init__
self.full_version = version
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/debian/debian_support.py", line 197, in __setattr__
self._set_full_version(str(value))
File "/usr/lib/python3/dist-packages/debian/debian_support.py", line 174, in _set_full_version
raise ValueError("Invalid version string %r" % version)
ValueError: Invalid version string 'https://www.cups-pdf.de/src/cups-pdf_3.0beta2.tar.gz'
)
Run with --verbose for details.
***
It seems that the above fixer is incapable of dealing with unusual version numbers, which makes it crash.
Martin-Éric
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 6.1.0-28-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages lintian-brush depends on:
ii devscripts 2.24.8
ii libc6 2.40-4
ii libgcc-s1 14.2.0-11
ii liblzma5 5.6.3-1+b1
ii libpython3.12t64 3.12.8-3
ii libssl3t64 3.3.2-2
ii python3 3.12.7-1
ii python3-breezy 3.3.9-1+b1
ii python3-debian 0.1.49
ii python3-debmutate 0.70
ii python3-distro-info 1.12
ii python3-dulwich 0.22.7-1
ii python3-iniparse 0.5.1-1
ii python3-iso8601 2.1.0-2
ii python3-psycopg2 2.9.10-1
ii python3-ruamel.yaml 0.18.6+ds-3
ii python3-semver 2.10.2-3
ii python3-tomlkit 0.13.2-1
ii python3-upstream-ontologist 0.1.44-1+b1
Versions of packages lintian-brush recommends:
ii debhelper 13.22
ii decopy 0.2.4.8-0.1
ii dos2unix 7.5.2-1
ii gpg 2.2.45-2
ii lintian 2.121.1
ii ognibuild 0.0.32-1
ii python3-bs4 4.12.3-3
ii python3-levenshtein 0.26.1-1
Versions of packages lintian-brush suggests:
ii brz-debian 2.8.79
ii git-buildpackage 0.9.35
pn gnome-pkg-tools <none>
ii po-debconf 1.0.21+nmu1
pn postgr