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

[perl #78066] The commit e55c0a82 for #59650 (File::Copy & objects) fails on cygwin

Thread Next
From:
Tony Cook via RT
Date:
August 22, 2013 05:18
Subject:
[perl #78066] The commit e55c0a82 for #59650 (File::Copy & objects) fails on cygwin
Message ID:
rt-3.6.HEAD-1873-1377148671-1327.78066-15-0@perl.org
On Sun Sep 26 13:37:36 2010, sprout wrote:
> I found this message inside [perl #59650]. It is a separate issue, so
> it gets its own ticket.
> 
> On Sun Jan 17 06:14:35 2010, rurban wrote:
> > The commit e55c0a82 for
> > [perl #59650] File::Copy does not handle file objects sanely
> > Suggested change modified to cope with the hoop-jumping needed to
> keep
> > File::Copy working whilst bootstrapping the core build.
> >
> > which added the lines:
> >
> > # During perl build, we need File::Copy but Scalar::Util might not
> be
> > built yet
> > # And then we need these games to avoid loading overload, as that
> will
> > # confuse miniperl during the bootstrap of perl.
> > my $Scalar_Util_loaded = eval q{ require Scalar::Util; require
> overload;
> > 1 };
> >
> > fails on cygwin since about 5.11.3 with
> >
> > ../../miniperl Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none
> > INSTALLMAN3DIR=none PERL_CORE=1
> LIBPERL_A=cygperl5_11_3d@b595cd4b.dll
> > Importing PAUSE public key into your GnuPG keychain... done!
> > (You may wish to trust it locally with 'gpg --lsign-key 450F89EC')
> > Attempt to reload Scalar/Util.pm aborted.
> > Compilation failed in require at ../../lib/overload.pm line 96.
> > 65280 from cpan/CPAN's Makefile.PL at make_ext.pl line 390.
> >
> > Scalar::Util is required by CPAN even if it cannot be loaded at
> > bootstrap.

I couldn't reproduce this on:

$ uname -a
CYGWIN_NT-6.1-WOW64 phobos 1.7.20(0.266/5/3) 2013-06-07 11:11 i686 Cygwin

I tested blead and v5.11.4.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=78066

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