Bug#806237: lintian: false positive for obsolete-url-in-packaging in debian/watch

2015-11-25 Thread Raphaël Hertzog
Package: lintian
Version: 2.5.38.1
Severity: normal
User: de...@kali.org
Usertags: origin-kali

I just got this warning:
W: bully source: obsolete-url-in-packaging debian/watch 
http://code.google.com/p/wps-bully/

But my watch file is like this:

$ cat debian/watch 
version=3
# The original repository disappeared, this is just a copy
# don't expect new releases there...
https://github.com/Lrs121/bully/releases/ .*/v?(\d\S*)\.tar\.gz

# Former hosting places:
# http://code.google.com/p/wps-bully/
# https://github.com/bdpurcell/bully

So the URL is actually in a comment and it's not used. It would be nice if
it ignored the content of comments in the watch file to only consider the active
URLs.

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

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.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.51.20151113-1
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.198-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.5-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
ii  libperlio-gzip-perl 0.19-1
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.15-1

-- no debconf information



Bug#806262: lintian: fails to find _all.changes for arch:all-only builds (-A)

2015-11-25 Thread Cyril Brulebois
Package: lintian
Version: 2.5.38.1
Severity: important

Hi,

Running a build with the -A flag leads to a confused lintian as it tried
to find a _amd64.changes file where an _all.changes file was produced.
Full transcript follows:
| (sid-amd64-devel)kibi@wodi:~/debian-installer/packages/base-installer$ 
debuild -A
|  dpkg-buildpackage -rfakeroot -D -us -uc -A
| dpkg-buildpackage: source package base-installer
| dpkg-buildpackage: source version 1.158
| dpkg-buildpackage: source distribution UNRELEASED
| dpkg-buildpackage: source changed by Cyril Brulebois 
|  dpkg-source --before-build base-installer
|  fakeroot debian/rules clean
| dh clean
|dh_testdir
|dh_auto_clean
|   make -j1 clean
| make[1]: Entering directory 
'/home/kibi/debian-installer/packages/base-installer'
| rm -f pkgdetails run-debootstrap
| make[1]: Leaving directory 
'/home/kibi/debian-installer/packages/base-installer'
|dh_clean
|  debian/rules build-indep
| dh build-indep
|dh_testdir -i
|dh_auto_configure -i
|debian/rules override_dh_auto_build
| make[1]: Entering directory 
'/home/kibi/debian-installer/packages/base-installer'
| debian/templates-build.pl amd64 < debian/templates-arch > debian/templates.gen
| # give the new templates file the same mtime as the input file, so
| # that po2debconf doesn't decide that it needs to run
| # debconf-updatepo
| touch -mr debian/templates-arch debian/templates.gen
| /usr/bin/make small 
| make[2]: Entering directory 
'/home/kibi/debian-installer/packages/base-installer'
| cc -Os -Wall -g -D_GNU_SOURCE -Os -fomit-frame-pointer -o pkgdetails 
pkgdetails.c
| cc -Os -Wall -g -D_GNU_SOURCE -Os -fomit-frame-pointer -o run-debootstrap 
run-debootstrap.c -ldebconfclient -ldebian-installer
| strip --remove-section=.comment --remove-section=.note pkgdetails 
run-debootstrap
| ls -l pkgdetails run-debootstrap
| -rwxr-xr-x 1 kibi kibi 10944 Nov 26 00:40 pkgdetails
| -rwxr-xr-x 1 kibi kibi 11016 Nov 26 00:40 run-debootstrap
| make[2]: Leaving directory 
'/home/kibi/debian-installer/packages/base-installer'
| make[1]: Leaving directory 
'/home/kibi/debian-installer/packages/base-installer'
|dh_auto_test -i
|   make -j1 test
| make[1]: Entering directory 
'/home/kibi/debian-installer/packages/base-installer'
| make -C kernel test
| make[2]: Entering directory 
'/home/kibi/debian-installer/packages/base-installer/kernel'
| alpha: 24 passes, 0 failures.
| amd64: 10 passes, 0 failures.
| arm64: 27 passes, 0 failures.
| armeb: 6 passes, 0 failures.
| armel: 92 passes, 0 failures.
| armhf: 104 passes, 0 failures.
| hppa: 36 passes, 0 failures.
| i386: 230 passes, 0 failures.
| ia64: 22 passes, 0 failures.
| m68k: 14 passes, 0 failures.
| mips: 97 passes, 0 failures.
| mipsel: 85 passes, 0 failures.
| powerpc: 134 passes, 0 failures.
| ppc64el: 16 passes, 0 failures.
| s390x: 7 passes, 0 failures.
| sh4: 20 passes, 0 failures.
| sparc: 36 passes, 0 failures.
| kfreebsd-amd64: 16 passes, 0 failures.
| kfreebsd-i386: 32 passes, 0 failures.
| make[2]: Leaving directory 
'/home/kibi/debian-installer/packages/base-installer/kernel'
| make[1]: Leaving directory 
'/home/kibi/debian-installer/packages/base-installer'
|  fakeroot debian/rules binary-indep
| dh binary-indep
|dh_testroot -i
|dh_prep -i
|dh_auto_install -i
|dh_install -i
|dh_installdocs -i
|dh_installchangelogs -i
|dh_installdebconf -i
|dh_perl -i
|dh_link -i
|dh_strip_nondeterminism -i
|dh_compress -i
|dh_fixperms -i
|dh_installdeb -i
|dh_gencontrol -i
| dpkg-gencontrol: warning: Depends field of package base-installer: unknown 
substitution variable ${shlibs:Depends}
|dh_md5sums -i
|dh_builddeb -i
| dpkg-deb: building package 'base-installer' in 
'debian/.debhelper/scratch-space/build-base-installer/base-installer_1.158_all.deb'.
|   Renaming base-installer_1.158_all.deb to base-installer_1.158_all.udeb
|  dpkg-genchanges -A >../base-installer_1.158_all.changes
| dpkg-genchanges: binary-only arch-indep upload (source code and arch-specific 
packages not included)
|  dpkg-source --after-build base-installer
| dpkg-buildpackage: source-only upload: Debian-native package
| Now running lintian...
| warning: "base-installer_1.158_amd64.changes" cannot be processed.
| warning: It is not a valid lab query and it is not an existing file.
| Finished running lintian.
| (sid-amd64-devel)kibi@wodi:~/debian-installer/packages/base-installer$ ls 
../base-installer_1.158_all.changes 
| ../base-installer_1.158_all.changes

