Build failed in Jenkins: lintian-tests_wheezy #303

2015-10-13 Thread jenkins
See 

Changes:

[niels] c/binaries: Check for .debug_str in detach'ed ELF debug files

--
[...truncated 3202 lines...]
Running fields-bad-homepage 1.0... building... testing... ok.
Running fields-aspell 1.0... building... testing... ok.
Running fields-binary-nmu-version 1.0-1.0.1... building... testing... ok.
Running fields-build-depends-general 1.0... building... testing... ok.
Running fields-debug-bad 1.0... building... testing... ok.
Running fields-depends-metapackage 1.0... building... testing... ok.
Running fields-architecture 1.0... building... testing... ok.
Running fields-depends-wildcard 1.0... building... testing... ok.
Running fields-cpan-homepage 1.0... building... testing... ok.
Running fields-dmua 1.0... building... testing... ok.
Running fields-maintainer-bounces 1.0... building... testing... ok.
Running fields-font-not-multiarch-foreign 1.0... building... testing... ok.
Running fields-maintainer 1.0... building... testing... ok.
Running fields-depends-general 1.0... building... testing... ok.
Running fields-maintainer-general 1.0... building... testing... ok.
Running fields-essential-yes-source 1.0... building... testing... ok.
Running fields-doc-pkg-wrong-arch 1.0... building... testing... ok.
Running fields-indep-without-arch-indep 1.0... building... testing... ok.
Running fields-malformed-py-version 1.0... building... testing... ok.
Running fields-essential 1.0... building... testing... ok.
Running fields-java 1.0... building... testing... ok.
Running fields-module-build-perl 1.0... building... testing... ok.
Running fields-malformed-vcs-fields 1.0... building... testing... ok.
Running fields-multi-arch 1.0... building... testing... ok.
Running fields-duplicate-build 1.0... building... testing... ok.
Running fields-multiple-x-deps 1.0... building... testing... ok.
Running description-general 1.0... building... testing... ok.
Running fields-no-homepage 1.0-1... building... testing... ok.
Running fields-no-human-maintainer 1.0... building... testing... ok.
Running fields-no-source-homepage 1.0-1... building... testing... ok.
Running fields-not-malformed-vcs-fields 1.0... building... testing... ok.
Running fields-root-maint-address 1.0... building... testing... ok.
Running fields-qa-maint-name 1.0... building... testing... ok.
Running fields-redundant 1.0... building... testing... ok.
Running fields-unknown-fields 1.0... building... testing... ok.
Running fields-udeb 1.0... building... testing... ok.
Running fields-perl-provides 0.26... building... testing... ok.
Running fields-qa-maint-address 1.0... building... testing... ok.
Running fields-version-dfsg-native 1.0.dfsg1... building... testing... ok.
Running fields-transitional 1.0... building... testing... ok.
Running fields-version-bad-rc 1.0+rc3-1... building... testing... ok.
Running fields-version-bad 0-.3... building... testing... ok.
Running fields-section-general 1.0... building... testing... ok.
Running fields-version-dot-dfsg 1.0.dfsg1-1... building... testing... ok.
Running fields-version-dsfg 1.0+dsfg1-1... building... testing... ok.
Running fields-virtual-packages 1.0... building... testing... ok.
Running fields-uncanonical-vcs-fields 1.0... building... testing... ok.
Running fields-vcs-fields 1.0... building... testing... ok.
Running fields-uploaders 1.0... building... testing... ok.
Running files-adobe-font 1.0... building... testing... ok.
Running files-arch-indep-not-marked-all 1.0... building... testing... ok.
Running files-bad-perm-owner 1.0... building... testing... ok.
Running files-embedded 1.0... building... testing... ok.
Running files-doxygen-documentation 1.0... building... testing... ok.
Running files-extra-license 1.0... building... testing... ok.
Running files-foo-violates-expected-naming 1.0... building... testing... ok.
Running filename-length-really-really-really-really-long-package-name 
1.0.and.a.really.long.version.too-1... building... testing... ok.
Running files-flash-non-free 1.0... building... testing... ok.
Running files-tar-traps 1.0... Skipped files-tar-traps.
Running files-gzip-ma-same 1.0... building... testing... ok.
Running files-empty 1.0... building... testing... ok.
Running files-locales 1.0... building... testing... ok.
Running files-foo-in-bar 1.0... building... testing... ok.
Running files-fonts 1.0... building... testing... ok.
Running files-override-misplaced 1.0... building... testing... ok.
Running files-package-contains-foo 1.0... building... testing... ok.
Running files-games-section 1.0... building... testing... ok.
Running files-hardlinks 1.0... building... testing... ok.
Running files-privacybreach 1.0... building... testing... ok.
Running files-pkgconfig 1.0... building... testing... ok.
Running files-general 1.0... building... testing... ok.
Running files-gzip 1.0-1... building... testing... ok.
Running java-classpath 1.0-1... Skipped java-classpath.
Running java-jars 

