Build failed in Jenkins: lintian-tests_stretch #1290

2017-12-23 Thread jenkins
See 


Changes:

[pabs] spelling: Add several corrections

--
[...truncated 304.93 KB...]
tests::java-jars:dh_auto_build
tests::java-jars:debian/rules override_jh_build
tests::java-jars: make[1]: Entering directory 
'/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0'
tests::java-jars: jh_build --javacopts='-target 1.7' --javacopts='-source 1.7'
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testa -d 
debian/_jh_build.testa -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testa -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testa.jar 
../_jh_manifest.testa org
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testb -d 
debian/_jh_build.testb -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testb -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testb.jar 
../_jh_manifest.testb org
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testc -d 
debian/_jh_build.testc -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testc -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testc.jar 
../_jh_manifest.testc org
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testd -d 
debian/_jh_build.testd -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testd -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testd.jar 
../_jh_manifest.testd org
tests::java-jars: cp testa.jar testb.jar
tests::java-jars: unzip testa.jar
tests::java-jars: Archive:  testa.jar
tests::java-jars: replace META-INF/MANIFEST.MF? [y]es, [n]o, [A]ll, [N]one, 
[r]ename:  NULL
tests::java-jars: (EOF or read error, treating as "[N]one" ...)
tests::java-jars: debian/rules:6: recipe for target 'override_jh_build' failed
tests::java-jars: make[1]: *** [override_jh_build] Error 1
tests::java-jars: make[1]: Leaving directory 
'/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0'
tests::java-jars: debian/rules:3: recipe for target 'binary' failed
tests::java-jars: make: *** [binary] Error 2
tests::java-jars: dpkg-buildpackage: error: fakeroot debian/rules binary gave 
error exit status 2
tests::java-jars:  END BUILD LOG
error tests::java-jars: internal error: cd 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0 && dpkg-buildpackage 
-rfakeroot -us -uc -d -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING 
--source-option=--auto-commit 
>/tmp/testrun/debian/test-out/tests/java-jars/build.java-jars 2>&1 at 
t/runtests line 466.

.
tests::scripts-exec:  START BUILD LOG
tests::scripts-exec: dpkg-buildpackage: warning: using a gain-root-command 
while being root
tests::scripts-exec: dpkg-buildpackage: info: source package scripts-exec
tests::scripts-exec: dpkg-buildpackage: info: source version 1.0
tests::scripts-exec: dpkg-buildpackage: info: source distribution unstable
tests::scripts-exec: dpkg-buildpackage: info: source changed by Debian Lintian 
Maintainers 
tests::scripts-exec:  dpkg-source -iNEVER_MATCH_ANYTHING 

[lintian] branch master updated (205095b -> 5f6212e)

2017-12-23 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  205095b   debian/control: Correct zi -> zip typo.
   new  5f6212e   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] 01/01: spelling: Add several corrections

2017-12-23 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 5f6212e9ee0e82153d5e268c4ab9f432a1e90d7d
Author: Paul Wise 
Date:   Sat Dec 23 17:23:49 2017 +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 c0b51d4..a8d8a30 100644
--- a/data/spelling/corrections
+++ b/data/spelling/corrections
@@ -3911,6 +3911,8 @@ uncommments||uncomments
 uncommment||uncomment
 uncomplete||incomplete
 unconditionaly||unconditionally
+unconditionnal||unconditional
+unconditionnaly||unconditionally
 uncorrect||incorrect
 uncorrectly||incorrectly
 uncoverted||unconverted

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



Bug#782277: please check for mismatches in python dependencies

2017-12-23 Thread Paul Wise
On Thu, 09 Apr 2015 23:22:11 +0200 Matthias Klose wrote:

> Please could lintian check for mismatches in python dependencies, in that a
> python module depends on python3 modules or the other way around?

These instances of what Matthias requested don't appear to be detected
by the already implemented lintian checks, since they involve
dependencies on python-* packages from other source packages.

$ apt-cache show python3-wget python3-django-allauth python3-editor 
python3-influxdb python3-mdp python3-nosexcover python3-pyds9 
python3-setuptools-git python3-snuggs | grep -E '^(Package|Depends|^$)'
Package: python3-wget
Depends: python-urllib3, python3:any (>= 3.3.2-2~)
   ^
Package: python3-django-allauth
Depends: python3-django, python3-openid, python3-requests, 
python-requests-oauthlib, python3-requests-oauthlib, python3:any (>= 3.4~)
 ^
Package: python3-editor
Depends: python-six, python3:any (>= 3.3.2-2~)
   ^
Package: python3-influxdb
Depends: python3-dateutil, python3-requests, python3-six (>= 1.10.0), 
python3-tz, python3:any (>= 3.3.2-2~), python-six (>= 0.1.9)

   ^
Package: python3-mdp
Depends: python3-future, python3-numpy, python3:any (>= 3.3.2-2~), 
python-numpy, python-future

   ^
Package: python3-nosexcover
Depends: python3-coverage, python3-nose, python3:any (>= 3.3.2-2~), 
python-nose, python-coverage (>= 3.4)
  ^ 
   ^
Package: python3-pyds9
Depends: python-six, xpa-tools, python3:any (>= 3.3.2-2~)
   ^
Package: python3-setuptools-git
Depends: python3:any (>= 3.3.2-2~), python-setuptools, git
  ^
Package: python3-snuggs
Depends: python-lxml, python3-click, python3-numpy, python3-pyparsing, 
python3:any (>= 3.3.2-2~)
   ^

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#885106: lintian: Please update dh_commands for scour 0.36

2017-12-23 Thread Jeremy Bicha
Package: lintian
Version: 2.5.65

Please update data/debhelper/dh_commands since dh_scour is now
provided by python3-scour only as of scour 0.36-1 published today.

This fixes this wrong lintian error:
missing-build-dependency-for-dh-addon scour => python-scour

Thanks,
Jeremy Bicha



Thank you for Lintian! [Was: Why do we list individual copyright holders?]

2017-12-23 Thread intrigeri
Russ Allbery:
> Vincent Bernat  writes:
>> Unrelated, but I am developing some kind of "lintian fatigue". People
>> may find helpful to let Lintian warn about every little thing.

> I am one of those people -- I find it insanely useful, rely on it heavily,
> and would be extremely upset if it ever went away.

Same here :)



Build failed in Jenkins: lintian-tests_stretch #1289

2017-12-23 Thread jenkins
See 


Changes:

[lamby] Warn maintainers about packages that ship pkg-config files under

[lamby] debian/control: Correct zi -> zip typo.

--
[...truncated 304.90 KB...]
tests::java-jars:jh_linkjars
tests::java-jars:dh_auto_build
tests::java-jars:debian/rules override_jh_build
tests::java-jars: make[1]: Entering directory 
'/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0'
tests::java-jars: jh_build --javacopts='-target 1.7' --javacopts='-source 1.7'
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testa -d 
debian/_jh_build.testa -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testa -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testa.jar 
../_jh_manifest.testa org
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testb -d 
debian/_jh_build.testb -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testb -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testb.jar 
../_jh_manifest.testb org
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testc -d 
debian/_jh_build.testc -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testc -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testc.jar 
../_jh_manifest.testc org
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testd -d 
debian/_jh_build.testd -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testd -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testd.jar 
../_jh_manifest.testd org
tests::java-jars: cp testa.jar testb.jar
tests::java-jars: unzip testa.jar
tests::java-jars: Archive:  testa.jar
tests::java-jars: replace META-INF/MANIFEST.MF? [y]es, [n]o, [A]ll, [N]one, 
[r]ename:  NULL
tests::java-jars: (EOF or read error, treating as "[N]one" ...)
tests::java-jars: debian/rules:6: recipe for target 'override_jh_build' failed
tests::java-jars: make[1]: *** [override_jh_build] Error 1
tests::java-jars: make[1]: Leaving directory 
'/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0'
tests::java-jars: debian/rules:3: recipe for target 'binary' failed
tests::java-jars: make: *** [binary] Error 2
tests::java-jars: dpkg-buildpackage: error: fakeroot debian/rules binary gave 
error exit status 2
tests::java-jars:  END BUILD LOG
error tests::java-jars: internal error: cd 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0 && dpkg-buildpackage 
-rfakeroot -us -uc -d -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING 
--source-option=--auto-commit 
>/tmp/testrun/debian/test-out/tests/java-jars/build.java-jars 2>&1 at 
t/runtests line 466.

