develooper Front page | perl.perl5.porters | Postings from April 2013

Re: [perl #115708] Do a better job of escaping components of ldlibpthfor the shell

Thread Previous | Thread Next
From:
Gisle Aas
Date:
April 16, 2013 20:09
Subject:
Re: [perl #115708] Do a better job of escaping components of ldlibpthfor the shell
Message ID:
CAMx+QJ5y591pqA5VOOOnjD5-CMBbPOf-8x1m-3DsuStYfX7ZdQ@mail.gmail.com
I found that this change breaks the -Duseshrplib builds on Solaris.
If I understand correctly the patch assumes that /bin/sh can do $(...)
expansion.  The result is that I end up with a Makefile with this
definition of LDLIBPTH:

  LDLIBPTH = LD_LIBRARY_PATH=$( quote /export/home/gisle/perl )

and a build that aborts with:

  LD_LIBRARY_PATH=  ./perl -f -Ilib pod/buildtoc -q ld.so.1: perl:
fatal: libperl.so: open failed: No such file or directory
  Killed
  make: *** [pod/perltoc.pod] Error 137


On Tue, Nov 13, 2012 at 9:02 AM, Father Chrysostomos via RT
<perlbug-followup@perl.org> wrote:
> On Mon Nov 12 22:09:39 2012, ikegami@adaelis.com wrote:
>> This is a bug report for perl from ikegami@adaelis.com,
>> generated with the help of perlbug 1.39 running under perl 5.10.1.
>>
>>
>> Components of ldlibpth are not properly escaped for the shell. It's
>>    not
>> unusual, for example, for the search path to include "(" and ")" in
>>    cygwin,
>> and this prevents the build. Patch attached.
>
> Thank you.  Applied as 937aac54.
>
> --
>
> Father Chrysostomos
>
>
> ---
> via perlbug:  queue: perl5 status: new
> https://rt.perl.org:443/rt3/Ticket/Display.html?id=115708

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About