Bug#471751: False positive: unknown-section base

2008-03-20 Thread Thijs Kinkhorst
On Thursday 20 March 2008 00:21, Russ Allbery wrote:
 lintian is slightly ahead of Policy, but base is gone; ftpmaster has
 already moved all packages out of base and it will be removed from the
 next Policy release.  Please change the section.

Good to know, I've updated the package. Thanks,

Thijs


pgplr0RIst4kk.pgp
Description: PGP signature


Bug#471333: notfound 471333 in 1.23.47, found 471333 in 1.23.46

2008-03-20 Thread Adam D . Barratt
# Automatically generated email from bts, devscripts version 2.10.19
notfound 471333 1.23.47
# Let's use a version that's actually in the archive... :)
found 471333 1.23.46




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



Processed: notfound 471333 in 1.23.47, found 471333 in 1.23.46

2008-03-20 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 # Automatically generated email from bts, devscripts version 2.10.19
 notfound 471333 1.23.47
Bug#471333: [checks/scripts] script_is_evil_and_wrong() regex error
Bug no longer marked as found in version 1.23.47.

 # Let's use a version that's actually in the archive... :)
 found 471333 1.23.46
Bug#471333: [checks/scripts] script_is_evil_and_wrong() regex error
Bug marked as found in version 1.23.46.


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#471853: lintian: False positive in udeb: maintainer-script-lacks-debhelper-token

2008-03-20 Thread Raphael Hertzog
Package: lintian
Version: 1.23.46
Severity: normal

I have a source package which produces a single udeb and lintian says me:
W: guest-installer source: maintainer-script-lacks-debhelper-token 
debian/postinst

However the single binary package is an udeb and thus this rule shouldn't
apply: 
$ cat debian/control 
Source: guest-installer
Section: debian-installer
Priority: standard
Maintainer: Jeremy Bobbio [EMAIL PROTECTED]
Uploaders: Raphael Hertzog [EMAIL PROTECTED]
Build-Depends: debhelper
Standards-Version: 3.7.3

Package: guest-installer
Architecture: all
Depends: ${misc:Depends}, apt-setup-udeb, di-utils
XC-Package-Type: udeb
XB-Installer-Menu-Item: 76
Description: Install guest systems

The (X[CBS]*-)?Package-Type: udeb field indicates that we have an udeb.

Cheers,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.17~srcv3package 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



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



Bug#409099: lintian: debian/control::Depends check for missing commas

2008-03-20 Thread Raphael Hertzog
On Tue, 30 Jan 2007, Russ Allbery wrote:
  An example:
 
  debian/control
  Depends: ${shlibs:Depends} ${misc:Depends}
 
  SUGGESTION
 
  If possible, detect the missing commas in debain/control fields
  like Build-Depends and Depends. That is:
 
  * After a word or ending paren, a comma should follow
  * an exception: not enforced at the end of line.
 
 Hm, doesn't check/fields already do a syntax check here?  If not, it
 certainly should, but I thought it already did.
 
 Of course, if those substitutions expand to nothing, it will miss that
 because the syntax check is done on the binary package.

dpkg-gencontrol will also error out if the resulting field is not correct
however there are no check prior to substvars expansion.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/




Bug#471838: Extend testset for description checks

2008-03-20 Thread Russ Allbery
Tobias Toedter [EMAIL PROTECTED] writes:

 following your call for help, I decided to write a testset for some tags
 from private/tags-never-seen. As those tags are mostly from the
 description checks, I decided to create a new directory called
 description, I hope this approach is fine with you. Please consider
 applying the attached patch which adds new tests for 11 tags (the
 debian/changelog file in the created package is actually correct).

Wow, this is great.  Thank you!  I'll get this into the next release.

 Moreover, it would be great if you could update the SVN copy of the
 tags-never-seen file. BTW, how do you generate that file?

testset/runtests -v with some munging after the fact.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



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



Bug#471537: check for repackaged .orig.tar.gz

2008-03-20 Thread Russ Allbery
Bernhard R. Link [EMAIL PROTECTED] writes:

 package: lintian
 severity: wishlist

 It would be nice if lintian could warn against repackaged .orig.tar.gz,
 and sources repackaged in non-recommended ways.

 Attached is some patch that at least seems to be able to detect dh_make's
 --creatorig usage properly. As both my English language skills and my perl
 skills could be better, I'm not setting the patch tag.

