🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Emmanuel Bourg Wed, 18 Nov 2026 15:50
Bug#1154294: lintian: debian-rules-contains-unnecessary-get-orig-source-target misses uscan prefixed with "-" or "@"
#4953
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads