Bug#344269: lintian: false executable-not-elf-or-script warning with perl magic header

2006-04-19 Thread Piotr Engelking
I believe that this bug has been resolved incorrectly. Section 10.4 of the Debian Policy says: 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

Bug#344269: lintian: false executable-not-elf-or-script warning with perl magic header

2006-04-19 Thread Russ Allbery
Piotr Engelking [EMAIL PROTECTED] writes: I believe that this bug has been resolved incorrectly. Section 10.4 of the Debian Policy says: All command scripts, including the package maintainer scripts inside the package and used by dpkg, should have a #! line naming the shell to be

Bug#344269: lintian: false executable-not-elf-or-script warning with perl magic header

2005-12-28 Thread Frank Küster
Russ Allbery [EMAIL PROTECTED] wrote: Frank Küster [EMAIL PROTECTED] writes: Err, it only runs without it, but I guess that's because the shebang line should be #!/usr/bin/perl, not #!/bin/sh. Hm, the whole point of that sort of magic is that it's supposed to handle being run under the

Bug#344269: lintian: false executable-not-elf-or-script warning with perl magic header

2005-12-23 Thread Frank Küster
Russ Allbery [EMAIL PROTECTED] wrote: Frank Küster [EMAIL PROTECTED] writes: Russ Allbery [EMAIL PROTECTED] wrote: Frank Küster [EMAIL PROTECTED] writes: eval '(exit $?0)' eval 'exec perl -S $0 ${1+$@}' eval 'exec perl -S $0 $argv:q' if 0; use strict; Is that the first line of the

Bug#344269: lintian: false executable-not-elf-or-script warning with perl magic header

2005-12-23 Thread Russ Allbery
Frank Küster [EMAIL PROTECTED] writes: Err, it only runs without it, but I guess that's because the shebang line should be #!/usr/bin/perl, not #!/bin/sh. Hm, the whole point of that sort of magic is that it's supposed to handle being run under the shell. But indeed I can duplicate this, and

Bug#344269: lintian: false executable-not-elf-or-script warning with perl magic header

2005-12-23 Thread Frank Küster
Russ Allbery [EMAIL PROTECTED] wrote: Well, give that this weird construct works and only works without the shebang line, maybe fixing lintian to recognize it and not complain about it *is* the right thing to do. Although the problem it's addressing seems pretty obscure to me at this point.

Bug#344269: lintian: false executable-not-elf-or-script warning with perl magic header

2005-12-22 Thread Frank Küster
Russ Allbery [EMAIL PROTECTED] wrote: Frank Küster [EMAIL PROTECTED] writes: Package: lintian Version: 1.23.8 Severity: normal Lintian warns about executable-not-elf-or-script on tetex-base's thumbpdf.pl and uniqleaf.pl. Both contain a magic perl header eval '(exit $?0)' eval 'exec

Bug#344269: lintian: false executable-not-elf-or-script warning with perl magic header

2005-12-22 Thread Russ Allbery
Frank Küster [EMAIL PROTECTED] writes: Russ Allbery [EMAIL PROTECTED] wrote: Frank Küster [EMAIL PROTECTED] writes: eval '(exit $?0)' eval 'exec perl -S $0 ${1+$@}' eval 'exec perl -S $0 $argv:q' if 0; use strict; Is that the first line of the file? Generally one still starts such a

Bug#344269: lintian: false executable-not-elf-or-script warning with perl magic header

2005-12-21 Thread Frank Küster
Package: lintian Version: 1.23.8 Severity: normal Lintian warns about executable-not-elf-or-script on tetex-base's thumbpdf.pl and uniqleaf.pl. Both contain a magic perl header eval '(exit $?0)' eval 'exec perl -S $0 ${1+$@}' eval 'exec perl -S $0 $argv:q' if 0; use strict; It should

Bug#344269: lintian: false executable-not-elf-or-script warning with perl magic header

2005-12-21 Thread Russ Allbery
Frank Küster [EMAIL PROTECTED] writes: Package: lintian Version: 1.23.8 Severity: normal Lintian warns about executable-not-elf-or-script on tetex-base's thumbpdf.pl and uniqleaf.pl. Both contain a magic perl header eval '(exit $?0)' eval 'exec perl -S $0 ${1+$@}' eval 'exec perl -S