Package: dpkg-dev
Version: 1.22.11
Severity: normal
X-Debbugs-Cc: hert...@debian.org

Hi Guillem,

While maintaining tracker.debian.org, I started to get failures about
invalid "Maintainer" fields.

There's a clear violation with a Maintainer field with two maintainers:
https://bugs.debian.org/1076048
Maintainer: Steve Langasek <vor...@debian.org>, Michael Vogt 
<michael.v...@ubuntu.com>

But we also have many cases where there's a trailing comma:

Maintainer: Debian Security Team <t...@security.debian.org>,
Maintainer: Daniel Baumann <daniel.baum...@progress-linux.org>,

And yet nothing complained about this (neither dpkg, nor lintian, nor
dak). dpkg-source and dpkg-gencontrol happily copied the invalid data.

After discussion on #debian-qa, we believe that the toolchain should strip
the trailing comma to bring the field back into compliance. Much like it
will clean up commas in dependencies.

But when that is not sufficient, it probably makes sense to fail and
report the problem? There's a single case that would be broken right now.
But a dozen of packages with trailing commas.

Thank you for your work on dpkg!

-- Package-specific info:

-- 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 dpkg-dev depends on:
ii  binutils      2.43.50.20241126-3
ii  bzip2         1.0.8-6
ii  libdpkg-perl  1.22.11
ii  make          4.3-4.1
ii  patch         2.7.6-7
ii  perl          5.40.0-8
ii  tar           1.35+dfsg-3
ii  xz-utils      5.6.3-1+b1

Versions of packages dpkg-dev recommends:
ii  build-essential          12.12
ii  clang-10 [c-compiler]    1:10.0.1-8+b1
ii  clang-11 [c-compiler]    1:11.1.0-6+b2
ii  clang-13 [c-compiler]    1:13.0.1-13
ii  clang-14 [c-compiler]    1:14.0.6-20
ii  clang-15 [c-compiler]    1:15.0.7-15+b1
ii  clang-16 [c-compiler]    1:16.0.6-27+b1
ii  clang-17 [c-compiler]    1:17.0.6-18
ii  clang-18 [c-compiler]    1:18.1.8-12
ii  clang-9 [c-compiler]     1:9.0.1-20+b1
ii  fakeroot                 1.36-1
ii  gcc [c-compiler]         4:14.2.0-1
ii  gcc-10 [c-compiler]      10.5.0-4
ii  gcc-11 [c-compiler]      11.5.0-1
ii  gcc-12 [c-compiler]      12.4.0-2
ii  gcc-13 [c-compiler]      13.3.0-8
ii  gcc-14 [c-compiler]      14.2.0-8
ii  gnupg                    2.2.45-2
ii  gpgv                     2.2.45-2
ii  libalgorithm-merge-perl  0.08-5

Versions of packages dpkg-dev suggests:
ii  debian-keyring  2024.09.22

-- no debconf information

Reply via email to