#1003817 lintian: fpos for update-debian-copyright

#1003817#3
Date:
2022-01-16 08:21:49 UTC
From:
To:
My d/copyright has:

|Files: debian/*
|Copyright: 2014 Jesse Rhodes <drubo@drubo.net>
|           2016-2022 Mattia Rizzolo <mattia@debian.org>
|License: GPL-2+
|
|Files: debian/apparmor/*
|Copyright: 2014 troubadour <trobador@riseup.net>
|           2014-2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|License: GPL-3+-with-additional-terms-1

Regardless, I get:

P: hexchat source: update-debian-copyright 2021 vs 2022 [debian/copyright:17]

I guess it's taking the 2021 from the second paragraph?

#1003817#8
Date:
2022-01-16 13:57:44 UTC
From:
To:
Hi,

The code assumes there is only one Debian paragraph [1] and issues the
tag for any with an outdated copyright. The current year (2022) in
just one of them should suffice to silence the tag altogether.

I cannot reproduce the behavior with hexchat_2.16.0-3.dsc (although
there are probably others) because it lacks the second paragraph. [2]
Are you uploading your new version to the archive? It would help me
fix the bug. Thanks!

Kind regards
Felix Lechner

[1] https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/Debian/Copyright/Dep5.pm#L644
[2] https://sources.debian.org/src/hexchat/2.16.0-3/debian/copyright/

#1003817#13
Date:
2022-01-16 15:24:14 UTC
From:
To:


I'm not uploading the new version so soon because it still needs some
testing.  However you can get it from the "apparmor" branch of its git
repository.

#1003817#16
Date:
2022-01-19 22:54:06 UTC
From:
To:
Hello,

Bug #1003817 in lintian reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/lintian/lintian/-/commit/4bce5f1887ba8e656fa37bf0f002c0bfc65716ab
Picks just the most recent of all Debian years now. Points to the topmost
section, if that year appears more than once. By convention, that should be the
broadest pattern and therefore the most likely in need of an update.

Four existing test cases were modified to validate the desired behavior going
forward.

Thanks to Mattia Rizzolo for bringing the matter to our attention!
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1003817

#1003817#23
Date:
2022-04-21 12:29:02 UTC
From:
To:
That one bites me too.

#####
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Martin-Éric Racine <martin-eric.racine@iki.fi>

Files: *
Copyright: © 2004-2022 Martin-Éric Racine <martin-eric.racine@iki.fi>
           © 2004,2012 Christoph Schindler <hop@30hopsmax.at>
           © 2003-2004 Martin Zdrahal <martin.zdrahal@konflux.at>
License: GPL-2+

Files: debian/source_upgrade-system.py
Copyright: © 2011 Brian Murray <brian@ubuntu.com>
License: GPL-2+

License: GPL-2+
 On Debian systems, the complete text of the GNU General Public License
 can be found in </usr/share/common-licenses/GPL-2>.
#####

It apprently catches the file-specific second block and assumes that the copyright of the whole package is outdated. The current copyright is correct in the first block.

Martin-Éric

- -- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 5.10.0-13-amd64 (SMP w/8 CPU threads)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages lintian depends on:
ii  binutils                        2.38-3
ii  bzip2                           1.0.8-5
ii  diffstat                        1.64-1
ii  dpkg                            1.21.7
ii  dpkg-dev                        1.21.7
ii  file                            1:5.41-3
ii  gettext                         0.21-6
ii  gpg                             2.2.27-3+b1
ii  intltool-debian                 0.35.0+20060710.5
ii  libapt-pkg-perl                 0.1.40+b1
ii  libarchive-zip-perl             1.68-1
ii  libcapture-tiny-perl            0.48-1
ii  libclass-xsaccessor-perl        1.19-3+b8
ii  libclone-perl                   0.45-1+b2
ii  libconfig-tiny-perl             2.28-1
ii  libconst-fast-perl              0.014-1.1
ii  libcpanel-json-xs-perl          4.27-1+b1
ii  libdata-dpath-perl              0.58-1
ii  libdata-validate-domain-perl    0.10-1.1
ii  libdata-validate-uri-perl       0.07-2
ii  libdevel-size-perl              0.83-1+b3
pn  libdigest-sha-perl              <none>
ii  libdpkg-perl                    1.21.7
ii  libemail-address-xs-perl        1.04-1+b4
ii  libfile-basedir-perl            0.09-1
ii  libfile-find-rule-perl          0.34-1
ii  libfont-ttf-perl                1.06-1.1
ii  libhtml-html5-entities-perl     0.004-1.1
ii  libio-interactive-perl          1.023-1
ii  libio-prompt-tiny-perl          0.003-1
ii  libipc-run3-perl                0.048-2
ii  libjson-maybexs-perl            1.004003-1
ii  liblist-compare-perl            0.55-1
ii  liblist-someutils-perl          0.58-1
ii  liblist-utilsby-perl            0.11-1
ii  libmoo-perl                     2.005004-3
ii  libmoox-aliases-perl            0.001006-2
ii  libnamespace-clean-perl         0.27-1
ii  libpath-tiny-perl               0.122-1
ii  libperlio-gzip-perl             0.19-1+b8
ii  libperlio-utf8-strict-perl      0.009-1+b1
ii  libproc-processtable-perl       0.634-1+b1
ii  libsereal-decoder-perl          4.023+ds-1
ii  libsereal-encoder-perl          4.023+ds-1
ii  libsort-versions-perl           1.62-1
ii  libsyntax-keyword-try-perl      0.27-1
ii  libterm-readkey-perl            2.38-1+b3
ii  libtext-glob-perl               0.11-2
ii  libtext-levenshteinxs-perl      0.03-4+b9
ii  libtext-markdown-discount-perl  0.13-1+b1
ii  libtext-xslate-perl             3.5.9-1+b1
ii  libtime-duration-perl           1.21-1
ii  libtime-moment-perl             0.44-1+b4
ii  libtimedate-perl                2.3300-2
ii  libunicode-utf8-perl            0.62-1+b3
ii  liburi-perl                     5.10-1
ii  libxml-libxml-perl              2.0207+dfsg+really+2.0134-1
ii  libyaml-libyaml-perl            0.83+ds-1+b1
ii  lzip                            1.23-3
ii  lzop                            1.04-2
ii  man-db                          2.10.2-1
ii  patchutils                      0.4.2-1
ii  perl [libencode-perl]           5.34.0-4
ii  t1utils                         1.41-4
ii  unzip                           6.0-26
ii  xz-utils                        5.2.5-2.1

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
pn  libtext-template-perl  <none>

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmJhTgsACgkQrh+Cd8S0
17btZQ/+OpZr7lvAFzS5GE70uBBQIVMBG7TWV8WKXTiglBG/5h1gALrIRYVuhK9g
uyGtFlRnMOY4YUTriQ/a1bX4CtaeeCd/dEBnkBDiJgc9TvIWOvvrbt/KortG3OhC
nIRFYjiGz5+fx+7OxDzdBckZwHOFmf+3A4rf2ZxEshwrCgWH6z7n2TFNOPVy2DIP
vgGR34qtMXh4qic26J+iPov4733gUP7qobTH8mHMgFfr1ViJ08tQYl8aqHgYXUdS
A0AQLFXMmEa6iiUKYHiH86ZA4LDB+RnqT0U9W2sGraXp49OiwtTfb4f+0+9k4A+b
grj44Dt8qg8SboOMgLxp5PXwS10AbbfCGCsLp54H3qz0hmc7m6Ef9GLIm6Dnuh1s
wpRZSSP5ZwtW66yynoZ/eBp/o/CiTkPiBgTI0Z+LY1wozoqIk7lE6GWACidt0nCw
D+gn2u2Fx7vKEyH8IXgHV6cgPtvypPrL8saU1/1iXcsnt9PYgRO2U6MEYED74zfQ
OyQZYZWYAohfaOq49ImydOOvB2VRnJOO9j3EiBTiQeoUtzvkIfwsdLzrv4hRVA9F
Ul6EMEOpgFVbWDXZb7Cnoq65usFnPc9CZVY4zHd9hjGgnRweM/+zPnz1R3iVASOR
J8yL50C4+Pjn2erGc1AtPwKzy1LP1J5uQ5vRoQz8jBYuBARhQIg=
=KBab
-----END PGP SIGNATURE-----

#1003817#28
Date:
2022-06-20 14:34:13 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
lintian, 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 1003817@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <abe@debian.org> (supplier of updated lintian 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 20 Jun 2022 13:23:02 +0200
Source: lintian
Architecture: source
Version: 2.115.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Axel Beckert <abe@debian.org>
Closes: 657390 932634 941656 963099 989381 995286 996740 999768 999810 1000234 1000977 1001655 1002828 1003131 1003272 1003353 1003456 1003668 1003817 1003913 1003941 1004231 1004239 1004240 1004660 1005046 1005184 1005762 1006390 1006859 1007140 1007257 1012090
Changes:
 lintian (2.115.0) unstable; urgency=medium
 .
   The Lintian Resurrection Release.
 .
   * Summary of tag changes:
     + Added:
       - alien-tag
       - chown-with-dot
       - conflicting-test-fields
       - declare-python-versions-for-test
       - drop-python-version-declaration
       - invalid-override-restriction
       - missing-prerequisite-for-pyproject-backend
       - old-devhelp-standard
       - stray-devhelp-documentation
       - test-leaves-python-version-untested
       - uses-poetry-cli
     + Removed:
       - crossing-screens
       - debhelper-compatibility-level-not-a-number
       - debian-tests-control-and-control-autodep8
       - exclusive-runtime-tests-field
       - package-contains-devhelp-file-without-symlink
 .
   [ Axel Beckert ]
   * Adopting Lintian. (Changes #1012289 from ITA to pure RFH.)
     + Remove Chris Lamb from Uploaders (see #1012289) and re-add myself.
   * Workarounds until
https://github.com/Perl-Critic/Perl-Critic/issues/925 is fixed:
     + Replace all occurrences of "Copyright ©" with "Copyright (C)" again.
     + Remove unnecessary usage of UTF-8 from bin/lintian.
     + Replace UTF-8 characters in mostly Copyright comments.
     + Replace UTF-8 characters in code with \N{…}.
   * Remove literal unicode character U+0334 COMBINING TILDE OVERLAY which
     likely had been added accidentally. (Triggered by the symptoms of
https://github.com/Perl-Critic/Perl-Critic/issues/925, but permanent.)
   * Update copyright years in debian/copyright.
   * Run perltidy over lib, bin/lintian, private/refresh-perl-provides,
     private/runtests and several files in t/scripts/.
   * data/…/perl-provides updated by running "debian/rules
     refresh-perl-provides".
   * Add Felix Lechner to debian/copyright based on copyright statements
     elsewhere. Thanks for all your contributions!
   * Update t/recipes/README: "debian/rules runtests" → "private/runtests"
   * Follow module renaming: Perl::Critic::Freenode → Perl::…::Community.
   * t/s…/h…/tag-coverage.t: Replace "$ENV{'LINTIAN_BASE'}" with
     "$ENV{'LINTIAN_BASE'} // '.'" to be able to run it with "prove -l".
   * init.d-general check: Avoid relying on line numbers in #DEBHELPER#
     replacement code.
   * very-long-line-length-in-source-file: Ignore files listed in new data
     file binary-file-extensions. (Closes: #1005046)
   * Fix false positives for adopted-extended-field with X- prefixed
     fields. (Closes: #999768)
     + Empty hints files seem to require a Test-Against field in desc.
   * Update own source lintian-overrides for "pointed hints".
     + Make them work with old and new lintian versions by using wildcards.
   * Rename README.developers to have a proper file suffix (.pod).
   * Switch syntax marker of README.developers.pod from "perl" to "pod".
   * Documentation update: Replace directory "frontend/" with "bin/".
   * Fix a bunch of "Use of uninitialized value $_ in concatenation"
     warnings when running tests with "prove -l" directly.
   * README.developers.pod: Explain the difference between check and test.
   * lintian(1): Drop mentioning of never existing --no-overrides option.
   * Replace unfitting Text::Glob with more flexible Regexp::Wildcards
     (Closes: #1003353)
     + Add unit test for Lintian::Util::match_glob. The current testsuite
       does not seem to be able to cover such a case.
   * Declare compliance with Debian Policy 4.6.1. (No changes needed.)
   * Refresh data using private/refresh-data. Skip unreleased policy though
     for now.
   * Fix "Use of uninitialized value $step in concatenation" in
     Lintian::Version which showed up as unrecognized tag (!) when running
     the test suite on the git repo already tagged for a release.
   * debian/gbp.conf: Declare so far used tag format so that gbp uses it.
   * Add lintian override for very-long-line-length-in-source-file in
     Lintian::Check::Cruft as well as test-leaves-python-version-untested.
   * Use versioned Breaks instead of Conflicts against lzd, see #1001655.
     Thanks Lintian for reporting ;-) and Paul Gevers for the sanity check!
 .
   [ Felix Lechner ]
   * Refresh manual references.
   * Use Text::Glob to match hint contexts with override patterns. Replaces
     a trusted homegrown routine. (Closes: #1003272)
   * Refresh list of available Debhelper commands.
   * Refresh list of installable fonts.
   * Generate section references for Lintian manual from repo; point to
     website.
   * Accept globbing patterns in profiles when enabling and disabling
     checks or tags.
   * Refresh data sources in parallel.
   * Add the New Maintainer's Guide to the list of quotable authorities.
   * Eliminate unpredictable output in the check siles/privacy-breach.
   * Honor the environment variable NO_COLOR as specified in
https://no-color.org/.
   * More attempts to eliminate unpredictable output in the check
     files/privacy-breach.
   * Drop the tag debian-tests-control-and-control-autodep8.
   * Set authority references apart from other data sources.
   * Provide rudimentary Emacs integration. (See: #968758)
   * Associate Emacs modules with the 'editors' archive section.
   * Recognize /usr/bin/raku as a known interpreter for scripts. (Closes:
     #1002828)
   * Do not depend on any particular Lzip implementation. (Closes:
     #1001655)
   * Exempt installables designated as documentation from warning about new
     Python2 packages. (Closes: #995286)
   * Update citations in two tags. (Closes: #1003131)
   * Drop version requirement from
     skip-systemd-native-flag-missing-pre-depends. (See: #1003271)
   * Import new CSS style sheet from the website.
   * Recognize dh-sequence-sphinxdoc as a valid prerequisite for
     dh_sphinxdoc. (Closes: #999810)
   * Tolerate multiarch acceptors in prerequisites for Debhelper commands
     and addons. (Closes: #1000234)
   * Issue yet more pointed hints.
   * Recognize pybuild-plugin-pyproject as a valid prerequisite for the
     python3 Debhelper plugin. (Closes: #1003668)
   * Exempt bullseye backports from changelog-file-missing-explicit-entry.
     (Closes: #941656)
   * Mask long source lines in autotools-generated files. (Closes: #996740)
   * Turn embedded-library into a classification tag. (Closes: #932634)
   * Require the targets build-arch and build-indep in debian/rules.
     (Closes: #657390)
   * Do not insist on a particular name for unversioned links to a shared
     library. (Closes: #963099)
   * Exempt the names of Debian folks associated with a package from
     spelling checks. (Closes: #989381)
   * Require py3version invocation consistent with presence of
     X-Python3-Version in d/control. (See: #1001677)
   * Exempt CGI scripts from executable-in-usr-lib. (Closes: #1003941)
   * CGI scripts can be ELF executables. (See: #1003941)
   * Exempt Python's .dist-info and .egg-info folders everywhere from
     documentation-outside-usr-share. (Closes: #1003913)
   * Flag an outdated Debian copyright just once; use the most recent
     year. (Closes: #1003817)
   * Implement '--no-show-overrides'; honor it for overrides and masks
     alike. (See: #1004240)
   * Allow the command-line option '--no-info' to reverse 'info=yes' in the
     configuration file. (Closes: #1004240)
   * Elide manual references to ancient Lintian versions; use modern
     examples. (Closes: #1004231)
   * Deprecate --no-tag-display-limit for '--tag-display-limit 0'; update
     documentation. (Closes: #1004239)
   * Also provide a default output width for
     lintian-annotate-hints. (Closes: #1004660)
   * Mask examples in tests from
     package-does-not-install-examples. (Closes: #1005184)
   * Recognize Java 18 in unstable, and Java 19 as otherwise
     available. (Closes: #1005762)
   * Leave default Java bytecode version at 56. (See: #1005762)
   * Adjust documentation reference to manual page for dh_make. (Closes:
     #1006390)
   * Warn about devhelp index files that use version 1. (Closes: #1006859)
   * Store ELF information from readelf in an MLDBM database. (Closes:
     #1003456)
   * Issue pedantic hint for dot in 'chown user.group' instead of a
     colon. (Closes: #1007140)
   * Upgrade missing-systemd-timer-for-cron-script to warning; no longer
     experimental. (Closes: #1007257)
 .
   [ Ryan Finnie ]
   * Provide a constant citation for
     systemd-service-file-uses-nobody-or-nogroup. (Closes: !385)
 .
   [ Louis-Philippe Véronneau ]
   * Check that tests pulling in all Python versions also query which ones
     are available. (Closes: !361)
   * Add new Python tags for pyproject.toml build backends according to
     PEP-517. (Closes: !384)
   * Rename 'python3-flit' to 'flit', as there is no 'python3-flit'
     package. (Closes: !386)
 .
   [ Daniel Kahn Gillmor ]
   * Correct lintian-annotate-hints manpage.
 .
   [ Simon McVittie ]
   * Silence a very widespread false positive for detached debug symbols.
     (Closes: #1000977, !387)
 .
   [ Simon Quigley ]
   * Add "kinetic" as a known Ubuntu distribution. (Closes: !392)
 .
   [ xiao sheng wen(肖盛文) ]
   * Add riscv64 support (Closes: #1012090, !394)
 .
   [ Damyan Ivanov ]
   * Update releases.json data for Debian policy releases (4.6.1 added;
     closes: !393)
 .
   [ Paul Wise ]
   * Add more obsolete domains for former source code hosting services.
Checksums-Sha1:
 863a51cffc5b8359ef133d6e6f150d9cac148eb3 2503 lintian_2.115.0.dsc
 e20194c63f481a7361969fab6ea7739f3f6e03d5 2170172 lintian_2.115.0.tar.xz
 3453b48f59dd2f58e2e78523e9018c58a42faebe 7274 lintian_2.115.0_source.buildinfo
Checksums-Sha256:
 431a025b52e185cac6cbf2fedca8b6c60e2f7dfa55d89d86fcd543a34e8232b9 2503 lintian_2.115.0.dsc
 f353d372d036daa6ad0341b418728cfe73c11688708b6c3a33d50acb445d2b53 2170172 lintian_2.115.0.tar.xz
 e1c1bd41b7f5a8014231f9db422c1711e97cf50146eab83a1d113370735f02d9 7274 lintian_2.115.0_source.buildinfo
Files:
 4484e31abe39a15def23b119f92ef3ab 2503 devel optional lintian_2.115.0.dsc
 9d7922b69d30a63693825120e049ea00 2170172 devel optional lintian_2.115.0.tar.xz
 12f2494d410df4c2bf03f82075ce5f60 7274 devel optional lintian_2.115.0_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAmKwZiIACgkQa+Zjx1o1
yXUIng/5ARDjo8W4NggeM79xaeIgqtRbCao5XuBX6VyAE6hupaK8vHH/konnGmwg
jfRvPQK6YCXfqHggIKNQnToJgKUxdI+U3e10PYrbc5qt2UWFMiRfEHGqG3cfu+uA
JhqldKXfRkvmY4+9WPChWZ4C8qjdPZNcQwwdwm1Rg6gKMreYDGNIWJ94Hh7BkNsC
lNowSbDW6uE0XLBxVVeHhQGrn0Aki8fkx82W+Hod2A26sCXv/Gx7OSb8KVERa3+7
D05KDZd+ZGXBIdk/zRn/AeCxwcLXXMCS7qNDsfbJ8oUeYyy7y7QrQbGeFrBdOTyk
JbqqG0rTGbvfg3UcviOm/rvkr5QHdA5OMLUKRoljApMJEzbASGzYqNiUSmZNWH8x
v9EZ/qTHrcPFL/bIC9POvjD3FhSs3EkgQxXCuVPWZRruurgEme6DmnxHEj9TAe6L
GcUr+6DDHMw+j9SlO04VDDpUFVO2ftPfMcSckNCNM3eMxfig4XjPmyay3m6BjgaF
Rq6ckTUCUt5hsm7T48I0PAjXMRcAbemfI3PmVOUgwIf3BvzcdvJew0h90ULOY94N
cCWdsZ5SwC1hoz6EsBVmD16XxxYvZM7/wcf40PJkJ+YwtJu2Wm3dAv5WPK8UTrYr
qK1s62DfByho45eV9rXKeLnjvRN37rQYOWl7WwYy6YfpzQYDFWU=
=3dK3
-----END PGP SIGNATURE-----