Bug#598546: lintian: unsubstituted #!perl

2015-02-21 Thread Kevin Ryde
close 598546 thanks I think my conclusion was that anything anywhere with the executable bit could be checked against an obviously wrong #!, but libbit-vector-perl which was the original motivation has got better by itself and there's nothing else bad among the packages I have installed. -- To

Bug#598546: lintian: unsubstituted #!perl

2011-03-01 Thread Kevin Ryde
Raphael Geissert geiss...@debian.org writes: You would need -I, Ah yes. severity I think that check, or a part of it, should be at the normal severity level. If an example script has the execute bit set, but the #! interpreter is something obviously wrong like #!/usr/local/perl or #!perl,

Bug#598546: lintian: unsubstituted #!perl

2011-03-01 Thread Russ Allbery
Kevin Ryde use...@zip.com.au writes: I think I'd extend that rule to scripts anywhere with an execute bit set, to catch errors maybe in /usr/lib/foo scripts or wherever. Unfortunately, people love shipping libraries with a #! line, so we get false positives from that. Hmm, so a script in

Bug#598546: lintian: unsubstituted #!perl

2011-03-01 Thread Kevin Ryde
Russ Allbery r...@debian.org writes: Kevin Ryde use...@zip.com.au writes: /usr/lib/foo scripts Unfortunately, people love shipping libraries with a #! line, so we get false positives from that. Oh, yes, I meant more /usr/lib/mypackage/foo.sh or something like that, or I suppose

Bug#598546: lintian: unsubstituted #!perl

2011-02-19 Thread Kevin Ryde
Raphael Geissert geiss...@debian.org writes: example-wrong-path-for-interpreter The very example you mentioned is already reported by lintian: ./usr/share/doc/libbit-vector-perl/examples/primes.pl (#!perl != /usr/bin/perl) Doesn't work for me, lintian libbit-vector-perl_7.1-1_i386.deb

Bug#598546: lintian: unsubstituted #!perl

2011-02-19 Thread Raphael Geissert
On Saturday 19 February 2011 18:47:11 Kevin Ryde wrote: Doesn't work for me, lintian libbit-vector-perl_7.1-1_i386.deb You would need -I, since it is a tag of a different severity (because it is under examples/). Could you please verify if that works? (if it doesn't there's a bug) It

Bug#598546: lintian: unsubstituted #!perl

2011-02-18 Thread Raphael Geissert
Hi, Kevin Ryde wrote: Lintian could helpfully report when an executable script contains #!perl, since it won't run. [...] I would go further in fact and report /usr/share/doc/*/examples/* files which start #!perl too, executable or not, as an apparently unsubstituted MakeMaker form which

Bug#598546: lintian: unsubstituted #!perl

2010-09-29 Thread Kevin Ryde
Package: lintian Version: 2.4.3 Severity: wishlist In a perl script a #!perl is supposed to be substituted by ExtUtils::MakeMaker, becoming the installed /usr/bin/perl, /usr/local/bin/perl, or whatever. Lintian could helpfully report when an executable script contains #!perl, since it won't run.