Bug#878838: Please add foolproof warning distribution=UNRELEASED
Package: lintian Severity: minor Hi, Sometimes stupid maintainer (=me) forgets about changing from UNRELEASED distribution to unstable at build with cowbuilder. Could you add foolproof warning to lintian? And I've tried to check it with .changes file, below warning seems to not work. >$ head -n2 ~/tmp/hello-2.10/debian/changelog >hello (2.10-1.1) UNRELEASED; urgency=medium >$ lintian -i ~/tmp/hello_2.10-1.1_amd64.changes >W: hello source: ancient-standards-version 3.9.6 (current is 4.1.1) /usr/share/lintian/checks/changes-file.desc says Tag: unreleased-changes Severity: important Certainty: certain Info: The distribution in the Changes field copied from debian/changelog indicates that this package was not intended to be released yet. Ref: #542747 -- Hideki Yamane
Bug#873490: marked as done (latest-debian-changelog-entry-without-new-date should become an error)
Your message dated Tue, 17 Oct 2017 03:59:06 +0100 with message-id <1508209146.3020571.1141120216.2e5a8...@webmail.messagingengine.com> and subject line Re: latest-debian-changelog-entry-without-new-date should become an error has caused the Debian Bug report #873490, regarding latest-debian-changelog-entry-without-new-date should become an error 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.) -- 873490: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873490 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: lintian Version: 2.5.52 Severity: normal See #873489 - only a warning for something suggested for autoreject sounds wrong. --- End Message --- --- Begin Message --- Version: 2.5.53 Hi, > latest-debian-changelog-entry-without-new-date should become an error This was fixed in 2.5.53, but I added it to the wrong changelog section so it did not get automatically closed. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk ` End Message ---
[lintian] 01/01: debian/changelog: Rewrite history by moving #873490 from 2.5.52 -> 2.5.53.
This is an automated email from the git hooks/post-receive script. lamby pushed a commit to branch master in repository lintian. commit e2788f9666c79104b21f7a0c510e48369505fd3b Author: Chris Lamb Date: Mon Oct 16 22:56:54 2017 -0400 debian/changelog: Rewrite history by moving #873490 from 2.5.52 -> 2.5.53. --- debian/changelog | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9e20c3f..2dcfe51 100644 --- a/debian/changelog +++ b/debian/changelog @@ -230,6 +230,9 @@ lintian (2.5.53) unstable; urgency=medium + [CL] Apply patches from Guillem Jover & Boud Roukema to improve the description of the binary-file-built-without-LFS-support tag. (Closes: #874078) + * checks/changelog-file.desc: ++ [CL] Upgrade latest-debian-changelog-entry-without-new-date from + a warning to an error. (Closes: #873490) * checks/changes.{pm,desc}: + [CL] Ignore DFSG-repacked packages when checking for upstream source tarball signatures as they will never match by definition. @@ -456,8 +459,6 @@ lintian (2.5.52) unstable; urgency=medium + [CL] Expand the rationale for the latest-debian-changelog-entry-without-new-date tag to mention possible implications for SOURCE_DATE_EPOCH/reproducible builds. -+ [CL] Upgrade latest-debian-changelog-entry-without-new-date from - a warning to an error. (Closes: #873490) * checks/control-file.pm: + [NT] Remove check for missing versioned build-depends for dpkg and debhlper when using Build-Profiles. The necessary versions -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
[lintian] branch master updated (9db324c -> e2788f9)
This is an automated email from the git hooks/post-receive script. lamby pushed a change to branch master in repository lintian. from 9db324c checks/binaries.desc: Mention the lack of the "-g" flag as a common cause for debug-file-with-no-debug-symbols tag. (Closes: #878806) new e2788f9 debian/changelog: Rewrite history by moving #873490 from 2.5.52 -> 2.5.53. The 1 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: debian/changelog | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Processed: Re: debug-file-with-no-debug-symbols: mention lack of -g as common cause
Processing commands for cont...@bugs.debian.org: > tags 878806 + pending Bug #878806 [lintian] debug-file-with-no-debug-symbols: mention lack of -g as common cause Added tag(s) pending. > thanks Stopping processing here. Please contact me if you need assistance. -- 878806: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878806 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#878806: debug-file-with-no-debug-symbols: mention lack of -g as common cause
tags 878806 + pending thanks Applied in Git; many thanks! https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=9db324c2487ad26d07eb42f71c33141deab837bb Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
[lintian] 01/01: checks/binaries.desc: Mention the lack of the "-g" flag as a common cause for debug-file-with-no-debug-symbols tag. (Closes: #878806)
This is an automated email from the git hooks/post-receive script. lamby pushed a commit to branch master in repository lintian. commit 9db324c2487ad26d07eb42f71c33141deab837bb Author: Adrian Bunk Date: Mon Oct 16 22:40:22 2017 +0300 checks/binaries.desc: Mention the lack of the "-g" flag as a common cause for debug-file-with-no-debug-symbols tag. (Closes: #878806) Signed-off-by: Chris Lamb --- checks/binaries.desc | 2 ++ debian/changelog | 4 2 files changed, 6 insertions(+) diff --git a/checks/binaries.desc b/checks/binaries.desc index 73f789a..708ad26 100644 --- a/checks/binaries.desc +++ b/checks/binaries.desc @@ -424,6 +424,8 @@ Ref: #668437 Info: The binary is installed as a detached "debug symbols" ELF file, but it does not appear to have debug information associated with it. . + A common cause is not passing -g to GCC when compiling. + . Implementation detail: Lintian checks for the ".debug_line" and the ".debug_str" sections. If either of these are present, the binary is assumed to contain debug information. diff --git a/debian/changelog b/debian/changelog index 17ea642..9e20c3f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,10 @@ lintian (2.5.56) UNRELEASED; urgency=medium XXX: generate tag summary + * checks/binaries.desc: ++ [CL] Apply patch from Adrian Bunk to mention the lack of the "-g" + flag as a common cause for the debug-file-with-no-debug-symbols tag. + (Closes: #878806) * checks/conffiles.pm, checks/{debconf,files,scripts}.desc: + [CL] Apply patch from Ville Skyttä to fix a number of spelling mistakes. (Closes: #878446) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
[lintian] branch master updated (678ea00 -> 9db324c)
This is an automated email from the git hooks/post-receive script. lamby pushed a change to branch master in repository lintian. from 678ea00 checks/fields.pm: Accept and recommend new vcs-mtn mtn:// uri format. (Closes: #878798) new 9db324c checks/binaries.desc: Mention the lack of the "-g" flag as a common cause for debug-file-with-no-debug-symbols tag. (Closes: #878806) The 1 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/binaries.desc | 2 ++ debian/changelog | 4 2 files changed, 6 insertions(+) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Processed: Re: lintian: Please accept and recommend new vcs-mtn mtn:// uri format
Processing commands for cont...@bugs.debian.org: > tags 878798 + pending Bug #878798 [lintian] lintian: Please accept and recommend new vcs-mtn mtn:// uri format Added tag(s) pending. > thanks Stopping processing here. Please contact me if you need assistance. -- 878798: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878798 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#878798: lintian: Please accept and recommend new vcs-mtn mtn:// uri format
tags 878798 + pending thanks Fixed in Git: https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=678ea00d7b63997e22d09735bdc66ea7ea04ad0d Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
[lintian] 01/01: checks/fields.pm: Accept and recommend new vcs-mtn mtn:// uri format. (Closes: #878798)
This is an automated email from the git hooks/post-receive script. lamby pushed a commit to branch master in repository lintian. commit 678ea00d7b63997e22d09735bdc66ea7ea04ad0d Author: Nicolas Boulenguez Date: Sun Oct 15 00:21:59 2017 +0200 checks/fields.pm: Accept and recommend new vcs-mtn mtn:// uri format. (Closes: #878798) Signed-off-by: Chris Lamb --- checks/fields.pm | 7 --- debian/changelog | 3 +++ t/tests/fields-uncanonical-vcs-fields/debian/debian/control.in | 2 +- t/tests/fields-vcs-fields/desc | 2 +- t/tests/fields-vcs-fields/tags | 1 + 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/checks/fields.pm b/checks/fields.pm index 549df72..3a5de15 100644 --- a/checks/fields.pm +++ b/checks/fields.pm @@ -114,8 +114,8 @@ my %VCS_EXTRACT = ( # git uri followed by optional " -b " + branchname: git => sub { return shift =~ /^(.+?)(?:\s+-b\s+(\S*))?$/;}, svn => sub { return @_;}, -# that's a hostname followed by a module name: -mtn => sub { return shift =~ /^(.+?)\s+(\S+)$/;}, +# New "mtn://host?branch" uri or deprecated "host branch". +mtn => sub { return shift =~ /^(.+?)(?:\s+\S+)?$/;}, ); my %VCS_CANONIFY = ( browser => sub { @@ -195,7 +195,7 @@ my %VCS_RECOMMENDED_URIS = ( hg => qr;^https?://;, git => qr;^(?:git|https?|rsync)://;, svn => qr;^(?:svn|(?:svn\+)?https?)://;, -mtn => qr;^[\w.-]+$;, +mtn => qr;^mtn://;, ); my %VCS_VALID_URIS = ( arch=> qr;^https?://;, @@ -204,6 +204,7 @@ my %VCS_VALID_URIS = ( hg => qr;^ssh://;, git => qr;^(?:git\+)?ssh://|^[\w.]+@[a-zA-Z0-9.]+:[/a-zA-Z0-9.];, svn => qr;^(?:svn\+)?ssh://;, +mtn => qr;^[\w.-]+$;, ); # Python development packages that are used almost always just for building diff --git a/debian/changelog b/debian/changelog index d4a9d4c..17ea642 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,9 @@ lintian (2.5.56) UNRELEASED; urgency=medium + [NT] Avoid useless-autoreconf-build-depends for autotools-dev when the autotools-dev tooling is used in debian/rules. (Closes: #871711) + * checks/fields.pm: ++ [CL] Apply patch from Nicolas Boulenguez to accept and recommend the + new vcs-mtn mtn:// uri format. (Closes: #878798) * checks/watch-file.pm: + [CL] Include the offending URI in debian-watch-uses-insecure-uri output, not the line number. diff --git a/t/tests/fields-uncanonical-vcs-fields/debian/debian/control.in b/t/tests/fields-uncanonical-vcs-fields/debian/debian/control.in index de674de..377fec8 100644 --- a/t/tests/fields-uncanonical-vcs-fields/debian/debian/control.in +++ b/t/tests/fields-uncanonical-vcs-fields/debian/debian/control.in @@ -6,7 +6,7 @@ Standards-Version: {$standards_version} Build-Depends: {$build_depends} Vcs-Browser: https://svn.debian.org/wsvn/foobar/trunk?foo=bar;op=log;something=else Vcs-Svn: svn://svn.debian.org/svn/foobar/trunk -Vcs-Mtn: www.example.org org.debian.foobar +Vcs-Mtn: mtn://www.example.org?org.debian.foobar Vcs-Hg: http://hg.debian.org/hg/foobar/pkg/foobar Vcs-Git: git://git.debian.org/~djpig/foobar.git -b master Vcs-Cvs: :pserver:anonym...@cvs.alioth.debian.org:/cvsroot/foobar module diff --git a/t/tests/fields-vcs-fields/desc b/t/tests/fields-vcs-fields/desc index a4a0dd2..d6bf5c4 100644 --- a/t/tests/fields-vcs-fields/desc +++ b/t/tests/fields-vcs-fields/desc @@ -5,9 +5,9 @@ Test-Against: vcs-field-bitrotted vcs-field-has-unexpected-spaces vcs-field-not-canonical - vcs-field-uses-not-recommended-uri-format vcs-field-uses-unknown-uri-format vcs-git-uses-invalid-user-uri Test-For: vcs-field-uses-insecure-uri + vcs-field-uses-not-recommended-uri-format vcs-browser-links-to-empty-view diff --git a/t/tests/fields-vcs-fields/tags b/t/tests/fields-vcs-fields/tags index d7fe58e..5065151 100644 --- a/t/tests/fields-vcs-fields/tags +++ b/t/tests/fields-vcs-fields/tags @@ -2,3 +2,4 @@ I: fields-vcs-fields source: vcs-field-uses-insecure-uri vcs-bzr nosmart+http:// I: fields-vcs-fields source: vcs-field-uses-insecure-uri vcs-cvs :pserver:anonym...@anonscm.debian.org:/cvs/foobar module I: fields-vcs-fields source: vcs-field-uses-insecure-uri vcs-svn svn://anonscm.debian.org/foobar/trunk W: fields-vcs-fields source: vcs-browser-links-to-empty-view https://anonscm.debian.org/viewvc/foobar/trunk?rev=0&sc=0 +W: fields-vcs-fields source: vcs-field-uses-not-recommended-uri-format vcs-mtn www.example.org org.debian.foobar -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
[lintian] branch master updated (5577dde -> 678ea00)
This is an automated email from the git hooks/post-receive script. lamby pushed a change to branch master in repository lintian. from 5577dde spelling: Add another correction new 678ea00 checks/fields.pm: Accept and recommend new vcs-mtn mtn:// uri format. (Closes: #878798) The 1 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/fields.pm | 7 --- debian/changelog | 3 +++ t/tests/fields-uncanonical-vcs-fields/debian/debian/control.in | 2 +- t/tests/fields-vcs-fields/desc | 2 +- t/tests/fields-vcs-fields/tags | 1 + 5 files changed, 10 insertions(+), 5 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Bug#878806: debug-file-with-no-debug-symbols: mention lack of -g as common cause
Package: lintian Version: 2.5.55 Severity: minor Tags: patch Mention the most (?) common cause of debug-file-with-no-debug-symbols: diff --git a/checks/binaries.desc b/checks/binaries.desc index 73f789a59..708ad263a 100644 --- a/checks/binaries.desc +++ b/checks/binaries.desc @@ -424,6 +424,8 @@ Ref: #668437 Info: The binary is installed as a detached "debug symbols" ELF file, but it does not appear to have debug information associated with it. . + A common cause is not passing -g to GCC when compiling. + . Implementation detail: Lintian checks for the ".debug_line" and the ".debug_str" sections. If either of these are present, the binary is assumed to contain debug information.
Bug#878798: lintian: Please accept and recommend new vcs-mtn mtn:// uri format
Package: lintian Severity: wishlist Tags: patch The monotone version control system has deprecated the "mtn host branch" syntax for years. We should recommend the new "mtn mtn://host?branch" instead. Please consider the attached suggestion when checking the VCS-Mtn control field. --- a/checks/fields.pm +++ b/checks/fields.pm @@ -114,8 +114,8 @@ my %VCS_EXTRACT = ( # git uri followed by optional " -b " + branchname: git => sub { return shift =~ /^(.+?)(?:\s+-b\s+(\S*))?$/;}, svn => sub { return @_;}, -# that's a hostname followed by a module name: -mtn => sub { return shift =~ /^(.+?)\s+(\S+)$/;}, +# New "mtn://host?branch" uri or deprecated "host branch". +mtn => sub { return shift =~ /^(.+?)(?:\s+\S+)?$/;}, ); my %VCS_CANONIFY = ( browser => sub { @@ -195,7 +195,7 @@ my %VCS_RECOMMENDED_URIS = ( hg => qr;^https?://;, git => qr;^(?:git|https?|rsync)://;, svn => qr;^(?:svn|(?:svn\+)?https?)://;, -mtn => qr;^[\w.-]+$;, +mtn => qr;^mtn://;, ); my %VCS_VALID_URIS = ( arch=> qr;^https?://;, @@ -204,6 +204,7 @@ my %VCS_VALID_URIS = ( hg => qr;^ssh://;, git => qr;^(?:git\+)?ssh://|^[\w.]+@[a-zA-Z0-9.]+:[/a-zA-Z0-9.];, svn => qr;^(?:svn\+)?ssh://;, +mtn => qr;^[\w.-]+$;, ); # Python development packages that are used almost always just for building --- a/t/tests/fields-uncanonical-vcs-fields/debian/debian/control.in +++ b/t/tests/fields-uncanonical-vcs-fields/debian/debian/control.in @@ -6,7 +6,7 @@ Standards-Version: {$standards_version} Build-Depends: {$build_depends} Vcs-Browser: https://svn.debian.org/wsvn/foobar/trunk?foo=bar;op=log;something=else Vcs-Svn: svn://svn.debian.org/svn/foobar/trunk -Vcs-Mtn: www.example.org org.debian.foobar +Vcs-Mtn: mtn://www.example.org?org.debian.foobar Vcs-Hg: http://hg.debian.org/hg/foobar/pkg/foobar Vcs-Git: git://git.debian.org/~djpig/foobar.git -b master Vcs-Cvs: :pserver:anonym...@cvs.alioth.debian.org:/cvsroot/foobar module --- a/t/tests/fields-vcs-fields/desc +++ b/t/tests/fields-vcs-fields/desc @@ -5,9 +5,9 @@ Test-Against: vcs-field-bitrotted vcs-field-has-unexpected-spaces vcs-field-not-canonical - vcs-field-uses-not-recommended-uri-format vcs-field-uses-unknown-uri-format vcs-git-uses-invalid-user-uri Test-For: vcs-field-uses-insecure-uri + vcs-field-uses-not-recommended-uri-format vcs-browser-links-to-empty-view --- a/t/tests/fields-vcs-fields/tags +++ b/t/tests/fields-vcs-fields/tags @@ -2,3 +2,4 @@ I: fields-vcs-fields source: vcs-field-uses-insecure-uri vcs-bzr nosmart+http:// I: fields-vcs-fields source: vcs-field-uses-insecure-uri vcs-cvs :pserver:anonym...@anonscm.debian.org:/cvs/foobar module I: fields-vcs-fields source: vcs-field-uses-insecure-uri vcs-svn svn://anonscm.debian.org/foobar/trunk W: fields-vcs-fields source: vcs-browser-links-to-empty-view https://anonscm.debian.org/viewvc/foobar/trunk?rev=0&sc=0 +W: fields-vcs-fields source: vcs-field-uses-not-recommended-uri-format vcs-mtn www.example.org org.debian.foobar
Processed: Re: Bug#505857: lintian: false positive debian-watch-file-should-mangle-version
Processing commands for cont...@bugs.debian.org: > fixed 505857 2.5.54 Bug #505857 [lintian] [checks/watch-file] false positive debian-watch-file-should-mangle-version Marked as fixed in versions lintian/2.5.54. > thanks Stopping processing here. Please contact me if you need assistance. -- 505857: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505857 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Processed: Re: Bug#765166: lintian -- False positives on - license-problem-gfdl-invariants
Processing commands for cont...@bugs.debian.org: > fixed 765166 lintian/2.5.54 Bug #765166 [lintian] lintian -- False positives on - license-problem-gfdl-invariants Marked as fixed in versions lintian/2.5.54. > thanks Stopping processing here. Please contact me if you need assistance. -- 765166: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765166 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Processed: Re: Bug#765166: lintian -- False positives on - license-problem-gfdl-invariants
Processing commands for cont...@bugs.debian.org: > notfound 765166 lintian/2.5.54 Bug #765166 [lintian] lintian -- False positives on - license-problem-gfdl-invariants Ignoring request to alter found versions of bug #765166 to the same values previously set > End of message, stopping processing here. Please contact me if you need assistance. -- 765166: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765166 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#765166: lintian -- False positives on - license-problem-gfdl-invariants
Control: notfound -1 2.5.54 My package, shadowsocks-libev, had this lintian override before, but it seems not necessary some time after stretch released. So I guess this issue is fixed in one version after stretch. But after I remove the lintian override, ftp master still rejected me. I guess ftp master is running stretch version of lintian. You can try to build my package, shadowsocks-libev, in stretch or buster to confirm this issue. Cheers, -- Roger Shimizu, GMT +9 Tokyo PGP/GPG: 4096R/6C6ACD6417B3ACB1
Processed: Re: Bug#765166: lintian -- False positives on - license-problem-gfdl-invariants
Processing control commands: > notfound -1 2.5.54 Bug #765166 [lintian] lintian -- False positives on - license-problem-gfdl-invariants Ignoring request to alter found versions of bug #765166 to the same values previously set -- 765166: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765166 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#505857: lintian: false positive debian-watch-file-should-mangle-version
On Mon, May 30, 2016 at 1:41 AM, Roger Shimizu wrote: > I met this false positive message, too. But in different case. > I got the message when debian/watch is like: > > > opts="repack,compression=xz, \ >dversionmangle=s/\+ds\d*$//,repacksuffix=+ds, \ > > > > And lintian is happy when dversionmangle line moves to the 1st line: > > > opts="repack,compression=xz,dversionmangle=s/\+ds\d*$//,repacksuffix=+ds, \ > > This issue got disappeared recently. Maybe lintian already fixed this, after stretch released? Cheers, -- Roger Shimizu, GMT +9 Tokyo PGP/GPG: 4096R/6C6ACD6417B3ACB1
É nessa quarta! | InterCorte Araguaína
18 e 19 de outubro no Parque de Exposições Dair José Lourenço em Araguaína - TO Inscreva-se no site www.intercorte.com.br/araguaina