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

Bug#904414: marked as done (lintian: check for Perl scripts with a shebang not using /usr/bin/perl (Policy 10.4))



Your message dated Wed, 25 Jul 2018 12:49:16 +0000
with message-id <E1fiJEC-000I9M-Lr@fasolo.debian.org>
and subject line Bug#904414: fixed in lintian 2.5.94
has caused the Debian Bug report #904414,
regarding lintian: check for Perl scripts with a shebang not using /usr/bin/perl (Policy 10.4)
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.)


-- 
904414: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904414
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.93
Severity: wishlist

Debian Policy 10.4 states:

   All command scripts, including the package maintainer scripts inside
   the package and used by dpkg, should have a #! line naming the shell
   to be used to interpret them.

   In the case of Perl scripts this must be #!/usr/bin/perl.

It would be nice if lintian could detect scripts that are Perl scripts
(text/x-perl MIME type or "Perl script text executable" file type) but
do not use the /usr/bin/perl binary in the shebang. While arguments in
shebangs are usually a bad idea, lintian should accept them here:

Debian Policy 10.4 compliant:

#!/usr/bin/perl
#!/usr/bin/perl -T
#! /usr/bin/perl
#! /usr/bin/perl -T

Not Debian Policy 10.4 compliant:

#!/usr/bin/env perl
#!/usr/local/bin/perl

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

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

Versions of packages lintian depends on:
ii  binutils                       2.31.1-1
ii  bzip2                          1.0.6-8.1
ii  diffstat                       1.61-1+b1
ii  dpkg                           1.19.0.5+b1
ii  file                           1:5.33-3
ii  gettext                        0.19.8.1-6+b1
ii  intltool-debian                0.35.0+20060710.4
ii  libapt-pkg-perl                0.1.34
ii  libarchive-zip-perl            1.60-1
ii  libclass-accessor-perl         0.51-1
ii  libclone-perl                  0.39-1
ii  libdpkg-perl                   1.19.0.5
ii  libemail-valid-perl            1.202-1
ii  libfile-basedir-perl           0.08-1
ii  libipc-run-perl                20180523.0-1
ii  liblist-moreutils-perl         0.416-1+b3
ii  libparse-debianchangelog-perl  1.2.0-12
ii  libtext-levenshtein-perl       0.13-1
ii  libtimedate-perl               2.3000-2
ii  liburi-perl                    1.74-1
ii  libxml-simple-perl             2.25-1
ii  libyaml-libyaml-perl           0.69+repack-1
ii  man-db                         2.8.3-2
ii  patchutils                     0.3.4-2
ii  perl [libdigest-sha-perl]      5.26.2-6
ii  t1utils                        1.41-2
ii  xz-utils                       5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1+b4

Versions of packages lintian suggests:
ii  binutils-multiarch     2.31.1-1
ii  dpkg-dev               1.19.0.5
ii  libhtml-parser-perl    3.72-3+b2
ii  libtext-template-perl  1.53-1

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

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


--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.5.94

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 904414@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 25 Jul 2018 12:11:14 +0000
Source: lintian
Binary: lintian
Architecture: source all
Version: 2.5.94
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
 lintian    - Debian package checker
