On Tue, 13 Nov 2018 10:41:34 +0000, Simon McVittie wrote:

> * Have two systems/chroots/containers, one with merged /usr (/bin is a
>   symlink to /usr/bin) and one without
> * Build libapp-options-perl on the first system
> * Install it on the second system and use /usr/bin/prefix
> 
> Expected result:
> 
> * prefix is a #!/bin/bash script and works correctly
> 
> Actual result:
> 
> * prefix is a #!/usr/bin/bash script and won't start on non-merged-/usr
>   systems

Ouch, that's nasty.
Thanks for this report.
 
> I don't know what part of the build rewrites that first line or how to
> fix it. Please reassign this bug if it's really a bug in generic Perl
> build infrastructure.

I don't see anything in the package; my hunch is that
ExtUtil::MakeMaker (ExtUtils::MM_Unix and _fixin_replace_shebang())
does this rewriting. If this is correct we have a problem in all
packages using EUMM and shipping scripts (and also in third-party
code probably).
 

Cheers,
gregor; CC'ing the experts :)

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Der Junge mit der Gitarre: Das Rauschen (Hidden Track) Gott ist gut

Attachment: signature.asc
Description: Digital Signature

Reply via email to