Your message dated Mon, 28 Jun 2021 08:33:26 +0000
with message-id <[email protected]>
and subject line Bug#980385: fixed in python-debian 0.1.40
has caused the Debian Bug report #980385,
regarding lintian-brush: failures with "strange" schroots and some packages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
980385: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980385
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: python-debian
Source-Version: 0.1.40
Done: Stuart Prescott <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-debian, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stuart Prescott <[email protected]> (supplier of updated python-debian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 28 Jun 2021 18:09:46 +1000
Source: python-debian
Architecture: source
Version: 0.1.40
Distribution: experimental
Urgency: medium
Maintainer: Debian python-debian Maintainers 
<[email protected]>
Changed-By: Stuart Prescott <[email protected]>
Closes: 980385
Changes:
 python-debian (0.1.40) experimental; urgency=medium
 .
   [ Jelmer Vernooij ]
   * In debian.changelog.get_maintainer, cope with unknown UIDs. Closes:
     #980385
 .
   [ Niels Thykier ]
   * Add some doctest SKIP markers to the code (MR!45).
   * Fix examples in code (MR!41, MR!43).
 .
   [ Frédéric Pierret ]
   * Numerous enhancements to the deb822.BuildInfo class (MR!40).
 .
   [ Stuart Prescott ]
   * Update annotations for mypy 0.8.00.
   * Include portability patch for pwd module on Windows from MR!38, with
     thanks to Ryan Pavlik for the report and Carmen Bianca Bakker for the
     implementation.
   * Drop the deb822.BuildInfo.get_debian_suite function.
   * Stop testing with Python 2.7.
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since stretch:
     + Build-Depends: Drop versioned constraint on binutils.
Checksums-Sha1:
 900b93b09e4973f5ddb2d25858ee0df27f327ce4 2216 python-debian_0.1.40.dsc
 1e564402473d395c17fb1b95f3072ff77f36a4d1 319952 python-debian_0.1.40.tar.xz
 686abdf10e9f35973c01d2f0885ea191efd9862e 6570 
python-debian_0.1.40_amd64.buildinfo
Checksums-Sha256:
 c8ad1173f5d27c408f0687e1bc5ee4d025968c34e350d66003a109e3fb3d44d3 2216 
python-debian_0.1.40.dsc
 66ff0f260bd0cc3b44d01c17456c3f7cadc2eef5035f38e990c07c57cb908fbb 319952 
python-debian_0.1.40.tar.xz
 33a3d02ffa7a9d10eb2493db0752dc25263c53b7b20e43717abc38e6913e5472 6570 
python-debian_0.1.40_amd64.buildinfo
Files:
 584339f2d4c5385b9cbe3b617205b1d0 2216 python optional python-debian_0.1.40.dsc
 3ccc0aa54e9cb8620cf8ca2c8c8f79b2 319952 python optional 
python-debian_0.1.40.tar.xz
 392671069323a783ccd11bbee056bd0d 6570 python optional 
python-debian_0.1.40_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkOLSwa0Uaht+u4kdu8F+uxOW8vcFAmDZhFkACgkQu8F+uxOW
8vfecA//T9fXwz9uWthnVYl571E9xNr/5iTk5Qf6TFcApm6DRHH8S7dMUtP1f/1p
e7TKalwZ1WN7tU45i0MdRsFcDct9Lg5r+nivd1rUsbNnw92sIFZjCfJ8wnDClPvN
EqpuwlzuC4Z8FAXyO3iON7JhHn8KxhIU8igmfar6ET3DmxriaLm9MopAbxKyi5Zd
i7Fg0Ayoi596Q7QOedc0JqoiTN8UgfGVr6R0AI3S5hmv2KkBfw8j0EEz1wuwYPOL
75mQeRJeKCTJLZaBiGXdwvy1v97ZMun0bDyh98BrEcA+0RnIeUFlJ4/dFIkuwD7q
69aDUaGaXgoOkryprUmDWGQiOW+qMEK98k1KZ9DqciRqOnPoiOGj00SWD1s5U/D2
tNSEGOf9z6xmAK4OdJwQXuFrd6eoaulJ3H/f3KfRr2/2bCzRxPlbPyNBhPFCiTVn
l9Z3TUHUnLxVHtSj0dfu6+gF93SzKJGQ5nN/QDKkSvlY3pigJPJg4Z9XgaLH4oxZ
b4TVycQSvMZ9pHXVwmNnAQtoReBVcgE0IQysZaB8EVngW/PcxJ4Og7RWgr/pB08k
jl5CIDHpMz8BxxUPVD2sAPjfmcQhRLT0qzw/jReuOnudgDkCfS2spE0KKq9mTL0S
rz+S4G+KPNFKZrUBUzM6Rde1bvBAWjKK02Xm89RmOpBUEWLZRj0=
=UElo
-----END PGP SIGNATURE-----

--- End Message ---
-- 
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-python-debian-maint

Reply via email to