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

Bug#857425: lintian: unusual-interpreter ("#!/bin/false" in perl module)



notforwarded 857425
stop

On 10.03.2017 23:59, Hilmar Preuße wrote:

Hi *,

> This bug is valid for 6.3.0.dfsg.1-1 and found in upstream package.
> I'll forward to upstream ASAP. We have a lot of perl modules, where
> #!/bin/false is set as interpreter. This looks at least uncommon to
> me.
> 
I got a reply from upstream:

"I can't say for certain why it begins with the line "#! /bin/false",
but I would guess that it is because these files are not supposed to be
run as executable files; they are only supposed to be used as Perl
modules. This file is from a version of the libintl-perl library which
was copied into the Texinfo project, and does not originate with Texinfo."

Indeed I installed libintl-perl and did a

diff -urN /usr/share/perl5/Locale/RecodeData/
/usr/share/texinfo/lib/libintl-perl/lib/Locale/RecodeData/ > code.txt

The difference is technically identical, i.e. what the code does. Only
differences are some copyright statements. Same for
/usr/share/perl5/Locale/Recode/, not sure about the complete subdir
/usr/share/perl5/Locale/

Bets solution IMHO would be to remove the code from our package, replace
the subdirs by sym links and declare a dep on libintl-perl.

Hilmar
-- 
http://www.hilmar-preusse.de.vu/   #206401 http://counter.li.org


Reply to: