Subject: | EUMM 7.22.0 t\lib\MakeMaker\Test\Setup\XS.pm |
The following errors occur on Win32 Strawberry-Like Perl Build:
[21:54:15] t/02-xsdynamic.t .......... Bareword "Time" not allowed while "strict subs" in use at lib
/MakeMaker/Test/Setup/XS.pm line 22.
Bareword "Local" not allowed while "strict subs" in use at lib/MakeMaker/Test/Setup/XS.pm line 22.
Compilation failed in require at t/02-xsdynamic.t line 11.
BEGIN failed--compilation aborted at t/02-xsdynamic.t line 11.
[21:54:15] t/02-xsdynamic.t .......... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
[21:54:16] t/03-xsstatic.t ........... Bareword "Time" not allowed while "strict subs" in use at lib
/MakeMaker/Test/Setup/XS.pm line 22.
Bareword "Local" not allowed while "strict subs" in use at lib/MakeMaker/Test/Setup/XS.pm line 22.
Compilation failed in require at t/03-xsstatic.t line 11.
BEGIN failed--compilation aborted at t/03-xsstatic.t line 11.
[21:54:16] t/03-xsstatic.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
Looking at line 22 in lib/MakeMaker/Test/Setup/XS.pm
$typemap =~ s/ //g unless MM->new({NAME=>'name', Time-Local-1.24-0=>1})->can_dep_space;
Time-Local-1.24-0 is not in single quotes.
Changing to:
$typemap =~ s/ //g unless MM->new({NAME=>'name', 'Time-Local-1.24-0'=>1})->can_dep_space;
and both previously failing test pass as expected.
This is a test failure but thought I would report to you.
Summary of my perl5 (revision 5 version 20 subversion 2) configuration:
Platform:
osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread-64int
uname='Win32 perl 5.20.2.1 wxp Sun Apr 26 18:44:42 2015 i386'
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPL
ICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='4.8.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-s -L"E:\usr\lib\CORE" -L"E:\usr\mingw32\lib"'
libpth=E:\usr\mingw32\lib E:\usr\mingw32\i686-w64-mingw32\lib E:\usr\mingw32\lib\gcc\i686-w64-mi
ngw32\4.8.3
libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -
loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -liconv
perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole
32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
libc=, so=dll, useshrplib=true, libperl=libperl520.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"E:\usr\lib\CORE" -L"E:\usr\mingw32\lib"'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE
PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF
Built under MSWin32
Compiled at Feb 21 2015 12:36:01
%ENV:
PERL_CPAN_REPORTER_CONFIG="E:\PerlDev\5.20.2\gcc4\.reporter\config.ini"
PERL_CPAN_REPORTER_DIR="E:\PerlDev\5.20.2\gcc4\.reporter"
PERL_LWP_SSL_VERIFY_HOSTNAME="0"
@INC:
E:/usr/site/lib
E:/usr/vendor/lib
E:/usr/lib
.
--
Regards,
Pete Armstrong
pete.a64@gmail.com