...
tests::scripts-exec:  START BUILD LOG
tests::scripts-exec: dpkg-buildpackage: warning: using a gain-root-command 
while being root
tests::scripts-exec: dpkg-buildpackage: info: source package scripts-exec
tests::scripts-exec: dpkg-buildpackage: info: source version 1.0
tests::scripts-exec: dpkg-buildpackage: info: source distribution unstable
tests::scripts-exec: dpkg-buildpackage: info: source changed by Debian Lintian 

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

2017-12-23 Thread jenkins
See 




[lintian] 01/01: debian/control: Correct zi -> zip typo.

2017-12-23 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 205095b7a2491c60068916bf6a47585686c8e9eb
Author: Chris Lamb 
Date:   Sat Dec 23 20:03:14 2017 +

debian/control: Correct zi -> zip typo.
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index dcfb624..3225171 100644
--- a/debian/control
+++ b/debian/control
@@ -70,7 +70,7 @@ Build-Depends: aspell ,
t1utils ,
unzip ,
xz-utils ,
-   zi ,
+   zip ,
 Standards-Version: 4.1.2
 Rules-Requires-Root: no
 Vcs-Git: https://anonscm.debian.org/git/lintian/lintian.git

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



[lintian] branch master updated (ff29cfb -> 205095b)

2017-12-23 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  ff29cfb   Warn maintainers about packages that ship pkg-config 
files under /usr/lib/pkgconfig as they are unavailable under cross-compilation. 
Thanks to Helmut Grohne for the idea. (Closes: #885096)
   new  205095b   debian/control: Correct zi -> zip typo.

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



Build failed in Jenkins: lintian-tests_sid #2268

2017-12-23 Thread jenkins
See 


Changes:

[lamby] Warn maintainers about packages that ship pkg-config files under

--
[...truncated 145.85 KB...]
   libxml-simple-perl ,
   man-db ,
   node-uglify ,
   patchutils ,
   perl ,
   pkg-php-tools ,
   python ,
   python-all-dev ,
   python-numpy ,
   quilt ,
   rsync ,
   t1utils ,
   unzip ,
   xz-utils ,
   zi ,
Standards-Version: 4.1.2
Rules-Requires-Root: no
Vcs-Git: https://anonscm.debian.org/git/lintian/lintian.git
Vcs-Browser: https://anonscm.debian.org/git/lintian/lintian.git
Homepage: https://lintian.debian.org/

Package: lintian
Architecture: all
Depends: binutils,
 bzip2,
 diffstat,
 dpkg (>= 1.17.14),
 file,
 gettext,
 intltool-debian,
 libapt-pkg-perl,
 libarchive-zip-perl,
 libclass-accessor-perl,
 libclone-perl,
 libdigest-sha-perl,
 libdpkg-perl,
 libemail-valid-perl,
 libfile-basedir-perl,
 libipc-run-perl,
 liblist-moreutils-perl,
 libparse-debianchangelog-perl,
 libtext-levenshtein-perl,
 libtimedate-perl,
 liburi-perl,
 libyaml-libyaml-perl,
 libxml-simple-perl,
 man-db,
 patchutils,
 perl,
 t1utils,
 xz-utils,
 ${misc:Depends},
 ${perl:Depends},
Recommends: libperlio-gzip-perl,
Suggests: binutils-multiarch,
  dpkg-dev,
  libhtml-parser-perl,
  libtext-template-perl,
Breaks: funny-manpages (<< 1.3-5.1),
pkg-perl-tools (<< 0.23)
Replaces: funny-manpages (<< 1.3-5.1)
Multi-Arch: foreign
Description: Debian package checker
 Lintian dissects Debian packages and reports bugs and policy
 violations. It contains automated checks for many aspects of Debian
 policy as well as some checks for common errors.
 .
 It uses an archive directory, called laboratory, in which it stores
 information about the packages it examines.  It can keep this
 information between multiple invocations in order to avoid repeating
 expensive data-collection operations. This makes it possible to check the
 complete Debian archive for bugs, in a reasonable time.
 .
 This package is useful for all people who want to check Debian
 packages for compliance with Debian policy. Every Debian maintainer
 should check packages with this tool before uploading them to the
 archive.
 .
 This version of Lintian is calibrated for policy version 4.1.2.
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'lintian-build-deps' in 
'../lintian-build-deps_2.5.66_all.deb'.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package lintian-build-deps.
(Reading database ... 28602 files and directories currently installed.)
Preparing to unpack lintian-build-deps_2.5.66_all.deb ...
Unpacking lintian-build-deps (2.5.66) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) lintian-build-deps:amd64 < 2.5.66 @iU mK Nb Ib >
Broken lintian-build-deps:amd64 Depends on zi:amd64 < none @un H >
  Removing lintian-build-deps:amd64 because I can't find zi:amd64
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
  emacs25-bin-common emacs25-common emacs25-nox emacsen-common install-info
  libasound2 libasound2-data libdbus-1-3 libgpm2 libjpeg62-turbo
  liblockfile-bin liblockfile1 libtext-template-perl lynx lynx-common quilt
  rsync
Suggested packages:
  emacs25-common-non-dfsg ncurses-term libasound2-plugins alsa-utils gpm
  procmail graphviz openssh-server
Recommended packages:
  emacs25-el dbus
The following packages will be REMOVED:
  lintian-build-deps
The following NEW packages will be installed:
  emacs25-bin-common emacs25-common emacs25-nox emacsen-common install-info
  libasound2 libasound2-data libdbus-1-3 libgpm2 libjpeg62-turbo
  liblockfile-bin liblockfile1 libtext-template-perl lynx lynx-common quilt
  rsync
