🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1154294: lintian: debian-rules-contains-unnecessary-get-orig-source-target misses uscan prefixed with "-" or "@"

#4953
From: Emmanuel Bourg
Date: Wed, 18 Nov 2026 15:50
35 lines
2753 bytes
Package: lintian
Version: 2.144.0
Severity: minor

Hi,

The debian-rules-contains-unnecessary-get-orig-source-target tag is not 
emitted when the uscan command in the get-orig-source target is prefixed 
with a make command modifier ("-", "@" or "+").

For example bsh 2.0b4-22 has:

     get-orig-source:
           -uscan --download-current-version --force-download --rename 
--repack

and lintian doesn't report it.

The check in lib/Lintian/Check/Debian/Rules.pm only accepts whitespace 
before uscan:

     if any { m/^\s+uscan\b/ } @{$rules_per_target{'get-orig-source'}};

Allowing the modifiers would catch these targets:

     if any { m/^\s+[-@+]*uscan\b/ } 
@{$rules_per_target{'get-orig-source'}};


At least 13 source packages have a "-uscan" call in the get-orig-source 
target: audit, bsh, clirr, fpc, jcifs, jmock, libjgoodies-forms-java, 
libregexp-java, libstax-java, libxpp3-java, maven, mockobjects and nitime.


Emmanuel Bourg
Technical Details
Message-ID: <O0Q53-cIdk-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Emmanuel Bourg <ebourg@apache.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154294: lintian: debian-rules-contains-unnecessary-get-orig-source-target misses uscan prefixed with "-" or "@"
Date: Wed, 18 Nov 2026 16:50:01 +0100
Message-ID: <O0Q53-cIdk-5@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 18 15:47:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -9.251
Reply-To: Emmanuel Bourg <ebourg@apache.org>, 1154294@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: lintian-maint@debian.org
X-Debian-Pr-Message: report 1154294
X-Debian-Pr-Package: lintian
X-Debian-Pr-Source: lintian
Authentication-Results: apache.org; auth=none
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.15.1
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003293
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 35
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 18 Nov 2026 16:43:59 +0100
X-Original-Message-ID: <d63deae4-b8b3-8281-76cd-3caddbf0ecc7@apache.org>