Package: lintian
Version: 2.120.0
Severity: normal
X-Debbugs-Cc: hert...@debian.org, daniel.baum...@progress-linux.org, 
debian-common-l...@lists.debian.org, debian-python@lists.debian.org, 

The Maintainer field is only allowed to have a single contact. When you
put two, you get a "too-many-contacts" error from lintian.

But when you put a single one followed by a comma, then lintian doesn't
say anything and yet the value is not allowed by the policy. We have more
and more packages with this mistake and it would be good to add this check
in place before it gets too common. (I noticed because it broke
tracker.debian.org's parsing of the Maintainer field)

https://tracker.debian.org/media/packages/p/python-greenlet/control-3.1.0-1
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>,

(and we have many more cases in the Python team, not sure if there's some
bad tooling involved here)

https://tracker.debian.org/media/packages/g/gnome-shell-extensions-extra/control-20240916-1
Maintainer: Daniel Baumann <daniel.baum...@progress-linux.org>,

(and more in some other random packages)

Anyway this is not allowed by the policy, it should result in a lintian
error. I have opened a ticket against dpkg
(https://bugs.debian.org/1089648) to help strip the trailing
comma and make this a non-issue but it will likely be quicker to have
a test in lintian.

Thank you for your work on lintian!

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.2-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lintian depends on:
ii  appstream                       1.0.3-1+b1
ii  binutils                        2.43.50.20241126-3
ii  bzip2                           1.0.8-6
ii  diffstat                        1.67-1
ii  dpkg                            1.22.11
ii  dpkg-dev                        1.22.11
ii  file                            1:5.45-3+b1
ii  gettext                         0.22.5-2
ii  gpg                             2.2.45-2
ii  intltool-debian                 0.35.0+20060710.6
ii  iso-codes                       4.17.0-1
ii  libapt-pkg-perl                 0.1.40+b6
ii  libarchive-zip-perl             1.68-1
ii  libberkeleydb-perl              0.66-1
ii  libcapture-tiny-perl            0.48-2
ii  libclass-xsaccessor-perl        1.19-4+b4
ii  libclone-perl                   0.47-1+b1
ii  libconfig-tiny-perl             2.30-1
ii  libconst-fast-perl              0.014-2
ii  libcpanel-json-xs-perl          4.38-1+b1
ii  libdata-dpath-perl              0.60-1
ii  libdata-validate-domain-perl    0.15-1
ii  libdata-validate-uri-perl       0.07-3
ii  libdevel-size-perl              0.84-1+b1
pn  libdigest-sha-perl              <none>
ii  libdpkg-perl                    1.22.11
ii  libemail-address-xs-perl        1.05-1+b4
ii  libencode-perl                  3.21-1+b2
ii  libfile-basedir-perl            0.09-2
ii  libfile-find-rule-perl          0.34-3
ii  libfont-ttf-perl                1.06-2
ii  libhtml-html5-entities-perl     0.004-3
ii  libhtml-tokeparser-simple-perl  3.16-4
ii  libio-interactive-perl          1.025-1
ii  libipc-run3-perl                0.049-1
ii  libjson-maybexs-perl            1.004008-1
ii  liblist-compare-perl            0.55-2
ii  liblist-someutils-perl          0.59-1
ii  liblist-utilsby-perl            0.12-2
ii  libmldbm-perl                   2.05-4
ii  libmoo-perl                     2.005005-1
ii  libmoox-aliases-perl            0.001006-2
ii  libnamespace-clean-perl         0.27-2
ii  libpath-tiny-perl               0.146-1
ii  libperlio-gzip-perl             0.20-1+b4
ii  libperlio-utf8-strict-perl      0.010-1+b3
ii  libproc-processtable-perl       0.636-1+b3
ii  libregexp-wildcards-perl        1.05-3
ii  libsereal-decoder-perl          5.004+ds-1+b3
ii  libsereal-encoder-perl          5.004+ds-1+b3
ii  libsort-versions-perl           1.62-3
ii  libsyntax-keyword-try-perl      0.30-1+b1
ii  libterm-readkey-perl            2.38-2+b4
ii  libtext-levenshteinxs-perl      0.03-5+b4
ii  libtext-markdown-discount-perl  0.16-1+b3
ii  libtext-xslate-perl             3.5.9-2+b1
ii  libtime-duration-perl           1.21-2
ii  libtime-moment-perl             0.44-2+b4
ii  libtimedate-perl                2.3300-2
ii  libunicode-utf8-perl            0.62-2+b3
ii  liburi-perl                     5.30-1
ii  libwww-mechanize-perl           2.19-1
ii  libwww-perl                     6.77-1
ii  libxml-libxml-perl              2.0207+dfsg+really+2.0134-5+b1
ii  libyaml-libyaml-perl            0.902.0+ds-2+b1
ii  lzip [lzip-decompressor]        1.24.1-2
ii  lzop                            1.04-2
ii  man-db                          2.13.0-1
ii  patchutils                      0.4.2-1
ii  perl [libversion-perl]          5.40.0-8
ii  t1utils                         1.41-4
ii  unzip                           6.0-28
ii  xz-utils                        5.6.3-1+b1

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch     2.43.50.20241126-3
ii  libtext-template-perl  1.61-1

-- no debconf information

Reply via email to