0 upgraded, 17 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 20.4 MB of archives.
After this operation, 96.0 MB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian sid/main amd64 install-info amd64 
6.5.0.dfsg.1-1 [342 

Build failed in Jenkins: lintian-tests_sid #2267

2017-12-23 Thread jenkins
See 

--
[...truncated 145.73 KB...]
   libxml-simple-perl ,
   man-db ,
   node-uglify ,
   patchutils ,
   perl ,
   pkg-php-tools ,
   python ,
   python-all-dev ,
   python-numpy ,
   quilt ,
   rsync ,
   t1utils ,
   unzip ,
   xz-utils ,
   zi ,
Standards-Version: 4.1.2
Rules-Requires-Root: no
Vcs-Git: https://anonscm.debian.org/git/lintian/lintian.git
Vcs-Browser: https://anonscm.debian.org/git/lintian/lintian.git
Homepage: https://lintian.debian.org/

Package: lintian
Architecture: all
Depends: binutils,
 bzip2,
 diffstat,
 dpkg (>= 1.17.14),
 file,
 gettext,
 intltool-debian,
 libapt-pkg-perl,
 libarchive-zip-perl,
 libclass-accessor-perl,
 libclone-perl,
 libdigest-sha-perl,
 libdpkg-perl,
 libemail-valid-perl,
 libfile-basedir-perl,
 libipc-run-perl,
 liblist-moreutils-perl,
 libparse-debianchangelog-perl,
 libtext-levenshtein-perl,
 libtimedate-perl,
 liburi-perl,
 libyaml-libyaml-perl,
 libxml-simple-perl,
 man-db,
 patchutils,
 perl,
 t1utils,
 xz-utils,
 ${misc:Depends},
 ${perl:Depends},
Recommends: libperlio-gzip-perl,
Suggests: binutils-multiarch,
  dpkg-dev,
  libhtml-parser-perl,
  libtext-template-perl,
Breaks: funny-manpages (<< 1.3-5.1),
pkg-perl-tools (<< 0.23)
Replaces: funny-manpages (<< 1.3-5.1)
Multi-Arch: foreign
Description: Debian package checker
 Lintian dissects Debian packages and reports bugs and policy
 violations. It contains automated checks for many aspects of Debian
 policy as well as some checks for common errors.
 .
 It uses an archive directory, called laboratory, in which it stores
 information about the packages it examines.  It can keep this
 information between multiple invocations in order to avoid repeating
 expensive data-collection operations. This makes it possible to check the
 complete Debian archive for bugs, in a reasonable time.
 .
 This package is useful for all people who want to check Debian
 packages for compliance with Debian policy. Every Debian maintainer
 should check packages with this tool before uploading them to the
 archive.
 .
 This version of Lintian is calibrated for policy version 4.1.2.
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'lintian-build-deps' in 
'../lintian-build-deps_2.5.66_all.deb'.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package lintian-build-deps.
(Reading database ... 28602 files and directories currently installed.)
Preparing to unpack lintian-build-deps_2.5.66_all.deb ...
Unpacking lintian-build-deps (2.5.66) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) lintian-build-deps:amd64 < 2.5.66 @iU mK Nb Ib >
Broken lintian-build-deps:amd64 Depends on zi:amd64 < none @un H >
  Removing lintian-build-deps:amd64 because I can't find zi:amd64
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
  emacs25-bin-common emacs25-common emacs25-nox emacsen-common install-info
  libasound2 libasound2-data libdbus-1-3 libgpm2 libjpeg62-turbo
  liblockfile-bin liblockfile1 libtext-template-perl lynx lynx-common quilt
  rsync
Suggested packages:
  emacs25-common-non-dfsg ncurses-term libasound2-plugins alsa-utils gpm
  procmail graphviz openssh-server
Recommended packages:
  emacs25-el dbus
The following packages will be REMOVED:
  lintian-build-deps
The following NEW packages will be installed:
  emacs25-bin-common emacs25-common emacs25-nox emacsen-common install-info
  libasound2 libasound2-data libdbus-1-3 libgpm2 libjpeg62-turbo
  liblockfile-bin liblockfile1 libtext-template-perl lynx lynx-common quilt
  rsync
0 upgraded, 17 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 20.4 MB of archives.
After this operation, 96.0 MB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian sid/main amd64 install-info amd64 
6.5.0.dfsg.1-1 [342 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libgpm2 amd64 
1.20.4-6.2+b1 

Build failed in Jenkins: lintian-tests_stretch #1288

2017-12-23 Thread jenkins
See 


Changes:

[lamby] checks/source-copyright.desc: Correct reference to debian/package.docs.

[lamby] checks/source-copyright.{pm,desc}: Also check for NOTICE.txt files (eg.

[lamby] debian/control: Tag relevant build-dependencies with .

--
[...truncated 145.02 KB...]
Depends: binutils,
 bzip2,
 diffstat,
 dpkg (>= 1.17.14),
 file,
 gettext,
 intltool-debian,
 libapt-pkg-perl,
 libarchive-zip-perl,
 libclass-accessor-perl,
 libclone-perl,
 libdigest-sha-perl,
 libdpkg-perl,
 libemail-valid-perl,
 libfile-basedir-perl,
 libipc-run-perl,
 liblist-moreutils-perl,
 libparse-debianchangelog-perl,
 libtext-levenshtein-perl,
 libtimedate-perl,
 liburi-perl,
 libyaml-libyaml-perl,
 libxml-simple-perl,
 man-db,
 patchutils,
 perl,
 t1utils,
 xz-utils,
 ${misc:Depends},
 ${perl:Depends},
Recommends: libperlio-gzip-perl,
Suggests: binutils-multiarch,
  dpkg-dev,
  libhtml-parser-perl,
  libtext-template-perl,
Breaks: funny-manpages (<< 1.3-5.1),
pkg-perl-tools (<< 0.23)
Replaces: funny-manpages (<< 1.3-5.1)
Multi-Arch: foreign
Description: Debian package checker
 Lintian dissects Debian packages and reports bugs and policy
 violations. It contains automated checks for many aspects of Debian
 policy as well as some checks for common errors.
 .
 It uses an archive directory, called laboratory, in which it stores
 information about the packages it examines.  It can keep this
 information between multiple invocations in order to avoid repeating
 expensive data-collection operations. This makes it possible to check the
 complete Debian archive for bugs, in a reasonable time.
 .
 This package is useful for all people who want to check Debian
 packages for compliance with Debian policy. Every Debian maintainer
 should check packages with this tool before uploading them to the
 archive.
 .
 This version of Lintian is calibrated for policy version 4.1.2.
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
dh_installdocs
dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'lintian-build-deps' in 
'../lintian-build-deps_2.5.66_all.deb'.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package lintian-build-deps.
(Reading database ... 28754 files and directories currently installed.)
Preparing to unpack lintian-build-deps_2.5.66_all.deb ...
Unpacking lintian-build-deps (2.5.66) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) lintian-build-deps:amd64 < 2.5.66 @iU mK Nb Ib >
Broken lintian-build-deps:amd64 Depends on zi:amd64 < none @un H >
  Removing lintian-build-deps:amd64 because I can't find zi:amd64
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
  emacs25-bin-common emacs25-common emacs25-nox emacsen-common libasound2
  libasound2-data libdbus-1-3 libgpm2 libjpeg62-turbo liblockfile-bin
  liblockfile1 libtext-template-perl libxml-libxml-perl
  libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl
  libxml-simple-perl lynx lynx-common ucf
Suggested packages:
  emacs25-common-non-dfsg ncurses-term libasound2-plugins alsa-utils gpm
Recommended packages:
  emacs25-el dbus libxml-sax-expat-perl
The following packages will be REMOVED:
  lintian-build-deps
The following NEW packages will be installed:
  emacs25-bin-common emacs25-common emacs25-nox emacsen-common libasound2
  libasound2-data libdbus-1-3 libgpm2 libjpeg62-turbo liblockfile-bin
  liblockfile1 libtext-template-perl libxml-libxml-perl
  libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl
  libxml-simple-perl lynx lynx-common ucf
0 upgraded, 20 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 19.8 MB of archives.
After this operation, 96.1 MB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 
liblockfile-bin amd64 1.14-1+b1 [19.1 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 liblockfile1 
amd64 

Build failed in Jenkins: lintian-tests_buster #379

2017-12-23 Thread jenkins
See 


Changes:

[lamby] debian/control: Tag relevant build-dependencies with .

--
[...truncated 146.49 KB...]
   libxml-simple-perl ,
   man-db ,
   node-uglify ,
   patchutils ,
   perl ,
   pkg-php-tools ,
   python ,
   python-all-dev ,
   python-numpy ,
   quilt ,
   rsync ,
   t1utils ,
   unzip ,
   xz-utils ,
   zi ,
Standards-Version: 4.1.2
Rules-Requires-Root: no
Vcs-Git: https://anonscm.debian.org/git/lintian/lintian.git
Vcs-Browser: https://anonscm.debian.org/git/lintian/lintian.git
Homepage: https://lintian.debian.org/

Package: lintian
Architecture: all
Depends: binutils,
 bzip2,
 diffstat,
 dpkg (>= 1.17.14),
 file,
 gettext,
 intltool-debian,
 libapt-pkg-perl,
 libarchive-zip-perl,
 libclass-accessor-perl,
 libclone-perl,
 libdigest-sha-perl,
 libdpkg-perl,
 libemail-valid-perl,
 libfile-basedir-perl,
 libipc-run-perl,
 liblist-moreutils-perl,
 libparse-debianchangelog-perl,
 libtext-levenshtein-perl,
 libtimedate-perl,
 liburi-perl,
 libyaml-libyaml-perl,
 libxml-simple-perl,
 man-db,
 patchutils,
 perl,
 t1utils,
 xz-utils,
 ${misc:Depends},
 ${perl:Depends},
Recommends: libperlio-gzip-perl,
Suggests: binutils-multiarch,
  dpkg-dev,
  libhtml-parser-perl,
  libtext-template-perl,
Breaks: funny-manpages (<< 1.3-5.1),
pkg-perl-tools (<< 0.23)
Replaces: funny-manpages (<< 1.3-5.1)
Multi-Arch: foreign
Description: Debian package checker
 Lintian dissects Debian packages and reports bugs and policy
 violations. It contains automated checks for many aspects of Debian
 policy as well as some checks for common errors.
 .
 It uses an archive directory, called laboratory, in which it stores
 information about the packages it examines.  It can keep this
 information between multiple invocations in order to avoid repeating
 expensive data-collection operations. This makes it possible to check the
 complete Debian archive for bugs, in a reasonable time.
 .
 This package is useful for all people who want to check Debian
 packages for compliance with Debian policy. Every Debian maintainer
 should check packages with this tool before uploading them to the
 archive.
 .
 This version of Lintian is calibrated for policy version 4.1.2.
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'lintian-build-deps' in 
'../lintian-build-deps_2.5.66_all.deb'.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package lintian-build-deps.
(Reading database ... 28541 files and directories currently installed.)
Preparing to unpack lintian-build-deps_2.5.66_all.deb ...
Unpacking lintian-build-deps (2.5.66) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) lintian-build-deps:amd64 < 2.5.66 @iU mK Nb Ib >
Broken lintian-build-deps:amd64 Depends on zi:amd64 < none @un H >
  Removing lintian-build-deps:amd64 because I can't find zi:amd64
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
  emacs25-bin-common emacs25-common emacs25-nox emacsen-common install-info
  libasound2 libasound2-data libdbus-1-3 libgpm2 libjpeg62-turbo
  liblockfile-bin liblockfile1 libtext-template-perl lynx lynx-common quilt
  rsync
Suggested packages:
  emacs25-common-non-dfsg ncurses-term libasound2-plugins alsa-utils gpm
  procmail graphviz openssh-server
Recommended packages:
  emacs25-el dbus
The following packages will be REMOVED:
  lintian-build-deps
The following NEW packages will be installed:
  emacs25-bin-common emacs25-common emacs25-nox emacsen-common install-info
  libasound2 libasound2-data libdbus-1-3 libgpm2 libjpeg62-turbo
  liblockfile-bin liblockfile1 libtext-template-perl lynx lynx-common quilt
  rsync
0 upgraded, 17 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 20.4 MB of archives.
After this operation, 96.0 MB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian buster/main amd64 install-info 
amd64 6.5.0.dfsg.1-1 [342 kB]

Bug#885096: lintian could warn about use of /usr/lib/pkgconfig

2017-12-23 Thread Chris Lamb
tags 885096 + pending
thanks

Merry Christmas, Helmut :)

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


