[lintian] branch master updated (8c767ff -> af5fff4)

2017-08-27 Thread Paul Wise
This is an automated email from the git hooks/post-receive script.

pabs pushed a change to branch master
in repository lintian.

  from  8c767ff   Corect comment in checks/files.pm. Thanks to Mattia 
Rizzolo.
   new  af5fff4   spelling: Add another correction

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 data/spelling/corrections | 1 +
 1 file changed, 1 insertion(+)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



[lintian] 01/01: spelling: Add another correction

2017-08-27 Thread Paul Wise
This is an automated email from the git hooks/post-receive script.

pabs pushed a commit to branch master
in repository lintian.

commit af5fff459decd59a2b469c9cece0d0146461a4f3
Author: Paul Wise 
Date:   Mon Aug 28 09:13:59 2017 +0800

spelling: Add another correction
---
 data/spelling/corrections | 1 +
 1 file changed, 1 insertion(+)

diff --git a/data/spelling/corrections b/data/spelling/corrections
index 6e01034..d3c6acb 100644
--- a/data/spelling/corrections
+++ b/data/spelling/corrections
@@ -1674,6 +1674,7 @@ forground||foreground
 formaly||formally
 formated||formatted
 formating||formatting
+formend||formed
 forseeable||foreseeable
 forse||force
 fortan||fortran

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



Bug#873458: lintian: Please add autopkgtest-pkg-go as valid value for Testsuite

2017-08-27 Thread Martín Ferrari
Package: lintian
Version: 2.5.52
Severity: normal

Hi,

Currently, lintian complains about the pkg-go testsuite, but autodep8 has
support for it since 0.9.

source: unknown-testsuite autopkgtest-pkg-go

Can you add pkg-go to the list of valid testsuites?

Moreover, autodep8 already supports a few other automatic test suites, so those
should be added too:

dkms
elpa
go
nodejs
perl
python
r
ruby

Thanks.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages lintian depends on:
ii  binutils  2.29-7
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1+b1
ii  dpkg  1.18.24
ii  file  1:5.31-1
ii  gettext   0.19.8.1-4
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.33
ii  libarchive-zip-perl   1.59-1
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-2+b2
ii  libdpkg-perl  1.18.24
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.96-1
ii  liblist-moreutils-perl0.416-1+b3
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.26 [libdigest-sha-perl]  5.26.0-5
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.72-1
ii  libxml-simple-perl2.24-1
ii  libyaml-libyaml-perl  0.63-2+b2
ii  man-db2.7.6.1-2
ii  patchutils0.3.4-2
ii  perl  5.26.0-5
ii  t1utils   1.40-2
ii  xz-utils  5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1+b4

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.18.24
ii  libhtml-parser-perl3.72-3+b2
ii  libtext-template-perl  1.46-1

-- no debconf information



Re: debian/upstream/signing-key.asc in policy 4.1.0

2017-08-27 Thread Henrique de Moraes Holschuh
On Wed, 23 Aug 2017, Russ Allbery wrote:
> Note that this Policy language is carefully written to make it perfectly
> fine for uscan to support all the things it currently supports, since it
> only talks about what Policy recommends the maintainer does.  So don't
> feel any obligation to change what uscan is doing on Policy's account
> here.

Actually, the text in 4.1.0.0 might be doing too much.  It reads:

"If the upstream maintainer of the software provides OpenPGP signatures
for new releases, including the information required for "uscan" to
verify signatures for new upstream releases is also recommended. To do
this, use the "pgpsigurlmangle" option in "debian/watch" to specify
the location of the upstream signature, and include the key or keys
used to sign upstream releases in the Debian source package as
"debian/upstream/signing-key.asc".

IMO, it should either not be mandating uscan internals, or it should be
very clear about the exact subset of stuff we can use in debian/watch
(version, etc).  For example, I'd rather use opt="..., pgpmode=auto,..."
instead of explicitly hardcoding a "pgpsigurlmangle".