Please note that if you want to reproduce this with base-installer, the
version in the archive FTBFS with -A, so you'll need to fetch it from
git, where a patch fixes the FTBFS.

After a build with -b, another build with -A doesn't lead to such a
warning, because the “wrong” file is used. (Lucky me, I had no former
builds for this specific version, that's how I noticed the issue in the
first place.)

Mraw,
KiBi.



Processed: Re: Bug#806262: lintian: fails to find _all.changes for arch:all-only builds (-A)

2015-11-25 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 devscripts
Bug #806262 [lintian] lintian: fails to find _all.changes for arch:all-only 
builds (-A)
Bug reassigned from package 'lintian' to 'devscripts'.
No longer marked as found in versions lintian/2.5.38.1.
Ignoring request to alter fixed versions of bug #806262 to the same values 
previously set

-- 
806262: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806262
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#806262: lintian: fails to find _all.changes for arch:all-only builds (-A)

2015-11-25 Thread Adam D. Barratt
Control: reassign -1 devscripts

On Thu, 2015-11-26 at 00:45 +0100, Cyril Brulebois wrote:
> Running a build with the -A flag leads to a confused lintian as it tried
> to find a _amd64.changes file where an _all.changes file was produced.
> Full transcript follows:
> | (sid-amd64-devel)kibi@wodi:~/debian-installer/packages/base-installer$ 
> debuild -A
[...]
> |  dpkg-genchanges -A >../base-installer_1.158_all.changes
> | dpkg-genchanges: binary-only arch-indep upload (source code and 
> arch-specific packages not included)
> |  dpkg-source --after-build base-installer
> | dpkg-buildpackage: source-only upload: Debian-native package
> | Now running lintian...
> | warning: "base-installer_1.158_amd64.changes" cannot be processed.
> | warning: It is not a valid lab query and it is not an existing file.
> | Finished running lintian.

That's a debuild bug. The majority of your output is from
dpkg-buildpackage directly, but debuild is then running lintian against
the wrong file.

I'm assuming that the above also generated
base-installer_1.158_amd64.build?

Regards,

Adam



Bug#799861: false positive in "source-is-missing" when dealing with .js

2015-11-25 Thread Raphael Hertzog
On Mon, 19 Oct 2015, Bastien Roucaries wrote:
> Next version will be a little bit more clever. False positive are low
> about 5% woth thé actual détection

What next version are you referring to?

lintian 2.5.38.1 gives me even more false positives on Django 1.8.7-1 now:
E: python-django source: source-is-missing 
django/contrib/admin/static/admin/js/calendar.js
E: python-django source: source-is-missing 
django/contrib/gis/templates/gis/admin/openlayers.js
E: python-django source: source-is-missing 
django/contrib/gis/templates/gis/google/google-map.js
E: python-django source: source-is-missing 
django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js
s

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/