Bug#545219: lintian: many false positives for debian-rules-calls-debhelper-in-odd-order check

2009-09-05 Thread Michael Koch
Package: lintian
Version: 2.2.14
Severity: normal


When running lintian on the antlr source package I get this:

W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_installdeb (line 
137)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_gencontrol (line 
138)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_installdeb (line 
148)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_gencontrol (line 
149)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_installdeb (line 
162)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_gencontrol (line 
163)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_installdeb (line 
173)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_gencontrol (line 
174)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_makeshlibs (line 
207)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_installdeb (line 
208)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_shlibdeps (line 
209)
W: antlr source: debian-rules-calls-debhelper-in-odd-order dh_gencontrol (line 
210)


But when looking at the debian/rules file for antlr source package I see the 
following:


# C# library
dh_makeclilibs -V -plibantlr2.7-cil
dh_installcligac -plibantlr2.7-cil
dh_clideps -plibantlr2.7-cil
dh_installdocs -plibantlr2.7-cil
dh_installexamples -plibantlr2.7-cil
dh_installchangelogs -plibantlr2.7-cil
dh_fixperms -plibantlr2.7-cil
chmod a-x debian/libantlr2.7-cil/usr/lib/cli/antlr-2.7/antlr.*.dll
dh_compress -plibantlr2.7-cil
dh_installdeb -plibantlr2.7-cil
dh_gencontrol -plibantlr2.7-cil
dh_md5sums -plibantlr2.7-cil
dh_builddeb -plibantlr2.7-cil

# antlr-doc
dh_installdocs -pantlr-doc
dh_installexamples -pantlr-doc
dh_installchangelogs -pantlr-doc
rm -rf debian/antlr-doc/usr/share/doc/antlr-doc/examples/csharp
rm -f debian/antlr-doc/usr/share/doc/antlr-doc/csharp-runtime.html
rm -f debian/antlr-doc/usr/share/doc/antlr-doc/Makefile*
find debian/antlr-doc/usr/share/doc/antlr-doc/examples -type f -print | 
xargs chmod 0644
dh_fixperms -pantlr-doc
dh_compress -pantlr-doc
dh_installdeb -pantlr-doc
dh_gencontrol -pantlr-doc
dh_md5sums -pantlr-doc
dh_builddeb -pantlr-doc

# antlr
dh_installman -pantlr
dh_installdocs -pantlr
dh_installchangelogs -pantlr
dh_compress -pantlr
dh_fixperms -pantlr
dh_installdeb -pantlr
dh_gencontrol -pantlr
dh_md5sums -pantlr
dh_builddeb -pantlr

# antlr
dh_installman -plibantlr-java
dh_installdocs -plibantlr-java
dh_installchangelogs -plibantlr-java
dh_link -plibantlr-java \
usr/share/java/antlr.jar usr/share/java/antlr.debug.jar \
usr/share/java/antlr.jar usr/share/java/antlrall.jar
dh_compress -plibantlr-java
dh_fixperms -plibantlr-java
dh_installdeb -plibantlr-java
dh_gencontrol -plibantlr-java
dh_md5sums -plibantlr-java
dh_builddeb -plibantlr-java

# python-antlr
dh_installdocs -ppython-antlr
dh_installchangelogs -ppython-antlr
dh_pysupport -ppython-antlr
dh_compress -ppython-antlr
dh_fixperms -ppython-antlr
dh_installdeb -ppython-antlr
dh_gencontrol -ppython-antlr
dh_md5sums -ppython-antlr
dh_builddeb -ppython-antlr

To me this looks like a false positive as all dh_* calls use -p explicitely
on a specific package.



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

Kernel: Linux 2.6.30-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils  2.19.51.20090827-1 The GNU assembler, linker and bina
ii  diffstat  1.47-1 produces graph of changes introduc
ii  dpkg-dev  1.15.3.1   Debian package development tools
ii  file  5.03-1 Determines file type using magic
ii  gettext   0.17-8 GNU Internationalization utilities
ii  intltool-debian   0.35.0+20060710.1  Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl   0.1.24 Perl interface to libapt-pkg
ii  libipc-run-perl   0.84-1 Perl module for running processes
ii  libparse-debianchange 1.1.1-2parse Debian changelogs and output
ii  libtimedate-perl  1.1600-9   Time and date functions for Perl
ii  liburi-perl   1.37+dfsg-1Manipulates and accesses URI strin
ii  man-db  

Bug#471870: lintian: Please add additional Debian architectures

2008-03-20 Thread Michael Koch
Package: lintian
Version: 1.23.46
Severity: wishlist


While building a new version of my package jamvm I noticed this lintian
infomration line:

I: jamvm source: non-standard-arch-in-source-relation kfreebsd-amd64 
[build-depends: libffi4-dev [amd64 kfreebsd-amd64]]