Closes: 872611 904140 904414 904420 904522
Changes:
 lintian (2.5.94) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - spelling-error-in-rules-requires-root
     + Renamed:
       - missing-depends-on-sensible-utils =>
         script-needs-depends-on-sensible-utils
 .
   * checks/control-file.desc:
     + [CL] Raise the severity of the debian-control-has-empty-field tag
       from "P:" to "I:" and explicitly test the "whitespace" cases.
       (Closes: #904420)
     + [CL] Warn about mispellings of Rules-Requires-Root.  Thanks to Axel
       Beckert for the idea.  (Closes: #904522)
   * checks/cruft.{desc,pm}:
     + [CL] Correctly warn about packages using sensible-utils without a
       relationship by checking all files instead of just maintainer
       scripts.  Thanks to Guillem Jover.  (Closes: #872611)
   * checks/scripts.pm:
     + [CL] Policy 10.4 states that Perl scripts must use /usr/bin/perl
       directly and not via /usr/bin/env, etc.  (Closes: #904414)
 .
   * data/scripts/interpreters:
     + [CL] Add the Julia language as a known interpreter via
       #!/usr/bin/julia.  (Closes: #904140)
   * data/spelling/corrections:
     + [PW] Add a number of corrections.
Checksums-Sha1:
 d62616b39cb4daf764c159cba6934d5eea5e561a 3511 lintian_2.5.94.dsc
 e9b047a0c5b736fe82cc63fb103c0975b74517e0 1569680 lintian_2.5.94.tar.xz
 5d68df1ebfaceed03df82e812ee577c42a414a3d 1126888 lintian_2.5.94_all.deb
 0d8be5bc4f737d284a84cf189f2ffafb71561662 16261 lintian_2.5.94_amd64.buildinfo
Checksums-Sha256:
 528bf0f8790b97f5dcbcb7cb9468c0a8d32bfe1bcb337eff1ad662995d992cbf 3511 lintian_2.5.94.dsc
 f885f4de8b4a6877e311dc3fa175e32b761a9bd11b272b4d33a14ce1b78a4652 1569680 lintian_2.5.94.tar.xz
 1b63311990c307ef9546a214b5c982bd1ba3c9807833dd804cdb4f9d17369b62 1126888 lintian_2.5.94_all.deb
 5a4699b94f8aa822459f3aa1624d57486c7aef07b1d4056243649b3a14bae60a 16261 lintian_2.5.94_amd64.buildinfo
Files:
 7b7d4a41bc9fc3d5c60a39aff86319a8 3511 devel optional lintian_2.5.94.dsc
 3ca9beac0b504a4c6c06223fd99cba1b 1569680 devel optional lintian_2.5.94.tar.xz
 98a3c5f40e248c07430ab7e1d1aaefd0 1126888 devel optional lintian_2.5.94_all.deb
 be27bafdf25d3cff90c0bfa4709bdcff 16261 devel optional lintian_2.5.94_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAltYbhwACgkQHpU+J9Qx
HljczA//ZCCl9bvYqh3kBQhsHrNpe+7BMdko/BuyLR2UOvfBtdBlR4IzYqPBE04I
+t8qPd2BX66yEwJIdgAC2zQrf9hD87CBhR4zrmehBcDj+yxDUj6By+PAbmdYvQVT
YnGc5uQWskBK1d3XDuKX58iW6R1mGyoU3yaOhUwUAnfITiZ6EbeuLlD2D89YniF6
ixGYiqYlu7aHQsezlKYI65+QppwAg057dMrcbRjt357LnsEOCh5Ym9KKFF02TtAV
ti/tbrAJOxOkua6MBMpcLRA23Bz5B48OfN3OghUnq5baS33rIQN1S0VWUpS9KoED
tsR5Hz8DCplFg50B+pu2JNqgzAfkBU1Dh1ca0TDTRAzyVfcXscpYUapVp/uv09jb
NFlq8RSK2qXjzKEOq29CRwXjVLAuA00I3AUX0sOgzl8oOgb9sMeYpAhYvvTN8WyG
3fkRhdraVm04sd//QReJXVUSk7aQn4s8Wr8clxiJmXSYa+8tP7nOXpZOkzkmtYxa
QWxXgIDmGE0kCGRpNjhdrfKJmVZkcrDV2dY97Sbh68WAC2gvMYBbKmmUGbdPmtNt
TIJ9/nsUpbOWqOO0JASmAzzfeYj7auCzxc7bVZNkDCejcQsR95QgSsuvwS+4sL9n
pLTlAAiISsCjNhv6sp4aX/+k6GovoPo0F4u4cau5WDHHJA601a8=
=ldOE
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: