develooper Front page | perl.perl5.porters | Postings from March 2019

Re: [perl #133951] 5.28+ fails to build: miniperl can't locatestrict

Thread Previous | Thread Next
From:
Richard Leach
Date:
March 26, 2019 00:17
Subject:
Re: [perl #133951] 5.28+ fails to build: miniperl can't locatestrict
Message ID:
CADWSe2dBWCxY0o22U1T=qo=8A0c8Geaon4gEHNS-qW_qj_aj6Q@mail.gmail.com
On Sun, Mar 24, 2019 at 7:12 PM Eric Brine <ikegami@adaelis.com> wrote:
>
> Confirmed that the call to Cwd::getcwd() in write_buildcustomize.pl returns undef, causing the subsequent calls to miniperl to fail.

Same problem in https://rt.perl.org/Public/Bug/Display.html?id=133787.
Sticking plaster fix to write_buildcustomize.pl seems to be:

-my $cwd  = Cwd::getcwd();
+my $cwd  = Cwd::getcwd() || Cwd::cwd();

But (1) a bodge fix is all that is (2) the same issue might be
involved in the as-yet unresolved remaining problems in RT133787 - and
so later on in your build process too (3) likely other problems
downstream when not running as root.

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