IMHO, just drop everything from "To do this..." to the end of that
paragraph entirely.  HOW one gets "uscan" to fetch and check upstream
signatures is a job for the uscan(1) manpage.  Alternatively, just
mention "debian/watch", and to refer to the uscan documentation in
package "devscripts".

OTOH, if we really need to mandate a specific level of debian/watch
support, the current text in policy needs work: it doesn't even tell me
whether I can use version=3 (supported in oldstable), or version=4
(supported in oldstable-backports and stable), for example...

-- 
  Henrique Holschuh



Bug#873434: various files refer to fonts.googleapis.com

2017-08-27 Thread Ian Jackson
FYI, I have filed these three reports relating to this.  I'm not
really in a position now to investigate the root cause, which is
probably something in some bootstrap package.

Packages on my system which have this bug:
 #873432 libfreetype6-dev
 #873433 python-scipy-doc

Request that lintin detect this bug:
 #873434 Please check for @import...

Ian.



Re: [lintian] 02/02: Check for packages shipping compiled Java class files. Thanks to Carnë Draug . (Closes: #873211)

2017-08-27 Thread Chris Lamb
Hi Mattia,

> > +#  .coverage (coverage.py output)

> 
> Should this have been something about class files?

Yes. Fixed in:

  
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=8c767ffd85d3bde2e91fa136d2fc5b204670f955

Thanks!


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



[lintian] branch master updated (5ee2b65 -> 8c767ff)

2017-08-27 Thread Chris Lamb
This is an automated email from the git hooks/post-receive script.

lamby pushed a change to branch master
in repository lintian.

  from  5ee2b65   spelling: Add another correction
   new  8c767ff   Corect comment in checks/files.pm. Thanks to Mattia 
Rizzolo.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 checks/files.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



[lintian] 01/01: Corect comment in checks/files.pm. Thanks to Mattia Rizzolo.

2017-08-27 Thread Chris Lamb
This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit 8c767ffd85d3bde2e91fa136d2fc5b204670f955
Author: Chris Lamb 
Date:   Sun Aug 27 22:25:16 2017 +0100

Corect comment in checks/files.pm. Thanks to Mattia Rizzolo.
---
 checks/files.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/files.pm b/checks/files.pm
index aec0465..84cac35 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -1163,7 +1163,7 @@ sub run {
 tag 'package-contains-python-coverage-file', $file;
 }
 
-#  .coverage (coverage.py output)
+#  .class (compiled Java files)
 if ($fname =~ m,\.class$,o) {
 tag 'package-installs-java-bytecode', $file;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



Re: [lintian] 02/02: Check for packages shipping compiled Java class files. Thanks to Carnë Draug . (Closes: #873211)

2017-08-27 Thread Mattia Rizzolo
On Sun, Aug 27, 2017 at 08:06:52AM +, Chris Lamb wrote:
> --- a/checks/files.pm
> +++ b/checks/files.pm
> @@ -1163,6 +1163,11 @@ sub run {
>  tag 'package-contains-python-coverage-file', $file;
>  }
>  
> +#  .coverage (coverage.py output)
  ^^

Should this have been something about class files? ;) (I bet a
copy/paste error :))
> +if ($fname =~ m,\.class$,o) {
> +tag 'package-installs-java-bytecode', $file;
> +}
> +
>  #  /usr/lib/site-python
>  if ($fname =~ m,^usr/lib/site-python/\S,) {
>  tag 'file-in-usr-lib-site-python', $file;

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-



Bug#873395: lintian: check for non-free dependencies in packages targetting main

2017-08-27 Thread Chris Lamb
tags 873395 + wontfix
retitle 873395 lintian: check for non-free dependencies in packages targeting 
main
thanks

Hi Drew,

> A recent build of libdolfin2017.1 (i.e. dolfin 2017.1.0-1 in main)
> accidentally resulted in a dependency on a non-free package,
> libparmetis4.0

Unfortunately, Lintian does not "know" about the state of the
archive; it does not query any local APT repository and, pretty
obviously, it cannot check remotely on each invocation.

I am therefore marking this as "wontfix".

I agree this would be a nice check to have, but as it can be caught
by the ftpmasters it is not the end of the world that Lintian is
not in a position to warn about such things.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



[lintian] branch master updated (ba9a22b -> 5ee2b65)

2017-08-27 Thread Sylvestre Ledru
This is an automated email from the git hooks/post-receive script.

sylvestre pushed a change to branch master
in repository lintian.

  from  ba9a22b   Expand tab in debian/control.
   new  5ee2b65   spelling: Add another correction

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 data/spelling/corrections | 1 +
 1 file changed, 1 insertion(+)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



[lintian] 01/01: spelling: Add another correction

2017-08-27 Thread Sylvestre Ledru
This is an automated email from the git hooks/post-receive script.

sylvestre pushed a commit to branch master
in repository lintian.

commit 5ee2b65ec2ac02c20dd9d686df6822b98e99823a
Author: Sylvestre Ledru 
Date:   Sun Aug 27 19:40:28 2017 +0200

spelling: Add another correction
---
 data/spelling/corrections | 1 +
 1 file changed, 1 insertion(+)

diff --git a/data/spelling/corrections b/data/spelling/corrections
index a67ecba..6e01034 100644
--- a/data/spelling/corrections
+++ b/data/spelling/corrections
@@ -1880,6 +1880,7 @@ hypenation||hyphenation
 hypen||hyphen
 hypens||hyphens
 icluding||including
+identation||indentation
 identifer||identifier
 identifers||identifiers
 idicated||indicated

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



Bug#873434: lintian: Please check for @import ur(http://...) in /usr/share/doc

2017-08-27 Thread Ian Jackson
Package: lintian
Version: 2.5.50.3
Severity: wishlist

I have discovered various files in /usr/share/doc/*/html on my system
which do things like this:
  @import url(http://fonts.googleapis.com/css?family=Open+Sans);

Eg,
  /usr/share/doc/python-scipy-doc/html/_static/less/spc-bootstrap.less
  /usr/share/doc/libfreetype6-dev/css/freetype2.css

Please would you make lintian complain about @import url(), or about
fonts.googleapis.com, or something.

Thanks,
Ian.

-- System Information:
Debian Release: 9.0
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages lintian depends on:
ii  binutils  2.28-5
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1+b1
ii  file  1:5.30-1
ii  gettext   0.19.8.1-2
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.32
ii  libarchive-zip-perl   1.59-1
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-2+b1
ii  libdigest-sha-perl5.96-1+b1
ii  libdpkg-perl  1.18.24
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.94-1
ii  liblist-moreutils-perl0.416-1+b1
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.24 [libdigest-sha-perl]  5.24.1-2
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.71-1
ii  libyaml-libyaml-perl  0.63-2
ii  man-db2.7.6.1-2
ii  patchutils0.3.4-2
ii  perl  5.24.1-2
ii  t1utils   1.39-2
ii  xz-utils  5.2.2-1.2+b1

Versions of packages lintian recommends:
ii  dpkg 1.18.24
ii  libperlio-gzip-perl  0.19-1+b2
ii  perl 5.24.1-2
ii  perl-modules-5.22 [libautodie-perl]  5.22.2-1
ii  perl-modules-5.24 [libautodie-perl]  5.24.1-2

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.18.24
ii  libhtml-parser-perl3.72-3
ii  libtext-template-perl  1.46-1

-- no debconf information



Bug#873395: lintian: check for non-free dependencies in packages targetting main

2017-08-27 Thread Drew Parsons
Package: lintian
Version: 2.5.52
Severity: normal

A recent build of libdolfin2017.1 (i.e. dolfin 2017.1.0-1 in main)
accidentally resulted in a dependency on a non-free package,
libparmetis4.0. Consequently the new package was rejected by
ftp-masters.

It would be a useful service if lintian could catch that kind of error.

Drew

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils  2.29-5
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1+b1
ii  dpkg  1.18.24
ii  file  1:5.31-1
ii  gettext   0.19.8.1-4
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.33
ii  libarchive-zip-perl   1.59-1
ii  libclass-accessor-perl0.34-1
ii  libclone-perl 0.38-2+b2
ii  libdpkg-perl  1.18.24
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.96-1
ii  liblist-moreutils-perl0.416-1+b3
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.24 [libdigest-sha-perl]  5.24.1-7
ii  libperl5.26 [libdigest-sha-perl]  5.26.0-5
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.72-1
ii  libxml-simple-perl2.24-1
ii  libyaml-libyaml-perl  0.63-2+b2
ii  man-db2.7.6.1-2
ii  patchutils0.3.4-2
ii  perl  5.26.0-5
ii  t1utils   1.40-2
ii  xz-utils  5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1+b4

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.18.24
ii  libhtml-parser-perl3.72-3+b2
pn  libtext-template-perl  

-- no debconf information



Jenkins build is back to normal : lintian-tests_sid #1878

2017-08-27 Thread jenkins
See 




Re: debian/upstream/signing-key.asc in policy 4.1.0

2017-08-27 Thread Osamu Aoki
Oops.

On Sun, Aug 27, 2017 at 12:55:26AM +0900, Osamu Aoki wrote:
> Hi,
> 
> On Wed, Aug 23, 2017 at 09:27:25AM -0700, Russ Allbery wrote:
> > Osamu Aoki  writes:
> > > The updated uscan will support debian/upstream/signing-key.asc only and
> > > internally convert it /signing-key.gpg.  I will make uscan to
> > > convert other formats to this policy compliant *.asc.  Also make noise
> > > to the maintainer to push them to policy 4.1.0
> > 
> > Note that this Policy language is carefully written to make it perfectly
> > fine for uscan to support all the things it currently supports, since it
> > only talks about what Policy recommends the maintainer does.  So don't
> > feel any obligation to change what uscan is doing on Policy's account
> > here.
> 
> Maybe I should have been a bit careful with my words:
> 
> The updated uscan will support debian/upstream/signing-key.asc only as
> the recommended keyring.  It will accept other historic keyrings but
> also internally converts them to /signing-key.gpg to guide

Of course:
  /signing-key.asc

> people to the new recommended format with some reminder noise.

Now committed to git.

Osamu



Build failed in Jenkins: lintian-tests_sid #1877

2017-08-27 Thread jenkins
See 


Changes:

[lamby] Expand tab in debian/control.

[lamby] Check for packages shipping compiled Java class files. Thanks to Carnë

--
[...truncated 242.05 KB...]
Adding debian:Certigna.pem
Adding debian:Camerfirma_Global_Chambersign_Root.pem
Adding debian:Camerfirma_Chambers_of_Commerce_Root.pem
Adding debian:COMODO_RSA_Certification_Authority.pem
Adding debian:COMODO_ECC_Certification_Authority.pem
Adding debian:COMODO_Certification_Authority.pem
Adding debian:CNNIC_ROOT.pem
Adding debian:CFCA_EV_ROOT.pem
Adding debian:CA_Disig_Root_R2.pem
Adding debian:CA_Disig_Root_R1.pem
Adding debian:Buypass_Class_3_Root_CA.pem
Adding debian:Buypass_Class_2_Root_CA.pem
Adding debian:Baltimore_CyberTrust_Root.pem
Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem
Adding debian:Atos_TrustedRoot_2011.pem
Adding debian:Amazon_Root_CA_4.pem
Adding debian:Amazon_Root_CA_3.pem
Adding debian:Amazon_Root_CA_2.pem
Adding debian:Amazon_Root_CA_1.pem
Adding debian:AffirmTrust_Premium_ECC.pem
Adding debian:AffirmTrust_Premium.pem
Adding debian:AffirmTrust_Networking.pem
Adding debian:AffirmTrust_Commercial.pem
Adding debian:AddTrust_Qualified_Certificates_Root.pem
Adding debian:AddTrust_Public_Services_Root.pem
Adding debian:AddTrust_Low-Value_Services_Root.pem
Adding debian:AddTrust_External_Root.pem
Adding debian:Actalis_Authentication_Root_CA.pem
Adding debian:AC_RAIZ_FNMT-RCM.pem
Adding debian:ACEDICOM_Root.pem
Adding debian:ACCVRAIZ1.pem
done.
Setting up openjdk-8-jdk-headless:amd64 (8u144-b01-1) ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/idlj to 
provide /usr/bin/idlj (idlj) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jdeps to 
provide /usr/bin/jdeps (jdeps) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/wsimport to 
provide /usr/bin/wsimport (wsimport) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/rmic to 
provide /usr/bin/rmic (rmic) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jinfo to 
provide /usr/bin/jinfo (jinfo) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jsadebugd to 
provide /usr/bin/jsadebugd (jsadebugd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/native2ascii 
to provide /usr/bin/native2ascii (native2ascii) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jstat to 
provide /usr/bin/jstat (jstat) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/javac to 
provide /usr/bin/javac (javac) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/javah to 
provide /usr/bin/javah (javah) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jstack to 
provide /usr/bin/jstack (jstack) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jrunscript to 
provide /usr/bin/jrunscript (jrunscript) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc to 
provide /usr/bin/javadoc (javadoc) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jhat to 
provide /usr/bin/jhat (jhat) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/javap to 
provide /usr/bin/javap (javap) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jar to provide 
/usr/bin/jar (jar) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/xjc to provide 
/usr/bin/xjc (xjc) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/schemagen to 
provide /usr/bin/schemagen (schemagen) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jps to provide 
/usr/bin/jps (jps) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/extcheck to 
provide /usr/bin/extcheck (extcheck) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jmap to 
provide /usr/bin/jmap (jmap) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jstatd to 
provide /usr/bin/jstatd (jstatd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jdb to provide 
/usr/bin/jdb (jdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/serialver to 
provide /usr/bin/serialver (serialver) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/wsgen to 
provide /usr/bin/wsgen (wsgen) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jcmd to 
provide /usr/bin/jcmd (jcmd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner to 
provide /usr/bin/jarsigner (jarsigner) in auto mode
Setting up default-jre-headless (2:1.8-59) ...
Set

[lintian] branch master updated (36aa195 -> ba9a22b)

2017-08-27 Thread Chris Lamb
This is an automated email from the git hooks/post-receive script.

lamby pushed a change to branch master
in repository lintian.

  from  36aa195   Ignore meta copyright statements such as "Original 
Author". Thanks to Thorsten Alteholz for the bug report. (Closes: #873323)
   new  ba9a22b   Expand tab in debian/control.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



[lintian] 01/01: Expand tab in debian/control.

2017-08-27 Thread Chris Lamb
This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit ba9a22b6087baecd7f94e4f8d2652f49c189c0b0
Author: Chris Lamb 
Date:   Sun Aug 27 09:27:25 2017 +0100

Expand tab in debian/control.
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 90c4062..e2ee71e 100644
--- a/debian/control
+++ b/debian/control
@@ -52,7 +52,7 @@ Build-Depends: aspell,
libtest-synopsis-perl,
libtext-levenshtein-perl,
libtext-template-perl,
-  libtie-ixhash-perl,
+   libtie-ixhash-perl,
libtimedate-perl,
liburi-perl,
libyaml-libyaml-perl,

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



Processed: Re: lintian -- False positives on copyright-year-in-future

2017-08-27 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 873323 + pending
Bug #873323 [lintian] lintian -- False positives on  copyright-year-in-future
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
873323: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873323
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#873323: lintian -- False positives on copyright-year-in-future

2017-08-27 Thread Chris Lamb
tags 873323 + pending
thanks

Fixed in Git:

  
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=36aa1955ecd6e7c0aaff14a1591789f84151f8ef


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



[lintian] 01/02: Add test file missing from 0bd1aae6 commit.

2017-08-27 Thread Chris Lamb
This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit abcb44f8744d5b2bd74cee6ef18b33c90f6498b1
Author: Chris Lamb 
Date:   Sun Aug 27 09:11:57 2017 +0100

Add test file missing from 0bd1aae6 commit.
---
 t/tests/files-java-classfiles/debian/mini.class | Bin 0 -> 122 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/t/tests/files-java-classfiles/debian/mini.class 
b/t/tests/files-java-classfiles/debian/mini.class
new file mode 100644
index 000..0206c61
Binary files /dev/null and b/t/tests/files-java-classfiles/debian/mini.class 
differ

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



Bug#873211: Please warn about binary packages shipping .class files

2017-08-27 Thread Chris Lamb
tags 873211 + pending
thanks

Fixed in Git:

  
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=0bd1aae6c63e5905c3027d4a2306446ac92d24b6


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Processed: Re: Please warn about binary packages shipping .class files

2017-08-27 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 873211 + pending
Bug #873211 [lintian] Please warn about binary packages shipping .class files
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
873211: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873211
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



[lintian] branch master updated (0bd1aae -> 36aa195)

2017-08-27 Thread Chris Lamb
This is an automated email from the git hooks/post-receive script.

lamby pushed a change to branch master
in repository lintian.

  from  0bd1aae   Check for packages shipping compiled Java class files. 
Thanks to Carnë Draug . (Closes: #873211)
   new  abcb44f   Add test file missing from 0bd1aae6 commit.
   new  36aa195   Ignore meta copyright statements such as "Original 
Author". Thanks to Thorsten Alteholz for the bug report. (Closes: #873323)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 checks/copyright-file.pm  |   1 +
 debian/changelog  |   2 ++
 .../copyright-file-year-in-future/debian/debian/copyright |   1 +
 t/tests/files-java-classfiles/debian/mini.class   | Bin 0 -> 122 bytes
 4 files changed, 4 insertions(+)
 create mode 100644 t/tests/files-java-classfiles/debian/mini.class

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



[lintian] 02/02: Ignore meta copyright statements such as "Original Author". Thanks to Thorsten Alteholz for the bug report. (Closes: #873323)

2017-08-27 Thread Chris Lamb
This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit 36aa1955ecd6e7c0aaff14a1591789f84151f8ef
Author: Chris Lamb 
Date:   Sun Aug 27 09:11:26 2017 +0100

Ignore meta copyright statements such as "Original Author". Thanks to 
Thorsten Alteholz for the bug report. (Closes: #873323)
---
 checks/copyright-file.pm  | 1 +
 debian/changelog  | 2 ++
 t/tests/copyright-file-year-in-future/debian/debian/copyright | 1 +
 3 files changed, 4 insertions(+)

diff --git a/checks/copyright-file.pm b/checks/copyright-file.pm
index 55f8d63..05e6f93 100644
--- a/checks/copyright-file.pm
+++ b/checks/copyright-file.pm
@@ -355,6 +355,7 @@ qr/GNU (?:Lesser|Library) General Public 
License|(?-i:\bLGPL\b)/i
 my $year = $1;
 my $column = $-[0] + 1;
 next if $year <= $latest_year;
+next if $line =~ m/Original Author/;
 # "Sun Microsystems, 4150 Network Drive, CA"
 next if $year == 4150;
 tag 'copyright-year-in-future',
diff --git a/debian/changelog b/debian/changelog
index 09f890d..8d141bb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ lintian (2.5.53) UNRELEASED; urgency=medium
 addresses.  (Closes: #869788)
   - Match all violating years in a line, not just the first (eg.
 "2000-2107").
+  - Ignore meta copyright statements such as "Original Author". Thanks
+to Thorsten Alteholz for the bug report.  (Closes: #873323)
   - Expand testsuite.
   * checks/cruft.{pm,desc}:
 + [CL] Downgrade severity of file-contains-fixme-placeholder
diff --git a/t/tests/copyright-file-year-in-future/debian/debian/copyright 
b/t/tests/copyright-file-year-in-future/debian/debian/copyright
index 2701f6a..58b56d3 100644
--- a/t/tests/copyright-file-year-in-future/debian/debian/copyright
+++ b/t/tests/copyright-file-year-in-future/debian/debian/copyright
@@ -14,6 +14,7 @@ Copyright:
  2000 ISO 2203-2 & ISO-2204 LLC. (2008)
  2000 Lintian Maintainers, Immensee, CH-2205, Switzerland.
  2000 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 
95054, U.S.A.
+ 2112 D. Original Author.
 License: MIT
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



[lintian] 02/02: Check for packages shipping compiled Java class files. Thanks to Carnë Draug . (Closes: #873211)

2017-08-27 Thread Chris Lamb
This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit 0bd1aae6c63e5905c3027d4a2306446ac92d24b6
Author: Chris Lamb 
Date:   Sun Aug 27 08:43:22 2017 +0100

Check for packages shipping compiled Java class files. Thanks to Carnë 
Draug . (Closes: #873211)
---
 checks/files.desc |  7 +++
 checks/files.pm   |  5 +
 debian/changelog  |  4 +++-
 t/tests/files-java-classfiles/debian/debian/control.in| 15 +++
 .../debian/debian/libfoo-java.install |  1 +
 t/tests/files-java-classfiles/desc|  5 +
 t/tests/files-java-classfiles/tags|  2 ++
 7 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/checks/files.desc b/checks/files.desc
index 17888e1..6e8f18f 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -1765,3 +1765,10 @@ Info: This package includes Lintian overrides intended 
for another package.
  Lintian overrides should be put in a regular file named
  /usr/share/lintian/overrides/package
 Ref: lintian 2.4
+
+Tag: package-installs-java-bytecode
+Severity: serious
+Certainty: certain
+Ref: java-policy 2
+Info: Compiled Java source files must not be included in the package. These
+ files should be removed from the package or included in .jar 
archives.
diff --git a/checks/files.pm b/checks/files.pm
index 0dfc84f..aec0465 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -1163,6 +1163,11 @@ sub run {
 tag 'package-contains-python-coverage-file', $file;
 }
 
+#  .coverage (coverage.py output)
+if ($fname =~ m,\.class$,o) {
+tag 'package-installs-java-bytecode', $file;
+}
+
 #  /usr/lib/site-python
 if ($fname =~ m,^usr/lib/site-python/\S,) {
 tag 'file-in-usr-lib-site-python', $file;
diff --git a/debian/changelog b/debian/changelog
index 5142872..09f890d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,9 +44,11 @@ lintian (2.5.53) UNRELEASED; urgency=medium
   just python2-foo.  (Closes: #870272)
 + [RG] Do no longer require debug packages to be priority extra.
 + [BR] Use Lintian::Data for name/section mapping
-  * checks/files.pm:
+  * checks/files.{pm,desc}:
 + [BR] Avoid privacy-breach-generic false positives for legal.xml.
 + [BR] Detect install of node package under /usr/lib/nodejs/[^/]*$
++ [CL] Check for packages shipping compiled Java class files. Thanks
+  Carnë Draug .  (Closes: #873211)
   * checks/init.d.desc:
 + [RG] Do not recommend a versioned dependency on lsb-base in
   init.d-script-needs-depends-on-lsb-base.  (Closes: #847144)
diff --git a/t/tests/files-java-classfiles/debian/debian/control.in 
b/t/tests/files-java-classfiles/debian/debian/control.in
new file mode 100644
index 000..e02d56c
--- /dev/null
+++ b/t/tests/files-java-classfiles/debian/debian/control.in
@@ -0,0 +1,15 @@
+Source: {$source}
+Priority: extra
+Section: java
+Maintainer: {$author}
+Standards-Version: {$standards_version}
+Build-Depends: {$build_depends}
+
+Package: libfoo-java
+Architecture: all
+Depends: $\{misc:Depends\}
+Description: {$description}
+ This is a test package designed to exercise some feature or tag of
+ Lintian.  It is part of the Lintian test suite and may do very odd
+ things.  It should not be installed like a regular package.  It may
+ be an empty package.
diff --git a/t/tests/files-java-classfiles/debian/debian/libfoo-java.install 
b/t/tests/files-java-classfiles/debian/debian/libfoo-java.install
new file mode 100644
index 000..52df2a2
--- /dev/null
+++ b/t/tests/files-java-classfiles/debian/debian/libfoo-java.install
@@ -0,0 +1 @@
+mini.class usr/share/java/foo/
diff --git a/t/tests/files-java-classfiles/desc 
b/t/tests/files-java-classfiles/desc
new file mode 100644
index 000..f2e662b
--- /dev/null
+++ b/t/tests/files-java-classfiles/desc
@@ -0,0 +1,5 @@
+Testname: files-java-classfiles
+Version: 1.0
+Description: Test Java classfile related tags
+Test-For:
+ package-installs-java-bytecode
diff --git a/t/tests/files-java-classfiles/tags 
b/t/tests/files-java-classfiles/tags
new file mode 100644
index 000..b4eee08
--- /dev/null
+++ b/t/tests/files-java-classfiles/tags
@@ -0,0 +1,2 @@
+E: libfoo-java: package-installs-java-bytecode usr/share/java/foo/mini.class
+I: libfoo-java: javalib-but-no-public-jars

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



[lintian] 01/02: Expand tab in debian/control.

2017-08-27 Thread Chris Lamb
This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit 0801e774bac9efdcb8885c037bf6332e48991bf8
Author: Chris Lamb 
Date:   Sun Aug 27 08:30:39 2017 +0100

Expand tab in debian/control.
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index d4e5b4f..90c4062 100644
--- a/debian/control
+++ b/debian/control
@@ -98,7 +98,7 @@ Depends: binutils,
  liblist-moreutils-perl,
  libparse-debianchangelog-perl,
  libtext-levenshtein-perl,
-libtie-ixhash-perl,
+ libtie-ixhash-perl,
  libtimedate-perl,
  liburi-perl,
  libyaml-libyaml-perl,

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git



[lintian] branch master updated (221f36d -> 0bd1aae)

2017-08-27 Thread Chris Lamb
This is an automated email from the git hooks/post-receive script.

lamby pushed a change to branch master
in repository lintian.

  from  221f36d   Bump ancient time
   new  0801e77   Expand tab in debian/control.
   new  0bd1aae   Check for packages shipping compiled Java class files. 
Thanks to Carnë Draug . (Closes: #873211)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 checks/files.desc  | 7 +++
 checks/files.pm| 5 +
 debian/changelog   | 4 +++-
 debian/control | 2 +-
 .../debian/debian/control.in   | 4 ++--
 t/tests/files-java-classfiles/debian/debian/libfoo-java.install| 1 +
 t/tests/files-java-classfiles/desc | 5 +
 t/tests/files-java-classfiles/tags | 2 ++
 8 files changed, 26 insertions(+), 4 deletions(-)
 copy t/tests/{menu-format-desktop-mimetype => 
files-java-classfiles}/debian/debian/control.in (92%)
 create mode 100644 
t/tests/files-java-classfiles/debian/debian/libfoo-java.install
 create mode 100644 t/tests/files-java-classfiles/desc
 create mode 100644 t/tests/files-java-classfiles/tags

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/lintian/lintian.git