Bug#891892: lintian: False positive: statically-linked-binary despite the Build-Depends on golang-go

2018-03-01 Thread Arnaud Rebillout
Package: lintian
Version: 2.5.67~bpo9+1
Severity: normal

Dear Maintainer,

Package concerned (should be pushed in Debian experimental soon)

https://salsa.debian.org/elboulangero-guest/golang-gogottrpc

Build the package with

gbp clone https://salsa.debian.org/elboulangero-guest/golang-gogottrpc.git
cd golang-gogottrpc
gbp buildpackage --git-pbuilder --git-dist=sid

Then run lintian

lintian ../golang-gogottrpc*changes
E: gogottrpc: statically-linked-binary usr/bin/protoc-gen-gogottrpc
W: gogottrpc: binary-without-manpage usr/bin/protoc-gen-gogottrpc

The statically-linked-binary warninf shouldn't be there, as the field
Build-Depends contains:

golang-go (>= 2:1.9~) | golang-1.9-go

Best regards,

  Arnaud

-- System Information:
Debian Release: 9.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.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.28-5
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1+b1
ii  dpkg  1.18.24
ii  file  1:5.30-1+deb9u1
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  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-3+deb9u2
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.71-1
ii  libxml-simple-perl2.22-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-3+deb9u2
ii  t1utils   1.39-2
ii  xz-utils  5.2.2-1.2+b1

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

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

-- no debconf information



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

2018-03-01 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 2c9fd2854cd49bc1ab49d0825743db5d7d71697d
Author: Paul Wise 
Date:   Fri Mar 2 10:41:17 2018 +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 add1554..bf62d43 100644
--- a/data/spelling/corrections
+++ b/data/spelling/corrections
@@ -169,6 +169,7 @@ addres||address
 addresed||addressed
 addreses||addresses
 addresing||addressing
+addressess||addresses
 addresss||address
 addresssed||addressed
 addressses||addresses

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



[lintian] branch master updated (2ab349a -> 18a217d)

2018-03-01 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  2ab349a   spelling: Add another correction
   new  18a217d   spelling: Add several corrections

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 | 2 ++
 1 file changed, 2 insertions(+)

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



[lintian] branch master updated (1243280 -> 2ab349a)

2018-03-01 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  1243280   checks/fields.pm: Include the offending Vcs-* line in the 
tag output.
   new  2ab349a   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 several corrections

2018-03-01 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 18a217d832fb3a0e6849ee7d87dffae10da04983
Author: Paul Wise 
Date:   Fri Mar 2 09:09:38 2018 +0800

spelling: Add several corrections
---
 data/spelling/corrections | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/data/spelling/corrections b/data/spelling/corrections
index 9d1f17a..add1554 100644
--- a/data/spelling/corrections
+++ b/data/spelling/corrections
@@ -435,6 +435,8 @@ attatching||attaching
 attatchment||attachment
 attatchments||attachments
 attched||attached
+attemp||attempt
+attemped||attempted
 attemps||attempts
 attemt||attempt
 attemted||attempted

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



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

2018-03-01 Thread jenkins
See 




Build failed in Jenkins: lintian-tests_sid #2672

2018-03-01 Thread jenkins
See 

