Debian Bug report logs - #970711
False positive: globbing-patterns-out-of-order extra/readline/* */CMakeLists.txt

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Otto Kekäläinen <[email protected]>

Date: Tue, 22 Sep 2020 09:03:02 UTC

Severity: normal

Found in version lintian/2.95.0

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#970711; Package lintian. (Tue, 22 Sep 2020 09:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Otto Kekäläinen <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <[email protected]>. (Tue, 22 Sep 2020 09:03:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Otto Kekäläinen <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: False positive: globbing-patterns-out-of-order extra/readline/* */CMakeLists.txt
Date: Tue, 22 Sep 2020 11:56:25 +0300
Package: lintian
Version: 2.95.0
Severity: normal

I am getting a lot of warnings like:
W: mariadb-10.5 source: globbing-patterns-out-of-order
extra/readline/* */CMakeLists.txt
W: mariadb-10.5 source: globbing-patterns-out-of-order
libmariadb/zlib/* */CMakeLists.txt
W: mariadb-10.5 source: globbing-patterns-out-of-order
plugin/audit_null/* */CMakeLists.txt
W: mariadb-10.5 source: globbing-patterns-out-of-order
plugin/auth_gssapi/* */CMakeLists.txt
W: mariadb-10.5 source: globbing-patterns-out-of-order
plugin/daemon_example/* */CMakeLists.txt
W: mariadb-10.5 source: globbing-patterns-out-of-order
plugin/feedback/* */CMakeLists.txt
W: mariadb-10.5 source: globbing-patterns-out-of-order
plugin/file_key_management/* */CMakeLists.txt

Example: https://salsa.debian.org/mariadb-team/mariadb-10.5/-/jobs/1017786

I get the same errors no matter if I have */CMakeLists.txt at the
beginning of the debian/copyright file or at the end. Maybe this is a
false positive? Maybe it cannot parse paths that start with a
wildcard?



Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#970711; Package lintian. (Tue, 22 Sep 2020 13:21:02 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Lechner <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>. (Tue, 22 Sep 2020 13:21:02 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Felix Lechner <[email protected]>
To: Otto Kekäläinen <[email protected]>
Cc: [email protected]
Subject: Re: Bug#970711: False positive: globbing-patterns-out-of-order extra/readline/* */CMakeLists.txt
Date: Tue, 22 Sep 2020 06:17:20 -0700
Hi Otto,

On Tue, Sep 22, 2020 at 2:03 AM Otto Kekäläinen <[email protected]> wrote:
>
> Maybe it cannot parse paths that start with a
> wildcard?

I agree. The issue is the matching behavior of the leading wildcard.

This is probably the same as Bug#970274 but I ultimately decided
against merging them because the ineffective re-ordering attempts you
described. They are probably a consequence, but I am not sure. It
should be examined after the other bug was solved.

Merging the bugs the other way around seemed also like a poor idea,
because Bug#970274 pinpoints the exact reference from the copyright
specification at issue here. The copyright check was rewritten
recently. There is no official parser.

Thanks for helping to make Lintian better for everyone, and sorry
about all the bugs!

Kind regards
Felix Lechner



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:54:13 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.