'kfreebsd-amd64' is a normal but unofficial Debian architecture. lintian
should in my opinion not complain about it.

I wrote the attached patch to fix this. I'm nor a lintian neither a perl
hacker.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii  diffstat1.45-2   produces graph of changes introduc
ii  dpkg-dev1.14.16.6package building tools for Debian
ii  file4.23-2   Determines file type using magic
ii  gettext 0.17-2   GNU Internationalization utilities
ii  intltool-debian 0.35.0+20060710.1Help i18n of RFC822 compliant conf
ii  libparse-debianchan 1.1.1-2  parse Debian changelogs and output
ii  liburi-perl 1.35.dfsg.1-1Manipulates and accesses URI strin
ii  man-db  2.5.1-3  on-line manual pager
ii  perl [libdigest-md5 5.8.8-12 Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information
diff -Nru lintian-1.23.46/checks/common_data.pm 
lintian-1.23.46.mkoch1/checks/common_data.pm
--- lintian-1.23.46/checks/common_data.pm   2008-02-22 18:16:53.0 
+0100
+++ lintian-1.23.46.mkoch1/checks/common_data.pm2008-03-20 
20:32:17.0 +0100
@@ -34,6 +34,7 @@
 # consistent no matter what dpkg one has installed.
 %known_archs = map { $_ = 1 }
 ('i386', 'ia64', 'alpha', 'amd64', 'arm', 'hppa', 'm68k', 'mips',
+ 'kfreebsd-i386', 'kfreebsd-amd64',
  'mipsel', 'powerpc', 's390', 'sparc', 'hurd-i386', 'any', 'all');
 
 # From /usr/share/dpkg/cputable, included here to make lintian results
diff -Nru /tmp/qlrW0RAIch/lintian-1.23.46/debian/changelog 
/tmp/duImczcDkO/lintian-1.23.46.mkoch1/debian/changelog
--- lintian-1.23.46/debian/changelog2008-03-04 03:21:41.0 +0100
+++ lintian-1.23.46.mkoch1/debian/changelog 2008-03-20 20:30:11.0 
+0100
@@ -1,3 +1,9 @@
+lintian (1.23.46.mkoch1) UNRELEASED; urgency=low
+
+  * Add support for kfreebsd-* in Build-Depends.
+
+ -- Michael Koch [EMAIL PROTECTED]  Thu, 20 Mar 2008 20:29:39 +0100
+
 lintian (1.23.46) unstable; urgency=low
 
   The five Lintian committers! release.


Bug#458742: lintian: Please test for valid filenames for run-parts

2008-01-02 Thread Michael Koch
Package: lintian
Version: 1.23.41
Severity: wishlist


In tomcat5.5 we have the problem that a script in /etc/cron.daily is not
executed because the script name contained a .. Then run-parts ignores
that file. It would be nice if lintian could check this dir (and others)
for sich files and give a warning/error.


Cheers,
Michael


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-vserver-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils2.18.1~cvs20071027-2 The GNU assembler, linker and bina
ii  diffstat1.45-2   produces graph of changes introduc
ii  dpkg-dev1.14.14  package building tools for Debian
ii  file4.21-4   Determines file type using magic
ii  gettext 0.17-2   GNU Internationalization utilities
ii  intltool-debian 0.35.0+20060710.1Help i18n of RFC822 compliant conf
ii  libparse-debianchan 1.1.1-1  parse Debian changelogs and output
ii  liburi-perl 1.35.dfsg.1-1Manipulates and accesses URI strin
ii  man-db  2.5.0-4  on-line manual pager
ii  perl [libdigest-md5 5.8.8-12 Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#414511: lintian: lintain complains about non-binnmu being binnmu

2007-03-12 Thread Michael Koch
Package: lintian
Version: 1.23.27
Severity: normal

When building new classpath package for testing-proposed-updates I tried
to use the version number 2:0.91-3.etch.1 and lintian gave this warning:

W: classpath source: maintainer-upload-has-incorrect-version-number 
2:0.91-3.etch.1
W: classpath source: binary-nmu-debian-revision-in-source 2:0.91-3.etch.1

This version is neither incorrect not a binnmu.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (800, 'testing'), (200, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages lintian depends on:
ii  binutils   2.17-3The GNU assembler, linker and bina
ii  diffstat   1.43-2produces graph of changes introduc
ii  dpkg-dev   1.13.25   package building tools for Debian
ii  file   4.17-5Determines file type using magic
ii  gettext0.16.1-1  GNU Internationalization utilities
ii  intltool-debian0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libparse-debianchangel 1.0-1 parse Debian changelogs and output
ii  man-db 2.4.3-6   The on-line manual pager
ii  perl [libdigest-md5-pe 5.8.8-7   Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]