Thank you very much for this.  I'll try to get this merged for the next
release.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



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



Bug#471869: [new check] order of dh_* calls

2008-03-20 Thread Lucas Nussbaum
Package: lintian
Severity: wishlist

Hi,

I ran into a bug in libspf, where dh_makeshlibs was called *after*
dh_installdeb.

Would lintian be a good place to test that dh_* scripts are called in a
coherent order?

(libspf is fixed now)
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |



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



lintian: r1267 - in trunk: checks debian

2008-03-20 Thread rra
Author: rra
Date: 2008-03-20 21:25:22 +0100 (Thu, 20 Mar 2008)
New Revision: 1267

Modified:
   trunk/checks/files
   trunk/debian/changelog
Log:
  + [RA] Don't consider files in bin directories that contain copying
or license to be extra license files.

Modified: trunk/checks/files
===
--- trunk/checks/files  2008-03-14 21:17:47 UTC (rev 1266)
+++ trunk/checks/files  2008-03-20 20:25:22 UTC (rev 1267)
@@ -580,9 +580,9 @@
 
 #  license files
 if ($file =~ m,(copying|licen[cs]e)(\.[^/]+)?$,i
-   # Ignore some common extensions; there was at least one file
-   # named license.el.  These are probably license-displaying
-   # code, not license files.
+   # Ignore some common extensions; there was at least one file named
+   # license.el.  These are probably license-displaying code, not
+   # license files.  Also ignore binaries in /usr/bin and friends.
#
# Another exception is made for .html and .php because preserving
# working links is more important than saving some bytes, and
@@ -596,6 +596,7 @@
and not $file =~ 
m/\.(el|c|h|py|cc|pl|pm|html|php|rb|xpm|png|jpe?g|gif|svg|dtd)$/
and not $file =~ m,^usr/share/zope/Products/.*\.(dtml|pt|cpt)$,
and not $file =~ m,/under\S+License\.docbook$,
+   and not $file =~ m,^(usr/)?s?bin/,
and not defined $link) {
tag extra-license-file, $file;
 }

Modified: trunk/debian/changelog
===
--- trunk/debian/changelog  2008-03-14 21:17:47 UTC (rev 1266)
+++ trunk/debian/changelog  2008-03-20 20:25:22 UTC (rev 1267)
@@ -26,6 +26,8 @@
 + [RA] Issue errors for installing files under /var/www.  This isn't
   in FHS, may not be the document root, and may break local files if
   it is the document root.  Thanks, Joerg Jaspert.  (Closes: #470403)
++ [RA] Don't consider files in bin directories that contain copying
+  or license to be extra license files.
   * checks/scripts:
 + [RA] Attempt to quash some Perl warnings.
 + [RA] *.py files in /usr/{lib,share}, /etc/init.d/skeleton, and *.ex


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



Processed: tagging 471870

2008-03-20 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 # Automatically generated email from bts, devscripts version 2.10.19
 tags 471870 patch
Bug#471870: lintian: Please add additional Debian architectures
There were no tags set.
Tags added: patch


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



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.


Processed: tagging 471870

2008-03-20 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 # Automatically generated email from bts, devscripts version 2.10.19
 tags 471870 - patch
Bug#471870: lintian: Please add additional Debian architectures
Tags were: patch
Tags removed: patch


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#471869: [new check] order of dh_* calls

2008-03-20 Thread Russ Allbery
Lucas Nussbaum [EMAIL PROTECTED] writes:

 Package: lintian
 Severity: wishlist

 I ran into a bug in libspf, where dh_makeshlibs was called *after*
 dh_installdeb.

 Would lintian be a good place to test that dh_* scripts are called in a
 coherent order?

Yes, definitely.  checks/rules should be able to help with that.  Another
common mistake is to call dh_strip before dh_fixperms; strip fails on
non-writable files, such as the default installation mode of Perl modules.
A third is to call dh_shlibdeps before dh_makeshlibs.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



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



Bug#471870: lintian: Please add additional Debian architectures

2008-03-20 Thread Russ Allbery
Michael Koch [EMAIL PROTECTED] writes:

 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.

You're probably correct, but the solution would be to drop this tag
entirely.  This tag is warning about precisely that case -- the presence
of a normal but unofficial architecture.

It's on my list of pointless lintian tags to ask about getting rid of in
the next release.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



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