Acknowledgement sent
to Pierre Gruet <pgtdebian@free.fr>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>.
(Sun, 06 Dec 2020 22:03:03 GMT) (full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bad-jar-name: false positive for version numbers with a tilde
Date: Sun, 06 Dec 2020 22:59:01 +0100
Package: lintian
Version: 2.104.0
Severity: normal
Dear Lintian maintainers,
Java policy requires [0] that the package libXXX-java installs a jar named XXX[-extraname]-fullversion.jar into /usr/share/java, where extraname is optional and fullversion is the version of the jar file.
I suspect Lintian raises a false positive when there is a tilde in the version: I met this issue with
- libsis-base-java version 18.09~pre1+git20180928.45fbd31, of which jar is named sis-base-18.09~pre1+git20180928.45fbd31.jar;
- libpj-java version 0.0~20150107, of which jar is named pj-0.0~20150107.jar (I have overridden the warning);
- libjsr305-java version 0.1~+svn49, of which jar is named jsr305-0.1~+svn49.jar .
Thanks for considering and for all the work done on Lintian,
Pierre Gruet
[0] https://www.debian.org/doc/packaging-manuals/java-policy/ch02.html
Message sent on
to Pierre Gruet <pgtdebian@free.fr>:
Bug#976681.
(Sun, 06 Dec 2020 23:33:04 GMT) (full text, mbox, link).
Control: tag -1 pending
Hello,
Bug #976681 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/48774d01959f1852da187d238740bb3039c7f0ac
------------------------------------------------------------------------
Allow tilde in names of installed JAR archives. (Closes: #976681)
What an interesting little bug! The regular expression that validates
the names of installed JAR files is not widely used. It was incorrect.
A tilde was added to the list of acceptable characters.
The three false positives mentioned in the bug report were cured. The
tag bad-jar-name disappeared from each one:
$ bin/lintian /mirror/debian/pool/main/libs/libsis-base-java/libsis-base-java_18.09\~pre1+git20180928.45fbd31+dfsg-1_all.deb
[produces no output]
$ bin/lintian /mirror/debian/pool/main/libj/libjsr305-java/libjsr305-java-doc_0.1\~+svn49-10_all.deb
E: libjsr305-java-doc: malformed-override Unknown tag no-upstream-changelog in line 1
The package with the override no longer used it, and said so:
$ bin/lintian /mirror/debian/pool/main/libp/libpj-java/libpj-java_0.0\~20150107+dfsg-4_all.deb
I: libpj-java: unused-override bad-jar-name usr/share/java/pj-*
P: libpj-java: repeated-path-segment pj usr/share/maven-repo/edu/rit/pj/pj/
Thanks to Pierre Gruet for bringing the matter to our attention. The
filing was so well-researched, it was a pleasure to solve!
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/976681
Added tag(s) pending.
Request was from Felix Lechner <noreply@salsa.debian.org>
to 976681-submitter@bugs.debian.org.
(Sun, 06 Dec 2020 23:33:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>: Bug#976681; Package lintian.
(Tue, 08 Dec 2020 10:30:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Felix Lechner <felix.lechner@lease-up.com>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>.
(Tue, 08 Dec 2020 10:30:03 GMT) (full text, mbox, link).
Changed Bug submitter to 'Pierre Gruet <pgt@debian.org>' from 'Pierre Gruet <pgtdebian@free.fr>'.
Request was from Pierre Gruet <pgt@debian.org>
to control@bugs.debian.org.
(Wed, 03 Mar 2021 21:27:04 GMT) (full text, mbox, link).
Reply sent
to Chris Lamb <lamby@debian.org>:
You have taken responsibility.
(Tue, 07 Sep 2021 10:09:35 GMT) (full text, mbox, link).
Notification sent
to Pierre Gruet <pgt@debian.org>:
Bug acknowledged by developer.
(Tue, 07 Sep 2021 10:09:35 GMT) (full text, mbox, link).
Source: lintian
Source-Version: 2.105.0
Done: Chris Lamb <lamby@debian.org>
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 976681@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lamb <lamby@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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 07 Sep 2021 09:43:56 +0000
Source: lintian
Architecture: source
Version: 2.105.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Closes: 8988679274769328709359079420139472589626019680119693989697629721819728769728789741759745759766439766819772619773329779769781449785349802479805609808249809879811639812689812799817129819329819359823229826309828349832199835989846789850649864009885919912429924659935319936519937119768010
Changes:
lintian (2.105.0) unstable; urgency=medium
.
* Summary of tag changes:
+ Added:
- backgrounded-test-command
- crossing-screens
- duplicate-p3dist-override
- elevated-privileges
- illegal-variable
- misplaced-systemd-tmpfiles
- missing-conffile
- no-versioned-debhelper-prerequisite
- nodejs-missing-version-override
- obsolete-vim-addon-manager
- pypi-homepage
- python-traceback-in-manpage
- ruby-interpreter-is-deprecated
- rubygem-homepage
- rules-require-build-prerequisite
- rust-boilerplate
- source-contains-editor-backup-file
- source-contains-patch-failure-file
- source-contains-quilt-control-dir
- superficial-tests
- systemd-service-in-odd-location
- systemd-tmpfile-in-var-run
- unexpected-conffile
- unknown-conffile-instruction
- unmerged-usr
- upstream-metadata-field-unknown
- wrong-team
+ Removed:
- ancient-standards-version
- conffile-is-not-in-package
- missing-build-dependency
- missing-python-build-dependency
- octal-permissions
- package-lacks-versioned-build-depends-on-debhelper
- package-needs-versioned-debhelper-build-depends
- setgid-binary
- setuid-binary
- setuid-gid-binary
- systemd-service-file-outside-lib
- systemd-tmpfiles.d-outside-usr-lib
.
[ Chris Lamb ]
* Check for Python tracebacks in manual pages, usually caused by failing
help2man calls (and cause reproducibility issues).
* Correct confusion between left and right parens that was leading to
output such as ")2 errors)".
* Bump Standards-Version to 4.6.0.1.
.
[ Felix Lechner ]
* Implement usr-merge; flag files shipped in /bin, /sbin or /lib.
* Flag systemd temporary files placed in /var/run. (Closes: #984678)
* Do not repeat tag name when annotating hints. (Closes: #969398)
* Refuse to read installable control data in national encodings.
* Stop shipping modules in system path. (Closes: #968011)
- Provide a dedicated, non-public executable to obtain the latest
policy version from Lintian data. (See: #978672)
* Flag the use of DEB_BUILD_MULTIARCH in some Debian files.
(Closes: #983219)
* For team-maintained packages, flag names in another team's name space.
* Provide a generalized method to grant exemptions to package families
(screens).
- Exempt ELPA packaging scripts for Emacs modules from
executable-in-usr-lib. (Closes: #974175)
- Exempt GNAT's read-only .ali files from non-standard-file-perm.
(Closes: #986400)
* Treat NMU edge cases for non-consecutive-debian-revision.
(Closes: #942013)
* Recommend the newer php-markdown over libmarkdown-php when embedded.
(Closes: #898867)
* Convert possible-gpl-code-linked-with-openssl to a classification tag.
(Closes: #972181)
* Turn maybe-not-arch-all-binnmuable into a classification tag.
* Combine, rename two confusing debhelper tags. (Closes: #977332)
* Warn when trying to issue duplicate hints; provide more context to
disambiguate similar hints.
* Add --output-width; wrap EWI tag descriptions to width of output
terminal otherwise.
* Assume that all interactive terminals are hyperlink-capable, but change
default to off.
* Send all debugging and status information to STDERR.
* Drop support for custom visibility levels in profiles.
* Prefer spaces over commas as field separators in profiles.
* Build test packages automatically when running tests.
(Closes: #927476, #935907)
* Use semantic versioning for the output of '--version'; omit Git hash
from Lintian version strings.
* Refer to new website in output.
* Update manual references for the first time in almost two years.
* Update the JSON data file for Debian policy releases; include all up
to 4.6.0.1.
* Drop UTF-8 PerlIO layers for STDOUT and STDERR from almost all
executables and the test suite. (Closes: #972876, #972878)
* Do not pretend to show hashbang in hint context for unusual
interpreters. (Closes: #982630)
* Treat Testsuite field as a comma-separated list for the teams pkg-perl
and pkg-js. (Closes: #9768010)
* Use current program names in help messages and version announcements.
(Closes: #977261)
* Allow tilde in names of installed JAR archives. (Closes: #976681)
* Flag source packages that declare only tests with the 'superficial'
restriction. (Closes: #932870)
* Ignore SIGWINCH in the test suite. (Closes: #974575)
* For manual pages, extract section information correctly from .TH
header. (Closes: #962601)
* Recognize Architecture and Classes as valid fields in d/tests/control.
(Closes: #977976)
* Restructure tags for file permissions; combine tags for setuid/setgid
executables.
* Detect Rust boilerplate in package descriptions. (See: !344)
* Do not fail on dangling symlinks when looking for obsolete, missing or
invalid content. (Closes: #978534)
* Always print full path to patch files. (Closes: #980247)
* Tolerate manual pages for subcommands when main command is documented.
(Closes: #947258)
* Tighten regex for no-op-testsuite to stop false positives.
(Closes: #980824)
* Allow environment prefix when recognizing 'dh' sequencer.
(Closes: #981712)
* Ignore build profiles when requiring dh helper for Python
prerequisites. (Closes: #991242)
* Ignore build profiles when flagging use of py3versions in d/rules.
(Closes: #978144)
* Do not flag Python3 entry point definitions as out-of-place
documentation. (Closes: #981268)
* Flag duplicates in d/py3dist-overrides. (Closes: #980987)
* Flag PyPI homepages in source control files. (Closes: #981932)
* Flag Rubygem homepages in source control files. (Closes: #981935)
* Accept the virtual package dh-sequence-dkms as B-D for 'dh
--with-dkms'. (Closes: #982834)
* Drop reference to archive keyring from package-installs-apt-sources.
(Closes: #983598)
* Read error message from Config::Tiny via the advertised mechanism.
(Closes: #985064)
* Add 'utils.h' to the list of overly generic headers. (Closes: #982322)
* Drop package file names from tag context for unknown-field.
(Closes: #980560)
* Flag backgrounded Test-Commands in autopkgtest declarations.
(Closes: #988591)
* For multi-component sources, always drop common prefixes for
sub-components. (Closes: #976643)
* Accept more than two components in architecture wildcards for package
relationships. (Closes: #981163)
* Add Breaks: lintian-brush (<< 0.88) to debian/control due to failing
autopkgtests.
* Implement two perltidy policies.
* Implement 87 perlcritic policies; disregard four others.
* Ignore special attributes like 'remove-on-upgrade' in DEBIAN/conffiles.
(Closes: #993531, #993711)
* Read checks separately from ./lib and ./checks; forego symbolic link.
(Closes: #993651)
.
[ Simon McVittie ]
* Update lists of registered build-profile names
.
[ Paul Wise ]
* spelling: Add several corrections
* Upgrade superficial-tests tag to warning
.
[ Xavier Guimard ]
* Verify that nodejs module does not use semantic-release
* Fix and simplify search when parsing pkg-js-autopkgtest files.
(Closes: #981279)
.
[ Emmanuel Bourg ]
* Detect obsolete Servlet API 3.1. (See: !348)
.
[ Alexandre Rossi ]
* Recognize empty and very small files as architecture-independent.
.
[ Jelmer Vernooij ]
* Fix typo: valgring => valgrind.
* Fix archive section mapping for rust development packages.
* Check upstream field names in upstream metadata. (Closes: #969762)
.
[ gregor herrmann ]
* Add another spelling correction.
.
[ Victor Westerhuis ]
* Add --no-rename as a recognized option for dpkg-divert.
.
[ Brian Murray ]
* Recognize Ubuntu's next release, named 'impish', among the known-dists.
.
[ Louis-Philippe Véronneau ]
* Add check for obsolete installation prerequisite vim-addon-manager.
.
[ Fatih Altun ]
* Add profile for Pardus Linux
.
[ Antonio Terceiro ]
* Stop suggesting ruby-interpreter as a prerequisite. (See: !365)
* Warn about the outdated prerequisite ruby-interpreter. (See: !365)
.
[ Peter Pentchev ]
* Adjust to debhelper's new install location for systemd service files.
(Closes: #992465)
Checksums-Sha1:
58e4f300efdb5d15d33bd222810e62763322ed15 2469 lintian_2.105.0.dsc
908caf020432d356af1cadf783ab7ae3c70ed219 2052004 lintian_2.105.0.tar.xz
99f67f487c1d0889792d3e3aaf674802d36d36a9 6551 lintian_2.105.0_amd64.buildinfo
Checksums-Sha256:
3738a6e5336e487be983d6ee97d87fb128a3871c81dc3bc3f87f42e41d06037d 2469 lintian_2.105.0.dsc
d9fa12b4c11cc6aed94fe2a27d4586d5e28477373ef0074503ffd978d0550cfa 2052004 lintian_2.105.0.tar.xz
8ac437e27c42c7f2aee008941a3418c18ccf710e2196ed5af925cd20c8cb2a24 6551 lintian_2.105.0_amd64.buildinfo
Files:
611d09270ef51d30ca91280d488ef08c 2469 devel optional lintian_2.105.0.dsc
602f173427c42bade1f85d81b028810f 2052004 devel optional lintian_2.105.0.tar.xz
dfe817dcc03489684c9c29045c9be179 6551 devel optional lintian_2.105.0_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmE3NmAACgkQHpU+J9Qx
HljL9A/+MRC4Z5UhmdkxxU+mPkWJEckuJS1ALhp3jJ0CzRp2gOdigcRr+ALmP0j/
YxcQfyQw5VJY3+OAEX/aF+9xYwxt+Jtl+iOs2x3iiXSuDzayUGFHeLOGhF39hovM
JVIjbvZ9T/1F8mH68tzLElKF+7NEL+AGp947+zA3iHQmOWAXIfFHdesmIN2v7OX2
FVEN3Z9NGHtiwV82WrS4Tszky0X+hCDsvQvAWe5j+ao1w5uRmQZvRqXkVB2F4uW/
JheAUCbnJlZSZ4Ai4vWCTCvstQ47QEhtuM7fiZB8NAGwmGbj4X6m/SZm+bSG9kkH
Sh66eNGgxbCSidsxXBs5FCngl2bBH6F1k0WdK+FZJWN/0ixXRthAhctabaUS/nOu
TLMNYc4KMWweqWOQlvmNsziXgzJU3K7sDwysId8r43HLsPcSpr/7cv1s3N55kxoU
ImurSMcNcRBP5jhzwlg91l32yfcNYYP7FEn5CrAJrZlLFPQLlyiaeb6ErIDhhnxO
gpNIR7WEvFlcQGR8crV3HOdre5hFeC1SMFiP5nKA4rrdYU8YV9FbWZI28s7jQgdd
waBsfutkCVs8EQmPnIwYs48mp3VgdYLerHzC5CtTtRnmJt9MFQNgOI4g5Dw929W4
OvnebyUFd48qvbX/JuPflEn3aqLpxZs58gRAoiUk33RHIGK7E2c=
=yO7Z
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 06 Oct 2021 07:30:36 GMT) (full text, mbox, link).
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/.