Bug#801717: lintian: False positive for source-is-missing

2015-10-13 Thread Paul Wise
On Tue, 13 Oct 2015 20:48:48 +0100 Neil Williams wrote:

> lava_server/htdocs/js/jquery.validate.js
> lava_server/lava-server/js/jquery.validate.js

Are you sure these files are source for the jQuery validation plugin?

Looking at the upstream git repo for the jQuery validation plugin the
source is a bunch of separate files instead of just one file.

https://github.com/jzaefferer/jquery-validation/

These separate files are then combined using a tool called grunt, which
is similar to make and reads the build cmds in the Gruntfile.js file.

https://github.com/jzaefferer/jquery-validation/blob/master/CONTRIBUTING.md#build-setup
https://github.com/jzaefferer/jquery-validation/blob/master/Gruntfile.js

Also, I wonder why there are two embedded copies of this plugin instead
of just one and why this code shouldn't be packaged separately.

https://wiki.debian.org/EmbeddedCodeCopies

-- 
bye,
pabs

https://wiki.debian.org/PaulWise




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


Bug#799861: One more case of source-is-missing false positive with Django 1.8.5

2015-10-13 Thread Raphael Hertzog
I get this with python-django_1.8.5-1.dsc

P: python-django source: source-contains-prebuilt-javascript-object 
django/contrib/admin/static/admin/js/SelectFilter2.js line length is 360 
characters (>256)
E: python-django source: source-is-missing 
django/contrib/admin/static/admin/js/SelectFilter2.js

But the file is its own source code. It has comments, it's not minified at all.
Yes some of the lines are very long. That's all...

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/



Bug#801528: lintian: package-contains-timestamped-gzip false positive

2015-10-13 Thread Jakub Wilk

Hi Bill!

* Bill Allombert , 2015-10-11, 22:10:

The tag is emitted only if the timestamp is after the changelog.

Then maybe this test could be indicated in the lintian-info output ?


Right, we should document it in the tag description.

I try to fix debian-policy... I have made a lot of progress, but I 
still get


W: debian-policy: package-contains-timestamped-gzip 
usr/share/doc/debian-policy/changelog.gz
which this heuristic cannot deal with.


This looks like a true positive to me. The changelog is stored 
uncompressed in the source package, and only compressed at build time.


--
Jakub Wilk



Bug#801528: lintian: package-contains-timestamped-gzip false positive

2015-10-13 Thread Mattia Rizzolo
On Tue, Oct 13, 2015 at 03:49:25PM +0200, Bill Allombert wrote:
> Being compressed at buildtime is not a problem, since the timestamp stored
> is the original one, and it can be useful to preserve it.

the timestamp stored on the gzip container is the one at build time.
And that's not useful at all for nobody.

-- 
regards,
Mattia Rizzolo

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


signature.asc
Description: PGP signature


Bug#801528: lintian: package-contains-timestamped-gzip false positive

2015-10-13 Thread Bill Allombert
On Tue, Oct 13, 2015 at 02:51:25PM +, Mattia Rizzolo wrote:
> On Tue, Oct 13, 2015 at 03:49:25PM +0200, Bill Allombert wrote:
> > Being compressed at buildtime is not a problem, since the timestamp stored
> > is the original one, and it can be useful to preserve it.
> 
> the timestamp stored on the gzip container is the one at build time.

It is the timestamp of the file that is compressed. If the file is taken from
the original source and the timestamp is not updated when moving it to the 
debian/tmp tree, for example by using 'cp -p', then the gzip file will contain 
the time stamp of the original file.

And indeed the current lintian heuristic handles this case fine.

