--- Begin Message ---
Package: lintian
Version: 2.5.10.5
Severity: serious
Applies to 2.5.12 as well. Not sure what the cause is. At the
moment, I am not convinced it is related to #707336 (although that
does cause some other test failures for us).
Build log is [1]. The contents of libtesta-java_1.0-1_all.deb
(test-case java-jars) at [2] suggests that all the jar files are
present:
"""
drwxr-xr-x root/root 0 2013-05-09 10:07 ./usr/bin/
-rwxr-xr-x root/root 961 2013-05-09 10:07 ./usr/bin/testc.jar
drwxr-xr-x root/root 0 2013-05-09 10:07 ./usr/lib/
-rw-r--r-- root/root 961 2013-05-09 10:07 ./usr/lib/testb.jar
"""
The jarwrapper dependency is also missing [2] (as desired), but
Lintian seems to be competely ignoring them (maybe coll/java-info was
broken somehow?).
~Niels
[1]
"""
$ time DEB_BUILD_OPTIONS=parallel=8 debian/rules TEST_WORK_DIR=/tmp/lintian-tests runtests onlyrun=java
private/generate-profiles.pl
.... running tests ....
rm -rf "/tmp/lintian-tests"
mkdir "/tmp/lintian-tests"
private/runtests -j 8 java
Using C.UTF-8 locale from /usr/lib/locale
Package tests (tests):
Running java-class-format 1.0-1... building... testing... ok.
Running java-classpath 1.0-1... building... testing... FAILED
--- t/tests/java-classpath/tags 2013-04-16 17:46:25.380109834 +0000
+++ /tmp/lintian-tests/java-classpath/tags.java-classpath 2013-05-09 08:07:17.171711017 +0000
@@ -1,2 +0,0 @@
-W: libcp-missing-java: missing-classpath libdepends-java
-W: libcp-relative-java: classpath-contains-relative-path usr/share/java/cp-relative-1.0.jar: obviously-relative/stuff.jar
Running java-jars 1.0-1... building... testing... FAILED
--- t/tests/java-jars/tags 2013-05-09 08:07:06.827975756 +0000
+++ /tmp/lintian-tests/java-jars/tags.java-jars 2013-05-09 08:07:21.763593479 +0000
@@ -1,8 +1,5 @@
-E: libtesta-java: executable-jar-without-main-class usr/bin/testc.jar
-E: libtesta-java: missing-dep-on-jarwrapper
I: libmanifestless-java: missing-manifest usr/share/java/manifestless-1.0.jar
I: libtestc-java: javalib-but-no-public-jars
W: libcodeless-java: codeless-jar usr/share/java/codeless-1.0.jar
W: libtesta-java: binary-without-manpage usr/bin/testc.jar
W: libtesta-java: executable-not-elf-or-script usr/bin/testc.jar
-W: libtesta-java: jar-not-in-usr-share usr/lib/testb.jar
make: *** [runtests] Error 1
"""
[2]
$ less /tmp/lintian-tests/java-jars/libtesta-java_1.0-1_all.deb
/tmp/lintian-tests/java-jars/libtesta-java_1.0-1_all.deb:
new debian package, version 2.0.
size 2598 bytes: control archive=595 bytes.
378 bytes, 13 lines control
321 bytes, 5 lines md5sums
Package: libtesta-java
Source: java-jars
Version: 1.0-1
Architecture: all
Maintainer: Vincent Fourmond <fourmond@debian.org>
Installed-Size: 5
Section: java
Priority: extra
Description: Various checks about JAR files - part A
This is a test package designed to test various aspects of the
java-related QA code in lintian. First part.
.
This package should not be installed.
*** Contents:
drwxr-xr-x root/root 0 2013-05-09 10:07 ./
drwxr-xr-x root/root 0 2013-05-09 10:07 ./usr/
drwxr-xr-x root/root 0 2013-05-09 10:07 ./usr/share/
drwxr-xr-x root/root 0 2013-05-09 10:07 ./usr/share/java/
-rw-r--r-- root/root 961 2013-05-09 10:07 ./usr/share/java/testa-1.0.jar
drwxr-xr-x root/root 0 2013-05-09 10:07 ./usr/share/doc/
drwxr-xr-x root/root 0 2013-05-09 10:07 ./usr/share/doc/libtesta-java/
-rw-r--r-- root/root 203 2013-05-09 10:07 ./usr/share/doc/libtesta-java/changelog.Debian.gz
-rw-r--r-- root/root 1017 2013-05-09 10:07 ./usr/share/doc/libtesta-java/copyright
drwxr-xr-x root/root 0 2013-05-09 10:07 ./usr/bin/
-rwxr-xr-x root/root 961 2013-05-09 10:07 ./usr/bin/testc.jar
drwxr-xr-x root/root 0 2013-05-09 10:07 ./usr/lib/
-rw-r--r-- root/root 961 2013-05-09 10:07 ./usr/lib/testb.jar
lrwxrwxrwx root/root 0 2013-05-09 10:07 ./usr/share/java/testa.jar -> testa-1.0.jar
--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.5.13
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 707400@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 30 May 2013 08:53:02 +0200
Source: lintian
Binary: lintian
Architecture: source all
Version: 2.5.13
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Description:
lintian - Debian package checker
Closes: 670092 697164 705170 705197 705441 705835 706166 706241 706242 706827 707400 707742 708178 708755 708881 708943 708957 709041 709121 709379 709415 709455 709615 709886 710086
Changes:
lintian (2.5.13) unstable; urgency=low
.
Upload to unstable.
.
* Summary of tag changes:
+ Added:
- conffile-is-not-in-package
- debconf-translation-using-general-list
- dh_pysupport-is-obsolete
- init.d-script-call-internal-API
+ Removed:
- debhelper-maintscript-needs-versioned-build-depends
- debhelper-script-needs-versioned-build-depends
- missing-pre-dependency-on-multiarch-support
.
* checks/*:
+ [NT] Use Lintian::Path objects as arguments to unpacked
and control where these objects are available.
* checks/binaries:
+ [RA] Do not complain about kernel modules with no shared
library dependency information. Patch from Guillem Jover.
(Closes: #706242)
+ [NT] Demote the certainty of hardening-no-fortify-functions
to "wild-guess". (Closes: #709415)
* checks/changes:
+ [NT] Recognise "<dist>-backports-sloppy" as a valid
distribution. Thanks to Romain Francoise for the
report and the patch. (Closes: #705170)
* checks/conffiles:
+ [NT] Strip whitespace from conffiles similar to how dpkg
does it.
+ [NT] When emitting duplicate-conffile, avoid repeating
other tags related to that conffile. The exception to
this is relative-conffile where the original file might
not have triggered that tag.
+ [NT] Test that all paths listed in the "conffiles" control
file is actually in the package being tested.
* checks/cruft{,.desc}:
+ [JW] Correct the name of the architecture listed in
description of the tag outdated-autotools-helper-file.
(Closes: #706166)
+ [NT] Flag all absolute symlinks in source packages as
"unsafe". (Closes: #697164)
+ [NT] Fix false-positive source-contains-unsafe-symlink
for symlinks ascending one or more levels without escaping
the package root. Thanks to Michael Schutte for the
report and the patch. (Closes: #707742)
+ [NT] Add a series of patches from Bastien Roucariès to
reduce the number of false positives and negatives in the
GDFL related checks. (Closes: #708957, #708881, #709379,
#709886)
* checks/debhelper{,.desc}:
+ [NT] Retire some tags that are no longer relevant in the
Jessie development cycle.
+ [NT] Apply patch from Luca Falavigna to detect uses of the
deprecated tool, dh_pysupport. (Closes: #709615)
* checks/description:
+ [NT] Skip extended-description-is-probably-too-short
for -dbg packages. Thanks to Paul Wise for the suggestion.
(Closes: #705441)
* checks/fields.desc:
+ [NT] Clarify that the "canonical URI" for Vcs fields is
based on an announcement from the Alioth admins. Thanks
to Torquil Sørensen for the report. (Closes: #705835)
+ [NT] Clarify in the tag description of some tags related
to "Vcs-*" fields that the tags are based on a data list
(and is not a result of a HTTP request while checking the
package).
* checks/files{,.desc}:
+ [JW,NT] Drop missing-pre-dependency-on-multiarch-support
now that multiarch-support is in stable. (Closes: #709121)
+ [JW] Fix typo in a tag description. (Closes: #709455)
+ [NT] Change the "ancient-file" cut-off date to 1975 from
1984. Thanks to Ole Streicher and Ansgar Burchardt for the
report. (Closes: #710086)
* checks/group-checks.desc:
+ [NT] Add missing semi-colon in tag description. Thanks to
Andrey Rahmatullin for the report. (Closes: #706827)
* checks/init.d{,.desc}:
+ [NT] Add missing import of utility function that could cause
Lintian to crash in some cases.
+ [NT] Add check for uses of /lib/init in maintainer scripts.
Thanks to Josh Triplett for the report and to Bastien
Roucariès for the patch. (Closes: #670092)
* checks/menu-format:
+ [NT] Fix use of uninitialized variable when menu file uses a
section of "/". (Closes: #708755)
* checks/po-debconf{,.desc}:
+ [NT] Remove tests for commands that are provided by
Lintian's dependencies.
+ [RA] Add new check for a Language-Team field in a translation
pointing to the debian-i18n mailing list. Based on work by
victory. (Closes: #705197)
* checks/rules:
+ [NT] Remove check for "dpkg-dev (>= 1.16.1~)" build-dependency,
since this is trivially satisfied in Wheezy and Jessie.
.
* collection/*-helper:
+ [NT] Move all collection helpers to helpers/coll.
* collection/debfiles:
+ [NT] Replace makeshift "is_ancestor_of" check with the
one from L::Util.
* collection/java-info:
+ [NT] Update a regex to cope with file(1) now calling JAR files
for "Java Jar file" rather than "Zip archive".
(Closes: #707400)
.
* data/changes-file/known-dists:
+ [NT] Add jessie and remove lenny.
* data/debhelper/dh_{addons,commands}-manual:
+ [NT] Remove entries/versions that are no longer relevant.
* data/fields/perl-provides:
+ [NT] Refresh against sid. (Closes: #708178)
* data/spelling/corrections:
+ [NT] Add correction for unnecessarily. Thanks to Guillem
Jover for the suggestion. (Closes: #706241)
.
* debian/control:
+ [NT] Remove irrelevant (versioned) dependencies that are now
trivially satisfied in stable.
+ [NT] Recommend libautodie-perl (>= 2.18) and libperlio-gzip-perl
as these can greatly effect performance of Lintian.
* debian/lintian.install:
+ [NT] Install "helpers" as /usr/share/lintian/helpers
* debian/{postinst,prerm}:
+ [NT] Remove unused maintainer scripts now that stable's
libc-bin provides a C.UTF-8.
* debian/triggers:
+ [NT] Remove unused trigger now that stable's libc-bin
provides a C.UTF-8.
.
* doc/tutorial/**/*.pod:
+ [NT] Fix a number of spelling mistakes in the POD.
* doc/tutorial/Lintian/Tutorial/WritingChecks.pod:
+ [NT] Add a section about how to avoid some common ways
of introducing security issues.
.
* frontend/lintian:
+ [NT] Ignore LINTIAN_ROOT/locale and /var/lib/lintian/locale.
+ [NT] Export LINTIAN_INCLUDE_DIRS and LINTIAN_HELPERS_DIR to
subprocesses. These are ":"-separated lists of dirs used by
Lintian. The first being a list of raw include dirs and the
second being a list of helpers dirs in these include dirs.
+ [NT] Fix a bug where the exit code from lintian would
sometimes be an undocumented value (>= 3).
.
* helpers/coll:
+ [NT] New directory containing some helpers that used to be in
directly collection.
.
* lib/*:
+ [NT] Fix a number of spelling mistakes in the POD.
* lib/Lintian/Collect/{Package,Binary}.pm:
+ [NT] Accept Lintian::Path objects to unpacked and control.
* lib/Lintian/Collect/Source.pm:
+ [NT] Provide a "source" specific is_non_free method that reads
the "Section"-field from d/control instead of the .dsc. This
fixes false-positives "problematic licenses" for non-free
packages. Thanks to Bastien Roucariès for the report.
(Closes: #709041)
* lib/Lintian/Path.pm:
+ [NT] Rename link_resolved to link_normalized.
* lib/Lintian/Unpacker.pm:
+ [NT] On platform that support it, change the "name" of the
process running the collection. This makes it easier to
see what collections are currently being run (like in the
versions prior to 2.5.12). For platforms, where it is
not possible to change the name of a running process, the
unpack jobs will simply be named "lintian" like its parent.
* lib/Lintian/Util.pm:
+ [NT] Fix a race condition in touch_file.
+ [NT] Add sanity check in perm2oct for bad permission
strings and throw errors when they are seen (instead
of returning 0).
+ [NT] Require that the input file is present for
read_dpkg_control and get_deb_control.
+ [NT] In copy_dir, pass --reflink=auto to cp.
+ [NT] Replace resolve_pkg_path with to normalize_pkg_path.
The latter has slightly different return values in some
cases.
+ [NT] Avoid the LOCPATH dance to find the path to an UTF-8
locale now that stable's libc-bin provides C.UTF-8 for us.
+ [NT] Add new function, locate_helper_tool, to find helper
tools.
.
* private/refresh-perl-provides:
+ [NT] Apply patch from Niko Tyni to improve Lintian's
data file about Perl modules provided by perl-base.
.
* profiles/debian/extra-apache2.profile:
+ [NT] Removed, merged into debian/main.profile.
* profiles/debian/ftp-master-auto-reject.profile:
+ [NT] Include md5sums-mismatch and non-standard-toplevel-dir
as an overridable tag.
* profiles/debian/main.profile:
+ [NT] Include the apache2 check. Thanks to Arno Töll for
the report. (Closes: #708943)
.
* reporting/harness:
+ [NT] Stop exporting ENV variables that lintian no longer
cares about.
.
* vendors/ubuntu/main/data/changes-file/known-dists:
+ [NT] Add "saucy" as known Ubuntu distribution. Thanks to
Iain Lane for the report.
Checksums-Sha1:
9957a28b49fa938d185cf9ecfaf39979b68a4a3b 2524 lintian_2.5.13.dsc
2cc3eefe538af49ee56c75628dd75b85f56c45fb 1218930 lintian_2.5.13.tar.gz
b3609f81c5bcff4751b4a0810eb4e0c9b49f3cdb 768798 lintian_2.5.13_all.deb
Checksums-Sha256:
f9f4b9adb76b26540e8dc31e47707a07006742d0fa86bae20efd3b9c3f8a4fd7 2524 lintian_2.5.13.dsc
68f3a5b5351acc68b2891c6bfd84d092161c2ee047eab2b4b0894ad995452071 1218930 lintian_2.5.13.tar.gz
1b16956a4e0b10563ded87b9e82da73e013b88aadbe51e21ffca04cf93ddce4d 768798 lintian_2.5.13_all.deb
Files:
fe126afed540f5532c82bf90266815a1 2524 devel optional lintian_2.5.13.dsc
39d74abe4ddd2bc741ec74ab299fe4fc 1218930 devel optional lintian_2.5.13.tar.gz
d3dc3cad82baaaa35a66157e5e184f17 768798 devel optional lintian_2.5.13_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJRpv7OAAoJEAVLu599gGRCSK0QAKCoKTTxc7+9cw2rF0e5JSOG
yeXEzzKPzcFe4uB8MJzi1NxDHacf3suzskldTSiNEN96MBr3UKbINtf8Rg3DvRYa
iSA4iC12m+8ijOV0/XPB9gEJshrbvcnSVAEpF9sMzBG92IRQzc8gjhCarz7WbVQs
3SOpKXTbvb1ZesSdtjECTjtCgRecfuirlsM6cT7Dkq7RHN4ZOAx20cAzWwj/A8M7
4T3xLAuCCO4VwJEmd0yxHAw2/ea3UaSOdmuwgj9K6WxhuJXqXjbCYsnSgrdTLn1E
pFbY+5tyioN7kCN1+AwqxF0lc0YGJYFUUkZKPCZR+kzKdznhic4QlgSS56Hymbc4
445VucK93oo22Ekru612DKjuje3mddL2f6aU5Ow3TQ5GqAtWfcchSUYwMMOiFpPR
xwT2K2JsZlj9MFnM4m3B1EmdfzfdHaxQK3aoSlZ5bLFPO9X88FdqptyWSUMVz+fy
Jj7ayzgB9onPptcz7beonE+4R9CuCIGQtk6qs2fb54atuS8lhgSPSvnfWgh7v8Ym
2MPkaUn0DfxksPP6X2bhaCBjszX5Dyrbdij+3xo938WdoYiTDXOBptWO2TiXUPs9
uwX3N7Asc+Ud1ztmx3iQXKV/hMygVjoexEZOJVeB1mF4rSM0WPgESnE7NRoJGmJV
CCf48D3Mw42k85rn+Eyr
=mh8A
-----END PGP SIGNATURE-----
--- End Message ---