Best wishes,

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



Build failed in Jenkins: lintian-tests_sid #2266

2017-12-23 Thread jenkins
See 


Changes:

[lamby] debian/control: Tag relevant build-dependencies with .

--
[...truncated 145.73 KB...]
   libxml-simple-perl ,
   man-db ,
   node-uglify ,
   patchutils ,
   perl ,
   pkg-php-tools ,
   python ,
   python-all-dev ,
   python-numpy ,
   quilt ,
   rsync ,
   t1utils ,
   unzip ,
   xz-utils ,
   zi ,
Standards-Version: 4.1.2
Rules-Requires-Root: no
Vcs-Git: https://anonscm.debian.org/git/lintian/lintian.git
Vcs-Browser: https://anonscm.debian.org/git/lintian/lintian.git
Homepage: https://lintian.debian.org/

Package: lintian
Architecture: all
Depends: binutils,
 bzip2,
 diffstat,
 dpkg (>= 1.17.14),
 file,
 gettext,
 intltool-debian,
 libapt-pkg-perl,
 libarchive-zip-perl,
 libclass-accessor-perl,
 libclone-perl,
 libdigest-sha-perl,
 libdpkg-perl,
 libemail-valid-perl,
 libfile-basedir-perl,
 libipc-run-perl,
 liblist-moreutils-perl,
 libparse-debianchangelog-perl,
 libtext-levenshtein-perl,
 libtimedate-perl,
 liburi-perl,
 libyaml-libyaml-perl,
 libxml-simple-perl,
 man-db,
 patchutils,
 perl,
 t1utils,
 xz-utils,
 ${misc:Depends},
 ${perl:Depends},
Recommends: libperlio-gzip-perl,
Suggests: binutils-multiarch,
  dpkg-dev,
  libhtml-parser-perl,
  libtext-template-perl,
Breaks: funny-manpages (<< 1.3-5.1),
pkg-perl-tools (<< 0.23)
Replaces: funny-manpages (<< 1.3-5.1)
Multi-Arch: foreign
Description: Debian package checker
 Lintian dissects Debian packages and reports bugs and policy
 violations. It contains automated checks for many aspects of Debian
 policy as well as some checks for common errors.
 .
 It uses an archive directory, called laboratory, in which it stores
 information about the packages it examines.  It can keep this
 information between multiple invocations in order to avoid repeating
 expensive data-collection operations. This makes it possible to check the
 complete Debian archive for bugs, in a reasonable time.
 .
 This package is useful for all people who want to check Debian
 packages for compliance with Debian policy. Every Debian maintainer
 should check packages with this tool before uploading them to the
 archive.
 .
 This version of Lintian is calibrated for policy version 4.1.2.
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'lintian-build-deps' in 
'../lintian-build-deps_2.5.66_all.deb'.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package lintian-build-deps.
(Reading database ... 28602 files and directories currently installed.)
Preparing to unpack lintian-build-deps_2.5.66_all.deb ...
Unpacking lintian-build-deps (2.5.66) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) lintian-build-deps:amd64 < 2.5.66 @iU mK Nb Ib >
Broken lintian-build-deps:amd64 Depends on zi:amd64 < none @un H >
  Removing lintian-build-deps:amd64 because I can't find zi:amd64
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
  emacs25-bin-common emacs25-common emacs25-nox emacsen-common install-info
  libasound2 libasound2-data libdbus-1-3 libgpm2 libjpeg62-turbo
  liblockfile-bin liblockfile1 libtext-template-perl lynx lynx-common quilt
  rsync
Suggested packages:
  emacs25-common-non-dfsg ncurses-term libasound2-plugins alsa-utils gpm
  procmail graphviz openssh-server
Recommended packages:
  emacs25-el dbus
The following packages will be REMOVED:
  lintian-build-deps
The following NEW packages will be installed:
  emacs25-bin-common emacs25-common emacs25-nox emacsen-common install-info
  libasound2 libasound2-data libdbus-1-3 libgpm2 libjpeg62-turbo
  liblockfile-bin liblockfile1 libtext-template-perl lynx lynx-common quilt
  rsync
0 upgraded, 17 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 20.4 MB of archives.
After this operation, 96.0 MB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian sid/main amd64 install-info amd64 
6.5.0.dfsg.1-1 [342 kB]
Get:2 

Processed: Re: lintian could warn about use of /usr/lib/pkgconfig

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

> tags 885096 + pending
Bug #885096 [lintian] lintian could warn about use of /usr/lib/pkgconfig
Added tag(s) pending.
> thanks
Stopping processing here.

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



