Subject: | t/xs.t test fails on Strawberry Perl 5.16 |
Date: | Thu, 04 Dec 2014 16:49:36 -0500 |
To: | bug-ExtUtils-MakeMaker [...] rt.cpan.org |
From: | Mike Small <smallm [...] panix.com> |
The 3rd test in t/xs.t fails under Windows 7 64 bit with a 32 bit
Strawberry Perl 5.16:
D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-IIJbHb>
dmake test TEST_FILES=t/xs.t TEST_VERBOSE=1
dmake: makefile: line 408: Warning: -- Ignoring AUGMAKE meta-target
[.NOTPARALLEL] because prerequisites are present.
"D:\usr\strawberry-perl-5.16.3.1-32bit\perl\bin\perl.exe" "-Iblib\arch"
"-Iblib\
lib" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/xs.t
t/xs.t ..
1..5
ok 1 - setup
ok 2 - chdir'd to XS-Test
not ok 3 - Makefile.PL exited with zero
# Failed test 'Makefile.PL exited with zero'
# at t/xs.t line 38.
# got: 65280
# expected: 0
# Tried to use make dependency with space for non-GNU make:
# 'type map'
# Fallback to short pathname failed.
ok 4 # skip perl Makefile.PL failed
ok 5 # skip perl Makefile.PL failed
# Looks like you failed 1 test of 5.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
(less 2 skipped subtests: 2 okay)
If I manually change t\lib\MakeMaker\Test\Setup\XS.pm to remove the
space in 'type map' on line 14 (my $typemap = 'type map';) the tests
succeed.
perl -V
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname='Win32 strawberry-perl 5.16.3.1 #1 Tue Mar 12 13:55:20 2013
i386'
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS
-DPERL_IMPLICIT
_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='4.6.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long
long', lseek
size=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-s
-L"D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib\COR
E" -L"D:\usr\strawberry-perl-5.16.3.1-32bit\c\lib"'
libpth=D:\usr\strawberry-perl-5.16.3.1-32bit\c\lib
D:\usr\strawberry-perl-5.
16.3.1-32bit\c\i686-w64-mingw32\lib
libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi32
-lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm
-lversion
-lodbc32 -lodbccp32 -lcomctl32
perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool
-lcomdlg32 -ladva
pi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr
-lwinmm -lver
sion -lodbc32 -lodbccp32 -lcomctl32
libc=, so=dll, useshrplib=true, libperl=libperl516.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s
-L"D:\usr\strawberry-perl-5.16.3.1-32bit
\perl\lib\CORE" -L"D:\usr\strawberry-perl-5.16.3.1-32bit\c\lib"'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV
PL_OP_SLAB_ALLOC
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 Mar 12 2013 14:01:07
%ENV:
PERL5_CPANPLUS_IS_RUNNING="6184"
PERL5_CPAN_IS_RUNNING="6184"
@INC:
D:/usr/strawberry-perl-5.16.3.1-32bit/perl/site/lib
D:/usr/strawberry-perl-5.16.3.1-32bit/perl/vendor/lib
D:/usr/strawberry-perl-5.16.3.1-32bit/perl/lib
.
--
Mike Small
smallm@panix.com