Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 100707
Status: resolved
Worked: 55 min
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: ETJ [...] cpan.org
Requestors: smallm [...] panix.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
I just tried this with ActivePerl 5.18, dmake reporting version 4.12, and it worked fine. Which dmake are you using?
Subject: Re: [rt.cpan.org #100707] t/xs.t test fails on Strawberry Perl 5.16
Date: Wed, 10 Dec 2014 10:26:31 -0500
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Mike Small <smallm [...] panix.com>
"Ed J via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org> writes: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=100707 > > > I just tried this with ActivePerl 5.18, dmake reporting version 4.12, and it worked fine. Which dmake are you using?
D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-waYR3r>dmake -V dmake - Version 4.12 (Windows / MinGW) Copyright (c) 1990,...,1997 by WTI Corp. Default Configuration: MAXLINELENGTH := 32766 MAXPROCESSLIMIT := 64 .IMPORT .IGNORE: DMAKEROOT .MAKEFILES : makefile.mk makefile .SOURCE : .NULL DMAKEROOT *= $(ABSMAKECMD:d)startup MAKESTARTUP := $(DMAKEROOT)\startup.mk It's the only dmake on the machine, though I have cygwin and git's bash also providing other unix utilities/shells. However, I am running cpan from a vanilla cmd.exe, not one of those bash's, when I see the failure. Git and cygwin directories are later in my path than Strawberry Perl's. I tried changing my PATH to only include the Strawberry directories and still saw the same test failure.
Mike, Do you have easy access to and familiarity with git? If so, could you please try EUMM's git latest + this PR: https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/179 and see if the tests pass? The XS tests have changed a little. Thanks, Ed J
Subject: Re: [rt.cpan.org #100707] t/xs.t test fails on Strawberry Perl 5.16
Date: Mon, 22 Dec 2014 17:51:03 -0500
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Mike Small <smallm [...] panix.com>
"Ed J via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org> writes: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=100707 > > > Mike, > > Do you have easy access to and familiarity with git? If so, could you > please try EUMM's git latest + this PR: > https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/179 and > see if the tests pass? The XS tests have changed a little. > > Thanks, > Ed J
Well, I'm not great with git, but I've tried. The following shows what I did, resulting in a similar failure with the reorganized and expanded tests. D:\usr\src\Perl>git clone https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker ... D:\usr\src\Perl\ExtUtils-MakeMaker>git fetch origin pull/179/head:pr179 D:\usr\src\Perl\ExtUtils-MakeMaker>git checkout pr179 Switched to branch 'pr179' D:\usr\src\Perl\ExtUtils-MakeMaker>git log -1 WARNING: terminal is not fully functional commit 776426b98330c00d11281fbae54518d8540c2465 Author: Ed J <mohawk2@users.noreply.github.com> Date: Mon Dec 22 05:27:55 2014 +0000 Test, fix Mkbootstrap functionality - fix RT 6176 D:\usr\src\Perl\ExtUtils-MakeMaker>perl Makefile.PL Using included version of CPAN::Meta::Requirements (2.130) as it is newer than the installed version (2.128). Using included version of ExtUtils::Manifest (1.65) as it is newer than the installed version (1.61). Using included version of JSON::PP (2.27203) as it is newer than the installed version (2.27200). Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for ExtUtils::MakeMaker Writing MYMETA.yml and MYMETA.json D:\usr\src\Perl\ExtUtils-MakeMaker>dmake dmake: makefile: line 342: Warning: -- Ignoring AUGMAKE meta-target [.NOTPARALLEL] because prerequisites are present. cp inc/ExtUtils/Manifest.pm blib\lib\ExtUtils\Manifest.pm cp lib/ExtUtils/MM_OS2.pm blib\lib\ExtUtils\MM_OS2.pm cp lib/ExtUtils/MM_Unix.pm blib\lib\ExtUtils\MM_Unix.pm cp lib/ExtUtils/MM.pm blib\lib\ExtUtils\MM.pm ... cp lib/ExtUtils/MY.pm blib\lib\ExtUtils\MY.pm cp lib/ExtUtils/MakeMaker/Locale.pm blib\lib\ExtUtils\MakeMaker\Locale.pm "D:\usr\strawberry-perl-5.16.3.1-32bit\perl\bin\perl.exe" "-Iblib\arch" "-Iblib\ lib" -MExtUtils::Command -e cp -- bin/instmodsh blib\script\instmodsh pl2bat.bat blib\script\instmodsh D:\usr\src\Perl\ExtUtils-MakeMaker>dmake test dmake: makefile: line 342: 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(0, 'blib\lib', 'blib\arch')" t/*.t t/00compile.t ............. ok t/01perl_bugs.t ........... ok t/02-xsdynamic.t .......... 1/30 # Failed test 'Makefile.PL exited with zero' # at lib//MakeMaker/Test/Setup/XS.pm line 216. # got: 65280 # expected: 0 # Tried to use make dependency with space for non-GNU make: # 'type map' # Fallback to short pathname failed. # Failed test 'Makefile.PL exited with zero' # at lib//MakeMaker/Test/Setup/XS.pm line 216. # got: 65280 # expected: 0 # Tried to use make dependency with space for non-GNU make: # 'type map' # Fallback to short pathname failed. # Generating a dmake-style Makefile # Writing Makefile for XS::Other # Writing MYMETA.yml and MYMETA.json # Failed test 'Makefile.PL exited with zero' # at lib//MakeMaker/Test/Setup/XS.pm line 216. # got: 65280 # expected: 0 # Tried to use make dependency with space for non-GNU make: # 'type map' # Fallback to short pathname failed. # Generating a dmake-style Makefile # Writing Makefile for XS::Other # Writing MYMETA.yml and MYMETA.json t/02-xsdynamic.t .......... 21/30 # Failed test 'Makefile.PL exited with zero' # at lib//MakeMaker/Test/Setup/XS.pm line 216. # got: 65280 # expected: 0 # Tried to use make dependency with space for non-GNU make: # 'type map' # Fallback to short pathname failed. # Generating a dmake-style Makefile # Writing Makefile for XS::Other # Writing MYMETA.yml and MYMETA.json # Failed test 'Makefile.PL exited with zero' # at lib//MakeMaker/Test/Setup/XS.pm line 216. # got: 65280 # expected: 0 # Tried to use make dependency with space for non-GNU make: # 'type map' # Fallback to short pathname failed. # Looks like you failed 5 tests of 30. t/02-xsdynamic.t .......... Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/30 subtests (less 10 skipped subtests: 15 okay) t/03-xsstatic.t ........... skipped: MSWin32 t/arch_check.t ............ ok t/backwards.t ............. ok [... other tests pass ...] t/test_boilerplate.t ...... ok t/testlib.t ............... ok t/unicode.t ............... ok t/VERSION_FROM.t .......... ok t/vstrings.t .............. ok t/WriteEmptyMakefile.t .... ok t/writemakefile_args.t .... ok Test Summary Report ------------------- t/02-xsdynamic.t (Wstat: 1280 Tests: 30 Failed: 5) Failed tests: 3, 9, 15, 21, 27 Non-zero exit status: 5 t/pm_to_blib.t (Wstat: 0 Tests: 14 Failed: 0) TODO passed: 10-11 Files=64, Tests=1162, 87 wallclock secs ( 0.25 usr + 0.13 sys = 0.38 CPU) Result: FAIL Failed 1/64 test programs. 5/1162 subtests failed. dmake: Error code 255, while making 'test_dynamic'
Thanks for trying this, looks like it's not anything the PR fixes! Returning to your version 7.04 without the PR applied, could you help me debug this by applying the attached patch? Then I'd need you to do these commands, and post here with the (cut down for long dir listings) output: perl Makefile.PL dmake & call prove.bat -bv t\xs* cd t\XS-Test perl -I../../lib Makefile.PL Thanks.
Subject: p.txt
diff --git a/lib/ExtUtils/MM_Win32.pm b/lib/ExtUtils/MM_Win32.pm index acbc266..1831762 100644 --- a/lib/ExtUtils/MM_Win32.pm +++ b/lib/ExtUtils/MM_Win32.pm @@ -434,9 +434,13 @@ sub can_dep_space { sub quote_dep { my ($self, $arg) = @_; +use Cwd; warn "now looking at ($arg) in: ", getcwd; +(my $temp = $arg) =~ s#/#\\#g; +system qq{dir "$temp"}; if ($arg =~ / / and not $self->is_make_type('gmake')) { require Win32; $arg = Win32::GetShortPathName($arg); +warn "short arg is ($arg)"; die <<EOF if not defined $arg or $arg =~ / /; Tried to use make dependency with space for non-GNU make: '$arg' diff --git a/t/xs.t b/t/xs.t index cdeb6dd..2b1b74f 100644 --- a/t/xs.t +++ b/t/xs.t @@ -27,7 +27,7 @@ $| = 1; ok( setup_xs(), 'setup' ); END { chdir File::Spec->updir or die; - teardown_xs(), 'teardown' or die; +# teardown_xs(), 'teardown' or die; } ok( chdir('XS-Test'), "chdir'd to XS-Test" ) ||
Subject: Re: [rt.cpan.org #100707] t/xs.t test fails on Strawberry Perl 5.16
Date: Tue, 23 Dec 2014 15:46:47 -0500
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Mike Small <smallm [...] panix.com>
"Ed J via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org> writes: Show quoted text
> Returning to your version 7.04 without the PR applied, could you help > me debug this by applying the attached patch? Then I'd need you to do
I'm away from that machine for a week, but I'll try to do it on Monday or Tuesday.
It would really help to track this down if you could have a go with the patch and let me know the results?
Subject: Re: [rt.cpan.org #100707] t/xs.t test fails on Strawberry Perl 5.16
Date: Mon, 05 Jan 2015 12:51:28 -0500
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Mike Small <smallm [...] panix.com>
"Ed J via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org> writes: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=100707 > > > It would really help to track this down if you could have a go with the patch and let me know the results?
Sorry for the delay. Here's the output with that patch applied: Show quoted text
-----BEGINNING OF OUTPUT----- D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl>perl Makefile.PL Using included version of ExtUtils::Manifest (1.65) as it is newer than the installed version (1.61). Using included version of JSON::PP (2.27203) as it is newer than the installed version (2.27200). Checking if your kit is complete... Looks good now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl at lib/ExtUtils/MM_Win32.pm line 437. AnyDBM_File.pm Fatal.pm Storable.pm less.pm App Fcntl.pm Symbol.pm lib.pm ... FCGI.pm Socket.pm integer.pm now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib\CORE) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl at lib/ExtUtils/MM_Win32.pm line 437. EXTERN.h hv.h parser.h sys ... handy.h pad.h sv.h Generating a dmake-style Makefile Writing Makefile for ExtUtils::MakeMaker Writing MYMETA.yml and MYMETA.json D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl>dmake & call prove.bat -bv t\xs* cp inc/ExtUtils/Manifest.pm blib\lib\ExtUtils\Manifest.pm cp lib/ExtUtils/MM_OS2.pm blib\lib\ExtUtils\MM_OS2.pm cp lib/ExtUtils/MM_VOS.pm blib\lib\ExtUtils\MM_VOS.pm cp lib/ExtUtils/MM_Unix.pm blib\lib\ExtUtils\MM_Unix.pm cp lib/ExtUtils/MM.pm blib\lib\ExtUtils\MM.pm cp inc/JSON/PP.pm blib\lib\JSON\PP.pm cp lib/ExtUtils/MM_UWIN.pm blib\lib\ExtUtils\MM_UWIN.pm cp inc/JSON/PP/Boolean.pm blib\lib\JSON\PP\Boolean.pm cp lib/ExtUtils/MM_DOS.pm blib\lib\ExtUtils\MM_DOS.pm cp lib/ExtUtils/MM_Cygwin.pm blib\lib\ExtUtils\MM_Cygwin.pm cp lib/ExtUtils/MM_MacOS.pm blib\lib\ExtUtils\MM_MacOS.pm cp lib/ExtUtils/MM_VMS.pm blib\lib\ExtUtils\MM_VMS.pm cp lib/ExtUtils/MM_BeOS.pm blib\lib\ExtUtils\MM_BeOS.pm cp lib/ExtUtils/Liblist.pm blib\lib\ExtUtils\Liblist.pm cp lib/ExtUtils/MM_AIX.pm blib\lib\ExtUtils\MM_AIX.pm cp lib/ExtUtils/MM_Darwin.pm blib\lib\ExtUtils\MM_Darwin.pm cp lib/ExtUtils/Liblist/Kid.pm blib\lib\ExtUtils\Liblist\Kid.pm cp lib/ExtUtils/MM_QNX.pm blib\lib\ExtUtils\MM_QNX.pm cp lib/ExtUtils/Command/MM.pm blib\lib\ExtUtils\Command\MM.pm cp inc/ExtUtils/MANIFEST.SKIP blib\lib\ExtUtils\MANIFEST.SKIP cp lib/ExtUtils/MM_NW5.pm blib\lib\ExtUtils\MM_NW5.pm cp lib/ExtUtils/MM_Any.pm blib\lib\ExtUtils\MM_Any.pm cp lib/ExtUtils/MM_Win95.pm blib\lib\ExtUtils\MM_Win95.pm cp lib/ExtUtils/MakeMaker.pm blib\lib\ExtUtils\MakeMaker.pm cp lib/ExtUtils/MakeMaker/Tutorial.pod blib\lib\ExtUtils\MakeMaker\Tutorial.pod cp lib/ExtUtils/Mkbootstrap.pm blib\lib\ExtUtils\Mkbootstrap.pm cp lib/ExtUtils/MakeMaker/FAQ.pod blib\lib\ExtUtils\MakeMaker\FAQ.pod cp lib/ExtUtils/Mksymlists.pm blib\lib\ExtUtils\Mksymlists.pm cp lib/ExtUtils/MakeMaker/version/regex.pm blib\lib\ExtUtils\MakeMaker\version\regex.pm cp lib/ExtUtils/MakeMaker/Config.pm blib\lib\ExtUtils\MakeMaker\Config.pm cp lib/ExtUtils/MM_Win32.pm blib\lib\ExtUtils\MM_Win32.pm cp lib/ExtUtils/testlib.pm blib\lib\ExtUtils\testlib.pm cp lib/ExtUtils/MakeMaker/version/vpp.pm blib\lib\ExtUtils\MakeMaker\version\vpp.pm cp lib/ExtUtils/MakeMaker/version.pm blib\lib\ExtUtils\MakeMaker\version.pm cp lib/ExtUtils/MY.pm blib\lib\ExtUtils\MY.pm cp lib/ExtUtils/MakeMaker/Locale.pm blib\lib\ExtUtils\MakeMaker\Locale.pm "D:\usr\strawberry-perl-5.16.3.1-32bit\perl\bin\perl.exe" "-Iblib\arch" "-Iblib\lib" -MExtUtils::Command -e cp -- bin/instmodsh blib\script\instmodsh pl2bat.bat blib\script\instmodsh dmake: makefile: line 408: Warning: -- Ignoring AUGMAKE meta-target [.NOTPARALLEL] because prerequisites are present. now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib\CORE) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. # Failed test 'Makefile.PL exited with zero' # at t\xs.t line 38. # got: 65280 # expected: 0 # now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl/t/XS-Test at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. # AnyDBM_File.pm Fatal.pm Storable.pm less.pm ... # FCGI.pm Socket.pm integer.pm # now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib\CORE) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl/t/XS-Test at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. # EXTERN.h hv.h parser.h sys ... # handy.h pad.h sv.h # now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib\ExtUtils\typemap) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl/t/XS-Test at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. # D:\\usr\\strawberry-perl-5.16.3.1-32bit\\perl\\lib\\ExtUtils\\typemap # now looking at (type map) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl/t/XS-Test at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. # type\ map # short arg is (type map) at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 443. # Tried to use make dependency with space for non-GNU make: # 'type map' # Fallback to short pathname failed. # Looks like you failed 1 test of 5. t\xs.t ... AnyDBM_File.pm Fatal.pm Storable.pm less.pm ... gv.h overload.h scope.h handy.h pad.h sv.h 1..5 ok 1 - setup ok 2 - chdir'd to XS-Test not ok 3 - Makefile.PL exited with zero ok 4 # skip perl Makefile.PL failed ok 5 # skip perl Makefile.PL failed Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests (less 2 skipped subtests: 2 okay) now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib\CORE) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. # Failed test 'Makefile.PL exited with zero' # at t\xs.t~ line 38. # got: 65280 # expected: 0 # now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl/t/XS-Test at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. # AnyDBM_File.pm Fatal.pm Storable.pm less.pm # App Fcntl.pm Symbol.pm lib.pm ... # ExtUtils SelfLoader.pm inc # FCGI.pm Socket.pm integer.pm # now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib\CORE) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl/t/XS-Test at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. # EXTERN.h hv.h parser.h sys ... # handy.h pad.h sv.h # now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib\ExtUtils\typemap) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl/t/XS-Test at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. # D:\\usr\\strawberry-perl-5.16.3.1-32bit\\perl\\lib\\ExtUtils\\typemap # now looking at (type map) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl/t/XS-Test at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 437. # type\ map # short arg is (type map) at D:\usr\strawberry-perl-5.16.3.1-32bit\cpan\build\ExtUtils-MakeMaker-7.04-NyYmUl\blib\lib/ExtUtils/MM_Win32.pm line 443. # Tried to use make dependency with space for non-GNU make: # 'type map' # Fallback to short pathname failed. # Looks like you failed 1 test of 5. t\xs.t~ .. AnyDBM_File.pm Fatal.pm Storable.pm less.pm ... git_version.h opnames.h regnodes.h gv.h overload.h scope.h handy.h pad.h sv.h 1..5 ok 1 - setup ok 2 - chdir'd to XS-Test not ok 3 - Makefile.PL exited with zero ok 4 # skip perl Makefile.PL failed ok 5 # skip perl Makefile.PL failed Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests (less 2 skipped subtests: 2 okay) Test Summary Report ------------------- t\xs.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 3 Non-zero exit status: 1 t\xs.t~ (Wstat: 256 Tests: 5 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=2, Tests=10, 1 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU) Result: FAIL The system cannot find the path specified. Using included version of ExtUtils::Manifest (1.65) as it is newer than the installed version (1.61). Using included version of JSON::PP (2.27203) as it is newer than the installed version (2.27200). now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl at lib/ExtUtils/MM_Win32.pm line 437. AnyDBM_File.pm Fatal.pm Storable.pm less.pm ... ExtUtils SelfLoader.pm inc FCGI.pm Socket.pm integer.pm now looking at (D:\usr\strawberry-perl-5.16.3.1-32bit\perl\lib\CORE) in: D:/usr/strawberry-perl-5.16.3.1-32bit/cpan/build/ExtUtils-MakeMaker-7.04-NyYmUl at lib/ExtUtils/MM_Win32.pm line 437. EXTERN.h hv.h parser.h sys ... gv.h overload.h scope.h handy.h pad.h sv.h Generating a dmake-style Makefile Writing Makefile for ExtUtils::MakeMaker Writing MYMETA.yml and MYMETA.json
-----END OF OUTPUT-----
Thanks for this. The temporary directory should have been left where it was, thanks to commenting out the teardown_xs(). Could you look in there and see whether there is in fact a file called "type map"? Could you also confirm for me which version of Windows you're running, and whether you have any non-standard settings on the relevant filesystem?
Subject: Re: [rt.cpan.org #100707] t/xs.t test fails on Strawberry Perl 5.16
Date: Mon, 05 Jan 2015 14:09:32 -0500
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Mike Small <smallm [...] panix.com>
"Ed J via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org> writes: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=100707 > > > It would really help to track this down if you could have a go with the patch and let me know the results?
Btw. it seems that there's a way to disable storing 8.3 shortnames on a disk by disk basis and that my D: volume, where my cpan builds read from, has them disabled: D:\>fsutil behavior query disable8dot3 d: The volume state for Disable8dot3 is 1 (8dot3 name creation is disabled). The registry state of NtfsDisable8dot3NameCreation is 2, the default (Volume level setting). Based on the above two settings, 8dot3 name creation is disabled on d:. If I copy the EUMM folder over to my c: drive, which has 8dot3 enabled, the xs.t tests all pass. Sorry, I would have mentioned this earlier, but I only learned of this setting's existence today.
Subject: Re: [rt.cpan.org #100707] t/xs.t test fails on Strawberry Perl 5.16
Date: Mon, 05 Jan 2015 14:14:03 -0500
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Mike Small <smallm [...] panix.com>
"Ed J via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org> writes: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=100707 > > > Thanks for this. The temporary directory should have been left where > it was, thanks to commenting out the teardown_xs(). Could you look in > there and see whether there is in fact a file called "type map"? > > Could you also confirm for me which version of Windows you're running, > and whether you have any non-standard settings on the relevant > filesystem?
Yes, the directory did exist. I do have a 8dot3 file names disabled on this volume and that seems like the cause of the problem (see my previous email).
Show quoted text
> Yes, the directory did exist. I do have a 8dot3 file names disabled on > this volume and that seems like the cause of the problem (see my > previous email).
I feared as much. You'll need to a) install EUMM again to replace the warning version (using the cpanm --force I gave above); b) keep doing so. If you install Strawberry perl, it has gmake which avoids these problems, if that's an option.
I'm going to mark this as resolved. HOWEVER, if any further problems arise, including any difficulties changing your installed system to a working EUMM, please add to the ticket and I'll address them.
Subject: Re: [rt.cpan.org #100707] t/xs.t test fails on Strawberry Perl 5.16
Date: Thu, 29 Jan 2015 17:29:36 -0500
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Mike Small <smallm [...] panix.com>
"Ed J via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org> writes: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=100707 > > > I'm going to mark this as resolved. HOWEVER, if any further problems > arise, including any difficulties changing your installed system to a > working EUMM, please add to the ticket and I'll address them.
For reference, after running the following command on the drive the test passes: fsutil 8dot3name set d: 0