[lintian] branch master updated (8d33dae -> ff29cfb)

2017-12-23 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  8d33dae   debian/control: Tag relevant build-dependencies with 
.
   new  ff29cfb   Warn maintainers about packages that ship pkg-config 
files under /usr/lib/pkgconfig as they are unavailable under cross-compilation. 
Thanks to Helmut Grohne for the idea. (Closes: #885096)

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.desc| 15 +++
 checks/files.pm  |  9 +
 debian/changelog |  4 
 t/tests/files-pkgconfig/desc |  1 +
 t/tests/files-pkgconfig/tags |  5 +
 5 files changed, 30 insertions(+), 4 deletions(-)

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



[lintian] 01/01: Warn maintainers about packages that ship pkg-config files under /usr/lib/pkgconfig as they are unavailable under cross-compilation. Thanks to Helmut Grohne for the idea. (Closes: #88

2017-12-23 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 ff29cfb4738c2c7e03d192313fae4bdbc6aad351
Author: Chris Lamb 
Date:   Sat Dec 23 19:32:46 2017 +

Warn maintainers about packages that ship pkg-config files under 
/usr/lib/pkgconfig as they are unavailable under cross-compilation. Thanks to 
Helmut Grohne for the idea. (Closes: #885096)
---
 checks/files.desc| 15 +++
 checks/files.pm  |  9 +
 debian/changelog |  4 
 t/tests/files-pkgconfig/desc |  1 +
 t/tests/files-pkgconfig/tags |  5 +
 5 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/checks/files.desc b/checks/files.desc
index b35a399..2b99443 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -1831,3 +1831,18 @@ Certainty: certain
 Info: This package appears to contain a compiled font file. These files
  should be generated automatically by triggers and it must not be shipped
  in any package.
+
+Tag: pkg-config-unavailable-for-cross-compilation
+Severity: normal
+Certainty: certain
+Info: The specified pkg-config(1) file is installed to
+ /usr/lib/pkgconfig. As the cross-compilation wrapper of pkg-config
+ does not search this directory the file is unavailable under
+ cross-compilation.
+ .
+ Please install the file to /usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig
+ instead.
+ .
+ For projects that use GNU Autotools, a simple method is moving to a debhelper
+ compat level of 9 or higher. In the rare case that this file is architecture
+ independent it can be installed to /usr/share/pkgconfig instead.
diff --git a/checks/files.pm b/checks/files.pm
index 3ef8375..bebc9f6 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -688,11 +688,12 @@ sub run {
 }
 #  arch-indep pkgconfig
 elsif ($file->is_regular_file
-&& $fname
-=~ m,^usr/(?:lib(/[^/]+)?|share)/pkgconfig/[^/]+\.pc$,) {
-my $pkg_config_arch = $1 // '';
+&& $fname=~ m,^usr/(lib(/[^/]+)?|share)/pkgconfig/[^/]+\.pc$,){
+my $prefix = $1;
+my $pkg_config_arch = $2 // '';
 $pkg_config_arch =~ s,\A/,,ms;
-
+tag 'pkg-config-unavailable-for-cross-compilation', $file
+  if $prefix eq 'lib';
 my $fd = $file->open(':raw');
 my $sfd = Lintian::SlidingWindow->new($fd);
   BLOCK:
diff --git a/debian/changelog b/debian/changelog
index a9b5fcc..0061863 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,10 @@ lintian (2.5.66) UNRELEASED; urgency=medium
 + [CL] Warn when packages specify a "Bugs" field in debian/control that
   does not refer to official Debian infrastructure as this can make
   reportbug unable to report bugs.  (Closes: #741071)
+  * checks/files.{pm,desc}:
++ [CL] Warn maintainers about packages that ship pkg-config files under
+  /usr/lib/pkgconfig as they are unavailable under cross-compilation.
+  Thanks to Helmut Grohne for the idea.  (Closes: #885096)
   * checks/init.d.{pm,desc}:
 + [CL] Don't emit init.d-script-needs-depends-on-lsb-base if the
   package ships a Systemd service file.  (Closes: #864999)
diff --git a/t/tests/files-pkgconfig/desc b/t/tests/files-pkgconfig/desc
index 6e6665c..bb801db 100644
--- a/t/tests/files-pkgconfig/desc
+++ b/t/tests/files-pkgconfig/desc
@@ -5,3 +5,4 @@ Test-For:
  pkg-config-bad-directive
  pkg-config-multi-arch-wrong-dir
  multiarch-foreign-pkgconfig
+ pkg-config-unavailable-for-cross-compilation
diff --git a/t/tests/files-pkgconfig/tags b/t/tests/files-pkgconfig/tags
index 7c7da47..eb96d97 100644
--- a/t/tests/files-pkgconfig/tags
+++ b/t/tests/files-pkgconfig/tags
@@ -35,3 +35,8 @@ E: pkgconfig-any: multiarch-foreign-pkgconfig 
usr/lib/ARCH/pkgconfig/arch-cross.
 E: pkgconfig-any: multiarch-foreign-pkgconfig 
usr/lib/ARCH/pkgconfig/arch-good.pc
 E: pkgconfig-any: multiarch-foreign-pkgconfig 
usr/lib/ARCH/pkgconfig/arch-include-arch.pc
 E: pkgconfig-any: pkg-config-multi-arch-wrong-dir 
usr/lib/ARCH/pkgconfig/arch-cross.pc full text contains architecture specific 
dir ARCH
+W: pkgconfig-all: pkg-config-unavailable-for-cross-compilation 
usr/lib/pkgconfig/indep-good.pc
+W: pkgconfig-all: pkg-config-unavailable-for-cross-compilation 
usr/lib/pkgconfig/indep-include-arch-1.pc
+W: pkgconfig-all: pkg-config-unavailable-for-cross-compilation 
usr/lib/pkgconfig/indep-include-arch-2.pc
+W: pkgconfig-all: pkg-config-unavailable-for-cross-compilation 
usr/lib/pkgconfig/indep-include-arch-3.pc
+W: pkgconfig-all: pkg-config-unavailable-for-cross-compilation 
usr/lib/pkgconfig/indep-really-bad.pc

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



[lintian] 01/01: debian/control: Tag relevant build-dependencies with .

2017-12-23 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 8d33daeb6e5588d42c4a0786b47dc723ce63aa6d
Author: Chris Lamb 
Date:   Sat Dec 23 19:10:41 2017 +

debian/control: Tag relevant build-dependencies with .
---
 debian/changelog |   3 ++
 debian/control   | 108 +++
 2 files changed, 57 insertions(+), 54 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a488d7b..a9b5fcc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,9 @@ lintian (2.5.66) UNRELEASED; urgency=medium
 + [CL] Also emit embedded-javascript-library for Twitter Bootstrap and
   "mustache".
 
+  * debian/control:
++ [CL] Tag relevant build-dependencies with .
+
   * reporting/templates/maintainer.tmpl:
 + [CL] Correct invalid "else if" syntax with "elsif". Thanks to Uwe
   Kleine-König for the report.
diff --git a/debian/control b/debian/control
index 60bbe60..dcfb624 100644
--- a/debian/control
+++ b/debian/control
@@ -11,66 +11,66 @@ Uploaders: Josip Rodin ,
Bastien Roucariès ,
Axel Beckert ,
Chris Lamb ,
-Build-Depends: aspell,
-   aspell-en,
-   binutils,
-   bzip2,
-   cdbs,
+Build-Depends: aspell ,
+   aspell-en ,
+   binutils ,
+   bzip2 ,
+   cdbs ,
debhelper (>= 9),
 # Prefer the headless variant as it saves about 25% (installed-size), but
 # it is not available in Jessie.
-   default-jdk-headless | default-jdk,
+   default-jdk-headless  | default-jdk ,
 # Use bash as a Jessie indicator (dh-elpa is only used for a test)
-   dh-elpa | bash (<< 4.4),
-   diffstat,
+   dh-elpa   | bash (<< 4.4) ,
+   diffstat ,
docbook-utils,
-   docbook-xml,
+   docbook-xml ,
dpkg (>= 1.17.14),
-   fakeroot,
-   file,
-   gettext,
-   intltool-debian,
-   javahelper,
-   libapt-pkg-perl,
-   libarchive-zip-perl,
-   libclass-accessor-perl,
-   libclone-perl,
-   libdpkg-perl,
-   libdigest-sha-perl,
-   libemail-valid-perl,
-   libfile-basedir-perl,
-   libhtml-parser-perl,
-   libipc-run-perl,
-   libio-async-perl,
-   liblist-moreutils-perl,
-   libparse-debianchangelog-perl,
-   libtest-minimumversion-perl,
-   libtest-perl-critic-perl,
-   libtest-pod-coverage-perl,
-   libtest-pod-perl,
-   libtest-spelling-perl,
-   libtest-strict-perl,
-   libtest-synopsis-perl,
-   libtext-levenshtein-perl,
-   libtext-template-perl,
-   libtimedate-perl,
-   liburi-perl,
-   libyaml-libyaml-perl,
-   libxml-simple-perl,
-   man-db,
-   node-uglify,
-   patchutils,
-   perl,
-   pkg-php-tools,
-   python,
-   python-all-dev,
-   python-numpy,
-   quilt,
-   rsync,
-   t1utils,
-   unzip,
-   xz-utils,
-   zip
+   fakeroot ,
+   file ,
+   gettext ,
+   intltool-debian ,
+   javahelper ,
+   libapt-pkg-perl ,
+   libarchive-zip-perl ,
+   libclass-accessor-perl ,
+   libclone-perl ,
+   libdpkg-perl ,
+   libdigest-sha-perl ,
+   libemail-valid-perl ,
+   libfile-basedir-perl ,
+   libhtml-parser-perl ,
+   libipc-run-perl ,
+   libio-async-perl ,
+   liblist-moreutils-perl ,
+   libparse-debianchangelog-perl ,
+   libtest-minimumversion-perl ,
+   libtest-perl-critic-perl ,
+   libtest-pod-coverage-perl ,
+   libtest-pod-perl ,
+   libtest-spelling-perl ,
+   libtest-strict-perl ,
+   libtest-synopsis-perl ,
+   libtext-levenshtein-perl ,
+   libtext-template-perl ,
+   libtimedate-perl ,
+   liburi-perl ,
+   libyaml-libyaml-perl ,
+   libxml-simple-perl ,
+   man-db ,
+   node-uglify ,
+   patchutils ,
+   perl ,
+   pkg-php-tools ,
+   python ,
+   python-all-dev ,
+   python-numpy ,
+   

[lintian] branch master updated (d49a75f -> 8d33dae)

2017-12-23 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  d49a75f   checks/source-copyright.{pm,desc}: Also check for 
NOTICE.txt files (eg. commons-email).
   new  8d33dae   debian/control: Tag relevant build-dependencies with 
.

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/changelog |   3 ++
 debian/control   | 108 +++
 2 files changed, 57 insertions(+), 54 deletions(-)

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



Bug#885096: lintian could warn about use of /usr/lib/pkgconfig

2017-12-23 Thread Helmut Grohne
Package: lintian
Version: 2.5.65
Severity: wishlist
User: helm...@debian.org
Usertags: rebootstrap

Hi lintian maintainers and in particular Chris,

I have another wish for a lintian check and maybe Santa is gracious to
me this year. I've been filing ~1000 patches for cross build bugs and
that experience tends to turn into generic advise now. You've
implemented quite some checks for me and this one is very common as
well.

pkg-config maintainer Tollef Fog Heen decided that it was a good idea to
use different paths for cross pkg-config from native pkg-config. A
native pkg-config checks /usr/share/pkgconfig, /usr/lib/pkgconfig and
/usr/lib//pkgconfig. The cross wrapper skips
/usr/lib/pkgconfig. This behaviour is not entirely unreasonable:
/usr/lib/pkgconfig will contain .pc files from both build and host
architecture. Using them risks using a "wrong" .pc file. Unfortunately
that means that any .pc file placed in /usr/lib/pkgconfig is entirely
unusable to cross compilation. The solution is to move them to either
/usr/share/pkgconfig or /usr/lib/$(DEB_HOST_GNU_TYPE)/pkgconfig (aka
using multiarch paths).

Now the check is pretty simple. It fires whenever /usr/lib/pkgconfig is
part of a binary package. Estimating the number of flagged packages is
trivial as well: apt-file search /usr/lib/pkgconfig yields 700 files in
500 packages. Given the simplicity of the check, false positives are
next to impossible.

What is a bit more difficult is the advise that lintian is supposed to
give. In essence, this tag would ask packages to multiarchify. Just that
it is much weaker. This tag doesn't ask for adding Multi-Arch: same and
it also doesn't ask to pass a multiarch --libdir, all it needs is not
using /usr/lib/pkgconfig. In some cases, the simple solution is passing
a multiarch --libdir to configure (or simply bumping a debhelper compat
level and getting this flag automatically). In other cases a simple mv
is the quick solution. Let me try drafting this as a tag description:

A .pc file is placed in /usr/lib/pkgconfig. The cross compilation
wrapper of pkg-config does not search this directory and thus the
.pc file is unavailable to cross compilation.

Please move the .pc file to
/usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig. In the rare case that the
.pc file is architecture-independent, it can be moved to
/usr/share/pkgconfig instead. For autotools projects, a simple
method is moving to a debhelper compat level of at least 9.

Do you also see value in this check? I suggest marking it as "certain"
and "normal".

Helmut



[lintian] 01/01: checks/source-copyright.{pm, desc}: Also check for NOTICE.txt files (eg. commons-email).

2017-12-23 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 d49a75f91f6559ce98056469b2f06365e51543db
Author: Chris Lamb 
Date:   Sat Dec 23 18:43:32 2017 +

checks/source-copyright.{pm,desc}: Also check for NOTICE.txt files (eg. 
commons-email).
---
 checks/source-copyright.desc  | 4 ++--
 checks/source-copyright.pm| 2 +-
 .../debian/NOTICE.txt | 1 +
 t/tests/source-copyright-missing-notice-file-for-apache-license/tags  | 2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/checks/source-copyright.desc b/checks/source-copyright.desc
index 600e968..21e70ac 100644
--- a/checks/source-copyright.desc
+++ b/checks/source-copyright.desc
@@ -329,8 +329,8 @@ Tag: missing-notice-file-for-apache-license
 Severity: serious
 Certainty: possible
 Info: The package appears to be licensed under the Apache 2.0 license and
- a NOTICE file exists in the source tree. However, no files called
- NOTICE are installed in any of the binary packages.
+ a NOTICE file (or similar) exists in the source tree. However, no
+ files called NOTICE are installed in any of the binary packages.
  .
  The Apache 2.0 license requires distributing of such files:
  .
diff --git a/checks/source-copyright.pm b/checks/source-copyright.pm
index b7494a9..d0ca819 100644
--- a/checks/source-copyright.pm
+++ b/checks/source-copyright.pm
@@ -157,7 +157,7 @@ sub _check_apache_notice_files {
 return if $copyright_path->file_contents !~ m/apache[-\s]+2\./i;
 
 my @notice_files = grep {
-  $_->basename eq 'NOTICE'
+  $_->basename =~ m/^NOTICE(\.txt)?$/
   and $_->is_open_ok
   and $_->file_contents =~ m/apache/i
 } $info->sorted_index;
diff --git 
a/t/tests/source-copyright-missing-notice-file-for-apache-license/debian/NOTICE.txt
 
b/t/tests/source-copyright-missing-notice-file-for-apache-license/debian/NOTICE.txt
new file mode 100644
index 000..6c64526
--- /dev/null
+++ 
b/t/tests/source-copyright-missing-notice-file-for-apache-license/debian/NOTICE.txt
@@ -0,0 +1 @@
+This Apache 2.0 license NOTICE is not installed to any binary package.
diff --git 
a/t/tests/source-copyright-missing-notice-file-for-apache-license/tags 
b/t/tests/source-copyright-missing-notice-file-for-apache-license/tags
index 4de1eac..226bf4e 100644
--- a/t/tests/source-copyright-missing-notice-file-for-apache-license/tags
+++ b/t/tests/source-copyright-missing-notice-file-for-apache-license/tags
@@ -1 +1 @@
-E: source-copyright-missing-notice-file-for-apache-license source: 
missing-notice-file-for-apache-license NOTICE subdir/NOTICE
+E: source-copyright-missing-notice-file-for-apache-license source: 
missing-notice-file-for-apache-license NOTICE NOTICE.txt subdir/NOTICE

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



[lintian] branch master updated (0fa3c2a -> d49a75f)

2017-12-23 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  0fa3c2a   checks/source-copyright.desc: Correct reference to 
debian/package.docs.
   new  d49a75f   checks/source-copyright.{pm,desc}: Also check for 
NOTICE.txt files (eg. commons-email).

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/source-copyright.desc  | 4 ++--
 checks/source-copyright.pm| 2 +-
 .../debian/{NOTICE => NOTICE.txt} | 0
 t/tests/source-copyright-missing-notice-file-for-apache-license/tags  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
 copy 
t/tests/source-copyright-missing-notice-file-for-apache-license/debian/{NOTICE 
=> NOTICE.txt} (100%)

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



Bug#885042: Check inclusion of Apache 2.0 NOTICE files

2017-12-23 Thread Chris Lamb
Hi Russ,

> I suspect you want package.docs in the long description of the tag instead
> of package.install.

Hah, yep; not sure how I typo'd that given that I meant to copy the
exact meta-syntactic variable used in the dh_installdocs manpage.

Fixed in:

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


Regards,

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



[lintian] branch master updated (6110e0f -> 0fa3c2a)

2017-12-23 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  6110e0f   Check for Apache 2.0 packages that do not distribute 
their accompanying "NOTICE" files. (Closes: #885042)
   new  0fa3c2a   checks/source-copyright.desc: Correct reference to 
debian/package.docs.

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/source-copyright.desc | 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: checks/source-copyright.desc: Correct reference to debian/package.docs.

2017-12-23 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 0fa3c2abc9db5f8e3b8d4cc8a8c48a6f543eef64
Author: Chris Lamb 
Date:   Sat Dec 23 18:39:08 2017 +

checks/source-copyright.desc: Correct reference to debian/package.docs.
---
 checks/source-copyright.desc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/source-copyright.desc b/checks/source-copyright.desc
index b0fd57e..600e968 100644
--- a/checks/source-copyright.desc
+++ b/checks/source-copyright.desc
@@ -340,5 +340,5 @@ Info: The package appears to be licensed under the Apache 
2.0 license and
   within such NOTICE file [..]
  .
  Please include the file in your package, for example by adding
- path/to/NOTICE to a debian/package.install file.
+ path/to/NOTICE to a debian/package.docs file.
 Ref: /usr/share/common-licenses/Apache-2.0

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



Bug#885042: Check inclusion of Apache 2.0 NOTICE files

2017-12-23 Thread Russ Allbery
Chris Lamb  writes:

> Good catch. Fixed in Git:

>   
> https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=6110e0f1185e26d903dd0ed8a7a8edaae14cf905

I suspect you want package.docs in the long description of the tag instead
of package.install.

-- 
Russ Allbery (r...@debian.org)   



Re: [lintian] 01/01: Check for Apache 2.0 packages that do not distribute their accompanying "NOTICE" files. (Closes: #885042)

2017-12-23 Thread Mattia Rizzolo
A comment:

On Sat, Dec 23, 2017 at 04:07:12PM +, Chris Lamb wrote:
> +Tag: missing-notice-file-for-apache-license
> +Severity: serious
> +Certainty: possible
> +Info: The package appears to be licensed under the Apache 2.0 license and
> + a NOTICE file exists in the source tree. However, no files called
> + NOTICE are installed in any of the binary packages.
> + .
> + The Apache 2.0 license requires distributing of such files:
> + .
> +  (d) If the Work includes a "NOTICE" text file as part of its
> +  distribution, then any Derivative Works that You distribute must
> +  include a readable copy of the attribution notices contained
> +  within such NOTICE file [..]
> + .
> + Please include the file in your package, for example by adding
> + path/to/NOTICE to a debian/package.install file.

Given that I think in most cases (including your own example you made up
for the testsuite!) that file probably should be in /usr/share/doc/pkg/,
what about recommending to put it in the debian/package.docs file
instead?

-- 
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  `-


signature.asc
Description: PGP signature


Build failed in Jenkins: lintian-tests_stretch #1287

2017-12-23 Thread jenkins
See 


Changes:

[lamby] Check for Apache 2.0 packages that do not distribute their accompanying

--
[...truncated 304.33 KB...]
tests::java-jars:dh_auto_configure
tests::java-jars:jh_linkjars
tests::java-jars:dh_auto_build
tests::java-jars:debian/rules override_jh_build
tests::java-jars: make[1]: Entering directory 
'/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0'
tests::java-jars: jh_build --javacopts='-target 1.7' --javacopts='-source 1.7'
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testa -d 
debian/_jh_build.testa -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testa -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testa.jar 
../_jh_manifest.testa org
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testb -d 
debian/_jh_build.testb -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testb -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testb.jar 
../_jh_manifest.testb org
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testc -d 
debian/_jh_build.testc -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testc -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testc.jar 
../_jh_manifest.testc org
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.testd -d 
debian/_jh_build.testd -target 1.7 -source 1.7
tests::java-jars: warning: [options] bootstrap class path not set in 
conjunction with -source 1.7
tests::java-jars: 1 warning
tests::java-jars: find src -name *.java -and -type f -print0 | xargs -s 512000 
-0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -classpath 
:debian/_jh_build.testd -d debian/_jh_build.javadoc/api -quiet -notimestamp 
-source 1.5
tests::java-jars: /usr/lib/jvm/default-java/bin/jar cfm 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0/testd.jar 
../_jh_manifest.testd org
tests::java-jars: cp testa.jar testb.jar
tests::java-jars: unzip testa.jar
tests::java-jars: Archive:  testa.jar
tests::java-jars: replace META-INF/MANIFEST.MF? [y]es, [n]o, [A]ll, [N]one, 
[r]ename:  NULL
tests::java-jars: (EOF or read error, treating as "[N]one" ...)
tests::java-jars: debian/rules:6: recipe for target 'override_jh_build' failed
tests::java-jars: make[1]: *** [override_jh_build] Error 1
tests::java-jars: make[1]: Leaving directory 
'/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0'
tests::java-jars: debian/rules:3: recipe for target 'binary' failed
tests::java-jars: make: *** [binary] Error 2
tests::java-jars: dpkg-buildpackage: error: fakeroot debian/rules binary gave 
error exit status 2
tests::java-jars:  END BUILD LOG
error tests::java-jars: internal error: cd 
/tmp/testrun/debian/test-out/tests/java-jars/java-jars-1.0 && dpkg-buildpackage 
-rfakeroot -us -uc -d -iNEVER_MATCH_ANYTHING -INEVER_MATCH_ANYTHING 
--source-option=--auto-commit 
>/tmp/testrun/debian/test-out/tests/java-jars/build.java-jars 2>&1 at 
t/runtests line 466.

..
tests::scripts-exec:  START BUILD LOG
tests::scripts-exec: dpkg-buildpackage: warning: using a gain-root-command 
while being root
tests::scripts-exec: dpkg-buildpackage: info: source package scripts-exec
tests::scripts-exec: dpkg-buildpackage: info: source version 1.0
tests::scripts-exec: dpkg-buildpackage: info: source distribution unstable
tests::scripts-exec: dpkg-buildpackage: info: source changed by Debian Lintian 

Bug#885042: Check inclusion of Apache 2.0 NOTICE files

2017-12-23 Thread Chris Lamb
tags 885042 + pending
thanks

Good catch. Fixed in Git:

  
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=6110e0f1185e26d903dd0ed8a7a8edaae14cf905


Regards,

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



Processed: Re: Check inclusion of Apache 2.0 NOTICE files

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

> tags 885042 + pending
Bug #885042 [lintian] Check inclusion of Apache 2.0 NOTICE files
Added tag(s) pending.
> thanks
Stopping processing here.

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



[lintian] 01/01: Check for Apache 2.0 packages that do not distribute their accompanying "NOTICE" files. (Closes: #885042)

2017-12-23 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 6110e0f1185e26d903dd0ed8a7a8edaae14cf905
Author: Chris Lamb 
Date:   Sat Dec 23 16:06:23 2017 +

Check for Apache 2.0 packages that do not distribute their accompanying 
"NOTICE" files. (Closes: #885042)
---
 checks/source-copyright.desc   | 18 +++
 checks/source-copyright.pm | 27 +-
 debian/changelog   |  3 +++
 .../debian/NOTICE  |  1 +
 .../debian/debian/copyright| 23 ++
 ...ng-notice-file-for-apache-license-unrel.install |  1 +
 .../desc   |  5 
 .../tags   |  0
 .../debian/NOTICE  |  1 +
 .../debian/debian/copyright| 23 ++
 .../debian/subdir/NOTICE   |  1 +
 .../debian/unrel/NOTICE|  1 +
 .../desc   |  5 
 .../tags   |  1 +
 14 files changed, 109 insertions(+), 1 deletion(-)

diff --git a/checks/source-copyright.desc b/checks/source-copyright.desc
index 336..b0fd57e 100644
--- a/checks/source-copyright.desc
+++ b/checks/source-copyright.desc
@@ -324,3 +324,21 @@ Info: A file specified in the Files-Excluded 
header in
  .
  mk-origtargz(1) is typically responsible for removing such files. Support
  in git-buildpackage is being tracked in #812721.
+
+Tag: missing-notice-file-for-apache-license
+Severity: serious
+Certainty: possible
+Info: The package appears to be licensed under the Apache 2.0 license and
+ a NOTICE file exists in the source tree. However, no files called
+ NOTICE are installed in any of the binary packages.
+ .
+ The Apache 2.0 license requires distributing of such files:
+ .
+  (d) If the Work includes a "NOTICE" text file as part of its
+  distribution, then any Derivative Works that You distribute must
+  include a readable copy of the attribution notices contained
+  within such NOTICE file [..]
+ .
+ Please include the file in your package, for example by adding
+ path/to/NOTICE to a debian/package.install file.
+Ref: /usr/share/common-licenses/Apache-2.0
diff --git a/checks/source-copyright.pm b/checks/source-copyright.pm
index a5f66db..b7494a9 100644
--- a/checks/source-copyright.pm
+++ b/checks/source-copyright.pm
@@ -59,7 +59,7 @@ my %dep5_renamed_fields= (
 );
 
 sub run {
-my (undef, undef, $info) = @_;
+my (undef, undef, $info, undef, $group) = @_;
 my $debian_dir = $info->index_resolved_path('debian/');
 return if not $debian_dir;
 my $copyright_path = $debian_dir->child('copyright');
@@ -81,6 +81,7 @@ sub run {
 
 if ($copyright_path->is_open_ok) {
 _check_dep5_copyright($info, $copyright_path);
+_check_apache_notice_files($info, $group, $copyright_path);
 }
 return;
 }
@@ -148,6 +149,30 @@ sub _find_dep5_version {
 return;
 }
 
+sub _check_apache_notice_files {
+my ($info, $group, $copyright_path) = @_;
+
+my @procs = $group->get_processables('binary');
+return if not @procs;
+return if $copyright_path->file_contents !~ m/apache[-\s]+2\./i;
+
+my @notice_files = grep {
+  $_->basename eq 'NOTICE'
+  and $_->is_open_ok
+  and $_->file_contents =~ m/apache/i
+} $info->sorted_index;
+return if not @notice_files;
+
+foreach my $binpkg (@procs) {
+my @files = $binpkg->info->sorted_index;
+return if any { $_->basename =~ m/^NOTICE(\.gz)?$/} @files;
+}
+
+tag 'missing-notice-file-for-apache-license', join(' ', @notice_files);
+
+return;
+}
+
 sub _check_dep5_copyright {
 my ($info, $copyright_path) = @_;
 my $contents = $copyright_path->file_contents;
diff --git a/debian/changelog b/debian/changelog
index f6b5704..a488d7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,9 @@ lintian (2.5.66) UNRELEASED; urgency=medium
   timewarp-standards-version warnings if the date parts are identical
   (ie. "2017-11-30 < 2017-11-30"). Thanks to Andrea Bolognani
   e...@kiyuko.org> for the report.  (Closes: #884785)
+  * checks/source-copyright.{desc,pm}:
++ [CL] Check for Apache 2.0 packages that do not distribute their
+  accompanying "NOTICE" files.  (Closes: #885042)
 
   * data/debhelper/compat-level:
 + [MR] Bump the experimental debhelper compat level to 12.
diff --git 
a/t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/NOTICE
 
b/t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/NOTICE
new file mode 100644
index 000..2a74156
--- /dev/null
+++ 

[lintian] branch master updated (5be9719 -> 6110e0f)

2017-12-23 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  5be9719   Move bugs-field-does-not-refer-to-debian-infrastructure 
to fields.pm and split tests, only checking the source paragraph.
   new  6110e0f   Check for Apache 2.0 packages that do not distribute 
their accompanying "NOTICE" files. (Closes: #885042)

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/source-copyright.desc   | 18 +++
 checks/source-copyright.pm | 27 +-
 debian/changelog   |  3 +++
 .../debian/NOTICE  |  1 +
 .../debian/debian/copyright| 23 ++
 ...ng-notice-file-for-apache-license-unrel.install |  1 +
 .../desc   |  5 
 .../tags   |  0
 .../debian/NOTICE  |  1 +
 .../debian/debian/copyright| 23 ++
 .../debian/subdir/NOTICE   |  1 +
 .../debian/unrel/NOTICE|  1 +
 .../desc   |  5 
 .../tags   |  1 +
 14 files changed, 109 insertions(+), 1 deletion(-)
 create mode 100644 
t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/NOTICE
 create mode 100644 
t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/debian/copyright
 create mode 100644 
t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/debian/debian/source-copyright-missing-notice-file-for-apache-license-unrel.install
 create mode 100644 
t/tests/source-copyright-missing-notice-file-for-apache-license-unrel/desc
 copy t/{debs/deb-format-record-size => 
tests/source-copyright-missing-notice-file-for-apache-license-unrel}/tags (100%)
 create mode 100644 
t/tests/source-copyright-missing-notice-file-for-apache-license/debian/NOTICE
 create mode 100644 
t/tests/source-copyright-missing-notice-file-for-apache-license/debian/debian/copyright
 create mode 100644 
t/tests/source-copyright-missing-notice-file-for-apache-license/debian/subdir/NOTICE
 create mode 100644 
t/tests/source-copyright-missing-notice-file-for-apache-license/debian/unrel/NOTICE
 create mode 100644 
t/tests/source-copyright-missing-notice-file-for-apache-license/desc
 create mode 100644 
t/tests/source-copyright-missing-notice-file-for-apache-license/tags

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