Package: lintian-brush Version: 0.86 Severity: normal Usertags: crash Whilst preparing an apt-listchanges NMU (a native package without a watch file), I got an error from debian-watch-file-old-format, it looks like it always expects the watch file to be present, but that is unlikely for native packages.
apt-listchanges (master=) $ lintian-brush
No changes made.
Some fixer scripts failed to run: {'debian-watch-file-old-format'}. Run with
--verbose for details.
apt-listchanges (master=) $ lintian-brush --verbose |& grep -A3
debian-watch-file-old-format
Fixer 'debian-watch-file-old-format' failed to run.
Script /usr/share/lintian-brush/fixers/debian-watch-file-old-format.py failed
with exit code: 1
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/lintian_brush/__init__.py", line 287, in
run
exec(code, global_vars)
File "/usr/share/lintian-brush/fixers/debian-watch-file-old-format.py", line
12, in <module>
if editor.watch_file.version >= WATCH_FILE_LATEST_VERSION:
AttributeError: 'NoneType' object has no attribute 'version'
apt-listchanges (master=) $ ls debian/watch
ls: cannot access 'debian/watch': No such file or directory
apt-listchanges (master=) $ cat debian/source/format
3.0 (native)
-- System Information:
Debian Release: bullseye/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800,
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700,
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.9.0-1-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages lintian-brush depends on:
ii devscripts 2.20.4
ii python3 3.8.6-1
ii python3-breezy 3.1.0-6
ii python3-debian 0.1.38
ii python3-debmutate 0.14
ii python3-distro-info 0.24
ii python3-dulwich 0.20.2-1
ii python3-iniparse 0.4-3
ii python3-ruamel.yaml 0.16.12-2
Versions of packages lintian-brush recommends:
ii decopy 0.2.4.4-0.1
ii dos2unix 7.4.1-1
ii gpg 2.2.20-1
ii libdebhelper-perl 13.2.1
ii lintian 2.102.0
pn python3-asyncpg <none>
ii python3-bs4 4.9.3-1
ii python3-levenshtein 0.12.0-5+b2
ii python3-pyinotify 0.9.6-1.3
ii python3-toml 0.10.1-1
Versions of packages lintian-brush suggests:
pn breezy-debian <none>
ii gnome-pkg-tools 0.21.2
ii po-debconf 1.0.21
pn postgresql-common <none>
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