--
[...truncated 245.66 KB...]
Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem
Adding debian:EE_Certification_Centre_Root_CA.pem
Adding debian:EC-ACC.pem
Adding debian:E-Tugra_Certification_Authority.pem
Adding debian:DigiCert_Trusted_Root_G4.pem
Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem
Adding debian:DigiCert_Global_Root_G3.pem
Adding debian:DigiCert_Global_Root_G2.pem
Adding debian:DigiCert_Global_Root_CA.pem
Adding debian:DigiCert_Assured_ID_Root_G3.pem
Adding debian:DigiCert_Assured_ID_Root_G2.pem
Adding debian:DigiCert_Assured_ID_Root_CA.pem
Adding debian:Deutsche_Telekom_Root_CA_2.pem
Adding debian:DST_Root_CA_X3.pem
Adding debian:DST_ACES_CA_X6.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem
Adding debian:Cybertrust_Global_Root.pem
Adding debian:Comodo_Trusted_Services_root.pem
Adding debian:Comodo_Secure_Services_root.pem
Adding debian:Comodo_AAA_Services_root.pem
Adding debian:China_Internet_Network_Information_Center_EV_Certificates_Root.pem
Adding debian:Chambers_of_Commerce_Root_-_2008.pem
Adding debian:Certum_Trusted_Network_CA_2.pem
Adding debian:Certum_Trusted_Network_CA.pem
Adding debian:Certum_Root_CA.pem
Adding debian:Certplus_Root_CA_G2.pem
Adding debian:Certplus_Root_CA_G1.pem
Adding debian:Certplus_Class_2_Primary_CA.pem
Adding debian:Certinomis_-_Root_CA.pem
Warning: there was a problem reading the certificate file 
/etc/ssl/certs/Certinomis_-_Autorit?_Racine.pem. Message:
  /etc/ssl/certs/Certinomis_-_Autorit?_Racine.pem (No such file or directory)
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 (8u151-b12-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 

[lintian] branch master updated (69971d6 -> 1243280)

2018-03-01 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  69971d6   Drop the rouge → rogue correction; it's an (admittedly) 
old-fashioned word for red cheek makeup as well as being a fairly-common French 
word. It was causing a false-positive in the spelling-error-in-binary tag for 
osmocom-analog. Thorsten Alteholz for the report. (Closes: #891794)
   new  f8412a7   Update test for missing-vcs-browser-field warning.
   new  1243280   checks/fields.pm: Include the offending Vcs-* line in the 
tag output.

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/fields.pm  | 4 ++--
 t/tests/fields-missing-vcs-browser/tags   | 2 +-
 .../debian/debian/control.in  | 1 +
 .../desc  | 1 +
 4 files changed, 5 insertions(+), 3 deletions(-)

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



[lintian] 02/02: checks/fields.pm: Include the offending Vcs-* line in the tag output.

2018-03-01 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 12432800cb3e3ac4d76353ace899304243631cb8
Author: Chris Lamb 
Date:   Thu Mar 1 10:29:27 2018 +

checks/fields.pm: Include the offending Vcs-* line in the tag output.
---
 checks/fields.pm| 4 ++--
 t/tests/fields-missing-vcs-browser/tags | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/checks/fields.pm b/checks/fields.pm
index 7d71082..82866cb 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -1398,8 +1398,8 @@ sub run {
 if (!defined $info->field('vcs-browser')) {
 foreach my $regex ($KNOWN_VCS_BROWSERS->all) {
 my $vcs = $KNOWN_VCS_BROWSERS->value($regex);
-if ($info->field("vcs-$vcs", '') =~ m/^$regex/xi) {
-tag 'missing-vcs-browser-field', "vcs-$vcs";
+if ($info->field("vcs-$vcs", '') =~ m/^($regex.*)/xi) {
+tag 'missing-vcs-browser-field', "vcs-$vcs", $1;
 last; # Only warn once
 }
 }
diff --git a/t/tests/fields-missing-vcs-browser/tags 
b/t/tests/fields-missing-vcs-browser/tags
index 1901a32..cddc4f9 100644
--- a/t/tests/fields-missing-vcs-browser/tags
+++ b/t/tests/fields-missing-vcs-browser/tags
@@ -1 +1 @@
-I: fields-missing-vcs-browser source: missing-vcs-browser-field vcs-git
+I: fields-missing-vcs-browser source: missing-vcs-browser-field vcs-git 
https://salsa.debian.org/project/repo.git

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



[lintian] 01/02: Update test for missing-vcs-browser-field warning.

2018-03-01 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 f8412a72aa2021ba9a1b19706ce9cbac872a804a
Author: Chris Lamb 
Date:   Thu Mar 1 10:21:06 2018 +

Update test for missing-vcs-browser-field warning.
---
 .../debian/debian/control.in | 1 +
 .../files-orphaned-package-not-maintained-in-debian-infrastructure/desc  | 1 +
 2 files changed, 2 insertions(+)

diff --git 
a/t/tests/files-orphaned-package-not-maintained-in-debian-infrastructure/debian/debian/control.in
 
b/t/tests/files-orphaned-package-not-maintained-in-debian-infrastructure/debian/debian/control.in
index 6913d15..e2b392a 100644
--- 
a/t/tests/files-orphaned-package-not-maintained-in-debian-infrastructure/debian/debian/control.in
+++ 
b/t/tests/files-orphaned-package-not-maintained-in-debian-infrastructure/debian/debian/control.in
@@ -6,6 +6,7 @@ Standards-Version: {$standards_version}
 Build-Depends: {$build_depends}
 Rules-Requires-Root: no
 Vcs-Git: https://github.com/user/project
+Vcs-Browser: https://github.com/user/project
 
 Package: {$source}
 Architecture: {$architecture}
diff --git 
a/t/tests/files-orphaned-package-not-maintained-in-debian-infrastructure/desc 
b/t/tests/files-orphaned-package-not-maintained-in-debian-infrastructure/desc
index 6f1007f..84a329f 100644
--- 
a/t/tests/files-orphaned-package-not-maintained-in-debian-infrastructure/desc
+++ 
b/t/tests/files-orphaned-package-not-maintained-in-debian-infrastructure/desc
@@ -5,3 +5,4 @@ Test-For:
  orphaned-package-not-maintained-in-debian-infrastructure
 Test-Against:
  changelog-should-mention-qa
+ files-orphaned-package-not-maintained-in-debian-infrastructure

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



Build failed in Jenkins: lintian-tests_sid #2671

2018-03-01 Thread jenkins
See 


Changes:

[lamby] Warn about packages that are missing a Vcs-Browser header when we know

[lamby] Drop the rouge → rogue correction; it's an (admittedly) old-fashioned

--
[...truncated 245.66 KB...]
Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem
Adding debian:EE_Certification_Centre_Root_CA.pem
Adding debian:EC-ACC.pem
Adding debian:E-Tugra_Certification_Authority.pem
Adding debian:DigiCert_Trusted_Root_G4.pem
Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem
Adding debian:DigiCert_Global_Root_G3.pem
Adding debian:DigiCert_Global_Root_G2.pem
Adding debian:DigiCert_Global_Root_CA.pem
Adding debian:DigiCert_Assured_ID_Root_G3.pem
Adding debian:DigiCert_Assured_ID_Root_G2.pem
Adding debian:DigiCert_Assured_ID_Root_CA.pem
Adding debian:Deutsche_Telekom_Root_CA_2.pem
Adding debian:DST_Root_CA_X3.pem
Adding debian:DST_ACES_CA_X6.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem
Adding debian:Cybertrust_Global_Root.pem
Adding debian:Comodo_Trusted_Services_root.pem
Adding debian:Comodo_Secure_Services_root.pem
Adding debian:Comodo_AAA_Services_root.pem
Adding debian:China_Internet_Network_Information_Center_EV_Certificates_Root.pem
Adding debian:Chambers_of_Commerce_Root_-_2008.pem
Adding debian:Certum_Trusted_Network_CA_2.pem
Adding debian:Certum_Trusted_Network_CA.pem
Adding debian:Certum_Root_CA.pem
Adding debian:Certplus_Root_CA_G2.pem
Adding debian:Certplus_Root_CA_G1.pem
Adding debian:Certplus_Class_2_Primary_CA.pem
Adding debian:Certinomis_-_Root_CA.pem
Warning: there was a problem reading the certificate file 
/etc/ssl/certs/Certinomis_-_Autorit?_Racine.pem. Message:
  /etc/ssl/certs/Certinomis_-_Autorit?_Racine.pem (No such file or directory)
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 (8u151-b12-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 

Processed: Re: lintian -- False positive on spelling-error-in-binary

2018-03-01 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 891794 + pending
Bug #891794 [lintian] lintian -- False positive on spelling-error-in-binary
Added tag(s) pending.
> thanks
Stopping processing here.

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



Processed: Re: lintian: warn about missing Vcs-Browser field when Vcs-* mention hosts with browsable archives

2018-03-01 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 891688 + pending
Bug #891688 [lintian] lintian: warn about missing Vcs-Browser field when Vcs-* 
mention hosts with browsable archives
Added tag(s) pending.
> thanks
Stopping processing here.

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



Bug#891688: lintian: warn about missing Vcs-Browser field when Vcs-* mention hosts with browsable archives

2018-03-01 Thread Chris Lamb
tags 891688 + pending
thanks

Fixed in Git, pending upload:

  
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=5987bf72b658df48004d3cfaefc4774ee670abd4


Regards,

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



Bug#891794: lintian -- False positive on spelling-error-in-binary

2018-03-01 Thread Chris Lamb
tags 891794 + pending
thanks

Fixed in Git, pending upload:

  
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=69971d6a860282ba6f49dcaf93a0adbaa2673730


Regards,

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



[lintian] branch master updated (5987bf7 -> 69971d6)

2018-03-01 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  5987bf7   Warn about packages that are missing a Vcs-Browser header 
when we know that they have at least one Vcs-* header that has has a 
browser-based interface. (Closes: #891688)
   new  69971d6   Drop the rouge → rogue correction; it's an (admittedly) 
old-fashioned word for red cheek makeup as well as being a fairly-common French 
word. It was causing a false-positive in the spelling-error-in-binary tag for 
osmocom-analog. Thorsten Alteholz for the report. (Closes: #891794)

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 -
 debian/changelog  | 7 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

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



[lintian] 01/01: Drop the rouge → rogue correction; it's an (admittedly) old-fashioned word for red cheek makeup as well as being a fairly-common French word. It was causing a false-positive in the s

2018-03-01 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 69971d6a860282ba6f49dcaf93a0adbaa2673730
Author: Chris Lamb 
Date:   Thu Mar 1 09:18:30 2018 +

Drop the rouge → rogue correction; it's an (admittedly) old-fashioned word 
for red cheek makeup as well as being a fairly-common French word. It was 
causing a false-positive in the spelling-error-in-binary tag for 
osmocom-analog. Thorsten Alteholz for the report. (Closes: #891794)
---
 data/spelling/corrections | 1 -
 debian/changelog  | 7 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/data/spelling/corrections b/data/spelling/corrections
index 496dbc3..45ef25b 100644
--- a/data/spelling/corrections
+++ b/data/spelling/corrections
@@ -3361,7 +3361,6 @@ rmeoved||removed
 rmeove||remove
 rmeoves||removes
 rouding||rounding
-rouge||rogue
 rougly||roughly
 rouine||routine
 rouines||routines
diff --git a/debian/changelog b/debian/changelog
index 2a139d0..ebc5b16 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,13 @@ lintian (2.5.78) UNRELEASED; urgency=medium
   browser-based interface.  Thanks to Paul Wise for the report.
   (Closes: #891688)
 
+  * data/spelling/corrections:
++ [CL] Drop the rouge → rogue correction; it's an (admittedly)
+  old-fashioned word for red cheek makeup as well as being a
+  fairly-common French word.  It was causing a false-positive in the
+  spelling-error-in-binary tag for osmocom-analog.  Thorsten Alteholz
+  for the report.  (Closes: #891794)
+
  -- Chris Lamb   Tue, 27 Feb 2018 14:04:15 +
 
 lintian (2.5.77) unstable; urgency=medium

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



[lintian] branch master updated (cccc2d5 -> 5987bf7)

2018-03-01 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  2d5   spelling: Add several corrections
   new  5987bf7   Warn about packages that are missing a Vcs-Browser header 
when we know that they have at least one Vcs-* header that has has a 
browser-based interface. (Closes: #891688)

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/fields.desc | 11 
 checks/fields.pm   | 13 +
 data/fields/vcs-browsers   | 31 ++
 debian/changelog   |  6 +
 .../debian}/debian/control.in  |  1 +
 t/tests/fields-missing-vcs-browser/desc|  5 
 t/tests/fields-missing-vcs-browser/tags|  1 +
 7 files changed, 68 insertions(+)
 create mode 100644 data/fields/vcs-browsers
 copy t/{templates/tests/pedantic => 
tests/fields-missing-vcs-browser/debian}/debian/control.in (91%)
 create mode 100644 t/tests/fields-missing-vcs-browser/desc
 create mode 100644 t/tests/fields-missing-vcs-browser/tags

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



[lintian] 01/01: Warn about packages that are missing a Vcs-Browser header when we know that they have at least one Vcs-* header that has has a browser-based interface. (Closes: #891688)

2018-03-01 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 5987bf72b658df48004d3cfaefc4774ee670abd4
Author: Chris Lamb 
Date:   Thu Mar 1 09:13:19 2018 +

Warn about packages that are missing a Vcs-Browser header when we know that 
they have at least one Vcs-* header that has has a browser-based interface. 
(Closes: #891688)
---
 checks/fields.desc | 11 
 checks/fields.pm   | 13 +
 data/fields/vcs-browsers   | 31 ++
 debian/changelog   |  6 +
 .../debian/debian/control.in   | 18 +
 t/tests/fields-missing-vcs-browser/desc|  5 
 t/tests/fields-missing-vcs-browser/tags|  1 +
 7 files changed, 85 insertions(+)

diff --git a/checks/fields.desc b/checks/fields.desc
index a455caa..60181ab 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -1435,3 +1435,14 @@ Info: The specified package appears to be a 
documentation package
  .
  Please remove the superfluous trailing "s" from the package name.
 Ref: policy 12.3
+
+Tag: missing-vcs-browser-field
+Severity: wishlist
+Certainty: certain
+Info: A Vcs-* field in this package is pointing to a repository that
+ supports browsing of the repository via a web browser.
+ .
+ This is typically a nicer user-experience for developers and avoids
+ unnecessary and time-consuming clones of the repository.
+ .
+ Please add a suitable Vcs-Browser field to the package.
diff --git a/checks/fields.pm b/checks/fields.pm
index 2ef0d47..7d71082 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -52,6 +52,8 @@ our $known_build_essential
 our $KNOWN_BINARY_FIELDS = Lintian::Data->new('fields/binary-fields');
 our $KNOWN_UDEB_FIELDS = Lintian::Data->new('fields/udeb-fields');
 our $KNOWN_BUILD_PROFILES = Lintian::Data->new('fields/build-profiles');
+our $KNOWN_VCS_BROWSERS
+  = Lintian::Data->new('fields/vcs-browsers', qr/\s*~~\s*/, sub { $_[1]; });
 
 our %KNOWN_ARCHIVE_PARTS = map { $_ => 1 } ('non-free', 'contrib');
 
@@ -1392,6 +1394,17 @@ sub run {
   and $is_comaintained
   and not %seen_vcs;
 
+# Check for missing Vcs-Browser headers
+if (!defined $info->field('vcs-browser')) {
+foreach my $regex ($KNOWN_VCS_BROWSERS->all) {
+my $vcs = $KNOWN_VCS_BROWSERS->value($regex);
+if ($info->field("vcs-$vcs", '') =~ m/^$regex/xi) {
+tag 'missing-vcs-browser-field', "vcs-$vcs";
+last; # Only warn once
+}
+}
+}
+
 # Checksums
 
 tag 'no-strong-digests-in-dsc'
diff --git a/data/fields/vcs-browsers b/data/fields/vcs-browsers
new file mode 100644
index 000..bb3e0fb
--- /dev/null
+++ b/data/fields/vcs-browsers
@@ -0,0 +1,31 @@
+# List of Vcs-* fields that should have a Vcs-Browser equivalent
+#
+# Format:
+#   ^regex \x\s) ~~ vcs
+
+git://anonscm.debian.org/  ~~ git
+https?://anonscm.debian.org/git/   ~~ git
+https?://anonscm.debian.org/cgit/  ~~ git
+git://git.debian.org/  ~~ git
+https?://git.debian.org/   ~~ git
+git://alioth.debian.org/   ~~ git
+https?://alioth.debian.org/anonscm/git/~~ git
+git://anongit.debian.org/  ~~ git
+https?://git.dgit.debian.org/  ~~ git
+git://anongit.freedesktop.org/ ~~ git
+git://anongit.kde.org/ ~~ git
+git://git.code.sf.net/ ~~ git
+https?://git.code.sf.net/p/~~ git
+git://*.git.sourceforge.net/   ~~ git
+git://g...@github.com: ~~ git
+git://github.com/  ~~ git
+https?://github.com/   ~~ git
+g...@gitlab.com:   ~~ git
+https?://gitlab.*/ ~~ git
+https?://salsa.debian.org/ ~~ git
+git://git.kernel.org/  ~~ git
+git://gitorious.org/   ~~ git
+git://*.branchable.com/~~ git
+git://repo.or.cz/  ~~ git
+https?://repo.or.cz/   ~~ git
+https?://bitbucket.org/~~ git
diff --git a/debian/changelog b/debian/changelog
index 5536766..2a139d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,12 @@ lintian (2.5.78) UNRELEASED; urgency=medium
 
   XXX: generate tag summary
 
+  * checks/fields.{desc,pm}:
++ [CL] Warn about packages that are missing a Vcs-Browser header when
+  we know that they have at least one Vcs-* header that has has a
+  browser-based interface.  Thanks to Paul Wise for the report.
+  (Closes: #891688)
+