Bug#701660: lintian: Possible wrong syntax-error-in-dep5-copyright test in Lintian (Duplicate field copyright)
Package: lintian Version: 2.5.11 Severity: minor Correct me if I am wrong or if I lack some coffee, please, but with this copyright file: = Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: name Upstream-Contact: Somebody Files: file1.c file2.c Copyright: 2000, 2001 Foo Copyright: 2001, 2002 Bar License: BSD-Like = I am seeing this: W: test source: syntax-error-in-dep5-copyright line 7: Duplicate field copyright. In http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#copyright-field we can see an example with two Copyright lines. It seems that lintian should not warn for duplicates copyright fields? Thank you! Best regards, Nelson -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.7-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.22-8 ii bzip2 1.0.6-4 ii diffstat 1.55-3 ii file 5.11-2 ii gettext0.18.1.1-10 ii hardening-includes 2.3 ii intltool-debian0.35.0+20060710.1 ii libapt-pkg-perl0.1.26+b1 ii libarchive-zip-perl1.30-6 ii libc-bin 2.13-38 ii libclass-accessor-perl 0.34-1 ii libclone-perl 0.31-1+b2 ii libdpkg-perl 1.16.9 ii libemail-valid-perl0.190-1 ii libipc-run-perl0.92-1 ii libparse-debianchangelog-perl 1.2.0-1 ii libtext-levenshtein-perl 0.06~01-2 ii libtimedate-perl 1.2000-1 ii liburi-perl1.60-1 ii locales2.13-38 ii man-db 2.6.3-3 ii patchutils 0.3.2-1.1 ii perl [libdigest-sha-perl] 5.14.2-18 ii t1utils1.37-2 lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarch none ii dpkg-dev 1.16.9 ii libhtml-parser-perl3.69-2 pn libperlio-gzip-perlnone ii libtext-template-perl 1.45-2 ii man-db 2.6.3-3 ii xz-utils [lzma]5.1.1alpha+20120614-2 -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130225203735.3689.78791.reportbug@spades
Bug#668437: lintian: Identify -dbg packages that have binaries with no debugging symbols
Package: lintian Version: 2.5.6 Severity: wishlist Hi! Using #652099 as an example, we have a source package that has a -dbg binary package, with files located under /usr/lib/debug/ as they should be but with one problem: there are no debugging symbols. Could lintian do a new check against the binaries in a -dbg package to see if they indeed have the proper debugging symbols? Something like doing a nm -a $file | cut -b 18 and grepping for N If no N is found then we have a file with missing symbols and a warning about this. (I don't know if nm + cut + grep is the best way to test for debugging symbols, but it seems to do the job) Thank you! Best regards, Nelson -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.22-6 ii bzip2 1.0.6-1 ii diffstat 1.55-2 ii file 5.11-1 ii gettext0.18.1.1-5 ii intltool-debian0.35.0+20060710.1 ii libapt-pkg-perl0.1.26 ii libc-bin 2.13-27 ii libclass-accessor-perl 0.34-1 ii libclone-perl 0.31-1+b2 ii libdpkg-perl 1.16.2 ii libemail-valid-perl0.187-2 ii libipc-run-perl0.91-1 ii libparse-debianchangelog-perl 1.2.0-1 ii libtimedate-perl 1.2000-1 ii liburi-perl1.60-1 ii locales2.13-27 ii man-db 2.6.1-2 ii patchutils 0.3.2-1.1 ii perl [libdigest-sha-perl] 5.14.2-9 ii unzip 6.0-6 lintian recommends no packages. Versions of packages lintian suggests: ii binutils-multiarch none ii dpkg-dev 1.16.2 ii libhtml-parser-perl3.69-1+b1 ii libtext-template-perl 1.45-2 ii man-db 2.6.1-2 ii xz-utils 5.1.1alpha+20110809-3 -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120411203722.26392.79187.report...@sti-nelson.foa.unesp.br
Bug#651392: lintian: unversioned-copyright-format-uri references 404 http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn
Hi! On Thu, Dec 08, 2011 at 11:13:31AM +0100, Helmut Grohne wrote: However dep5.mdwn no longer exists. It apparently got replaced with a directory. So the information given here is wrong. Can't lintian just suggest to use the updated place? http://anonscm.debian.org/viewvc/dep/web/deps/dep5/index.html?revision=revision Best regards, Nelson -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2012010427.GA8037@orthrus
Bug#542866: lintian: Check for PS and PDF files in source package
Hi! On Sun, Jul 17, 2011 at 6:11 PM, Niels Thykier ni...@thykier.net wrote: Personally I would recommend the usage of suspicious-source (from ubuntu-dev-tools?). I believe it already catches this, else asking them to catch it seems very reasonable. Indeed. I didn't know about suspicious-source. I am both happy to have this bug report closed or to convert it to Please, provide a way to add custom checks in lintian (and merge with #359059) :-) Thank you! Best regards, Nelson -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAARFvTWNy6CX=L5sp7joyvc6SbHtfHBHPg=n4uhfytkvman...@mail.gmail.com
Bug#598412: lintian: More checks for debian/copyright dh_make's template
Hi Niels! On Sat, Jun 4, 2011 at 10:03 PM, Niels Thykier ni...@thykier.net wrote: Thanks for the report; I have applied changes to cover the most obvious issues, but we currently do not check for all of them (or changed some of them a bit). I am really sorry that I did not explain it correctly on my bug report (it gave the impression that I saw that copyright file exactly as I wrote before, but I was only hiding the person name, the URL, etc) The attached patch is near to what I was trying to explain on the first message (please, check it as I am unsure about the last part of it). The patch explained is this: It checks for Author(s): we should have only one author [thus Author only] or multiple authors [thus Authors]; never Author(s) It checks for years: new dh-make template creates these lines: = Copyright: years put author's name and email here years likewise for another author = It checks for special license: new dh-make also creates License: special license in the template Then it checks for url:// since url is not a valid protocol (it should be http, ftp or something else). I was thinking if maybe another tag should be created for this (something like copyright-has-invalid-protocol-in-url, but it is too overkill I think) Then it checks for these two lines (also create by dh-make): # If you want to use GPL v2 or later for the /debian/* files use # the following clauses, or change it to suit. Delete these two lines Could you give a look at this possible patch, please? Thank you very much! Best regards, Nelson diff --git a/checks/copyright-file b/checks/copyright-file index d10fa80..cd97566 100644 --- a/checks/copyright-file +++ b/checks/copyright-file @@ -271,8 +271,9 @@ if (m,\put author[\'\(]s\)? name and email here\,) { tag 'helper-templates-in-copyright'; } if (m,\Copyright \(C\) Name OfAuthor\,o or -m,\Copyright \(C\) \d{4} Upstream Full Name\,o or -m,My Full Name \name\@place.com\,o or +m,Author\(s\),o or +m,\years\,o or +m,\special license\,o or m,\likewise for another author\,o) { tag 'helper-templates-in-copyright'; } @@ -281,11 +282,12 @@ if (m/This copyright info was automatically extracted/) { tag 'copyright-contains-dh-make-perl-boilerplate'; } -if (m,url://example\.com, or m,url://somewhere\.com,) { +if (m,url://example\.com, or m,url://,) { tag 'copyright-has-url-from-dh_make-boilerplate'; } -if (m{\# Please also look if there are files or directories which have a\n\# different copyright/license attached and list them here\.}) { +if (m{\# Please also look if there are files or directories which have a\n\# different copyright/license attached and list them here\.}, or +m{\# If you want to use GPL v2 or later for the /debian/\* files use\n\# the following clauses, or change it to suit. Delete these two lines}) { tag 'copyright-contains-dh_make-todo-boilerplate'; }
Bug#624201: lintian: Warn when using simple-patchsys.mk
Package: lintian Version: 2.5.0~rc3 Severity: wishlist Hi! When building a package using CDBS and simple-patchsys.mk I saw this: /usr/share/cdbs/1/rules/simple-patchsys.mk:31: WARNING: simple-patchsys.mk is deprecated - please use source format 3.0 (quilt) instead Would be good if lintian could warn us too about the usage of the now deprecated simple-patchsys.mk Thank you! Best regards, Nelson -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (100, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.38.naoliv (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.21.51.20110419-2 The GNU assembler, linker and bina ii diffstat 1.54-1 produces graph of changes introduc ii dpkg-dev 1.16.0.2 Debian package development tools ii file 5.04-5+b1 Determines file type using magic ii gettext 0.18.1.1-3 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg ii libclass-accessor-per 0.34-1 Perl module that automatically gen ii libdigest-sha-perl5.61-1 Perl extension for SHA-1/224/256/3 ii libemail-valid-perl 0.184-1Perl module for checking the valid ii libipc-run-perl 0.89-1 Perl module for running processes ii libparse-debianchange 1.2.0-1parse Debian changelogs and output ii libtimedate-perl 1.2000-1 collection of modules to manipulat ii liburi-perl 1.58-1 module to manipulate and access UR ii locales 2.11.2-11 Embedded GNU C Library: National L ii man-db2.6.0.2-1 on-line manual pager ii perl [libdigest-sha-p 5.10.1-20 Larry Wall's Practical Extraction ii unzip 6.0-4 De-archiver for .zip files lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarchnone (no description available) ii libhtml-parser-perl 3.68-1 collection of modules that parse H ii libtext-template-perl 1.45-2 Text::Template perl module ii man-db2.6.0.2-1 on-line manual pager -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110426113011.11388.35338.reportbug@orthrus
Bug#546265: Small addendum for #546265
Hi! The same for bzip2: BZIP2=-9 or BZIP=-9 (--best too) And just for reference, it's Developer's Reference 6.7.8.2: should be gzipped or bzipped with maximal compression Thank you! Best regards, Nelson -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110303180503.GA2841@orthrus
[PATCH] Add a check for synopsis starting with articles
Hi! Can you verify if my patch is correct and, if yes, commit it, please? Thank you very much! Best regards, Nelson From 1dd7d990a570dbfb913cd34dc01d6f5617dc6299 Mon Sep 17 00:00:00 2001 From: Nelson A. de Oliveira nao...@debian.org Date: Wed, 10 Nov 2010 10:45:34 -0200 Subject: [PATCH] Add a check for synopsis starting with articles --- checks/description |3 +++ checks/description.desc | 11 +++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/checks/description b/checks/description index 0d75b9d..08cfbd4 100644 --- a/checks/description +++ b/checks/description @@ -61,6 +61,9 @@ if ($synopsis =~ m/^\s*$/) { if ($synopsis =~ m/^\Q$pkg\E\b/i) { tag description-starts-with-package-name, ; } +if ($synopsis =~ m/^(an?|the)\s/i) { + tag description-synopsis-starts-with-article, ; +} if ($synopsis =~ m/(?!etc)\.\s*$/i) { tag description-synopsis-might-not-be-phrased-properly, ; } diff --git a/checks/description.desc b/checks/description.desc index 26b6043..99cf9d4 100644 --- a/checks/description.desc +++ b/checks/description.desc @@ -52,6 +52,17 @@ Info: The first line of the Description: should not start with the have a description like this: foo is a program that Ref: policy 3.4.1 +Tag: description-synopsis-starts-with-article +Severity: minor +Certainty: certain +Info: The first line of the Description: should omit any initial indefinite + or definite article: a, an, or the. A good heuristic is that it should + be possible to substitute the package ttname/tt and ttsynopsis/tt + into this formula: + . + The package ttname/tt provides {a,an,the,some} ttsynopsis/tt. +Ref: devref 6.2.2 + Tag: description-contains-tabs Severity: important Certainty: certain -- 1.7.2.3
Bug#600866: lintian: Check for watch file with template lines
Package: lintian Version: 2.4.3 Severity: wishlist Hi! I am starting to see source packages (that are on our archive) with watch files that are basically 95% equal the template created by dh-make. It would be nice if lintian could somehow catch watch files like that. For example, having the template header is unnecessary for the watch file: # Example watch control file for uscan # Rename this file to watch and then you can run the uscan command # to check for upstream updates and more. # See uscan(1) for format Like having all the other examples also commented: # Uncomment to examine a Webserver directory #http://www.example.com/pub/package-(.*)\.tar\.gz Thank you very much! Best regards, Nelson -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.35.naoliv1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.20.1-15 The GNU assembler, linker and bina ii diffstat 1.53-1produces graph of changes introduc ii dpkg-dev 1.15.8.5 Debian package development tools ii file 5.04-5Determines file type using magic ii gettext0.18.1.1-3GNU Internationalization utilities ii intltool-debian0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libapt-pkg-perl0.1.24+b1 Perl interface to libapt-pkg ii libclass-accessor-perl 0.34-1Perl module that automatically gen ii libdigest-sha-perl 5.48-1Perl extension for SHA-1/224/256/3 ii libipc-run-perl0.89-1Perl module for running processes ii libparse-debianchangel 1.1.1-2.1 parse Debian changelogs and output ii libtimedate-perl 1.2000-1 collection of modules to manipulat ii liburi-perl1.55-1module to manipulate and access UR ii locales2.11.2-6 Embedded GNU C Library: National L ii man-db 2.5.7-6 on-line manual pager ii perl [libdigest-sha-pe 5.10.1-15 Larry Wall's Practical Extraction lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarchnone (no description available) ii libtext-template-perl 1.45-1 Text::Template perl module ii man-db2.5.7-6on-line manual pager -- debconf-show failed -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101020192614.18414.1458.report...@orthrus
Bug#598412: lintian: More checks for debian/copyright dh_make's template
Package: lintian Version: 2.4.3 Severity: wishlist I saw a package (on the NEW queue) with a debian/copyright (generated by dh_make) like this: = This work was packaged for Debian by: My Full Name n...@place.com on Tue, 28 Sep 2010 16:30:34 -0300 It was downloaded from: url://somewhere.com Upstream Author(s): My Full Name Copyright: Copyright (C) 2010 Upstream Full Name likewise for another author License: (...) = And lintian doesn't catch some minor things on it. For example, url://somewhere.com is not a valid url (needs a check for url:// here). Then there is Upstream Author(s):. It should be Upstream Author: or Upstream Authors: only, without parentheses. A check for the parentheses here would be good. Then on the copyright part. I am unsure if it's OK to have the copyright statement surrounded by inequality signs ( and ), but the second copyright line likewise for another author is clearly wrong. There should be a test for this template line too. Thank you! Best regards, Nelson -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.35.naoliv1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.20.1-15 The GNU assembler, linker and bina ii diffstat 1.53-1produces graph of changes introduc ii dpkg-dev 1.15.8.5 Debian package development tools ii file 5.04-5Determines file type using magic ii gettext0.18.1.1-3GNU Internationalization utilities ii intltool-debian0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libapt-pkg-perl0.1.24+b1 Perl interface to libapt-pkg ii libclass-accessor-perl 0.34-1Perl module that automatically gen ii libdigest-sha-perl 5.48-1Perl extension for SHA-1/224/256/3 ii libipc-run-perl0.89-1Perl module for running processes ii libparse-debianchangel 1.1.1-2.1 parse Debian changelogs and output ii libtimedate-perl 1.2000-1 collection of modules to manipulat ii liburi-perl1.55-1module to manipulate and access UR ii locales2.11.2-6 Embedded GNU C Library: National L ii man-db 2.5.7-4 on-line manual pager ii perl [libdigest-sha-pe 5.10.1-14 Larry Wall's Practical Extraction lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarchnone (no description available) ii libtext-template-perl 1.45-1 Text::Template perl module ii man-db2.5.7-4on-line manual pager -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100928203822.16892.71954.report...@orthrus
Bug#557120: lintian: Warns about the usage of DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes in debian/rules
Package: lintian Version: 2.2.18 Severity: wishlist Hi! lintian could warn us about the usage of DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes inside debian/rules. Since it's a serious violation (the second item at http://ftp-master.debian.org/REJECT-FAQ.html) and FTP-masters will reject the package, it seems good to have a test for this. Thank you! Best regards, Nelson -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-rc7.naoliv1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.20-4The GNU assembler, linker and bina ii diffstat 1.47-1produces graph of changes introduc ii dpkg-dev 1.15.5.2 Debian package development tools ii file 5.03-3Determines file type using magic ii gettext0.17-8GNU Internationalization utilities ii intltool-debian0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libapt-pkg-perl0.1.24Perl interface to libapt-pkg ii libclass-accessor-perl 0.34-1Perl module that automatically gen ii libdigest-sha-perl 5.47-1Perl extension for SHA-1/224/256/3 ii libipc-run-perl0.84-1Perl module for running processes ii libparse-debianchangel 1.1.1-2 parse Debian changelogs and output ii libtimedate-perl 1.1900-1 Time and date functions for Perl ii liburi-perl1.37+dfsg-1 Manipulates and accesses URI strin ii man-db 2.5.6-4 on-line manual pager ii perl [libdigest-sha-pe 5.10.1-7 Larry Wall's Practical Extraction lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarchnone (no description available) ii libtext-template-perl 1.45-1 Text::Template perl module ii man-db2.5.6-4on-line manual pager -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#548819: lintian: Check duplicated entries in build-depends, depends, etc
Package: lintian Version: 2.2.17 Severity: wishlist Hi! Is it out of scope a check for duplicated entries in debian/control (for fields like Build-Depends, Depends, Recommends, Suggests, Conflicts, Provides, Replaces)? For example: Build-Depends: cdbs, debhelper (= 7), cdbs It could detect that cdbs has already another entry. Thank you! Best regards, Nelson -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.31.naoliv1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.19.91.20090927-1 The GNU assembler, linker and bina ii diffstat 1.47-1 produces graph of changes introduc ii dpkg-dev 1.15.4 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 libclass-accessor-per 0.34-1 Perl module that automatically gen ii libdigest-sha-perl5.47-1 Perl extension for SHA-1/224/256/3 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-db2.5.6-3on-line manual pager ii perl [libdigest-sha-p 5.10.0-25 Larry Wall's Practical Extraction lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarchnone (no description available) ii libtext-template-perl 1.45-1 Text::Template perl module ii man-db2.5.6-3on-line manual pager -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#546265: lintian: Check if get-orig-source target is using maximum compression
Package: lintian Version: 2.2.14 Severity: wishlist Hi! If possible, would be good if lintian could check if debian/get-orig-source (when used as a separated file) or the get-orig-source target of debian/rules is using the maximum compression level when creating the tarball. For example, I already saw a lot of get-orig-source targets doing this: tar cvzf package_1.0.orig.tar.gz package-1.0 while it would need to have GZIP=-9 exported somewhere or being called as: GZIP=-9 tar cvzf package_1.0.orig.tar.gz package-1.0 Thank you very much! Best regards, Nelson -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.31.naoliv1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.19.91.20090910-1 The GNU assembler, linker and bina ii diffstat 1.47-1 produces graph of changes introduc ii dpkg-dev 1.15.4 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 libdigest-sha-perl5.47-1 Perl extension for SHA-1/224/256/3 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-db2.5.6-2on-line manual pager ii perl [libdigest-sha-p 5.10.0-25 Larry Wall's Practical Extraction lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarchnone (no description available) ii libtext-template-perl 1.45-1 Text::Template perl module ii man-db2.5.6-2on-line manual pager -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#542866: lintian: Check for PS and PDF files in source package
Package: lintian Version: 2.2.14 Severity: wishlist Hi! Can we have a check on lintian (at informational level) that verifies if the source package has PS or PDF files, please? This check would be valid only if the package has its section as main (non-free can have files without the source code). It's annoying to get a REJECT because there is one single .ps file in the source package (and it's easy to miss and/or forget to verify these kind of files). A lintian check for this would make things easier for everybody (the uploader won't need to upload it again and FTP-masters won't need to check it again too). Thank you very much! Best regards, Nelson -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#542866: lintian: Check for PS and PDF files in source package
Hi! On Fri, Aug 21, 2009 at 8:02 PM, Russ Allberyr...@debian.org wrote: I think it's going to be impossible for Lintian to figure out whether a given PS or PDF file has source accompanying it. But not even a test with wild-guess certainty? I prefer a wild-guess message that will remind me to verify all the PS and PDF files than no messages at all. Best regards, Nelson -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#542866: lintian: Check for PS and PDF files in source package
On Fri, Aug 21, 2009 at 8:11 PM, Russ Allberyr...@debian.org wrote: Nelson A. de Oliveira nao...@debian.org writes: On Fri, Aug 21, 2009 at 8:02 PM, Russ Allbery r...@debian.org wrote: I think it's going to be impossible for Lintian to figure out whether a given PS or PDF file has source accompanying it. But not even a test with wild-guess certainty? I prefer a wild-guess message that will remind me to verify all the PS and PDF files than no messages at all. Isn't it really common for packages to ship both the generated PS and PDF files and the original source? If the false positive rate is high, that tends to turn people off on using Lintian. Then a test at pedantic level? Won't this test fit into this description? Pedantic tags are Lintian at its most pickiest and include checks for particular Debian packaging styles, checks that are very frequently wrong, and checks that many people disagree with. Expect false positives and Lintian tags that you don't consider useful if you use this option. Adding overrides for pedantic tags is probably not worth the effort. Thank you! Best regards, Nelson -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#541977: lintian: Warns about deprecated dh_undocumented
Package: lintian Version: 2.2.14 Severity: wishlist Hi! dh_undocumented is a deprecated program and would be good if lintian could warn about using it in debian/rules. Thank you! Best regards, Nelson -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.30.1.naoliv1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.19.51.20090805-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-6 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 libdigest-sha-perl5.47-1 Perl extension for SHA-1/224/256/3 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-db2.5.5-3on-line manual pager ii perl [libdigest-sha-p 5.10.0-25 Larry Wall's Practical Extraction lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarchnone (no description available) ii libtext-template-perl 1.45-1 Text::Template perl module ii man-db2.5.5-3on-line manual pager -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#541978: lintian: Check for unneeded use of dh_python
Package: lintian Version: 2.2.14 Severity: wishlist Hi! Sorry if it's related with #496902, but lintian could do a check when dh_python is being unneeded used in debian/rules. For example, a debian/rules with: dh_pycentral dh_python We will get this message: dh_python: Doing nothing since dh_pycompat exists; dh_pysupport or dh_pycentral should do the work. You can remove dh_python from your rules file. Thank you! Best regards, Nelson -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.30.1.naoliv1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.19.51.20090805-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-6 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 libdigest-sha-perl5.47-1 Perl extension for SHA-1/224/256/3 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-db2.5.5-3on-line manual pager ii perl [libdigest-sha-p 5.10.0-25 Larry Wall's Practical Extraction lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarchnone (no description available) ii libtext-template-perl 1.45-1 Text::Template perl module ii man-db2.5.5-3on-line manual pager -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#540348: lintian: Detects wrong duplicated word
Package: lintian Version: 2.2.13 Severity: minor Hi! With this package description: = Package: pvrg-jpeg Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: netpbm, libjpeg-progs Description: Stanford PVRG JPEG tool PVRG is the JPEG implementation from Stanford Portable Video Research Group . This package contains the pvrg-jpeg command line tool. Contrary to cjpeg/djpeg, pvrg-jpeg can also compress in lossless JPEG which is defined in ITU-T T.81, ISO/IEC IS 10918-1. It also support in a single codec 8bits and 12bits lossy JPEG compression/decompression. = lintian says: = W: pvrg-jpeg: description-contains-duplicated-word T T N: N:The description contains a duplicated word. Usually this is a mistake, N:or at least an awkward phrasing. N: N:Severity: normal, Certainty: possible = T T from ITU-T T.81 isn't a duplicated word :-) Thank you! Best regards, Nelson -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.30.1.naoliv1 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.19.51.20090805-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-6 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libapt-pkg-perl 0.1.23 Perl interface to libapt-pkg ii libdigest-sha-perl5.47-1 Perl extension for SHA-1/224/256/3 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-db2.5.5-3on-line manual pager ii perl [libdigest-sha-p 5.10.0-24 Larry Wall's Practical Extraction lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarchnone (no description available) ii libtext-template-perl 1.45-1 Text::Template perl module ii man-db2.5.5-3on-line manual pager -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#531164: lintian: Warn about using deprecated dh_desktop
Package: lintian Version: 2.2.10 Severity: wishlist Hi! Lintian could warn us if debian/rules calls the deprecated dh_desktop program and suggest to remove this call. Thank you! Best regards, Nelson -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#517191: One example for #517191
Hi! Here is a warning that I am having on one package that I am using lintian: W: libdownload1: copyright-refers-to-versionless-license-file usr/share/common-licenses/GPL N: N:The copyright file refers to the versionless symlink in N:/usr/share/common-licenses for the full text of the GPL, LGPL, or GFDL N:license, but the package does not appear to allow distribution under N:later versions of the license. This symlink will change with each N:release of a new version of the license and may therefore point to a N:different version than the package is released under. debian/copyright N:should instead refers to the specific version of the license that the N:package references. N: N:For example, if the package says something like you can redistribute it N:and/or modify it under the terms of the GNU General Public License as N:published by the Free Software Foundation; version 2 dated June, 1991, N:the debian/copyright file should refer to N:/usr/share/common-licenses/GPL-2, not /GPL. N: N:Severity: normal, Certainty: possible The copyright part is: == The Debian packaging is (c) 2009, William Pitcock neno...@dereferenced.org and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. == So if there is a licensed under the GLP, without any versions, it should consider that it's valid to use /usr/share/common-licenses/GPL, right? Thank you! Best regards, Nelson -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#517191: One example for #517191
Hi again! And this one was not caught: Files: debian/* Copyright: 2008, Foo Bar f...@bar.com License: GPL-2+ The Debian packaging is licensed under the GPL-2 or any later version, see `/usr/share/common-licenses/GPL-2' If possible, it should warn that the it should use /usr/share/common-licenses/GPL Thank you! Best regards, Nelson -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#517191: One example for #517191
Hi! On Thu, Feb 26, 2009 at 8:16 PM, Russ Allbery r...@debian.org wrote: Nelson A. de Oliveira nao...@debian.org writes: The Debian packaging is licensed under the GPL-2 or any later version, see `/usr/share/common-licenses/GPL-2' If possible, it should warn that the it should use /usr/share/common-licenses/GPL No, that example should definitely not use /usr/share/common-licenses/GPL. It is currently correct and changing it in that way would be incorrect, since /usr/share/common-licenses/GPL is GPL v3. But or any later version doesn't mean that we can use version 3 and all the other future versions? Isn't it valid to point to the latest license version? Thank you! Best regards, Nelson -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
lintian not recognizing override file?
Hi people! Patrick and I are trying to create a lintian override for this message: W: xtermset source: configure-generated-file-in-source config.status I have tried various combination for the override file: configure-generated-file-in-source xtermset: configure-generated-file-in-source xtermset: configure-generated-file-in-source config.status xtermset source: configure-generated-file-in-source xtermset source: configure-generated-file-in-source config.status but all without success. lintian (version 3.7.3) also says: W: xtermset source: configure-generated-file-in-source config.status (...) I: xtermset: unused-override configure-generated-file-in-source So it seems that is finding the override file (and it's indeed correctly installed under /usr/share/lintian/overrides/xtermset) Are we doing something wrong? Could you give us some light, please? The package can be found at: http://people.debian.org/~naoliv/packages/xtermset/xtermset_0.5.2-1.dsc (or download individual files from http://people.debian.org/~naoliv/packages/xtermset/) Thank you very much! Best regards, Nelson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: lintian not recognizing override file?
Hi Russ! On Dec 17, 2007 5:30 PM, Russ Allbery [EMAIL PROTECTED] wrote: lintian (version 3.7.3) also says: (That's a Policy version rather than a lintian version.) Argh... sorry. I was thinking in one thing and I wrote another one :-/ First, you're installing an override for the *binary* package xtermset to suppress configure-generated-file-in-source. But that's a source package tag that doesn't trigger for the binary package. Hence the I: tag about an unused override. Second, you're trying to suppress a warning in the source package rather than the binary package, which means that you need a source override. A source override must have the file name debian/source.lintian-overrides. This is documented at http://lintian.debian.org/manual/ch2.html#s2.4. Hum... now I understand. Thank you very much for your attention! Best regards, Nelson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#366481: lintian: Can't locate common_data.pm in @INC
Package: lintian Version: 1.23.20 Severity: important Hi! Today I have downloaded lintian 1.23.20 from incoming and installed it with dpkg -i. Trying to test it with some packages, I've got: $ lintian qsf_1.1.7-1_i386.deb Can't locate common_data.pm in @INC (@INC contains: /usr/share/lintian/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/lintian/checks/menus line 25. BEGIN failed--compilation aborted at /usr/share/lintian/checks/menus line 25. Compilation failed in require at /usr/share/lintian/lib/Checker.pm line 63. $ lintian optipng_0.5.2-1_i386.deb Can't locate common_data.pm in @INC (@INC contains: /usr/share/lintian/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/lintian/checks/menus line 25. BEGIN failed--compilation aborted at /usr/share/lintian/checks/menus line 25. Compilation failed in require at /usr/share/lintian/lib/Checker.pm line 63. So, the problem is not on the package, but on Lintian (I think). Running lintian on the .changes file works without problems. I am not sending this to the BTS because I don't know if it's really a bug, or I did something wrong when installing. Please, CC me with any answers. Thank you! Nelson -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.13-rc5-mm1 Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to pt_BR) Versions of packages lintian depends on: ii binutils 2.16.1cvs20060413-1 The GNU assembler, linker and bina ii diffstat 1.41-1 produces graph of changes introduc ii dpkg-dev 1.13.18 package building tools for Debian ii file 4.17-1 Determines file type using magic ii gettext 0.14.5-2GNU Internationalization utilities ii intltool-debian 0.34.2+20060415 Help i18n of RFC822 compliant conf ii libparse-debianchang 1.0-1 parse Debian changelogs and output ii man-db 2.4.3-3 The on-line manual pager ii perl [libdigest-md5- 5.8.8-4 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#340222: lintian: Update debhelper compat test
Package: lintian Version: 1.23.13 Severity: normal Hi! The recommended compatibility level of a package is now 5 and version 3 is now deprecated. However, lintian doesn't issue a package-uses-deprecated-debhelper-compat-version warning with packages using version compat level 3. Thank you Nelson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#314879: lintian: Update Standards-Version check
Package: lintian Version: 1.23.8 Severity: normal Hi! With the new debian-policy (version 3.6.2.x), lintian gives a warnign about: newer-standards-version It would be good to update lintian to this. Thank you very much! Nelson -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-rc6-mm1 Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to pt_BR) Versions of packages lintian depends on: ii binutils 2.15-6The GNU assembler, linker and bina ii diffstat 1.39-1produces graph of changes introduc ii file 4.12-1Determines file type using magic ii gettext0.14.5-1 GNU Internationalization utilities ii intltool-debian0.30+20040213 Help i18n of RFC822 compliant conf ii man-db 2.4.2-22 The on-line manual pager ii perl [libdigest-md5-perl] 5.8.7-3 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]