[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#844124: marked as done (linux-vyatta-kbuild-4.9: Lintian error: wrong-path-for-interpreter)



Your message dated Fri, 30 Apr 2021 14:53:41 +0200
with message-id <YIv91VrCZeNnRbuv@eldamar.lan>
and subject line Re: Bug#844124: linux-vyatta-kbuild-4.9: Lintian error: wrong-path-for-interpreter
has caused the Debian Bug report #844124,
regarding linux-vyatta-kbuild-4.9: Lintian error: wrong-path-for-interpreter
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 owner@bugs.debian.org
immediately.)


-- 
844124: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844124
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-vyatta-kbuild-4.9
Severity: normal
Tags: patch

Dear Maintainers,

A new script in 4.9, shipped in linux-vyatta-kbuild-4.9, uses /bin/awk
as shebang but in Debian the path is /usr/bin/awk, which triggers a
Lintian error.
Small patch to fix attached.

Thank you!

Kind regards,
Luca Boccassi

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable'), (104, 'testing'), (103, 'unstable'), (102, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

From d98b01cff054bff2e60e08411eddf6887c77838a Mon Sep 17 00:00:00 2001
From: Luca Boccassi <lboccass@brocade.com>
Date: Sat, 12 Nov 2016 17:59:44 +0000
Subject: [PATCH] Fix shebang of ver_linux to fix L:E

E: linux-vyatta-kbuild-4.9: wrong-path-for-interpreter
 usr/lib/linux-kbuild-4.9/scripts/ver_linux (#!/bin/awk != /usr/bin/awk)
---
 debian/patches/bugfix/all/ver_linux_interpreter.patch | 8 ++++++++
 debian/patches/series                                 | 1 +
 2 files changed, 9 insertions(+)
 create mode 100644 debian/patches/bugfix/all/ver_linux_interpreter.patch

diff --git a/debian/patches/bugfix/all/ver_linux_interpreter.patch b/debian/patches/bugfix/all/ver_linux_interpreter.patch
new file mode 100644
index 0000000..e84561b
--- /dev/null
+++ b/debian/patches/bugfix/all/ver_linux_interpreter.patch
@@ -0,0 +1,8 @@
+--- a/scripts/ver_linux
++++ b/scripts/ver_linux
+@@ -1,4 +1,4 @@
+-#!/bin/awk -f
++#!/usr/bin/awk -f
+ # Before running this script please ensure that your PATH is
+ # typical as you use for compilation/installation. I use
+ # /bin /sbin /usr/bin /usr/sbin /usr/local/bin, but it may
diff --git a/debian/patches/series b/debian/patches/series
index c5d0919..0278e13 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -120,3 +120,4 @@ bugfix/all/liblockdep-enable-wall-by-default.patch
 bugfix/all/liblockdep-fix-unused-value-warnings.patch
 bugfix/all/liblockdep-fix-set-but-not-used-warnings.patch
 bugfix/all/liblockdep-fix-defined-but-not-used-warning-for-init.patch
+bugfix/all/ver_linux_interpreter.patch
-- 
2.1.4

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: linux
Source-Version: 4.12.2-1~exp1

Hi,

On Sat, Nov 12, 2016 at 06:38:14PM +0000, Luca Boccassi wrote:
> Package: linux-vyatta-kbuild-4.9
> Severity: normal
> Tags: patch
> 
> Dear Maintainers,
> 
> A new script in 4.9, shipped in linux-vyatta-kbuild-4.9, uses /bin/awk
> as shebang but in Debian the path is /usr/bin/awk, which triggers a
> Lintian error.
> Small patch to fix attached.

This was fixed upstream in 8af11c1cdd8f ("ver_linux: Use /usr/bin/awk
instead of /bin/awk") and included in Debian starting in
4.12.2-1~exp1.

Regards,
Salvatore

--- End Message ---

Reply to: