🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#997911: Not reproducible with latest lintian

#3747
From: Nilesh Patra
Date: Sun, 08 Nov 2026 07:40
58 lines
4764 bytes
On 08/11/26 4:49 am, Subin wrote:
> I was triaging through lintian tagged bugs and came across this. I 
> locally ran lintian (master branch from salsa) on nvidia-graphics-driver 
> and this false positive is not showing up anymore even though 
> debian/bug-script still has the following string:
> 
>      "<<<<<<<<<< $file >>>>>>>>>>"
> 
> UDD's lintian also doesn't show this false positive anymore: 
> https://udd.debian.org/lintian/?packages=nvidia-graphics-drivers
> 
> So I believe this bug can be closed.

Thank you so much for trying to help. However, the analysis is wrong. I checked
the code in question which has no fix for this since 2021.

What "fixed" it was a seemingly incorrect fix for #999756 in https://salsa.debian.org/lintian/lintian/-/commit/2bb5c6a905
which starts to ignore things after `exec`. Sure enough, the bug-script has an "exec >&3" line here

https://salsa.debian.org/nvidia-team/nvidia-graphics-drivers/-/blob/550/debian/bug-script?ref_type=heads#L7

And hence the entire thing after that started to be ignored. If I make the following changes and run lintian again
I see the issue once again:

| $ git --no-pager diff
| diff --git a/lib/Lintian/Check/Shell/NonPosix/BashCentric.pm b/lib/Lintian/Check/Shell/NonPosix/BashCentric.pm
| index 024ea6a1f..ac66d68a2 100644
| --- a/lib/Lintian/Check/Shell/NonPosix/BashCentric.pm
| +++ b/lib/Lintian/Check/Shell/NonPosix/BashCentric.pm
| @@ -203,8 +203,8 @@ sub check_bash_centric {
|         $stashed = $EMPTY;
| 
|         # see Bug#999756 and tclsh(1)
| -        last
| -          if $line =~ m{^ exec \s }x;
| +       # last
| +       #   if $line =~ m{^ exec \s }x;
| 
|          my $pointer = $item->pointer($position);
|
| $ bin/lintian /tmp/h/libcuda1_550.163.01-6_amd64.deb --display-info
| E: libcuda1: alien-tag binary-file-built-without-LFS-support [usr/share/lintian/overrides/libcuda1:2]
| I: libcuda1: bash-term-in-posix-shell '<<<' [usr/share/bug/libcuda1/script:126]
| I: libcuda1: bash-term-in-posix-shell '<<<' [usr/share/bug/libcuda1/script:134]

There is aflplusplus package for instance which does not have `exec` and output this false-positive diagnostic.

https://udd.debian.org/lintian/?email1=&email2=&email3=&packages=aflplusplus&ignpackages=&format=html&lt_error=on&lt_warning=on&lt_information=on&lintian_tag=#all

aflplusplus	5.03c-1 (forky sid)	afl++/5.03c-1	information	bash-term-in-posix-shell	8	'<<<' [usr/bin/afl-whatsup:226]

So the bug is still present. Patches to fix that are welcome.

As for the false diagnostic of skipping everything after `exec` which is too-simplistic and becomes wrong, I've opened an MR https://salsa.debian.org/lintian/lintian/-/merge_requests/829
to fix that.

Thanks again,
Nilesh
Technical Details
Message-ID: <NX5Fn-azJa-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <DcEFX-2d0-1@gated-at.bofh.it> <NWYDT-av5v-1@gated-at.bofh.it> <DcEFX-2d0-1@gated-at.bofh.it> <NWYDT-av5v-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Nilesh Patra <nilesh@mailbox.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#997911: Not reproducible with latest lintian
Date: Sun, 08 Nov 2026 08:40:01 +0100
Message-ID: <NX5Fn-azJa-1@gated-at.bofh.it>
References: <DcEFX-2d0-1@gated-at.bofh.it> <NWYDT-av5v-1@gated-at.bofh.it> <DcEFX-2d0-1@gated-at.bofh.it> <NWYDT-av5v-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov  8 07:30:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Nilesh Patra <nilesh@mailbox.org>, 997911@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: lintian-maint@debian.org
X-Debian-Pr-Message: followup 997911
X-Debian-Pr-Package: lintian
X-Debian-Pr-Source: lintian
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Mbo-Rs-Meta: bdma5u1azd1yha5noepaacrmt8wfcg33
X-Mbo-Rs-ID: 159d92516693fadfd9c
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001401
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 58
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 8 Nov 2026 12:55:35 +0530
X-Original-Message-ID: <f0f02bc5-7523-4b9c-b9e1-dced798d9b4e@mailbox.org>
X-Original-References: <163529260680.32750.10096493685938224469.reportbug@zam504.zam.kfa-juelich.de> <d898a6ae-c1aa-468c-8e44-fef6bf290efa@subinsb.com> <163529260680.32750.10096493685938224469.reportbug@zam504.zam.kfa-juelich.de> <d898a6ae-c1aa-468c-8e44-fef6bf290efa@subinsb.com>