The problem here is that the changelog original timestamp
is normally posterior to the changelog time, since programs like
dch will update the changelog time before the user edit it and save it.
So the heuristic does not work for the changelog file.

Cheers,
-- 
Bill. 

Imagine a large red swirl here. 



Bug#801528: lintian: package-contains-timestamped-gzip false positive

2015-10-13 Thread Bill Allombert
On Tue, Oct 13, 2015 at 03:35:40PM +0200, Jakub Wilk wrote:
> Hi Bill!
> 
> * Bill Allombert , 2015-10-11, 22:10:
> >>The tag is emitted only if the timestamp is after the changelog.
> >Then maybe this test could be indicated in the lintian-info output ?
> 
> Right, we should document it in the tag description.
> 
> >I try to fix debian-policy... I have made a lot of progress, but I
> >still get
> >
> >W: debian-policy: package-contains-timestamped-gzip 
> >usr/share/doc/debian-policy/changelog.gz
> >which this heuristic cannot deal with.
> 
> This looks like a true positive to me. The changelog is stored
> uncompressed in the source package, and only compressed at build
> time.

Being compressed at buildtime is not a problem, since the timestamp stored
is the original one, and it can be useful to preserve it.

Cheers,
-- 
Bill. 

Imagine a large red swirl here. 



Bug#801528: lintian: package-contains-timestamped-gzip false positive

2015-10-13 Thread Axel Beckert
Dear Bill,

Bill Allombert wrote:
> On Tue, Oct 13, 2015 at 02:51:25PM +, Mattia Rizzolo wrote:
> > On Tue, Oct 13, 2015 at 03:49:25PM +0200, Bill Allombert wrote:
> > > Being compressed at buildtime is not a problem, since the timestamp stored
> > > is the original one, and it can be useful to preserve it.
> > 
> > the timestamp stored on the gzip container is the one at build time.
> 
> It is the timestamp of the file that is compressed. If the file is taken from
> the original source and the timestamp is not updated when moving it to the 
> debian/tmp tree, for example by using 'cp -p', then the gzip file will 
> contain 
> the time stamp of the original file.

Just add a "-n" to the gzip call in line 165 of debian/rules and
everyone will be happy:

http://anonscm.debian.org/cgit/dbnpolicy/policy.git/tree/debian/rules#n165

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#801717: lintian: False positive for source-is-missing

2015-10-13 Thread Neil Williams
Package: lintian
Version: 2.5.38
Severity: normal

lintian is complaining about source-is-missing in the
lava-server binary package for these files. The files
are present in the package as source:

dashboard_app/static/dashboard_app/js/jquery.flot.navigate.js
lava_scheduler_app/static/lava_scheduler_app/js/beautify.js
lava_scheduler_app/static/lava_scheduler_app/js/shCore.js
lava_server/htdocs/js/jquery.validate.js
lava_server/lava-server/js/jquery.validate.js

lava-server has support for using a number of javascript packages
and using symlinks to the minified javascript files in those
packages. I'm unclear why these files are being listed as
lacking source as these are not minified javascript files.

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

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (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.25.1-7
ii  bzip2  1.0.6-8
ii  diffstat   1.60-1
ii  file   1:5.25-2
ii  gettext0.19.6-1
ii  hardening-includes 2.7
ii  intltool-debian0.35.0+20060710.4
ii  libapt-pkg-perl0.1.29+b3
ii  libarchive-zip-perl1.53-1
ii  libclass-accessor-perl 0.34-1
ii  libclone-perl  0.38-1
ii  libdpkg-perl   1.18.3
ii  libemail-valid-perl1.196-1
ii  libfile-basedir-perl   0.07-1
ii  libipc-run-perl0.94-1
ii  liblist-moreutils-perl 0.413-1
ii  libparse-debianchangelog-perl  1.2.0-8
ii  libtext-levenshtein-perl   0.13-1
ii  libtimedate-perl   2.3000-2
ii  liburi-perl1.69-1
ii  man-db 2.7.4-1
ii  patchutils 0.3.4-1
ii  perl [libdigest-sha-perl]  5.20.2-6
ii  t1utils1.38-4
ii  xz-utils   5.1.1alpha+20120614-2.1

Versions of packages lintian recommends:
ii  dpkg1.18.3
pn  libperlio-gzip-perl 
ii  perl5.20.2-6
ii  perl-modules [libautodie-perl]  5.20.2-6

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.18.3
ii  libhtml-parser-perl3.71-2
ii  libtext-template-perl  1.46-1
ii  libyaml-perl   1.13-1

-- no debconf information



[lintian] 01/01: c/binaries: Check for .debug_str in detach'ed ELF debug files

2015-10-13 Thread Niels Thykier
This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 078a2d09d998434392f7b98cb3d9c231ad8ea721
Author: Niels Thykier 
Date:   Tue Oct 13 22:25:01 2015 +0200

c/binaries: Check for .debug_str in detach'ed ELF debug files

Signed-off-by: Niels Thykier 
---
 checks/binaries.desc | 5 +++--
 checks/binaries.pm   | 6 --
 debian/changelog | 4 
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/checks/binaries.desc b/checks/binaries.desc
index 78469a0..5f9c6ba 100644
--- a/checks/binaries.desc
+++ b/checks/binaries.desc
@@ -378,8 +378,9 @@ Ref: #668437
 Info: The binary is installed as a detached "debug symbols" ELF file,
  but it does not appear to have debug information associated with it.
  .
- Implementation detail: Lintian currently checks for the ".debug_line"
- section, which is a part of the DWARF standard.
+ Implementation detail: Lintian checks for the ".debug_line" and the
+ ".debug_str" sections.  If either of these are present, the binary
+ is assumed to contain debug information.
 
 Tag: binary-file-built-without-LFS-support
 Severity: minor
diff --git a/checks/binaries.pm b/checks/binaries.pm
index 574dd6e..7d831e5 100644
--- a/checks/binaries.pm
+++ b/checks/binaries.pm
@@ -464,8 +464,10 @@ sub run {
 tag 'debug-file-should-use-detached-symbols', $file;
 }
 tag 'debug-file-with-no-debug-symbols', $file
-  unless (exists $objdump->{'SH'}->{'.debug_line'}
-or exists $objdump->{'SH'}->{'.zdebug_line'});
+  unless (exists $objdump->{'SH'}{'.debug_line'}
+or exists $objdump->{'SH'}{'.zdebug_line'}
+or exists $objdump->{'SH'}{'.debug_str'}
+or exists $objdump->{'SH'}{'.zdebug_str'});
 }
 
 # Detached debugging symbols directly in /usr/lib/debug.
diff --git a/debian/changelog b/debian/changelog
index 096843e..05883c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,10 @@ lintian (2.5.39) UNRELEASED; urgency=medium
 
   XXX: generate tag summary
 
+  * checks/binaries.{desc,pm}:
++ [NT] Check for ".debug_str" section in addition to the
+  ".debug_line" section to determine if an ELF file contains
+  detached debug symbols.
   * checks/cruft.pm:
 + [BR] Avoid false positive in minified javascript by
   detecting line with only one colon.

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



Build failed in Jenkins: lintian-tests_sid #727

2015-10-13 Thread jenkins
See 

--
Started by an SCM change
Building on master in workspace 

Wiping out workspace first.
Cloning the remote Git repository
Cloning repository git://anonscm.debian.org/lintian/lintian.git
 > git init  # timeout=10
Fetching upstream changes from git://anonscm.debian.org/lintian/lintian.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > git://anonscm.debian.org/lintian/lintian.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags 
--progress git://anonscm.debian.org/lintian/lintian.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: fatal: unable to connect to anonscm.debian.org:
anonscm.debian.org[0: 5.153.231.21]: errno=Connection refused


at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1388)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:505)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1003)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1274)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)
ERROR: null



[lintian] branch master updated (2f71f1b -> 078a2d0)

2015-10-13 Thread Niels Thykier
This is an automated email from the git hooks/post-receive script.

nthykier pushed a change to branch master
in repository lintian.

  from  2f71f1b   spelling: Add "comparsion"
   new  078a2d0   c/binaries: Check for .debug_str in detach'ed ELF debug 
files

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/binaries.desc | 5 +++--
 checks/binaries.pm   | 6 --
 debian/changelog | 4 
 3 files changed, 11 insertions(+), 4 deletions(-)

-- 
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 #728

2015-10-13 Thread jenkins
See