develooper Front page | perl.perl5.porters | Postings from September 2009

Re: [BUG] Build broken

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
September 29, 2009 08:56
Subject:
Re: [BUG] Build broken
Message ID:
20090929155619.GF60303@plum.flirble.org
On Tue, Sep 29, 2009 at 04:51:12PM +0100, Steve Hay wrote:
> Nicholas Clark wrote on 2009-09-29:
> > On Tue, Sep 29, 2009 at 11:16:42AM -0400, Jerry D. Hedden wrote:
> >> Something's broken in blead:
> >> 
> >> PATH=/link/perl/39445/perl-
> >
> current:.:/home/jhedden/bin:/usr/local/src/perl/bin:/link/work/bin:/usr
> > /local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/Program\
> >> Files/WiX:/c/djgpp/bin:/c/bb/tools/apache-ant-1.6.5/bin:/c/Program\
> >> Files/nant-0.85/bin:/c/bb/tools/jse5/bin:/c/dev-
> >
> cpp/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/system32/WBEM:/c/blp/
> > API/dde:/c/blp/API:/c/oracle/ora92/bin:/c/Program\
> >> Files/Oracle/jre/1.3.1/bin:/c/Program\
> >> Files/Oracle/jre/1.1.8/bin:/c/Program\
> >> Files/Hummingbird/Connectivity/7.10/Accessories:/usr/bin:/c/Program\
> >> Files/Windows\
> > Imaging/:.:/usr/local:/etc:/usr/lib:/lib:/sbin:/usr/sbin
> >>  ./miniperl.exe -Ilib make_ext.pl cpan/Archive-Extract/pm_to_blib
> >> MAKE=make LIBPERL_A=cygperl5_11_0.dll
> >> Can't locate File/Spec/Functions.pm in @INC (@INC contains: cpan/Cwd
> >> lib .) at make_ext.pl line 9.
> >> BEGIN failed--compilation aborted at make_ext.pl line 9.
> >> make: *** [cpan/Archive-Extract/pm_to_blib] Error 2
> > 
> > I suspect that it still works quite nicely on Win32. :-)
> 
> Makes change doesn't it? Me breaking something everywhere else, instead
> of someone else breaking Win32... ;-)

Yes.

> > Should be fixed in e60ffd4f1584916e - test_harness had just been
> > reached when
> > I read your message.
> 
> ...speaking of which: it now doesn't build on Win32!
> 
>         ..\miniperl.exe -I..\lib ..\make_ext.pl "MAKE=nmake -nologo"
> --dir=..\cpan --dir=..\dist --d
> ir=..\ext --nonxs
> C:\gitclients\perl\win32\..\miniperl.exe
> -IC:\gitclients\perl\win32\..\lib C:\gitclients\perl\win32\
> ..\win32\bin\pl2bat.pl C:\gitclients\perl\win32\..\win32\bin\pl2bat.pl
> In C:/gitclients/perl/win32     Making Archive::Extract (all)
> Can't locate File/Spec/Functions.pm in @INC (@INC contains: ../cpan/Cwd
> ../cpan/Cwd/lib ..\lib .) at
>  ..\make_ext.pl line 295.
> NMAKE : fatal error U1077: '..\miniperl.exe' : return code '0x2'
> Stop.

[Rude word deleted. It had 6 letters]

Sorry about that.

So maybe there does need to be a Win32 only require, merely earlier, before
any directory changes. (Reference to the comment in
http://perl5.git.perl.org/perl.git/blob/e60ffd4f1584916e:/make_ext.pl#l290
)

Nicholas Clark

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