Package: lintian-brush Version: 0.92 Severity: normal Dear maintainer,
I normally use lintian-brush in a sid schroot, where my uid doesn't exist: $ id -u 1000 $ schroot -- id -u 1000 $ schroot -- getent passwd|grep 1000 $ When I run lintian-brush against eg src:debian-edu (from sid) it works nicely, and so it does on many packages. However when I run it against src:munin (eg 2.0.66-1 from sid) I get this: $ schroot -- lintian-brush --verbose --dry-run Fixer 'file-contains-trailing-whitespace' made no changes. (took: 0.02s) Fixer 'insecure-copyright-format-uri' made no changes. (took: 0.00s) Fixer 'unversioned-copyright-format-uri' made no changes. (took: 0.00s) Fixer 'debian-control-has-unusual-field-spacing' made no changes. (took: 0.01s) Fixer 'rules-not-executable' made no changes. (took: 0.10s) Fixer 'copyright-has-crs' made no changes. (took: 0.10s) Fixer 'copyright-continued-lines-with-space' made no changes. (took: 0.09s) Fixer 'no-copyright-file' made no changes. (took: 0.00s) Fixer 'desktop-entry-file-has-crs' made no changes. (took: 0.01s) Fixer 'executable-desktop-file' made no changes. (took: 0.03s) Fixer 'package-has-no-description' made no changes. (took: 0.03s) Fixer 'empty-debian-tests-control' made no changes. (took: 0.00s) Fixer 'field-name-typo-in-tests-control' made no changes. (took: 0.00s) Fixer 'out-of-date-copyright-format-uri' made no changes. (took: 0.13s) Fixer 'obsolete-field-in-dep5-copyright' made no changes. (took: 0.00s) Fixer 'comma-separated-files-in-dep5-copyright' made no changes. (took: 0.00s) Fixer 'common-license' made no changes. (took: 0.03s) Fixer 'ancient-python-version-field' made no changes. (took: 0.00s) Fixer 'build-depends-on-build-essential' made no changes. (took: 0.00s) Fixer 'build-depends-on-obsolete-package' made no changes. (took: 0.03s) Fixer 'control-file-with-CRLF-EOLs' made no changes. (took: 0.12s) Fixer 'debhelper-but-no-misc-depends' made no changes. (took: 0.01s) Fixer 'debhelper-tools-from-autotools-dev-are-deprecated' made no changes. (took: 0.00s) Fixer 'debian-changelog-line-too-long' made no changes. (took: 0.04s) Fixer 'debian-changelog-file-contains-obsolete-user-emacs-settings' made no changes. (took: 0.14s) Fixer 'changelog-has-duplicate-line' made no changes. (took: 0.01s) Fixer 'debian-control-has-empty-field' made no changes. (took: 0.01s) Fixer 'debian-control-has-obsolete-dbg-package' made no changes. (took: 0.01s) Fixer 'debian-pycompat-is-obsolete' made no changes. (took: 0.02s) Fixer 'debian-pyversions-is-obsolete' made no changes. (took: 0.00s) Fixer 'debian-rules-should-not-use-pwd' made no changes. (took: 0.00s) Fixer 'debian-source-options-has-custom-compression-settings' made no changes. (took: 0.01s) Fixer 'debian-tests-control-autodep8-is-obsolete' made no changes. (took: 0.00s) Fixer 'debian-upstream-obsolete-path' made no changes. (took: 0.02s) Fixer 'debian-watch-file-old-format' was unable to preserve formatting of debian/watch. Fixer 'debian-watch-uses-insecure-uri' made no changes. (took: 1.50s) Fixer 'debian-watch-contains-dh_make-template' made no changes. (took: 0.00s) Fixer 'dep5-file-paragraph-references-header-paragraph' made no changes. (took: 0.00s) Fixer 'dh-clean-k-is-deprecated' made no changes. (took: 0.00s) Fixer 'empty-debian-source-options' made no changes. (took: 0.00s) Fixer 'empty-debian-patches-series' made no changes. (took: 0.00s) Fixer 'homepage-in-binary-package' made no changes. (took: 0.00s) Fixer 'homepage-field-uses-insecure-uri' made no changes. (took: 0.47s) Fixer 'libmodule-build-perl-needs-to-be-in-build-depends' made no changes. (took: 0.01s) Fixer 'maintainer-script-without-set-e' made no changes. (took: 0.00s) Fixer 'dm-upload-allowed' made no changes. (took: 0.00s) Fixer 'init.d-script-needs-depends-on-lsb-base' made changes but not high enough certainty (was 'possible', needed 'certain'). (took: 0.00s) Fixer 'maintainer-also-in-uploaders' made no changes. (took: 0.01s) Fixer 'vcs-field-for-maintainer' made no changes. (took: 0.00s) Fixer 'python-teams-merged' made no changes. (took: 0.01s) Fixer 'source-format' made no changes. (took: 0.00s) Fixer 'dh-quilt-addon-but-quilt-source-format' made no changes. (took: 0.00s) Fixer 'missing-build-dependency-for-dh_-command' made no changes. (took: 0.01s) Fixer 'missing-vcs-browser-field' made no changes. (took: 0.01s) Fixer 'no-homepage-field' made no changes. (took: 0.01s) Fixer 'orphaned-package-should-not-have-uploaders' made no changes. (took: 0.00s) Fixer 'declares-possibly-conflicting-debhelper-compat-versions' made no changes. (took: 0.00s) Fixer 'debhelper-compat-wrong-field' made no changes. (took: 0.00s) Fixer 'package-needs-versioned-debhelper-build-depends' made no changes. (took: 0.00s) Fixer 'package-uses-deprecated-source-override-location' made no changes. (took: 0.02s) Fixer 'package-uses-deprecated-debhelper-compat-version' made no changes. (took: 0.01s) Fixer 'uses-debhelper-compat-file' made no changes. (took: 0.00s) Fixer 'patch-file-present-but-not-mentioned-in-series' made no changes. (took: 0.00s) Fixer 'possible-missing-colon-in-closes' made no changes. (took: 0.98s) Fixer 'priority-extra-is-replaced-by-priority-optional' made no changes. (took: 0.00s) Fixer 'public-upstream-key-not-minimal' made no changes. (took: 0.07s) Fixer 'public-upstream-keys-in-multiple-locations' made no changes. (took: 0.03s) Fixer 'public-upstream-key-binary' made no changes. (took: 0.00s) Fixer 'quilt-series-without-trailing-newline' made no changes. (took: 0.08s) Fixer 'renamed-tag' made no changes. (took: 0.00s) Fixer 'malformed-override' made no changes. (took: 0.00s) Fixer 'space-in-std-shortname-in-dep5-copyright' made no changes. (took: 0.02s) Fixer 'systemd-service-file-pidfile-refers-to-var-run' made no changes. (took: 0.04s) Fixer 'systemd-service-file-shutdown-problems' made no changes. (took: 0.00s) Fixer 'systemd-service-alias-without-extension' made no changes. (took: 0.00s) Fixer 'systemd-service-file-refers-to-obsolete-bindto' made no changes. (took: 0.00s) Fixer 'systemd-service-file-refers-to-obsolete-target' made no changes. (took: 0.00s) Fixer 'transitional-package-should-be-oldlibs-optional' made no changes. (took: 0.03s) Fixer 'unnecessary-team-upload' made no changes. (took: 0.03s) Fixer 'unnecessary-testsuite-autopkgtest-field' made no changes. (took: 0.01s) Fixer 'upstream-metadata-invalid' made no changes. (took: 0.23s) Fixer 'field-name-typo-in-upstream-metadata' made no changes. (took: 0.02s) Traceback (most recent call last): File "/usr/bin/lintian-brush", line 33, in <module> sys.exit(load_entry_point('lintian-brush==0.92', 'console_scripts', 'lintian-brush')()) File "/usr/lib/python3/dist-packages/lintian_brush/__main__.py", line 228, in main overall_result = run_lintian_fixers( File "/usr/lib/python3/dist-packages/lintian_brush/__init__.py", line 997, in run_lintian_fixers result, summary = run_lintian_fixer( File "/usr/lib/python3/dist-packages/lintian_brush/__init__.py", line 878, in run_lintian_fixer add_changelog_entry(local_tree, changelog_path, [summary] + details) File "/usr/lib/python3/dist-packages/lintian_brush/changelog.py", line 54, in add_changelog_entry _changelog_add_entry( File "/usr/lib/python3/dist-packages/debmutate/changelog.py", line 305, in changelog_add_entry maintainer_name, maintainer_email = get_maintainer() File "/usr/lib/python3/dist-packages/debian/changelog.py", line 989, in get_maintainer user = pwd.getpwuid(os.getuid()).pw_name KeyError: 'getpwuid(): uid not found: 1000' $ I don't have an idea why I only see this with src:munin so far. I don't mind lintian-brush failing in this situation, but I think there should a clean error message instead of a traceback. And even better if it could handle this nicely. Thanks for lintian-brush, it's still awesome! -- cheers, Holger ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org ⢿⡄⠘⠷⠚⠋⠀ PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C ⠈⠳⣄ Everyone is entitled to their own opinion, but not their own facts.
signature.asc
Description: PGP signature