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

Bug#632669: marked as done (lintian: no detection of shell-script-fails-syntax-check)



Your message dated Mon, 25 Feb 2019 23:36:29 +0000
with message-id <1551137789.3442380.1663607792.6F1E6AD9@webmail.messagingengine.com>
and subject line Re: lintian: no detection of shell-script-fails-syntax-check
has caused the Debian Bug report #632669,
regarding lintian: no detection of shell-script-fails-syntax-check
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.)


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

Hi,

assuming that there is a python package containing some ksh-scripts which
are started from the python scripts (please don't ask for the purpose of
this, it is an example from real life).
The Build-Depends: of the source packages does not need to contain 'ksh', but only the Depends:-line of the binary package. If I build the package on a system without ksh installed, I get no output from lintian. After I install ksh, the same package produces lots of errors like 'shell-script-fails-syntax-check', which is ok. I admit that it is difficult to make any syntax checks without being able to use the needed shell. But could it be possible to print at least some warning that it is not possible to do this check?

  Thorsten

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii binutils 2.21.52.20110606-2 The GNU assembler, linker and bina ii bzip2 1.0.5-6 high-quality block-sorting file co ii diffstat 1.54-1 produces graph of changes introduc ii file 5.04-5+b1 Determines file type using "magic" ii gettext 0.18.1.1-3 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl       0.1.24+b2          Perl interface to libapt-pkg
ii libclass-accessor-per 0.34-1 Perl module that automatically gen
ii  libdpkg-perl          1.16.0.3           Dpkg perl modules
ii libemail-valid-perl 0.184-1 Perl module for checking the valid ii libipc-run-perl 0.89-1 Perl module for running processes ii libparse-debianchange 1.2.0-1 parse Debian changelogs and output ii libtimedate-perl 1.2000-1 collection of modules to manipulat ii liburi-perl 1.58-1 module to manipulate and access UR ii locales 2.13-8 Embedded GNU C Library: National L
ii  man-db                2.6.0.2-1          on-line manual pager
ii perl [libdigest-sha-p 5.12.4-1 Larry Wall's Practical Extraction
ii  unzip                 6.0-5              De-archiver for .zip files

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
ii dpkg-dev 1.16.0.3 Debian package development tools ii libhtml-parser-perl 3.68-1+b1 collection of modules that parse H
pn  libtext-template-perl         <none>     (no description available)
ii  man-db                        2.6.0.2-1  on-line manual pager
ii xz-utils 5.0.0-2 XZ-format compression utilities

-- no debconf information





--- End Message ---
--- Begin Message ---
Chris Lamb wrote:

> > I admit that it is difficult to make any syntax checks without being able 
> > to use the needed shell. But could it be possible to print at least some 
> > warning that it is not possible to do this check?
> 
> Unfortunately, Lintian has no mechanism for "soft" runtime warnings and I
> can't think of enough justification to add one — it's sub-optimal that we
> differ on output depending on what is installed alongside Lintian *anyway*,
> so such a system would only encourage this further!
> 
> We could, of course, make Lintian itself Depend on ksh, zsh, csh, etc. but,
> well, I hope that speaks for itself. :)

(Closing "wontfix" issue to match other similarly-closed bugs..)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-

--- End Message ---

Reply to: