🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4077

Bug#1153665: lintian: debian-watch-not-mangling-version false positive for v5 watch file with Repacksuffix set

#4077
From: Maytham Alsudany
Date: Tue, 10 Nov 2026 22:30
56 lines
3494 bytes
On Tue, 2026-11-10 at 14:00 -0500, Daniel Kahn Gillmor wrote:
> Package: lintian
> Version: 2.143.0
> Severity: normal
> 
> hi there!
> 
> I'm in the process of updating gmime's debian/watch to use version 5.
> 
> gmime uses a repacked tarball to exclude some non-DFSG stuff from the
> build.
> 
> The updated watch file looks like this:
> 
> ```
> Version: 5
> Template: GitHub
> Owner: jstedfast
> Project: gmime
> Repack: yes
> Repacksuffix: +dfsg
> ```
> 
> But lintian warns:
> 
> W: gmime source: debian-watch-not-mangling-version Version: 5\nTemplate: GitHub\nOwner: jstedfast\nProject: gmime\nRepack: yes\nRepacksuffix: +dfsg [debian/watch:6]
> 
> Given that Repacksuffix is set explicitly to +dfsg, i would expect that
> there is no need to also declare some kind of version mangling
> explicitly.

Both uscan v4 and v5 need repacksuffix to be defined, otherwise it will
not remove the suffix when comparing the packaged version to upstream;
this is not a Lintian issue AFAICT. You can add "Dversion-Mangle: auto",
this is what debian-watch(5) manpage suggests.

If you think Dversion-Mangle should automatically be set when
Repacksuffix is defined, that is a feature request for uscan and not a
lintian issue.

> If I do in fact need to apply some version mangling explicitly, please
> reassign this bug report to devscripts and retitle it with a [uscan]
> label, because there should be no need for a duplicative declaration of
> the standard repacking suffix.
> 
> Thanks for maintaining these tools which help make debian packaging more
> robust.
> 
> All the best,
> 
>     --dkg

--
Maytham
Technical Details
Message-ID: <NY2vL-b6jD-19@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <NXZod-b4Cz-5@gated-at.bofh.it> <NXZod-b4Cz-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Maytham Alsudany <maytham@aezign.au>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153665: lintian: debian-watch-not-mangling-version false positive for v5 watch file with Repacksuffix set
Date: Tue, 10 Nov 2026 23:30:01 +0100
Message-ID: <NY2vL-b6jD-19@gated-at.bofh.it>
References: <NXZod-b4Cz-5@gated-at.bofh.it> <NXZod-b4Cz-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov 10 22:21:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.65
Reply-To: Maytham Alsudany <maytham@aezign.au>, 1153665@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: lintian-maint@debian.org
X-Debian-Pr-Message: followup 1153665
X-Debian-Pr-Package: lintian
X-Debian-Pr-Source: lintian
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.62.1-3 
MIME-Version: 1.0
X-Greylist: delayed 492 seconds by postgrey-1.37 at buxtehude; Tue, 10 Nov 2026 22:19:49 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001931
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 56
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 11 Nov 2026 06:11:29 +0800
X-Original-Message-ID: <68057f110c42ca86c3ec0da61d255015eb1c3672.camel@aezign.au>
X-Original-References: <878q30mryv.fsf@fifthhorseman.net> <878q30mryv.fsf@fifthhorseman.net>