Bug#759213: lintian: quilt-build-dep-but-no-series-file triggered even if debian/patches/series exists (but empty)
Package: lintian Version: 2.5.25 Severity: normal Dear Lintian Hackers, for format 1.0 source packages which occassionally need patching, I prefer to keep quilt in the build-dependencies and debian/rules. I also keep an empty debian/patches/series file. But lintian still claims quilt-build-dep-but-no-series-file despite it is surely not true that there is no series file. So please suppress this warning if debian/patches/series is empty as this is a sign that this was done deliberately. In case you think there still could be cases where an empty debian/patches/series file is not on purpose, feel free to add a separate, maybe pedantic-level warning about that. TIA! P.S.: Soon to be uploaded test case: t-prot 3.2-1 -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental'), (109, 'buildd-unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.15-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.24.51.20140818-1 ii bzip2 1.0.6-7 ii diffstat 1.58-1 ii file 1:5.19-1 ii gettext0.19.2-1 ii hardening-includes 2.5+nmu1 ii intltool-debian0.35.0+20060710.1 ii libapt-pkg-perl0.1.29+b2 ii libarchive-zip-perl1.37-2 ii libclass-accessor-perl 0.34-1 ii libclone-perl 0.37-1+b1 ii libdpkg-perl 1.17.13 ii libemail-valid-perl1.194-1 ii libfile-basedir-perl 0.03-1 ii libipc-run-perl0.92-1 ii liblist-moreutils-perl 0.33-2+b1 ii libparse-debianchangelog-perl 1.2.0-1 ii libtext-levenshtein-perl 0.09-1 ii libtimedate-perl 2.3000-2 ii liburi-perl1.64-1 ii man-db 2.6.7.1-1 ii patchutils 0.3.3-1 ii perl [libdigest-sha-perl] 5.20.0-4 ii t1utils1.37-2 Versions of packages lintian recommends: ii libautodie-perl 2.25-1 ii libperlio-gzip-perl 0.18-3+b1 ii perl-modules [libautodie-perl] 5.20.0-4 Versions of packages lintian suggests: pn binutils-multiarch none ii dpkg-dev 1.17.13 ii libhtml-parser-perl3.71-1+b2 ii libtext-template-perl 1.46-1 ii libyaml-perl 1.01-1 ii xz-utils 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: https://lists.debian.org/87mwasergk@c-cactus.deuxchevaux.org
Bug#758751: marked as done (lintian: Do not warn about embedded javascript files that are not installed)
Your message dated Mon, 25 Aug 2014 22:44:54 + with message-id 1667292.6lkvh6iUCq@bastien-debian and subject line Done: lintian: Do not warn about embedded javascript files that are not installed has caused the Debian Bug report #758751, regarding lintian: Do not warn about embedded javascript files that are not installed to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 758751: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758751 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ---BeginMessage--- Package: lintian Version: 2.5.25 Severity: normal Dear Maintainer, I am packaging a project written in C++, that embeds some compiled javascript. One of this is jquery, so I do not install the compiled version present in the tar file, and I make it depend on libjs-jquery and use a soft link to point at that one, to avoid duplication. However, even if the compiled jquery is not shipped, I get the error E: subsurface source: source-is-missing theme/jquery.min.js But I think that patching the upstream release to remove that file or add the source in the debian/sources-missing directory would not make much sense, since the file is not installed. Best -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.1d (SMP w/4 CPU cores; PREEMPT) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.24.51.20140818-1 ii bzip2 1.0.6-7 ii diffstat 1.58-1 ii file 1:5.19-1 ii gettext0.19.2-1 ii hardening-includes 2.5 ii intltool-debian0.35.0+20060710.1 ii libapt-pkg-perl0.1.29+b2 ii libarchive-zip-perl1.37-2 ii libclass-accessor-perl 0.34-1 ii libclone-perl 0.37-1+b1 ii libdpkg-perl 1.17.13 ii libemail-valid-perl1.194-1 ii libfile-basedir-perl 0.03-1 ii libipc-run-perl0.92-1 ii liblist-moreutils-perl 0.33-2+b1 ii libparse-debianchangelog-perl 1.2.0-1 ii libtext-levenshtein-perl 0.09-1 ii libtimedate-perl 2.3000-2 ii liburi-perl1.64-1 ii man-db 2.6.7.1-1 ii patchutils 0.3.3-1 ii perl [libdigest-sha-perl] 5.20.0-4 ii t1utils1.37-2 Versions of packages lintian recommends: pn libperlio-gzip-perl none ii perl-modules [libautodie-perl] 5.20.0-4 Versions of packages lintian suggests: pn binutils-multiarch none ii dpkg-dev 1.17.13 ii libhtml-parser-perl3.71-1+b2 pn libtext-template-perl none ii libyaml-perl 1.01-1 ii xz-utils 5.1.1alpha+20120614-2 -- no debconf information ---End Message--- ---BeginMessage--- Package: lintian Version: 2.5.25 According to Debian Free Software Guidelines [1] (DFSG) #2: The program must include source code, and must allow distribution in source code as well as compiled form.. This could also constitute a license violation for some copyleft licenses such as the GNU GPL. So i am closing this bug.---End Message---
Processed: limit source to lintian, tagging 757583
Processing commands for cont...@bugs.debian.org: limit source lintian Limiting to bugs with field 'source' containing at least one of 'lintian' Limit currently set to 'source':'lintian' tags 757583 + pending Bug #757583 [lintian] lintian: warn if the pipe symbol is used in a License value Added tag(s) pending. thanks Stopping processing here. Please contact me if you need assistance. -- 757583: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757583 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/handler.s.c.140899974131133.transcr...@bugs.debian.org
Bug#740161: lintian: dh_python2 and dh_python3 are now shipped in dh-python package
Hi Piotr, * Piotr Ożarowski pi...@debian.org, 2014-02-26, 14:21: --- lintian/data/debhelper/dh_commands 2013-05-18 09:36:11.0 +0200 +++ lintian-2.5.21+nmu2/data/debhelper/dh_commands 2014-02-26 13:45:57.0 +0100 This is an automatically generated file (see private/refresh-debhelper-data). You should edit or add stuff to dh_commands-manual instead. -dh_python2=python +dh_python2=dh-python Given that currently there is no /usr/bin/dh_python2 in (transitive dependencies of) dh-python, it doesn't look good. -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140825205207.ga7...@jwilk.net
Processed: limit source to lintian, tagging 757551
Processing commands for cont...@bugs.debian.org: limit source lintian Limiting to bugs with field 'source' containing at least one of 'lintian' Limit currently set to 'source':'lintian' tags 757551 + pending Bug #757551 [lintian] lintian: check if DEP-5 debian/copyright covers all files in the unpacked sources Added tag(s) pending. thanks Stopping processing here. Please contact me if you need assistance. -- 757551: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757551 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/handler.s.c.14090006514547.transcr...@bugs.debian.org
[lintian] 03/03: Add unspecified and - as bad license
This is an automated email from the git hooks/post-receive script. broucaries-guest pushed a commit to branch master in repository lintian. commit b682e463fec3a33c83d2acda87c57831eab46fc6 Author: Bastien ROUCARIÈS roucaries.bastien+deb...@gmail.com Date: Mon Aug 25 23:21:17 2014 +0200 Add unspecified and - as bad license --- data/source-copyright/bad-short-licenses | 2 ++ debian/changelog | 2 ++ 2 files changed, 4 insertions(+) diff --git a/data/source-copyright/bad-short-licenses b/data/source-copyright/bad-short-licenses index c541262..1ed8350 100644 --- a/data/source-copyright/bad-short-licenses +++ b/data/source-copyright/bad-short-licenses @@ -1,7 +1,9 @@ # regex ~~ tag # please alpha short by tag then regex # note license is alway lower case +\b-\b ~~ license-problem-undefined-license \bfixme\b ~~ license-problem-undefined-license \btodos?\b~~ license-problem-undefined-license \bundefined\b ~~ license-problem-undefined-license \bunknown?\b ~~ license-problem-undefined-license +\bunspecified\b ~~ license-problem-undefined-license diff --git a/debian/changelog b/debian/changelog index 4d3db29..66d8d9b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -101,6 +101,8 @@ lintian (2.5.26) UNRELEASED; urgency=medium freesci-doc package). + [BR] Detect libjs-jquery-ui use. + [BR] Detect pledgie.com as a donation website. + * data/source-copyright/bad-short-licenses: ++ [BR] Add unspecified and - as bad license. * doc/tutorial/Lintian/Tutorial/WritingChecks.pod: + [NT] Correct tutorial now that the index collection -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e1xm1i7-iw...@moszumanska.debian.org
[lintian] 01/02: Tag some invalid short name
This is an automated email from the git hooks/post-receive script. broucaries-guest pushed a commit to branch master in repository lintian. commit 434cd9d41f14e1e371bbcd1e159825b18d5717d2 Author: Bastien ROUCARIÈS roucaries.bastien+deb...@gmail.com Date: Mon Aug 25 23:46:52 2014 +0200 Tag some invalid short name Tag some typos and invalid short name in dpe5 copyright. Thanks to Johannes Schauer Signed-off-by: Bastien ROUCARIÈS roucaries.bastien+deb...@gmail.com --- checks/source-copyright.desc| 7 +++ checks/source-copyright.pm | 2 ++ data/source-copyright/bad-short-licenses| 21 ++--- debian/changelog| 2 ++ t/scripts/implemented-tags.t| 1 + .../source-copyright-bad-short-name/debian/README | 1 + .../debian/debian/copyright | 15 +++ t/tests/source-copyright-bad-short-name/desc| 6 ++ t/tests/source-copyright-bad-short-name/tags| 2 ++ 9 files changed, 50 insertions(+), 7 deletions(-) diff --git a/checks/source-copyright.desc b/checks/source-copyright.desc index 1060cf0..bafe795 100644 --- a/checks/source-copyright.desc +++ b/checks/source-copyright.desc @@ -144,6 +144,13 @@ Info: Your copyright file references a license that is not defined. remember to also notify snapshot.debian.org about this package containing a non-distributable file. +Tag: invalid-short-name-in-dep5-copyright +Severity: minor +Certainty: certain +Ref: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Info: The license header contains a short name observed to be a + misspelling of one of the standard short names. + Tag: missing-license-paragraph-in-dep5-copyright Severity: normal Certainty: possible diff --git a/checks/source-copyright.pm b/checks/source-copyright.pm index 793df89..61df1e7 100644 --- a/checks/source-copyright.pm +++ b/checks/source-copyright.pm @@ -397,6 +397,7 @@ sub _parse_dep5 { (paragraph at line $lines[$i]{'START-OF-PARAGRAPH'}); } } + LICENSE: while ((my $license, $i) = each %short_licenses_seen) { foreach my $bad_short_license ($BAD_SHORT_LICENSES-all) { my $value = $BAD_SHORT_LICENSES-value($bad_short_license); @@ -404,6 +405,7 @@ sub _parse_dep5 { if ($license =~ m/$regex/x) { tag $value-{'tag'}, $license, (paragraph at line $lines[$i]{'START-OF-PARAGRAPH'}); +next LICENSE; } } } diff --git a/data/source-copyright/bad-short-licenses b/data/source-copyright/bad-short-licenses index 1ed8350..306fee4 100644 --- a/data/source-copyright/bad-short-licenses +++ b/data/source-copyright/bad-short-licenses @@ -1,9 +1,16 @@ # regex ~~ tag # please alpha short by tag then regex -# note license is alway lower case -\b-\b ~~ license-problem-undefined-license -\bfixme\b ~~ license-problem-undefined-license -\btodos?\b~~ license-problem-undefined-license -\bundefined\b ~~ license-problem-undefined-license -\bunknown?\b ~~ license-problem-undefined-license -\bunspecified\b ~~ license-problem-undefined-license +# note license is always lower case + +# some licenses are misspelled by not putting +# a dash in front of the version +^(?:agpl|gpl|lgpl)[^-]?\d(?:\.\d)?\+?$~~ invalid-short-name-in-dep5-copyright +# some misspellings of BSD licenses +^bsd$ ~~ invalid-short-name-in-dep5-copyright +^bsd[^-]?[234][^-]?(?:clause|cluase)$ ~~ invalid-short-name-in-dep5-copyright +(^|\s)-(\s|$) ~~ license-problem-undefined-license +\bfixme\b ~~ license-problem-undefined-license +\btodos?\b~~ license-problem-undefined-license +\bundefined\b ~~ license-problem-undefined-license +\bunknown?\b ~~ license-problem-undefined-license +\bunspecified\b ~~ license-problem-undefined-license diff --git a/debian/changelog b/debian/changelog index 66d8d9b..6c5c8db 100644 --- a/debian/changelog +++ b/debian/changelog @@ -103,6 +103,8 @@ lintian (2.5.26) UNRELEASED; urgency=medium + [BR] Detect pledgie.com as a donation website. * data/source-copyright/bad-short-licenses: + [BR] Add unspecified and - as bad license. ++ [BR] Detect some invalid short name. Thanks to + Johannes Schauer. * doc/tutorial/Lintian/Tutorial/WritingChecks.pod: + [NT] Correct tutorial now that the index collection diff --git a/t/scripts/implemented-tags.t b/t/scripts/implemented-tags.t index d711bbb..631dea8 100755 --- a/t/scripts/implemented-tags.t +++ b/t/scripts/implemented-tags.t @@ -60,6 +60,7 @@ our $EXCLUDE =join( ^debian-rules-should-not-.*$
Processed: limit source to lintian, tagging 747248
Processing commands for cont...@bugs.debian.org: limit source lintian Limiting to bugs with field 'source' containing at least one of 'lintian' Limit currently set to 'source':'lintian' tags 747248 + pending Bug #747248 [lintian] lintian: check for standard license short names Bug #709365 [lintian] lintian: check for standard license short names Added tag(s) pending. Added tag(s) pending. thanks Stopping processing here. Please contact me if you need assistance. -- 709365: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709365 747248: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747248 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/handler.s.c.140900391729021.transcr...@bugs.debian.org
[lintian] branch master updated (b682e46 - e7f6921)
This is an automated email from the git hooks/post-receive script. broucaries-guest pushed a change to branch master in repository lintian. from b682e46 Add unspecified and - as bad license new 434cd9d Tag some invalid short name new e7f6921 Detect bad short name and space in license The 2 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/source-copyright.desc| 14 ++ checks/source-copyright.pm | 6 ++ data/source-copyright/bad-short-licenses| 21 ++--- debian/changelog| 5 + t/scripts/implemented-tags.t| 1 + .../debian/README | 0 .../debian/debian/copyright | 12 .../source-copyright-bad-short-name/debian/space| 1 + t/tests/source-copyright-bad-short-name/desc| 7 +++ t/tests/source-copyright-bad-short-name/tags| 3 +++ t/tests/source-copyright-pipe-as-or/tags| 1 + 11 files changed, 60 insertions(+), 11 deletions(-) copy t/tests/{source-copyright-pipe-as-or = source-copyright-bad-short-name}/debian/README (100%) copy t/tests/{source-copyright-pipe-as-or = source-copyright-bad-short-name}/debian/debian/copyright (73%) create mode 100644 t/tests/source-copyright-bad-short-name/debian/space create mode 100644 t/tests/source-copyright-bad-short-name/desc create mode 100644 t/tests/source-copyright-bad-short-name/tags -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140825215947.26788.90...@moszumanska.debian.org