Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make test tries to use a different perl than the one being built, /t/lib/croak.t t/lib/common.pl #12821

Closed
p5pRT opened this issue Feb 27, 2013 · 15 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 27, 2013

Migrated from rt.perl.org#116971 (status was 'resolved')

Searchable as RT116971$

@p5pRT
Copy link
Author

p5pRT commented Feb 27, 2013

From @bulk88

Created by @bulk88

I did a make test on a blead and I got a bunch of fails, I have done
some debugging on the first one /lib/croak.t (IDC about the others,
although the exit status 255s I think/guess are all the same, havn't
looked at them) . What I was able to debug (I am not familiar with
test.pl and its friends) is that @​INC includes "../../lib" "../lib" but
winds up with CWD = /t, then does a require, and reaching out of the
build dir, and in my case it catches another older blead perl.

The "../../lib" in @​INC I think is coming from
http​://perl5.git.perl.org/perl.git/commit/463cf0628d7a451d99106f7101151d3a9b97fcbf?f=t/lib/common.pl
The reason why a require was done is
http​://perl5.git.perl.org/perl.git/tree/HEAD​:/ext/Win32CORE .

The simple answer is dont keep a build perl dir in a perl install dir,
but I think someone is wrong here if its reaching out of the build dir
and trying to load other things on the disk.

_______________________________________________________________________________
Test Summary Report
-------------------
lib/croak.t (Wstat​:
65280 Te
sts​: 38 Failed​: 0)
  Non-zero exit status​: 255
porting/pod_rules.t (Wstat​:
0 Tests​:
  0 Failed​: 0)
  Parse errors​: No plan found in TAP output
../dist/IO/t/cachepropagate-tcp.t (Wstat​:
2304 Tes
ts​: 5 Failed​: 0)
  Non-zero exit status​: 9
  Parse errors​: Bad plan. You planned 8 tests but ran 5.
../lib/charnames.t (Wstat​:
65280 Te
sts​: 17099 Failed​: 0)
  Non-zero exit status​: 255
../lib/feature.t (Wstat​:
65280 Te
sts​: 57 Failed​: 0)
  Non-zero exit status​: 255
../lib/strict.t (Wstat​:
65280 Te
sts​: 139 Failed​: 0)
  Non-zero exit status​: 255
../lib/subs.t (Wstat​:
65280 Te
sts​: 11 Failed​: 0)
  Non-zero exit status​: 255
Files=2386, Tests=615859, 2896 wallclock secs (79.44 usr + 25.98 sys =
105.42 CP
U)
Result​: FAIL
NMAKE : fatal error U1077​: '..\perl.exe' : return code '0x2'
Stop.

C​:\p517\g\win32>

__________________________________________________________________________________
***later **** some files were removed from /t/lib/croak dir to narrow
down problem leaving only file "toke"

__________________________________________________________________________________

C​:\p517\g\t>..\perl.exe -I..\lib harness -v ./lib/croak.t
./lib/croak.t ..
1..17
# From lib\croak\toke
ok 1 - Unterminated here-doc in string eval
ok 2 - Unterminated here-doc in s/// string eval
ok 3 - Missing name in "my sub"
ok 4 - Missing name in "our sub"
ok 5 - Missing name in "state sub"
ok 6 - Integer constant overloading returning undef
ok 7 - Float constant overloading returning undef
ok 8 - Binary constant overloading returning undef
ok 9 - String constant overloading returning undef
ok 10 - Regexp constant overloading when *^H is undefined
ok 11 - \N{...} when charnames fails to load but without an error
ok 12 - Integer constant overloading returning undef
ok 13 - Float constant overloading returning undef
ok 14 - Binary constant overloading returning undef
ok 15 - String constant overloading returning undef
ok 16 - Regexp constant overloading returning undef
ok 17 - Unterminated delimiter for here document
cwd is C​:\p517\g\t

Perl API version v5.17.9 of Win32 does not match v5.17.10 at
../../lib/DynaLoade
r.pm line 213.
Compilation failed in require at ../lib/Cwd.pm line 768.
BEGIN failed--compilation aborted.
END failed--call queue aborted.
inc is ../../lib ../lib
Dubious, test returned 255 (wstat 65280, 0xff00)
All 17 subtests passed

Test Summary Report
-------------------
./lib/croak.t (Wstat​: 65280 Tests​: 17 Failed​: 0)
  Non-zero exit status​: 255
Files=1, Tests=17, 6 wallclock secs ( 0.05 usr + 0.14 sys = 0.19 CPU)
Result​: FAIL

__________________________________________________________________________________

CWD.pm was modified to
----------------------------------------------------------------------------------
sub _win32_cwd {
  # Need to avoid taking any sort of reference to the typeglob or the
code in
  # the optree, so that this tests the runtime state of things, as the
  # ExtUtils​::MakeMaker tests for "miniperl" need to be able to fake
things at
  # runtime by deleting the subroutine. *foo{THING} syntax on a
symbol table
  # lookup avoids needing a string eval, which has been reported to cause
  # problems (for reasons that we haven't been able to get to the
bottom of -
  # rt.cpan.org #56225)
  if (*{$DynaLoader​::{boot_DynaLoader}}{CODE}) {
  print "cwd is ".`cd`."\n";
  local($,);
  $, = " ";
  print("inc is", @​INC);
  $ENV{'PWD'} = Win32​::GetCwd();
  }
  else { # miniperl
  chomp($ENV{'PWD'} = `cd`);
  }
  $ENV{'PWD'} =~ s​:\\​:/​:g ;
  return $ENV{'PWD'};
}
--------------------------------------------------------------------------------

C​:\p517>dir
  Volume in drive C has no label.
  Volume Serial Number is 0CFF-E7B6

  Directory of C​:\p517

02/27/2013 04​:37 AM <DIR> .
02/27/2013 04​:37 AM <DIR> ..
02/17/2013 12​:43 AM <DIR> bin #some blead installation
02/27/2013 06​:17 AM <DIR> g #a git repo
12/27/2012 12​:25 PM <DIR> html #some blead installation
02/16/2013 10​:43 PM <DIR> lib #some blead installation
02/16/2013 01​:14 PM 52 pax_global_header #from a checkout
02/20/2013 08​:47 PM <DIR> pefwd #a build dir
02/22/2013 12​:53 AM <DIR> perl-ce #a build dir
10/24/2012 02​:01 AM 632 rebuild.bat #irrelavent
12/27/2012 12​:23 PM <DIR> site #some blead installation
02/27/2013 12​:19 PM <DIR> src #a build dir
  2 File(s) 684 bytes
  10 Dir(s) 475,016,368,128 bytes free

C​:\p517>
________________________________________________________________________________________

Perl Info

Flags:
     category=core
     severity=medium

Site configuration information for perl 5.17.10:

Configured by Administrator at Wed Feb 27 05:09:08 2013.

Summary of my perl5 (revision 5 version 17 subversion 10) configuration:
   Derived from:
   Platform:
     osname=MSWin32, osvers=5.2, archname=MSWin32-x64-multi-thread
     uname=''
     config_args='undef'
     hint=recommended, useposix=true, d_sigaction=undef
     useithreads=define, usemultiplicity=define
     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
     use64bitint=define, use64bitall=undef, uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cl', ccflags ='-nologo -GF -W3 -O1 -MD -Zi -DNDEBUG -GL 
-fp:precise -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE 
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE 
-DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS 
-DUSE_PERLIO',
     optimize='-O1 -MD -Zi -DNDEBUG -GL -fp:precise',
     cppflags='-DWIN32'
     ccversion='15.00.30729.01', gccversion='', gccosandvers=''
     intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678
     d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
     ivtype='__int64', ivsize=8, nvtype='double', nvsize=8, 
Off_t='__int64', lseeksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf 
-ltcg  -libpath:"c:\p517\lib\CORE"  -machine:AMD64 
"/manifestdependency:type='Win32' 
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' 
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'"'
     libpth=\lib
     libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib 
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib 
netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib  version.lib 
odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib
     perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib 
winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib 
oleaut32.lib  netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib 
version.lib odbc32.lib odbccp32.lib comctl32.lib msvcrt.lib
     libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl517.lib
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
     cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug 
-opt:ref,icf -ltcg  -libpath:"c:\p517\lib\CORE"  -machine:AMD64 
"/manifestdependency:type='Win32' 
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' 
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'"'

Locally applied patches:



@INC for perl 5.17.10:
     C:/p517/g/lib
     .


Environment for perl 5.17.10:
     CYGWIN=tty
     HOME (unset)
     LANG (unset)
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
     PATH=C:\Program Files (x86)\Git\bin;c:\Program Files 
(x86)\Microsoft Visual Studio 
9.0\VC\BIN\amd64;c:\WINDOWS\Microsoft.NET\Framework64\v3.5;c:\WINDOWS\Microsoft.NET\Framework64\v3.5\Microsoft 
.NET Framework 3.5 (Pre-Release 
Version);c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727;c:\Program 
Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages;c:\Program Files 
(x86)\Microsoft Visual Studio 9.0\Common7\IDE;c:\Program Files 
(x86)\Microsoft Visual Studio 9.0\Common7\Tools;c:\Program Files 
(x86)\Microsoft Visual Studio 9.0\Common7\Tools\bin;C:\Program 
Files\Microsoft SDKs\Windows\v6.0A\bin\x64;C:\Program Files\Microsoft 
SDKs\Windows\v6.0A\bin\win64\x64;C:\Program Files\Microsoft 
SDKs\Windows\v6.0A\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files (x86)\Microsoft Visual Studio 9.0\VC\bin;C:\Program Files 
(x86)\Microsoft Visual Studio 9.0\VC;
     PERL_BADLANG (unset)
     PERL_JSON_BACKEND=JSON::XS
     PERL_YAML_BACKEND=YAML
     SHELL (unset)


@p5pRT
Copy link
Author

p5pRT commented Mar 6, 2013

From @nwc10

On Wed, Feb 27, 2013 at 11​:29​:56AM -0800, bulk88 wrote​:

I did a make test on a blead and I got a bunch of fails, I have done
some debugging on the first one /lib/croak.t (IDC about the others,
although the exit status 255s I think/guess are all the same, havn't
looked at them) . What I was able to debug (I am not familiar with
test.pl and its friends) is that @​INC includes "../../lib" "../lib" but
winds up with CWD = /t, then does a require, and reaching out of the
build dir, and in my case it catches another older blead perl.

The "../../lib" in @​INC I think is coming from
http​://perl5.git.perl.org/perl.git/commit/463cf0628d7a451d99106f7101151d3a9b97fcbf?f=t/lib/common.pl
The reason why a require was done is
http​://perl5.git.perl.org/perl.git/tree/HEAD​:/ext/Win32CORE .

I wasn't aware of what Win32CORE does - ie that it autoloads Win32

That has the potential for a lot of surprises in the test suite - calling
Cwd​::cwd can end up lazy-loading XS code.

Thanks for the very thorough diagnosis of this. I've pushed a fix for this
particular problem as smoke-me/nicholas/116971

The simple answer is dont keep a build perl dir in a perl install dir,
but I think someone is wrong here if its reaching out of the build dir
and trying to load other things on the disk.

Yes, it's wrong that it's doing this, and the offending tests should be
fixed.

_______________________________________________________________________________
Test Summary Report
-------------------
lib/croak.t (Wstat​:
65280 Te
sts​: 38 Failed​: 0)
Non-zero exit status​: 255
porting/pod_rules.t (Wstat​:
0 Tests​:
0 Failed​: 0)
Parse errors​: No plan found in TAP output
../dist/IO/t/cachepropagate-tcp.t (Wstat​:
2304 Tes
ts​: 5 Failed​: 0)
Non-zero exit status​: 9
Parse errors​: Bad plan. You planned 8 tests but ran 5.
../lib/charnames.t (Wstat​:
65280 Te
sts​: 17099 Failed​: 0)
Non-zero exit status​: 255
../lib/feature.t (Wstat​:
65280 Te
sts​: 57 Failed​: 0)
Non-zero exit status​: 255
../lib/strict.t (Wstat​:
65280 Te
sts​: 139 Failed​: 0)
Non-zero exit status​: 255
../lib/subs.t (Wstat​:
65280 Te
sts​: 11 Failed​: 0)
Non-zero exit status​: 255
Files=2386, Tests=615859, 2896 wallclock secs (79.44 usr + 25.98 sys =
105.42 CP
U)
Result​: FAIL
NMAKE : fatal error U1077​: '..\perl.exe' : return code '0x2'
Stop.

Of the failures you see, I think that this will fix all but
porting/pod_rules.t and ../dist/IO/t/cachepropagate-tcp.t

To try to replicate this, I made a booby-trapped lib directory one up from
my build tree on Linux, with​:

$ for file in `find lib -type d`; do mkdir -p ../$file; done
$ for file in `find lib -type f`; do echo CORE​::dump >../$file; done

I see the following failures​:

Test Summary Report


porting/utils.t (Wstat​: 0 Tests​: 87 Failed​: 79)
  Failed tests​: 3-27, 30, 32-47, 49-50, 52-78, 80-87
porting/pod_rules.t (Wstat​: 0 Tests​: 0 Failed​: 0)
  Parse errors​: No plan found in TAP output
porting/manifest.t (Wstat​: 0 Tests​: 10689 Failed​: 1)
  Failed test​: 10683
../dist/ExtUtils-ParseXS/t/115-avoid-noise.t (Wstat​: 256 Tests​: 1 Failed​: 1)
  Failed test​: 1
  Non-zero exit status​: 1
Files=2380, Tests=619592, 133 wallclock secs (84.42 usr 11.06 sys + 583.38 cusr 42.01 csys = 720.87 CPU)
Result​: FAIL

So I don't see your ../dist/IO/t/cachepropagate-tcp.t failure, I can
replicate porting/pod_rules.t, and I get a few more.

It's a shame that the NYC hackathon was last weekend, not next weekend, as I
think that finding and fixing these would have made an interesting task for
it.

Nicholas Clark

@p5pRT
Copy link
Author

p5pRT commented Mar 6, 2013

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Mar 6, 2013

From @bulk88

Nicholas Clark wrote​:

Thanks for the very thorough diagnosis of this. I've pushed a fix for this
particular problem as smoke-me/nicholas/116971

Will try that soon. I attached a crude *do not apply* fix that I did to
get around the problem. Your fix looks cleaner.

To try to replicate this, I made a booby-trapped lib directory one up from
my build tree on Linux, with​:

$ for file in `find lib -type d`; do mkdir -p ../$file; done
$ for file in `find lib -type f`; do echo CORE​::dump >../$file; done

I have working files in the wrong directory, not poisoned files so more
things worked aslong as they were pure perl. Also the
auto-Win32-XS-loader doesn't exist for you. So your results were
different. Your test was probably more thorough too.

I see the following failures​:

Test Summary Report
-------------------
porting/utils.t
(Wstat​: 0 Tests​: 87 Failed​: 79)
Failed tests​: 3-27, 30, 32-47, 49-50, 52-78, 80-87
porting/pod_rules.t
(Wstat​: 0 Tests​: 0 Failed​: 0)
Parse errors​: No plan found in TAP output
porting/manifest.t
(Wstat​: 0 Tests​: 10689 Failed​: 1)
Failed test​: 10683
../dist/ExtUtils-ParseXS/t/115-avoid-noise.t
(Wstat​: 256 Tests​: 1 Failed​: 1)
Failed test​: 1
Non-zero exit status​: 1
Files=2380, Tests=619592, 133 wallclock secs (84.42 usr 11.06 sys +
583.38 cusr 42.01 csys = 720.87 CPU)
Result​: FAIL

So I don't see your ../dist/IO/t/cachepropagate-tcp.t failure, I can
replicate porting/pod_rules.t, and I get a few more.

cachepropagate-tcp.t always failing is unique to that machine, I dont
see it on any other machines where I do a harness run and I've never
pursued that failure. I should have made that clearer than "(IDC about
the others,
although the exit status 255s I think/guess are all the same, havn't
looked at them)".

@p5pRT
Copy link
Author

p5pRT commented Mar 6, 2013

From @bulk88

0001-crude-fix-for-116971-do-not-apply.patch
From beb4dde25f4fd7ed3672934c5768e0e62a898451 Mon Sep 17 00:00:00 2001
From: bulk88 <bulk88@hotmail.com>
Date: Wed, 6 Mar 2013 15:09:34 -0500
Subject: [PATCH] crude fix for 116971 do not apply

---
 t/lib/common.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/lib/common.pl b/t/lib/common.pl
index e6a33b2..82ab799 100644
--- a/t/lib/common.pl
+++ b/t/lib/common.pl
@@ -64,6 +64,7 @@ my $cleanup = 1;
 END {
     if ($cleanup) {
 	chdir '..' or die "Couldn't chdir .. for cleanup: $!";
+	shift @INC eq '../../lib' or die '@INC mangled';
 	rmtree($tempdir);
     }
 }
-- 
1.8.0.msysgit.0

@p5pRT
Copy link
Author

p5pRT commented Mar 7, 2013

From @bulk88

On Wed Mar 06 04​:01​:12 2013, nicholas wrote​:

So I don't see your ../dist/IO/t/cachepropagate-tcp.t failure, I can
replicate porting/pod_rules.t, and I get a few more.

I compiled
http​://perl5.git.perl.org/perl.git/commit/9c5b8d56084afc9da630a00b5bab6b257f62d1aa
, has the same relative ".." and CWD %INC problem somewhere as you saw.

_______________________________________________________________________________
Test Summary Report


op/time.t (Wstat​:
2304 Tes
ts​: 0 Failed​: 0)
  Non-zero exit status​: 9
  Parse errors​: Bad plan. You planned 66 tests but ran 0.
porting/pod_rules.t (Wstat​:
0 Tests​:
0 Failed​: 0)
  Parse errors​: No plan found in TAP output
../dist/IO/t/cachepropagate-tcp.t (Wstat​:
2304 Tes
ts​: 5 Failed​: 0)
  Non-zero exit status​: 9
  Parse errors​: Bad plan. You planned 8 tests but ran 5.
../dist/IO/t/io_sock.t (Wstat​:
0 Tests​:
24 Failed​: 0)
  Parse errors​: Tests out of sequence. Found (12) but expected (10)
  Tests out of sequence. Found (13) but expected (11)
  Tests out of sequence. Found (14) but expected (12)
  Tests out of sequence. Found (15) but expected (13)
  Tests out of sequence. Found (16) but expected (14)
Displayed the first 5 of 16 TAP syntax errors.
Re-run prove with the -p option to see them all.
Files=2389, Tests=615792, 7475 wallclock secs (90.13 usr + 34.38 sys =
124.50 CP
U)
Result​: FAIL
NMAKE : fatal error U1077​: '..\perl.exe' : return code '0x13'
Stop.

C​:\p517\g\win32>
________________________________________________________________________________
some TEST_JOBS race condition failures , Ive seen it before, irrelavent
________________________________________________________________________________
C​:\p517\g\t>..\perl.exe -I..\lib harness op/time.t
op/time.t .. 1/66 # Test process timed out - terminating
op/time.t .. ok
All tests successful.
Files=1, Tests=66, 15 wallclock secs ( 0.03 usr + 0.03 sys = 0.06 CPU)
Result​: PASS

C​:\p517\g\t>
_________________________________________________________________________________
C​:\p517\g\t>..\perl.exe -I..\lib harness ../dist/IO/t/io_sock.t
../dist/IO/t/io_sock.t .. Failed 1/26 subtests

Test Summary Report


../dist/IO/t/io_sock.t (Wstat​: 0 Tests​: 25 Failed​: 0)
  Parse errors​: Tests out of sequence. Found (12) but expected (11)
  Tests out of sequence. Found (13) but expected (12)
  Tests out of sequence. Found (14) but expected (13)
  Tests out of sequence. Found (15) but expected (14)
  Tests out of sequence. Found (16) but expected (15)
Displayed the first 5 of 16 TAP syntax errors.
Re-run prove with the -p option to see them all.
Files=1, Tests=25, 20 wallclock secs ( 0.02 usr + 0.03 sys = 0.05 CPU)
Result​: FAIL

C​:\p517\g\t>
_________________________________________________________________________________
C​:\p517\g\t>..\perl.exe -I..\lib harness ../dist/IO/t/cachepropagate-tcp.t
../dist/IO/t/cachepropagate-tcp.t .. ok
All tests successful.
Files=1, Tests=8, 2 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU)
Result​: PASS

C​:\p517\g\t>
_________________________________________________________________________________

End of (I think) irrelavent test fails. Now for %INC test related bugs.
________________________________________________________________________________
C​:\p517\g\t>..\perl.exe -I..\lib harness porting/pod_rules.t
*dynamic link failure, see attached pic*
_________________________________________________________________________________
CWD is as reported by Process Explorer and I think its retreieved live
from http​://en.wikipedia.org/wiki/Process_Environment_Block of the
process ( see implementation of sigar_proc_exe_peb_get in
http​://svn.hyperic.org/projects/sigar_mirror/trunk/src/os/win32/peb.c if
you are curious), I am not sure if this is always the same CWD as inside
the script (something like perlhost.h ,etc)

CWD C​:\p517\g\t\
..\perl.exe -I..\lib harness porting/pod_rules.t

which calls

CWD C​:\p517\g\
./perl -I.. -MTestInit porting/pod_rules.t

which calls
CWD C​:\p517\g\
C​:\p517\g\t\perl.exe "-I../lib" -f -Ilib "Porting/pod_rules.pl" --tap

which is waiting with C callstack

NtRaiseHardError does a call into the kernel to send an IPC message to
CSRSS which draws the entry point not found window. The reason for this
is the process with a DLL load fail might not be a GUI process or even
have the OS GUI DLLs loaded.

ntdll.dll!NtRaiseHardError() + 0xa bytes
  ntdll.dll!LdrpSnapThunk() + 0x272c0 bytes
  ntdll.dll!LdrpSnapIAT() - 0xaa bytes
  ntdll.dll!LdrpHandleOldFormatImportDescriptors() + 0xc0 bytes
  ntdll.dll!LdrpWalkImportDescriptor() + 0x229 bytes
  ntdll.dll!LdrpLoadDll() - 0x1a1cd bytes
  ntdll.dll!LdrLoadDll() + 0x124 bytes
  kernel32.dll!LoadLibraryExW() + 0x120 bytes
  perl517.dll!win32_dynaload(const char * filename=0x0000000001ce9bd0)
Line 4119 C
  perl517.dll!XS_DynaLoader_dl_load_file(interpreter *
my_perl=0x00000000003d7d04, cv * cv=0x0000000000000000) Line 126 C
  perl517.dll!Perl_pp_entersub(interpreter * my_perl=0x00000000003d7c01)
Line 2877 C
  perl517.dll!Perl_runops_standard(interpreter *
my_perl=0x00000000003dd900) Line 42 + 0x6 bytes C
  perl517.dll!Perl_call_sv(interpreter * my_perl=0x00000000003d7ca8, sv
* sv=0x00000000003d7ca8, volatile long flags=13) Line 2723 C
  perl517.dll!Perl_call_list(interpreter * my_perl=0x00000000003d7ca8,
long oldscope=9, av * paramList=0x00000000004403a0) Line 4823 C
  perl517.dll!S_process_special_blocks(interpreter *
my_perl=0x00000000000000ba, long floor=30674816, const char * const
fullname=0x000000000041fae8, gv * const gv=0x0000000000000001, cv *
const cv=0x0000000001ce5560) Line 7681 C
  perl517.dll!Perl_newATTRSUB_flags(interpreter *
my_perl=0x0000000001d40f00, long floor=186, op * o=0x0000000000000000,
op * proto=0x0000000000000000, op * attrs=0x0000000000000000, op *
block=0x0000000001d40f80, unsigned long flags=1) Line 7643 + 0x1c bytes C
  perl517.dll!Perl_utilize(interpreter * my_perl=0x0000000000000001, int
aver=4327212, long floor=186, op * version=0x00000000003d7ca8, op *
idop=0x0000000000000000, op * arg=0x0000000001cffb20) Line 5114 C
  perl517.dll!Perl_yyparse(interpreter * my_perl=0x0000000000000001, int
gramtype=4042024) Line 270 C
  perl517.dll!S_doeval(interpreter * my_perl=0x0000000000000000, int
gimme=2, cv * outside=0x00000000003d7ca8, unsigned long seq=4029441, hv
* hh=0x0000000000000000) Line 3445 + 0x39 bytes C
  perl517.dll!Perl_pp_require(interpreter * my_perl=0x0000000000000001)
Line 4026 + 0x34 bytes C
  perl517.dll!Perl_runops_standard(interpreter *
my_perl=0x00000000003dd900) Line 42 + 0x6 bytes C
  perl517.dll!Perl_call_sv(interpreter * my_perl=0x00000000003d7ca8, sv
* sv=0x00000000003d7ca8, volatile long flags=13) Line 2723 C
  perl517.dll!Perl_call_list(interpreter * my_perl=0x00000000003d7ca8,
long oldscope=2, av * paramList=0x0000000000411038) Line 4823 C
  perl517.dll!S_process_special_blocks(interpreter *
my_perl=0x0000000000000025, long floor=4057256, const char * const
fullname=0x000000000041fae8, gv * const gv=0x0000000000000001, cv *
const cv=0x00000000004111e8) Line 7681 C
  perl517.dll!Perl_newATTRSUB_flags(interpreter *
my_perl=0x00000000003de800, long floor=37, op * o=0x0000000000000000, op
* proto=0x0000000000000000, op * attrs=0x0000000000000000, op *
block=0x00000000003de8a8, unsigned long flags=1) Line 7643 + 0x1c bytes C
  perl517.dll!Perl_utilize(interpreter * my_perl=0x0000000000000001, int
aver=4326556, long floor=37, op * version=0x00000000003d7ca8, op *
idop=0x0000000000000000, op * arg=0x0000000000000000) Line 5114 C
  perl517.dll!Perl_yyparse(interpreter * my_perl=0x0000000000000001, int
gramtype=0) Line 270 C
  perl517.dll!S_parse_body(interpreter * my_perl=0x01ce1ac4ac579500,
char * * env=0x000000000034bef0, void (interpreter *)*
xsinit=0x00000000280e8dd8) Line 2265 + 0x10 bytes C
  perl517.dll!perl_parse(interpreter * my_perl=0x00000000003d7ca8, void
(interpreter *)* xsinit=0x00000000280e8dd8, int argc=4029608, char * *
argv=0x00000000003bfd10, char * * env=0x000000000034bef0) Line 1625 C
  perl517.dll!RunPerl(int argc=0, char * * argv=0x0000174c08294f00, char
* * env=0x0000000000000000) Line 263 + 0x1a bytes C++
  perl.exe!__tmainCRTStartup() Line 582 + 0x19 bytes C
  kernel32.dll!BaseProcessStart() + 0x2c bytes

which I *think* (optimized build, watch window is often garbage) is
"..\lib\auto\re\re.dll" passed to win32_dynaload.
____________________________________________________________________
+ cop_file 0x0000000001e1b6a8 "../lib/XSLoader.pm" char *
  cop_line 68 unsigned long
____________________________________________________________________
  # Many dynamic extension loading problems will appear to come from
  # this section of code​: XYZ failed at line 123 of DynaLoader.pm.
  # Often these errors are actually occurring in the initialisation
  # C code of the extension XS file. Perl reports the error as being
  # in this perl code simply because this was the last perl code
  # it executed.

  my $libref = dl_load_file($file, 0) or do {
<<<<<<<<<<<<<<<<<<<<<<<<<<<line 68 <<<<<<<<<<<<<<<<<<
  require Carp;
  Carp​::croak("Can't load '$file' for module $module​: " . dl_error());
  };
  push(@​DynaLoader​::dl_librefs,$libref); # record loaded object
____________________________________________________________________

A Dependency Walker log.
____________________________________________________________________


Starting profile on 3/6/2013 at 7​:23​:19 PM

Operating System​: Microsoft Windows 2003 Server R2, Enterprise (64-bit),
version 5.02.3790 Service Pack 2
Program Executable​: c​:\p517\g\t\PERL.EXE
Program Arguments​: "-I../lib" -f -Ilib "Porting/pod_rules.pl" --tap
Starting Directory​: C​:\p517\g\
Search Path​: C​:\Program Files (x86)\Intel\Composer XE 2011
SP1\redist\ia32\tbb\vc9;C​:\Program Files (x86)\Intel\Composer XE 2011
SP1\redist\intel64\tbb\vc9;C​:\Program Files (x86)\Intel\Composer XE 2011
SP1\redist\intel64\ipp;C​:\Program Files (x86)\Intel\Composer XE 2011
SP1\redist\ia32\ipp;C​:\Program Files (x86)\Common Files\Intel\Shared
Libraries\redist\intel64\compiler;C​:\Program Files (x86)\Common
Files\Intel\Shared
Libraries\redist\ia32\compiler;C​:\Perl\site\bin;C​:\Perl\bin;C​:\WINDOWS\system32;C​:\WINDOWS;C​:\WINDOWS\System32\Wbem;C​:\Program
Files (x86)\Microsoft Visual Studio 9.0\VC\bin;C​:\Program Files
(x86)\Microsoft Visual Studio 9.0\VC;C​:\Program Files\TortoiseGit\bin

Options Selected​:
  Simulate ShellExecute by inserting any App Paths directories into
the PATH environment variable.
  Log DllMain calls for process attach and process detach messages.
  Hook the process to gather more detailed dependency information.
  Log LoadLibrary function calls.
  Log GetProcAddress function calls.
  Log debug output messages.
  Automatically open and profile child processes.


Started "PERL.EXE" (process 0x8A8) at address 0x0000000140000000.
Successfully hooked module.
Loaded "NTDLL.DLL" at address 0x0000000077EC0000. Successfully hooked
module.
Loaded "KERNEL32.DLL" at address 0x0000000077D40000. Successfully
hooked module.
DllMain(0x0000000077D40000, DLL_PROCESS_ATTACH, 0x0000000000000000) in
"KERNEL32.DLL" called.
DllMain(0x0000000077D40000, DLL_PROCESS_ATTACH, 0x0000000000000000) in
"KERNEL32.DLL" returned 1 (0x1).
Injected "DEPENDS.DLL" at address 0x0000000008370000.
Loaded "MSVCR90.DLL" at address 0x0000000078620000. Successfully hooked
module.
Loaded "PERL517.DLL" at address 0x0000000028000000. Successfully hooked
module.
Loaded "USER32.DLL" at address 0x0000000077C20000. Successfully hooked
module.
Loaded "GDI32.DLL" at address 0x000007FF7FC90000. Successfully hooked
module.
Loaded "ADVAPI32.DLL" at address 0x000007FF7FEE0000. Successfully
hooked module.
Loaded "RPCRT4.DLL" at address 0x000007FF7FD30000. Successfully hooked
module.
Loaded "SECUR32.DLL" at address 0x000007FF7E9C0000. Successfully hooked
module.
Loaded "COMCTL32.DLL" at address 0x000007FF7F000000. Successfully
hooked module.
Loaded "MSVCRT.DLL" at address 0x000007FF7FC00000. Successfully hooked
module.
Loaded "SHLWAPI.DLL" at address 0x000007FF7EF60000. Successfully hooked
module.
Entrypoint reached. All implicit modules have been loaded.
DllMain(0x0000000008370000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"DEPENDS.DLL" called.
DllMain(0x0000000008370000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"DEPENDS.DLL" returned 1 (0x1).
DllMain(0x0000000078620000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"MSVCR90.DLL" called.
GetProcAddress(0x0000000077D40000 [KERNEL32.DLL],
"FindActCtxSectionStringW") called from "MSVCR90.DLL" at address
0x00000000786220BC and returned 0x0000000077D50880.
DllMain(0x0000000078620000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"MSVCR90.DLL" returned 1 (0x1).
DllMain(0x000007FF7FC90000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"GDI32.DLL" called.
DllMain(0x000007FF7FC90000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"GDI32.DLL" returned 1 (0x1).
DllMain(0x0000000077C20000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"USER32.DLL" called.
DllMain(0x0000000077C20000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"USER32.DLL" returned 1 (0x1).
DllMain(0x000007FF7E9C0000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"SECUR32.DLL" called.
DllMain(0x000007FF7E9C0000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"SECUR32.DLL" returned 1 (0x1).
DllMain(0x000007FF7FD30000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"RPCRT4.DLL" called.
DllMain(0x000007FF7FD30000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"RPCRT4.DLL" returned 1 (0x1).
DllMain(0x000007FF7FEE0000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"ADVAPI32.DLL" called.
DllMain(0x000007FF7FEE0000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"ADVAPI32.DLL" returned 1 (0x1).
DllMain(0x000007FF7FC00000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"MSVCRT.DLL" called.
GetProcAddress(0x0000000077EC0000 [NTDLL.DLL], "RtlGetNtVersionNumbers")
called from "MSVCRT.DLL" at address 0x000007FF7FC100FF and returned
0x0000000077ED4160.
GetProcAddress(0x0000000077D40000 [KERNEL32.DLL],
"InitializeCriticalSectionAndSpinCount") called from "MSVCRT.DLL" at
address 0x000007FF7FC3D61A and returned 0x0000000077D674D0.
GetProcAddress(0x0000000077D40000 [KERNEL32.DLL], "FlsAlloc") called
from "MSVCRT.DLL" at address 0x000007FF7FC40D6C and returned
0x0000000077D59490.
GetProcAddress(0x0000000077D40000 [KERNEL32.DLL], "FlsGetValue") called
from "MSVCRT.DLL" at address 0x000007FF7FC40D83 and returned
0x0000000077D6E370.
GetProcAddress(0x0000000077D40000 [KERNEL32.DLL], "FlsSetValue") called
from "MSVCRT.DLL" at address 0x000007FF7FC40D9A and returned
0x0000000077D6B730.
GetProcAddress(0x0000000077D40000 [KERNEL32.DLL], "FlsFree") called from
"MSVCRT.DLL" at address 0x000007FF7FC40DB1 and returned 0x0000000077D46AA0.
DllMain(0x000007FF7FC00000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"MSVCRT.DLL" returned 1 (0x1).
DllMain(0x000007FF7EF60000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"SHLWAPI.DLL" called.
DllMain(0x000007FF7EF60000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"SHLWAPI.DLL" returned 1 (0x1).
DllMain(0x000007FF7F000000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"COMCTL32.DLL" called.
GetProcAddress(0x0000000077D40000 [KERNEL32.DLL],
"GetSystemWindowsDirectoryW") called from "COMCTL32.DLL" at address
0x000007FF7F0EF57F and returned 0x0000000077D523D0.
GetProcAddress(0x0000000077D40000 [KERNEL32.DLL], "CreateActCtxW")
called from "COMCTL32.DLL" at address 0x000007FF7F0EF640 and returned
0x0000000077D54EC0.
DllMain(0x000007FF7F000000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"COMCTL32.DLL" returned 1 (0x1).
DllMain(0x0000000028000000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"PERL517.DLL" called.
GetProcAddress(0x0000000077D40000 [KERNEL32.DLL], "GetLongPathNameW")
called from "PERL517.DLL" at address 0x00000000280F276E and returned
0x0000000077D65FC0.
DllMain(0x0000000028000000, DLL_PROCESS_ATTACH, 0x000000000012FAB0) in
"PERL517.DLL" returned 1 (0x1).
GetProcAddress(0x0000000028000000 [PERL517.DLL], "init_Win32CORE")
called from "PERL517.DLL" at address 0x00000000280F78A2 and returned
0x00000000280FACAC.
LoadLibraryExA("C​:\p517\lib\auto\re\re.dll", 0x0000000000000000,
LOAD_WITH_ALTERED_SEARCH_PATH) called from "PERL517.DLL" at address
0x00000000280F770A.
Loaded "RE.DLL" at address 0x0000000180000000. Successfully hooked module.
Unloaded "RE.DLL" at address 0x0000000180000000.
LoadLibraryExA("C​:\p517\lib\auto\re\re.dll", 0x0000000000000000,
LOAD_WITH_ALTERED_SEARCH_PATH) returned NULL. Error​: The specified
procedure could not be found (127).
DllMain(0x0000000028000000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"PERL517.DLL" called.
DllMain(0x0000000028000000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"PERL517.DLL" returned 1 (0x1).
DllMain(0x000007FF7F000000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"COMCTL32.DLL" called.
GetProcAddress(0x0000000077D40000 [KERNEL32.DLL], "ReleaseActCtx")
called from "COMCTL32.DLL" at address 0x000007FF7F0EF709 and returned
0x0000000077D50F50.
DllMain(0x000007FF7F000000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"COMCTL32.DLL" returned 1 (0x1).
DllMain(0x000007FF7EF60000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"SHLWAPI.DLL" called.
DllMain(0x000007FF7EF60000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"SHLWAPI.DLL" returned 1 (0x1).
DllMain(0x000007FF7FC00000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"MSVCRT.DLL" called.
DllMain(0x000007FF7FC00000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"MSVCRT.DLL" returned 1 (0x1).
DllMain(0x000007FF7FEE0000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"ADVAPI32.DLL" called.
DllMain(0x000007FF7FEE0000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"ADVAPI32.DLL" returned 1 (0x1).
DllMain(0x000007FF7FD30000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"RPCRT4.DLL" called.
DllMain(0x000007FF7FD30000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"RPCRT4.DLL" returned 1 (0x1).
DllMain(0x000007FF7E9C0000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"SECUR32.DLL" called.
DllMain(0x000007FF7E9C0000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"SECUR32.DLL" returned 1 (0x1).
DllMain(0x0000000077C20000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"USER32.DLL" called.
DllMain(0x0000000077C20000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"USER32.DLL" returned 1 (0x1).
DllMain(0x000007FF7FC90000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"GDI32.DLL" called.
DllMain(0x000007FF7FC90000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"GDI32.DLL" returned 1 (0x1).
DllMain(0x0000000078620000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"MSVCR90.DLL" called.
DllMain(0x0000000078620000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"MSVCR90.DLL" returned 1 (0x1).
DllMain(0x0000000008370000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"DEPENDS.DLL" called.
DllMain(0x0000000008370000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"DEPENDS.DLL" returned 1 (0x1).
DllMain(0x0000000077D40000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"KERNEL32.DLL" called.
DllMain(0x0000000077D40000, DLL_PROCESS_DETACH, 0x0000000000000001) in
"KERNEL32.DLL" returned 1242113 (0x12F401).
Exited "PERL.EXE" (process 0x8A8) with code 255 (0xFF).
_______________________________________________________________

Since you reproduced (from
https://rt-archive.perl.org/perl5/Public/Bug/Display.html?id=116971#txn-1198641 )
the pod_rules.t failure. I'll stop researching it further but I still
see the failure as you do, this is after I did
http​://perl5.git.perl.org/perl.git/commit/9c5b8d56084afc9da630a00b5bab6b257f62d1aa
).
_____________________________________________
porting/pod_rules.t (Wstat​: 0 Tests​: 0 Failed​: 0)
Parse errors​: No plan found in TAP output
_______________________________________________

--
bulk88 ~ bulk88 at hotmail.com

@p5pRT
Copy link
Author

p5pRT commented Mar 7, 2013

From @bulk88

[116971 re.dll.png](https://rt-archive.perl.org/perl5/Ticket/Attachment/1198897/618475/116971 re.dll.png)

@p5pRT
Copy link
Author

p5pRT commented Mar 7, 2013

From @bulk88

If it wasn't obvious from my last post,
http​://perl5.git.perl.org/perl.git/commit/9c5b8d56084afc9da630a00b5bab6b257f62d1aa
did fix alot of the failures I saw so it is the correct/working fix.

--
bulk88 ~ bulk88 at hotmail.com

@p5pRT
Copy link
Author

p5pRT commented Mar 7, 2013

From @bulk88

On Wed Mar 06 16​:54​:13 2013, bulk88 wrote​:

If it wasn't obvious from my last post,

http​://perl5.git.perl.org/perl.git/commit/9c5b8d56084afc9da630a00b5bab6b257f62d1aa

did fix alot of the failures I saw so it is the correct/working fix.

While debugging, I found some code
http​://perl5.git.perl.org/perl.git/commitdiff/4013a0e1f891d6d7f41d456bab1a516334fddad8?hp=79b01a68c72bb52b3469bd03bbe6d75bd93c9400
that looked suspicious, but ultimately I dont think it is related to
porting/pod_rules.t going out of its build dir

Anyways,

There is a chunk of (modified by me) code in porting/pod_rules.t
_________________________________________________________________
#!./perl

BEGIN {
  warn "b4 cwd is ".`cd`.' inc is '.join(' ' ,@​INC);
  chdir '..' unless -d 't';
  unshift @​INC, 'lib';
  warn "after cwd is ".`cd`.' inc is '.join(' ' ,@​INC);
}

use strict;
require 't/test.pl';

_________________________________________________________________
running it the way the harness script does (Open3 got a Carp​::cluck call)
_________________________________________________________________
running process cwd is C​:\p517\g\t
at ../lib/IPC/Open3.pm line 404.
  IPC​::Open3​::spawn_with_handles('ARRAY(0x38fa3a8)', 'ARRAY(0x3a50fe0)',
'./perl', '-I..', '-MTestInit', 'porting/pod_rules.t') called at
../lib/IPC/Open3.pm line 329
  eval {...} called at ../lib/IPC/Open3.pm line 328
  IPC​::Open3​::_open3('open3', '<&STDIN', 'IO​::Handle=GLOB(0x38f5478)',
'>&STDERR', './perl', '-I..', '-MTestInit', 'porting/pod_rules.t')
called at ../lib/IPC/Open3.pm line 352
  IPC​::Open3​::open3('<&STDIN', 'IO​::Handle=GLOB(0x38f5478)', '>&STDERR',
'./perl', '-I..', '-MTestInit', 'porting/pod_rules.t') called at
../lib/TAP/Parser/Iterator/Process.pm line 154
  eval {...} called at ../lib/TAP/Parser/Iterator/Process.pm line 153
  TAP​::Parser​::Iterator​::Process​::_initialize('TAP​::Parser​::Iterator​::Process=HASH(0x38f5040)', 'HASH(0x38f3bc0)') called at ../lib/TAP/Object.pm line 58
  TAP​::Object​::new('TAP​::Parser​::Iterator​::Process', 'HASH(0x38f3bc0)')
called at ../lib/TAP/Parser/SourceHandler/Executable.pm line 124
  TAP​::Parser​::SourceHandler​::Executable​::make_iterator('TAP​::Parser​::SourceHandler​::Executable', 'TAP​::Parser​::Source=HASH(0x357cdd8)') called at ../lib/TAP/Parser/IteratorFactory.pm line 219
  TAP​::Parser​::IteratorFactory​::make_iterator('TAP​::Parser​::IteratorFactory=HASH(0x38f3878)', 'TAP​::Parser​::Source=HASH(0x357cdd8)') called at ../lib/TAP/Parser.pm line 469
  TAP​::Parser​::_initialize('TAP​::Parser=HASH(0x38f3650)',
'HASH(0x3258910)') called at ../lib/TAP/Object.pm line 58
  TAP​::Object​::new('TAP​::Parser', 'HASH(0x3258910)') called at
../lib/TAP/Object.pm line 133
  TAP​::Object​::_construct('TAP​::Harness=HASH(0x3746a98)', 'TAP​::Parser',
'HASH(0x3258910)') called at ../lib/TAP/Harness.pm line 779
  TAP​::Harness​::make_parser('TAP​::Harness=HASH(0x3746a98)',
'TAP​::Parser​::Scheduler​::Job=HASH(0x38d8d88)') called at
../lib/TAP/Harness.pm line 578
  TAP​::Harness​::_aggregate_single('TAP​::Harness=HASH(0x3746a98)',
'TAP​::Parser​::Aggregator=HASH(0x38d8998)',
'TAP​::Parser​::Scheduler=HASH(0x38ebf98)') called at
../lib/TAP/Harness.pm line 670
  TAP​::Harness​::aggregate_tests('TAP​::Harness=HASH(0x3746a98)',
'TAP​::Parser​::Aggregator=HASH(0x38d8998)', 'porting/pod_rules.t') called
at ../lib/TAP/Harness.pm line 485
  TAP​::Harness​::__ANON__[../lib/TAP/Harness.pm​:487]() called at
../lib/TAP/Harness.pm line 498
  TAP​::Harness​::runtests('TAP​::Harness=HASH(0x3746a98)',
'porting/pod_rules.t') called at C​:\p517\g\t\harness line 264
 
 
______________________________________________________________

__________________________________________________________________
C​:\p517\g\t>.\perl -I.. -MTestInit porting/pod_rules.t
b4 cwd is C​:\p517\g\t
inc is ../lib . at porting/pod_rules.t line 4.
after cwd is C​:\p517\g
inc is lib ../lib . at porting/pod_rules.t line 7.
Can't load '../lib/auto/re/re.dll' for module re​: load_file​:The
specified proced
ure could not be found at ../lib/XSLoader.pm line 68.
at ../lib/re.pm line 85.
Compilation failed in require at ../lib/Text/Wrap.pm line 58.
BEGIN failed--compilation aborted at ../lib/Text/Wrap.pm line 58.
Compilation failed in require at Porting/pod_rules.pl line 6.
BEGIN failed--compilation aborted at Porting/pod_rules.pl line 6.

C​:\p517\g\t>
_______________________________________________________________

The chdir call in pod_rules.t blames to
http​://perl5.git.perl.org/perl.git/commit/d89d11bb61c88f4f5acf442100f3e689da2f7018?f=t/porting/pod_rules.t
.

I can't say anything further since IDK what code is correct and what
isn't, here is what I thought of as code to blame in no particular order

1. this line
http​://perl5.git.perl.org/perl.git/blob/8818c98f34d13483ef3f7e76a69e429397237efe​:/t/TEST#l261

in /t/TEST adds "-I.." to the child process's args .

2. the OOP nightmare called TAP​:: should be but isn't chdiring from
"./t" to "./" and should be starting child processes in ./ not ./t

3. pod_rules.t shouldn't be chdiring. Superficially, it looks like the
files in /t/porting all expect to be running from different dirs. Here
are some examples

podcheck.t
_________________________________________________
BEGIN {
  chdir 't';
  unshift @​INC, "../lib";
}
_________________________________________________
regen.t
_________________________________________________
#!./perl -w

# Verify that all files generated by perl scripts are up to date.

BEGIN {
  @​INC = '..' if -f '../TestInit.pm';
}
use TestInit qw(T A); # T is chdir to the top level, A makes paths absolute
use strict;
_______________________________________________
args_assert.t
_______________________________________________
#!perl

use strict;
use warnings;

require './test.pl';

plan('no_plan');

# Fail for every PERL_ARGS_ASSERT* macro that was declared but not used.

my %declared;
my %used;

my $prefix = '';

unless (-d 't' && -f 'MANIFEST') {
  # we'll assume that we are in t then.
  # All files are internal to perl, so Unix-style is sufficiently
portable.
  $prefix = '../';
}
_________________________________________________________
maintainers.t
_________________________________________________________
#!./perl -w

# Test that there are no missing Maintainers in Maintainers.pl

BEGIN {
  # This test script uses a slightly atypical invocation of the 'standard'
  # core testing setup stanza.
  # The existing porting tools which manage the Maintainers file all
  # expect to be run from the root
  # XXX that should be fixed

  chdir '..' unless -d 't';
  @​INC = qw(lib Porting);
  require './t/test.pl';
}
_________________________________________________________

--
bulk88 ~ bulk88 at hotmail.com

@p5pRT
Copy link
Author

p5pRT commented Jun 28, 2013

From @bulk88

This got a commit in blead at
http​://perl5.git.perl.org/perl.git/commit/96d268e2f48e69b4cb65326df6690ffc21120f3c
. It might be time to close this bug but I think Nicholas's comment is
required for that to be appropriate.

@p5pRT
Copy link
Author

p5pRT commented Oct 22, 2013

From @bulk88

On Fri Jun 28 02​:18​:36 2013, bulk88 wrote​:

This got a commit in blead at

http​://perl5.git.perl.org/perl.git/commit/96d268e2f48e69b4cb65326df6690ffc21120f3c

. It might be time to close this bug but I think Nicholas's comment is
required for that to be appropriate.

using a blead 5.19.6 this is still a problem but only porting/utils.t is
the only one left with the problem compared to the original post in this
ticket
___________________________________________

Summary of my perl5 (revision 5 version 19 subversion 6) configuration​:
  Derived from​: 082f4888e1e059512e8a6f9abb3c230090974236
  Ancestor​: 3633383
  Platform​:
  osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
  uname=''
  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='cl', ccflags ='-nologo -GF -W3 -O1 -MD -Zi -DDEBUGGING -DWIN32
-D_CONSO
E -DNO_STRICT -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_
YS -DUSE_PERLIO -D_USE_32BIT_TIME_T',
  optimize='-O1 -MD -Zi -DDEBUGGING',
  cppflags='-DWIN32'
  ccversion='12.00.8168', gccversion='', gccosandvers=''
  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
  d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
  ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
lseeks
ze=8
  alignbytes=8, prototype=define
  Linker and Libraries​:
  ld='link', ldflags ='-nologo -nodefaultlib -debug -opt​:ref,icf
-libpath​:"c
\perl519\lib\CORE" -machine​:x86'
  libpth=C​:\PROGRA1\MIAF9D1\VC98\lib
  libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.
ib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib ws2_3
.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib
msvcrt
lib
  perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdl
32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib w
2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
comctl32.lib ms
crt.lib
  libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl519.lib
  gnulibc_version=''
  Dynamic Linking​:
  dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
  cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug
-opt​:ref,icf
libpath​:"c​:\perl519\lib\CORE" -machine​:x86'

Characteristics of this binary (from libperl)​:
  Compile-time options​: DEBUGGING 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 PERL_TRACK_MEMPOOL USE_ITHREADS
  USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
  USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
  USE_PERL_ATOF
  Locally applied patches​:
  uncommitted-changes
  082f4888e1e059512e8a6f9abb3c230090974236
  Built under MSWin32
  Compiled at Oct 22 2013 16​:25​:11
  %ENV​:
  PERL_JSON_BACKEND="JSON​::XS"
  PERL_YAML_BACKEND="YAML"
  @​INC​:
  C​:/perl519/src/lib
  .
___________________________________________

attaching console log of failures

--
bulk88 ~ bulk88 at hotmail.com

@p5pRT
Copy link
Author

p5pRT commented Oct 22, 2013

From @bulk88

# Porting/bisect-example.sh isn't a Perl script
# Porting/config_H isn't a Perl script
# Porting/config.sh isn't a Perl script
# Porting/corelist-diff isn't a Perl script
# Porting/epigraphs.pod isn't a Perl script
# Porting/exec-bit.txt isn't a Perl script
# Porting/git-make-p4-refs isn't a Perl script
# Porting/Glossary isn't a Perl script
# Porting/how_to_write_a_perldelta.pod isn't a Perl script
# Porting/perl5200delta.pod isn't a Perl script
# Porting/perldelta_template.pod isn't a Perl script
# Porting/pumpkin.pod isn't a Perl script
# Porting/README.pod isn't a Perl script
# Porting/README.y2038 isn't a Perl script
# Porting/release_announcement_template.txt isn't a Perl script
# Porting/release_managers_guide.pod isn't a Perl script
# Porting/release_schedule.pod isn't a Perl script
# Porting/rt_list_patches isn't a Perl script
# Porting/timecheck2.c isn't a Perl script
# Porting/timecheck.c isn't a Perl script
# Porting/todo.pod isn't a Perl script
1..82
ok 1 - installman compiles
ok 2 - installperl compiles
# Failed test 3 - regen_perly.pl compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of re does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/Text/Wrap.pm line 58.\nBEGIN failed--compilation aborted at ../lib/Text/Wrap.pm line 58.\nCompilation failed in require at regen/regen_lib.pl line 6.\nBEGIN failed--compilation aborted at regen/regen_lib.pl line 6.\nCompilation failed in require at regen_perly.pl line 38.\nBEGIN failed--compilation aborted at regen_perly.pl line 38.\n"
# expected "regen_perly.pl syntax OK\n"
not ok 3 - regen_perly.pl compiles
# Failed test 4 - regen/uconfig_h.pl compiles at porting/utils.t line 89
# got "regen/uconfig_h.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at regen/uconfig_h.pl line 12.\nBEGIN failed--compilation aborted at regen/uconfig_h.pl line 12.\n"
# expected "regen/uconfig_h.pl syntax OK\n"
not ok 4 - regen/uconfig_h.pl compiles
# Failed test 5 - Porting/acknowledgements.pl compiles at porting/utils.t line 89
# got "Porting/acknowledgements.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Tie/RefHash.pm line 104.\nBEGIN failed--compilation aborted at ../lib/Tie/RefHash.pm line 104.\nCompilation failed in require at ../lib/Fatal.pm line 9.\nBEGIN failed--compilation aborted at ../lib/Fatal.pm line 9.\nCompilation failed in require at ../lib/autodie.pm line 6.\nBEGIN failed--compilation aborted at ../lib/autodie.pm line 6.\nCompilation failed in require at Porting/acknowledgements.pl line 22.\nBEGIN failed--compilation aborted at Porting/acknowledgements.pl line 22.\n"
# expected "Porting/acknowledgements.pl syntax OK\n"
not ok 5 - Porting/acknowledgements.pl compiles
# Failed test 6 - Porting/add-package.pl compiles at porting/utils.t line 89
# got "Porting/add-package.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/DynaLoader.pm line 22.\nBEGIN failed--compilation aborted at ../lib/DynaLoader.pm line 22.\nCompilation failed in require at ../lib/Win32.pm line 8.\nCompilation failed in require at ../lib/Cwd.pm line 765.\nBEGIN failed--compilation aborted at ../lib/FindBin.pm line 166.\nBEGIN failed--compilation aborted at ../lib/FindBin.pm line 166.\nCompilation failed in require at Porting/add-package.pl line 8.\nBEGIN failed--compilation aborted at Porting/add-package.pl line 8.\n"
# expected "Porting/add-package.pl syntax OK\n"
not ok 6 - Porting/add-package.pl compiles
ok 7 - Porting/bisect.pl compiles
# Failed test 8 - Porting/bisect-runner.pl compiles at porting/utils.t line 89
# got "Porting/bisect-runner.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Pod/Usage.pm line 19.\nBEGIN failed--compilation aborted at ../lib/Pod/Usage.pm line 19.\nCompilation failed in require at Porting/bisect-runner.pl line 5.\nBEGIN failed--compilation aborted at Porting/bisect-runner.pl line 5.\n"
# expected "Porting/bisect-runner.pl syntax OK\n"
not ok 8 - Porting/bisect-runner.pl compiles
# Failed test 9 - Porting/bump-perl-version compiles at porting/utils.t line 89
# got "Porting/bump-perl-version​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Tie/RefHash.pm line 104.\nBEGIN failed--compilation aborted at ../lib/Tie/RefHash.pm line 104.\nCompilation failed in require at ../lib/Fatal.pm line 9.\nBEGIN failed--compilation aborted at ../lib/Fatal.pm line 9.\nCompilation failed in require at ../lib/autodie.pm line 6.\nBEGIN failed--compilation aborted at ../lib/autodie.pm line 6.\nCompilation failed in require at Porting/bump-perl-version line 51.\nBEGIN failed--compilation aborted at Porting/bump-perl-version line 51.\n"
# expected "Porting/bump-perl-version syntax OK\n"
not ok 9 - Porting/bump-perl-version compiles
ok 10 - Porting/check83.pl compiles
# Failed test 11 - Porting/checkansi.pl compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of IO does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/IO/Handle.pm line 269.\nBEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 269.\nCompilation failed in require at ../lib/IO/Seekable.pm line 101.\nBEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 101.\nCompilation failed in require at ../lib/IO/File.pm line 133.\nBEGIN failed--compilation aborted at ../lib/IO/File.pm line 133.\nCompilation failed in require at Porting/checkansi.pl line 6.\nBEGIN failed--compilation aborted at Porting/checkansi.pl line 6.\n"
# expected "Porting/checkansi.pl syntax OK\n"
not ok 11 - Porting/checkansi.pl compiles
# Failed test 12 - Porting/checkAUTHORS.pl compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of re does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/Text/Wrap.pm line 58.\nBEGIN failed--compilation aborted at ../lib/Text/Wrap.pm line 58.\nCompilation failed in require at Porting/checkAUTHORS.pl line 6.\nBEGIN failed--compilation aborted at Porting/checkAUTHORS.pl line 6.\n"
# expected "Porting/checkAUTHORS.pl syntax OK\n"
not ok 12 - Porting/checkAUTHORS.pl compiles
# Failed test 13 - Porting/checkcfgvar.pl compiles at porting/utils.t line 89
# got "Porting/checkcfgvar.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Tie/RefHash.pm line 104.\nBEGIN failed--compilation aborted at ../lib/Tie/RefHash.pm line 104.\nCompilation failed in require at ../lib/Fatal.pm line 9.\nBEGIN failed--compilation aborted at ../lib/Fatal.pm line 9.\nCompilation failed in require at ../lib/autodie.pm line 6.\nBEGIN failed--compilation aborted at ../lib/autodie.pm line 6.\nCompilation failed in require at Porting/checkcfgvar.pl line 14.\nBEGIN failed--compilation aborted at Porting/checkcfgvar.pl line 14.\n"
# expected "Porting/checkcfgvar.pl syntax OK\n"
not ok 13 - Porting/checkcfgvar.pl compiles
ok 14 - Porting/check-cpan-pollution compiles
# Failed test 15 - Porting/checkpodencoding.pl compiles at porting/utils.t line 89
# got "Unknown PerlIO layer \"encoding\" at ../lib/open.pm line 126.\nUnknown PerlIO layer \"encoding\" at ../lib/open.pm line 134.\nUnknown PerlIO layer \"encoding\" at ../lib/open.pm line 135.\nPorting/checkpodencoding.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Tie/RefHash.pm line 104.\nBEGIN failed--compilation aborted at ../lib/Tie/RefHash.pm line 104.\nCompilation failed in require at ../lib/Fatal.pm line 9.\nBEGIN failed--compilation aborted at ../lib/Fatal.pm line 9.\nCompilation failed in require at ../lib/autodie.pm line 6.\nBEGIN failed--compilation aborted at ../lib/autodie.pm line 6.\nCompilation failed in require at Porting/checkpodencoding.pl line 4.\nBEGIN failed--compilation aborted at Porting/checkpodencoding.pl line 4.\n"
# expected "Porting/checkpodencoding.pl syntax OK\n"
not ok 15 - Porting/checkpodencoding.pl compiles
# Failed test 16 - Porting/checkURL.pl compiles at porting/utils.t line 89
# got "Porting/checkURL.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Tie/RefHash.pm line 104.\nBEGIN failed--compilation aborted at ../lib/Tie/RefHash.pm line 104.\nCompilation failed in require at ../lib/Fatal.pm line 9.\nBEGIN failed--compilation aborted at ../lib/Fatal.pm line 9.\nCompilation failed in require at ../lib/autodie.pm line 6.\nBEGIN failed--compilation aborted at ../lib/autodie.pm line 6.\nCompilation failed in require at Porting/checkURL.pl line 4.\nBEGIN failed--compilation aborted at Porting/checkURL.pl line 4.\n"
# expected "Porting/checkURL.pl syntax OK\n"
not ok 16 - Porting/checkURL.pl compiles
ok 17 - Porting/checkVERSION.pl compiles
ok 18 - Porting/cherrymaint compiles
# Failed test 19 - Porting/cmpVERSION.pl compiles at porting/utils.t line 89
# got "Porting/cmpVERSION.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/ExtUtils/MakeMaker/Config.pm line 7.\nBEGIN failed--compilation aborted at ../lib/ExtUtils/MakeMaker/Config.pm line 7.\nCompilation failed in require at ../lib/ExtUtils/MakeMaker.pm line 9.\nBEGIN failed--compilation aborted at ../lib/ExtUtils/MakeMaker.pm line 9.\nCompilation failed in require at Porting/cmpVERSION.pl line 19.\nBEGIN failed--compilation aborted at Porting/cmpVERSION.pl line 19.\n"
# expected "Porting/cmpVERSION.pl syntax OK\n"
not ok 19 - Porting/cmpVERSION.pl compiles
ok 20 - Porting/config_h.pl compiles
# Failed test 21 - Porting/core-cpan-diff compiles at porting/utils.t line 89
# got "Attempt to reload Config.pm aborted.\nCompilation failed in require at ../lib/File/Copy.pm line 14.\nBEGIN failed--compilation aborted at ../lib/File/Copy.pm line 14.\nCompilation failed in require at Porting/core-cpan-diff line 14.\nBEGIN failed--compilation aborted at Porting/core-cpan-diff line 14.\n"
# expected "Porting/core-cpan-diff syntax OK\n"
not ok 21 - Porting/core-cpan-diff compiles
# Failed test 22 - Porting/corecpan.pl compiles at porting/utils.t line 89
# got "Porting/corecpan.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/ExtUtils/MakeMaker/Config.pm line 7.\nBEGIN failed--compilation aborted at ../lib/ExtUtils/MakeMaker/Config.pm line 7.\nCompilation failed in require at ../lib/ExtUtils/MM_Unix.pm line 8.\nBEGIN failed--compilation aborted at ../lib/ExtUtils/MM_Unix.pm line 8.\nCompilation failed in require at Porting/corecpan.pl line 9.\nBEGIN failed--compilation aborted at Porting/corecpan.pl line 9.\n"
# expected "Porting/corecpan.pl syntax OK\n"
not ok 22 - Porting/corecpan.pl compiles
# Failed test 23 - Porting/corelist-perldelta.pl compiles at porting/utils.t line 89
# got "Porting/corelist-perldelta.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/lib.pm line 6.\nBEGIN failed--compilation aborted at ../lib/lib.pm line 6.\nCompilation failed in require at Porting/corelist-perldelta.pl line 5.\nBEGIN failed--compilation aborted at Porting/corelist-perldelta.pl line 5.\n"
# expected "Porting/corelist-perldelta.pl syntax OK\n"
not ok 23 - Porting/corelist-perldelta.pl compiles
# Failed test 24 - Porting/corelist.pl compiles at porting/utils.t line 89
# got "Porting/corelist.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Tie/RefHash.pm line 104.\nBEGIN failed--compilation aborted at ../lib/Tie/RefHash.pm line 104.\nCompilation failed in require at ../lib/Fatal.pm line 9.\nBEGIN failed--compilation aborted at ../lib/Fatal.pm line 9.\nCompilation failed in require at ../lib/autodie.pm line 6.\nBEGIN failed--compilation aborted at ../lib/autodie.pm line 6.\nCompilation failed in require at Porting/corelist.pl line 10.\nBEGIN failed--compilation aborted at Porting/corelist.pl line 10.\n"
# expected "Porting/corelist.pl syntax OK\n"
not ok 24 - Porting/corelist.pl compiles
# Failed test 25 - Porting/exercise_makedef.pl compiles at porting/utils.t line 89
# got "Porting/exercise_makedef.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at Porting/exercise_makedef.pl line 3.\nBEGIN failed--compilation aborted at Porting/exercise_makedef.pl line 3.\n"
# expected "Porting/exercise_makedef.pl syntax OK\n"
not ok 25 - Porting/exercise_makedef.pl compiles
# Failed test 26 - Porting/expand-macro.pl compiles at porting/utils.t line 89
# got "Porting/expand-macro.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Pod/Usage.pm line 19.\nBEGIN failed--compilation aborted at ../lib/Pod/Usage.pm line 19.\nCompilation failed in require at Porting/expand-macro.pl line 4.\nBEGIN failed--compilation aborted at Porting/expand-macro.pl line 4.\n"
# expected "Porting/expand-macro.pl syntax OK\n"
not ok 26 - Porting/expand-macro.pl compiles
ok 27 - Porting/findrfuncs compiles
ok 28 # skip Porting/git-deltatool uses Git​::Wrapper, so can't test with just core modules
ok 29 - Porting/git-find-p4-change compiles
# Failed test 30 - Porting/GitUtils.pm compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Fcntl does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/POSIX.pm line 17.\nBEGIN failed--compilation aborted at ../lib/POSIX.pm line 17.\nCompilation failed in require at Porting/GitUtils.pm line 4.\nBEGIN failed--compilation aborted at Porting/GitUtils.pm line 4.\n"
# expected "Porting/GitUtils.pm syntax OK\n"
not ok 30 - Porting/GitUtils.pm compiles
ok 31 # skip Porting/leakfinder.pl uses XS​::APItest, so can't test with just core modules
# Failed test 32 - Porting/Maintainers compiles at porting/utils.t line 89
# got "Porting/Maintainers​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/lib.pm line 6.\nBEGIN failed--compilation aborted at ../lib/lib.pm line 6.\nCompilation failed in require at Porting/Maintainers line 8.\nBEGIN failed--compilation aborted at Porting/Maintainers line 8.\n"
# expected "Porting/Maintainers syntax OK\n"
not ok 32 - Porting/Maintainers compiles
# Failed test 33 - Porting/Maintainers.pl compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of File​::Glob does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at Porting/Maintainers.pl line 12.\nBEGIN failed--compilation aborted at Porting/Maintainers.pl line 12.\n"
# expected "Porting/Maintainers.pl syntax OK\n"
not ok 33 - Porting/Maintainers.pl compiles
# Failed test 34 - Porting/Maintainers.pm compiles at porting/utils.t line 89
# got "Porting/Maintainers.pm​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/lib.pm line 6.\nBEGIN failed--compilation aborted at ../lib/lib.pm line 6.\nCompilation failed in require at Porting/Maintainers.pm line 10.\nBEGIN failed--compilation aborted at Porting/Maintainers.pm line 10.\n"
# expected "Porting/Maintainers.pm syntax OK\n"
not ok 34 - Porting/Maintainers.pm compiles
# Failed test 35 - Porting/make_dot_patch.pl compiles at porting/utils.t line 89
# got "Porting/make_dot_patch.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/lib.pm line 6.\nBEGIN failed--compilation aborted at ../lib/lib.pm line 6.\nCompilation failed in require at Porting/make_dot_patch.pl line 23.\nBEGIN failed--compilation aborted at Porting/make_dot_patch.pl line 23.\n"
# expected "Porting/make_dot_patch.pl syntax OK\n"
not ok 35 - Porting/make_dot_patch.pl compiles
# Failed test 36 - Porting/makemeta compiles at porting/utils.t line 89
# got "Porting/makemeta​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/lib.pm line 6.\nBEGIN failed--compilation aborted at ../lib/lib.pm line 6.\nCompilation failed in require at Porting/makemeta line 58.\nBEGIN failed--compilation aborted at Porting/makemeta line 58.\n"
# expected "Porting/makemeta syntax OK\n"
not ok 36 - Porting/makemeta compiles
# Failed test 37 - Porting/make_modlib_cpan.pl compiles at porting/utils.t line 89
# got "Porting/make_modlib_cpan.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Tie/RefHash.pm line 104.\nBEGIN failed--compilation aborted at ../lib/Tie/RefHash.pm line 104.\nCompilation failed in require at ../lib/Fatal.pm line 9.\nBEGIN failed--compilation aborted at ../lib/Fatal.pm line 9.\nCompilation failed in require at ../lib/autodie.pm line 6.\nBEGIN failed--compilation aborted at ../lib/autodie.pm line 6.\nCompilation failed in require at Porting/make_modlib_cpan.pl line 8.\nBEGIN failed--compilation aborted at Porting/make_modlib_cpan.pl line 8.\n"
# expected "Porting/make_modlib_cpan.pl syntax OK\n"
not ok 37 - Porting/make_modlib_cpan.pl compiles
# Failed test 38 - Porting/makerel compiles at porting/utils.t line 89
# got "Porting/makerel​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/ExtUtils/Manifest.pm line 4.\nBEGIN failed--compilation aborted at ../lib/ExtUtils/Manifest.pm line 4.\nCompilation failed in require at Porting/makerel line 24.\nBEGIN failed--compilation aborted at Porting/makerel line 24.\n"
# expected "Porting/makerel syntax OK\n"
not ok 38 - Porting/makerel compiles
# Failed test 39 - Porting/make-rmg-checklist compiles at porting/utils.t line 89
# got "Porting/make-rmg-checklist​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Tie/RefHash.pm line 104.\nBEGIN failed--compilation aborted at ../lib/Tie/RefHash.pm line 104.\nCompilation failed in require at ../lib/Fatal.pm line 9.\nBEGIN failed--compilation aborted at ../lib/Fatal.pm line 9.\nCompilation failed in require at ../lib/autodie.pm line 6.\nBEGIN failed--compilation aborted at ../lib/autodie.pm line 6.\nCompilation failed in require at Porting/make-rmg-checklist line 4.\nBEGIN failed--compilation aborted at Porting/make-rmg-checklist line 4.\n"
# expected "Porting/make-rmg-checklist syntax OK\n"
not ok 39 - Porting/make-rmg-checklist compiles
# Failed test 40 - Porting/make_snapshot.pl compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Fcntl does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/POSIX.pm line 17.\nBEGIN failed--compilation aborted at ../lib/POSIX.pm line 17.\nCompilation failed in require at Porting/make_snapshot.pl line 13.\nBEGIN failed--compilation aborted at Porting/make_snapshot.pl line 13.\n"
# expected "Porting/make_snapshot.pl syntax OK\n"
not ok 40 - Porting/make_snapshot.pl compiles
ok 41 - Porting/manicheck compiles
ok 42 - Porting/manisort compiles
ok 43 - Porting/new-perldelta.pl compiles
# Failed test 44 - Porting/newtests-perldelta.pl compiles at porting/utils.t line 89
# got "Porting/newtests-perldelta.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Pod/Usage.pm line 19.\nBEGIN failed--compilation aborted at ../lib/Pod/Usage.pm line 19.\nCompilation failed in require at Porting/newtests-perldelta.pl line 5.\nBEGIN failed--compilation aborted at Porting/newtests-perldelta.pl line 5.\n"
# expected "Porting/newtests-perldelta.pl syntax OK\n"
not ok 44 - Porting/newtests-perldelta.pl compiles
# Failed test 45 - Porting/perlhist_calculate.pl compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of File​::Glob does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at Porting/perlhist_calculate.pl line 21.\nBEGIN failed--compilation aborted at Porting/perlhist_calculate.pl line 21.\n"
# expected "Porting/perlhist_calculate.pl syntax OK\n"
not ok 45 - Porting/perlhist_calculate.pl compiles
# Failed test 46 - Porting/pod_lib.pl compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Digest​::MD5 does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at Porting/pod_lib.pl line 4.\nBEGIN failed--compilation aborted at Porting/pod_lib.pl line 4.\n"
# expected "Porting/pod_lib.pl syntax OK\n"
not ok 46 - Porting/pod_lib.pl compiles
# Failed test 47 - Porting/pod_rules.pl compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of re does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/Text/Wrap.pm line 58.\nBEGIN failed--compilation aborted at ../lib/Text/Wrap.pm line 58.\nCompilation failed in require at Porting/pod_rules.pl line 6.\nBEGIN failed--compilation aborted at Porting/pod_rules.pl line 6.\n"
# expected "Porting/pod_rules.pl syntax OK\n"
not ok 47 - Porting/pod_rules.pl compiles
ok 48 # skip Porting/podtidy uses Pod​::Tidy, so can't test with just core modules
# Failed test 49 - Porting/sort_perldiag.pl compiles at porting/utils.t line 89
# got "Porting/sort_perldiag.pl​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/locale.pm line 4.\nBEGIN failed--compilation aborted at ../lib/locale.pm line 4.\nCompilation failed in require at Porting/sort_perldiag.pl line 5.\nBEGIN failed--compilation aborted at Porting/sort_perldiag.pl line 5.\n"
# expected "Porting/sort_perldiag.pl syntax OK\n"
not ok 49 - Porting/sort_perldiag.pl compiles
# Failed test 50 - Porting/sync-with-cpan compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Fcntl does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/IO/Zlib.pm line 292.\nBEGIN failed--compilation aborted at ../lib/IO/Zlib.pm line 292.\nCompilation failed in require at ../lib/Archive/Tar.pm line 11.\nBEGIN failed--compilation aborted at ../lib/Archive/Tar.pm line 11.\nCompilation failed in require at Porting/sync-with-cpan line 130.\nBEGIN failed--compilation aborted at Porting/sync-with-cpan line 130.\n"
# expected "Porting/sync-with-cpan syntax OK\n"
not ok 50 - Porting/sync-with-cpan compiles
# Failed test 51 - Porting/valgrindpp.pl compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of IO does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/IO/Handle.pm line 269.\nBEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 269.\nCompilation failed in require at ../lib/IO/Seekable.pm line 101.\nBEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 101.\nCompilation failed in require at ../lib/IO/File.pm line 133.\nBEGIN failed--compilation aborted at ../lib/IO/File.pm line 133.\nCompilation failed in require at Porting/valgrindpp.pl line 2.\nBEGIN failed--compilation aborted at Porting/valgrindpp.pl line 2.\n"
# expected "Porting/valgrindpp.pl syntax OK\n"
not ok 51 - Porting/valgrindpp.pl compiles
# Failed test 52 - cpan/podlators/blib/script/pod2man compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Encode does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/Pod/Man.pm line 34.\nBEGIN failed--compilation aborted at ../lib/Pod/Man.pm line 34.\nCompilation failed in require at cpan/podlators/blib/script/pod2man line 16.\nBEGIN failed--compilation aborted at cpan/podlators/blib/script/pod2man line 16.\n"
# expected "cpan/podlators/blib/script/pod2man syntax OK\n"
not ok 52 - cpan/podlators/blib/script/pod2man compiles
# Failed test 53 - cpan/podlators/blib/script/pod2text compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Encode does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/Pod/Text.pm line 32.\nBEGIN failed--compilation aborted at ../lib/Pod/Text.pm line 32.\nCompilation failed in require at cpan/podlators/blib/script/pod2text line 19.\nBEGIN failed--compilation aborted at cpan/podlators/blib/script/pod2text line 19.\n"
# expected "cpan/podlators/blib/script/pod2text syntax OK\n"
not ok 53 - cpan/podlators/blib/script/pod2text compiles
ok 54 - cpan/Pod-Usage/blib/script/pod2usage compiles
# Failed test 55 - cpan/Pod-Checker/blib/script/podchecker compiles at porting/utils.t line 89
# got "cpan/Pod-Checker/blib/script/podchecker​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Pod/Usage.pm line 19.\nBEGIN failed--compilation aborted at ../lib/Pod/Usage.pm line 19.\nCompilation failed in require at cpan/Pod-Checker/blib/script/podchecker line 94.\nBEGIN failed--compilation aborted at cpan/Pod-Checker/blib/script/podchecker line 94.\n"
# expected "cpan/Pod-Checker/blib/script/podchecker syntax OK\n"
not ok 55 - cpan/Pod-Checker/blib/script/podchecker compiles
# Failed test 56 - cpan/Pod-Parser/blib/script/podselect compiles at porting/utils.t line 89
# got "cpan/Pod-Parser/blib/script/podselect​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Pod/Usage.pm line 19.\nBEGIN failed--compilation aborted at ../lib/Pod/Usage.pm line 19.\nCompilation failed in require at cpan/Pod-Parser/blib/script/podselect line 78.\nBEGIN failed--compilation aborted at cpan/Pod-Parser/blib/script/podselect line 78.\n"
# expected "cpan/Pod-Parser/blib/script/podselect syntax OK\n"
not ok 56 - cpan/Pod-Parser/blib/script/podselect compiles
# Failed test 57 - utils/c2ph compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Fcntl does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/File/Temp.pm line 15.\nBEGIN failed--compilation aborted at ../lib/File/Temp.pm line 15.\nCompilation failed in require at utils/c2ph line 228.\nBEGIN failed--compilation aborted at utils/c2ph line 228.\n"
# expected "utils/c2ph syntax OK\n"
not ok 57 - utils/c2ph compiles
# Failed test 58 - utils/cpan compiles at porting/utils.t line 89
# got "Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at ../lib/Win32.pm line 8.\nCompilation failed in require at ../lib/Cwd.pm line 765.\nBEGIN failed--compilation aborted at ../lib/CPAN.pm line 17.\nBEGIN failed--compilation aborted at ../lib/CPAN.pm line 17.\nCompilation failed in require at ../lib/App/Cpan.pm line 219.\nBEGIN failed--compilation aborted at ../lib/App/Cpan.pm line 219.\nCompilation failed in require at utils/cpan line 9.\nBEGIN failed--compilation aborted at utils/cpan line 9.\n"
# expected "utils/cpan syntax OK\n"
not ok 58 - utils/cpan compiles
# Failed test 59 - utils/config_data compiles at porting/utils.t line 89
# got "utils/config_data​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/deprecate.pm line 8.\nCompilation failed in require at ../lib/if.pm line 13.\nBEGIN failed--compilation aborted at ../lib/Module/Build.pm line 3.\nCompilation failed in require at utils/config_data line 7.\nBEGIN failed--compilation aborted at utils/config_data line 7.\n"
# expected "utils/config_data syntax OK\n"
not ok 59 - utils/config_data compiles
# Failed test 60 - utils/corelist compiles at porting/utils.t line 89
# got "utils/corelist​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Pod/Usage.pm line 19.\nBEGIN failed--compilation aborted at ../lib/Pod/Usage.pm line 19.\nCompilation failed in require at utils/corelist line 138.\nBEGIN failed--compilation aborted at utils/corelist line 138.\n"
# expected "utils/corelist syntax OK\n"
not ok 60 - utils/corelist compiles
# Failed test 61 - utils/enc2xs compiles at porting/utils.t line 89
# got "utils/enc2xs​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at utils/enc2xs line 9.\nBEGIN failed--compilation aborted at utils/enc2xs line 10.\n"
# expected "utils/enc2xs syntax OK\n"
not ok 61 - utils/enc2xs compiles
# Failed test 62 - utils/h2ph compiles at porting/utils.t line 89
# got "utils/h2ph​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at utils/h2ph line 7.\nBEGIN failed--compilation aborted at utils/h2ph line 7.\n"
# expected "utils/h2ph syntax OK\n"
not ok 62 - utils/h2ph compiles
# Failed test 63 - utils/h2xs compiles at porting/utils.t line 89
# got "utils/h2xs​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at utils/h2xs line 474.\nBEGIN failed--compilation aborted at utils/h2xs line 474.\n"
# expected "utils/h2xs syntax OK\n"
not ok 63 - utils/h2xs compiles
# Failed test 64 - utils/instmodsh compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of IO does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/IO/Handle.pm line 269.\nBEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 269.\nCompilation failed in require at ../lib/IO/Seekable.pm line 101.\nBEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 101.\nCompilation failed in require at ../lib/IO/File.pm line 133.\nBEGIN failed--compilation aborted at ../lib/IO/File.pm line 133.\nCompilation failed in require at utils/instmodsh line 7.\nBEGIN failed--compilation aborted at utils/instmodsh line 7.\n"
# expected "utils/instmodsh syntax OK\n"
not ok 64 - utils/instmodsh compiles
# Failed test 65 - utils/json_pp compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of B does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nBEGIN failed--compilation aborted at ../lib/B.pm line 28.\nCompilation failed in require at ../lib/JSON/PP.pm line 11.\nBEGIN failed--compilation aborted at ../lib/JSON/PP.pm line 11.\nCompilation failed in require at utils/json_pp line 9.\nBEGIN failed--compilation aborted at utils/json_pp line 9.\n"
# expected "utils/json_pp syntax OK\n"
not ok 65 - utils/json_pp compiles
# Failed test 66 - utils/libnetcfg compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of IO does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/IO/Handle.pm line 269.\nBEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 269.\nCompilation failed in require at ../lib/IO/Seekable.pm line 101.\nBEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 101.\nCompilation failed in require at ../lib/IO/File.pm line 133.\nBEGIN failed--compilation aborted at ../lib/IO/File.pm line 133.\nCompilation failed in require at utils/libnetcfg line 68.\nBEGIN failed--compilation aborted at utils/libnetcfg line 68.\n"
# expected "utils/libnetcfg syntax OK\n"
not ok 66 - utils/libnetcfg compiles
# Failed test 67 - utils/perlbug compiles at porting/utils.t line 89
# got "utils/perlbug​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at utils/perlbug line 13.\nBEGIN failed--compilation aborted at utils/perlbug line 13.\n"
# expected "utils/perlbug syntax OK\n"
not ok 67 - utils/perlbug compiles
# Failed test 68 - utils/perldoc compiles at porting/utils.t line 89
# got "utils/perldoc​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Pod/Perldoc.pm line 6.\nBEGIN failed--compilation aborted at ../lib/Pod/Perldoc.pm line 6.\nCompilation failed in require at utils/perldoc line 9.\nBEGIN failed--compilation aborted at utils/perldoc line 9.\n"
# expected "utils/perldoc syntax OK\n"
not ok 68 - utils/perldoc compiles
# Failed test 69 - utils/perlivp compiles at porting/utils.t line 89
# got "utils/perlivp​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at utils/perlivp line 152.\nBEGIN failed--compilation aborted at utils/perlivp line 152.\n"
# expected "utils/perlivp syntax OK\n"
not ok 69 - utils/perlivp compiles
# Failed test 70 - utils/piconv compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Encode does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at utils/piconv line 9.\nBEGIN failed--compilation aborted at utils/piconv line 9.\n"
# expected "utils/piconv syntax OK\n"
not ok 70 - utils/piconv compiles
ok 71 - utils/pl2pm compiles
# Failed test 72 - utils/pod2html compiles at porting/utils.t line 89
# got "utils/pod2html​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Pod/Html.pm line 12.\nBEGIN failed--compilation aborted at ../lib/Pod/Html.pm line 12.\nCompilation failed in require at utils/pod2html line 222.\nBEGIN failed--compilation aborted at utils/pod2html line 222.\n"
# expected "utils/pod2html syntax OK\n"
not ok 72 - utils/pod2html compiles
# Failed test 73 - utils/prove compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of IO does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/IO/Handle.pm line 269.\nBEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 269.\nCompilation failed in require at ../lib/TAP/Harness.pm line 9.\nBEGIN failed--compilation aborted at ../lib/TAP/Harness.pm line 9.\nCompilation failed in require at ../lib/App/Prove.pm line 6.\nBEGIN failed--compilation aborted at ../lib/App/Prove.pm line 6.\nCompilation failed in require at utils/prove line 8.\nBEGIN failed--compilation aborted at utils/prove line 8.\n"
# expected "utils/prove syntax OK\n"
not ok 73 - utils/prove compiles
# Failed test 74 - utils/ptar compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Fcntl does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/IO/Zlib.pm line 292.\nBEGIN failed--compilation aborted at ../lib/IO/Zlib.pm line 292.\nCompilation failed in require at ../lib/Archive/Tar.pm line 11.\nBEGIN failed--compilation aborted at ../lib/Archive/Tar.pm line 11.\nCompilation failed in require at utils/ptar line 9.\nBEGIN failed--compilation aborted at utils/ptar line 9.\n"
# expected "utils/ptar syntax OK\n"
not ok 74 - utils/ptar compiles
# Failed test 75 - utils/ptardiff compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Fcntl does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/IO/Zlib.pm line 292.\nBEGIN failed--compilation aborted at ../lib/IO/Zlib.pm line 292.\nCompilation failed in require at ../lib/Archive/Tar.pm line 11.\nBEGIN failed--compilation aborted at ../lib/Archive/Tar.pm line 11.\nCompilation failed in require at utils/ptardiff line 7.\nBEGIN failed--compilation aborted at utils/ptardiff line 7.\n"
# expected "utils/ptardiff syntax OK\n"
not ok 75 - utils/ptardiff compiles
# Failed test 76 - utils/ptargrep compiles at porting/utils.t line 89
# got "utils/ptargrep​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at ../lib/Pod/Usage.pm line 19.\nBEGIN failed--compilation aborted at ../lib/Pod/Usage.pm line 19.\nCompilation failed in require at utils/ptargrep line 13.\nBEGIN failed--compilation aborted at utils/ptargrep line 13.\n"
# expected "utils/ptargrep syntax OK\n"
not ok 76 - utils/ptargrep compiles
# Failed test 77 - utils/shasum compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of Fcntl does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at utils/shasum line 100.\nBEGIN failed--compilation aborted at utils/shasum line 100.\n"
# expected "utils/shasum syntax OK\n"
not ok 77 - utils/shasum compiles
# Failed test 78 - utils/splain compiles at porting/utils.t line 89
# got "utils/splain​: Perl lib version (5.19.5) doesn\'t match executable \'C​:\\perl519\\src\\perl.exe\' version (5.19.6) at ../lib/Config.pm line 62.\nCompilation failed in require at utils/splain line 198.\nBEGIN failed--compilation aborted at utils/splain line 198.\n"
# expected "utils/splain syntax OK\n"
not ok 78 - utils/splain compiles
ok 79 - utils/xsubpp compiles
# Failed test 80 - utils/zipdetails compiles at porting/utils.t line 89
# got "Perl API version v5.19.5 of IO does not match v5.19.6 at ../lib/XSLoader.pm line 92.\nCompilation failed in require at ../lib/IO/Handle.pm line 269.\nBEGIN failed--compilation aborted at ../lib/IO/Handle.pm line 269.\nCompilation failed in require at ../lib/IO/Seekable.pm line 101.\nBEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 101.\nCompilation failed in require at ../lib/IO/File.pm line 133.\nBEGIN failed--compilation aborted at ../lib/IO/File.pm line 133.\nCompilation failed in require at utils/zipdetails line 14.\nBEGIN failed--compilation aborted at utils/zipdetails line 14.\n"
# expected "utils/zipdetails syntax OK\n"
not ok 80 - utils/zipdetails compiles
ok 81 - x2p/find2perl compiles
ok 82 - x2p/s2p compiles

@p5pRT
Copy link
Author

p5pRT commented Jan 9, 2014

From @bulk88

On Tue Oct 22 14​:31​:33 2013, bulk88 wrote​:

using a blead 5.19.6 this is still a problem but only porting/utils.t
is
the only one left with the problem compared to the original post in
this
ticket

Still a problem.


Unhandled exception at 0x10004d4f (Util.dll) in perl.exe​: 0xC0000005​: Access violation reading location 0x0a0d0a0d.


Util.dll!boot_List__Util(interpreter * my_perl=0x00000004, cv * cv=0x009e3774) Line 1064 + 0x3 C
  perl519.dll!Perl_pp_entersub(interpreter * my_perl=0x00364e9c) Line 2769 + 0x10 C
  perl519.dll!Perl_runops_debug(interpreter * my_perl=0x00364e9c) Line 2397 + 0xd C
  perl519.dll!Perl_call_sv(interpreter * my_perl=0x00364e9c, sv * sv=0x009913ac, volatile long flags=13) Line 2747 + 0x36 C
  perl519.dll!Perl_call_list(interpreter * my_perl=0x00364e9c, long oldscope=23, av * paramList=0x00916604) Line 4843 + 0x52 C
  perl519.dll!S_process_special_blocks(interpreter * my_perl=0x00364e9c, long floor=370, const char * const fullname=0x009a4114, gv * const gv=0x0091de74, cv * const cv=0x009913ac) Line 7993 + 0x17 C
  perl519.dll!Perl_newATTRSUB_x(interpreter * my_perl=0x00364e9c, long floor=370, op * o=0x0094a6a0, op * proto=0x00000000, void * attrs=0x280738a1, op * block=0x0095cb14, char o_is_gv=0) Line 7955 + 0x19 C
  perl519.dll!Perl_yyparse(interpreter * my_perl=0x00364e9c, int gramtype=258) Line 365 + 0x44 C
  perl519.dll!S_doeval(interpreter * my_perl=0x00364e9c, int gimme=2, cv * outside=0x00000000, unsigned long seq=378, hv * hh=0x00000000) Line 3473 + 0x3d C
  perl519.dll!Perl_pp_require(interpreter * my_perl=0x00364e9c) Line 4124 + 0x1b C
  perl519.dll!Perl_runops_debug(interpreter * my_perl=0x00364e9c) Line 2397 + 0xd C
  perl519.dll!Perl_call_sv(interpreter * my_perl=0x00364e9c, sv * sv=0x0091dd6c, volatile long flags=13) Line 2747 + 0x36 C
  perl519.dll!Perl_call_list(interpreter * my_perl=0x00364e9c, long oldscope=16, av * paramList=0x00923e0c) Line 4843 + 0x52 C
  perl519.dll!S_process_special_blocks(interpreter * my_perl=0x00364e9c, long floor=259, const char * const fullname=0x0090c6e0, gv * const gv=0x00923cd4, cv * const cv=0x0091dd6c) Line 7993 + 0x17 C
  perl519.dll!Perl_newATTRSUB_x(interpreter * my_perl=0x00364e9c, long floor=259, op * o=0x0093078c, op * proto=0x00000000, void * attrs=0x280738a1, op * block=0x009307ac, char o_is_gv=0) Line 7955 + 0x19 C
  perl519.dll!Perl_utilize(interpreter * my_perl=0x00364e9c, int aver=1, long floor=259, op * version=0x00000000, op * idop=0x00912a30, op * arg=0x00000000) Line 5373 + 0xb1 C
  perl519.dll!Perl_yyparse(interpreter * my_perl=0x00364e9c, int gramtype=258) Line 398 + 0x2c C
  perl519.dll!S_doeval(interpreter * my_perl=0x00364e9c, int gimme=2, cv * outside=0x00000000, unsigned long seq=72, hv * hh=0x00000000) Line 3473 + 0x3d C
  perl519.dll!Perl_pp_require(interpreter * my_perl=0x00364e9c) Line 4124 + 0x1b C
  perl519.dll!Perl_runops_debug(interpreter * my_perl=0x00364e9c) Line 2397 + 0xd C
  perl519.dll!Perl_call_sv(interpreter * my_perl=0x00364e9c, sv * sv=0x00923e6c, volatile long flags=13) Line 2747 + 0x36 C
  perl519.dll!Perl_call_list(interpreter * my_perl=0x00364e9c, long oldscope=9, av * paramList=0x00934b9c) Line 4843 + 0x52 C
  perl519.dll!S_process_special_blocks(interpreter * my_perl=0x00364e9c, long floor=148, const char * const fullname=0x0090c6e0, gv * const gv=0x00915c5c, cv * const cv=0x00923e6c) Line 7993 + 0x17 C
  perl519.dll!Perl_newATTRSUB_x(interpreter * my_perl=0x00364e9c, long floor=148, op * o=0x0036e434, op * proto=0x00000000, void * attrs=0x280738a1, op * block=0x0036e454, char o_is_gv=0) Line 7955 + 0x19 C
  perl519.dll!Perl_utilize(interpreter * my_perl=0x00364e9c, int aver=1, long floor=148, op * version=0x00000000, op * idop=0x00911d38, op * arg=0x0091d204) Line 5373 + 0xb1 C
  perl519.dll!Perl_yyparse(interpreter * my_perl=0x00364e9c, int gramtype=258) Line 398 + 0x2c C
  perl519.dll!S_doeval(interpreter * my_perl=0x00364e9c, int gimme=2, cv * outside=0x00000000, unsigned long seq=69, hv * hh=0x00000000) Line 3473 + 0x3d C
  perl519.dll!Perl_pp_require(interpreter * my_perl=0x00364e9c) Line 4124 + 0x1b C
  perl519.dll!Perl_runops_debug(interpreter * my_perl=0x00364e9c) Line 2397 + 0xd C
  perl519.dll!Perl_call_sv(interpreter * my_perl=0x00364e9c, sv * sv=0x0090430c, volatile long flags=13) Line 2747 + 0x36 C
  perl519.dll!Perl_call_list(interpreter * my_perl=0x00364e9c, long oldscope=2, av * paramList=0x009042dc) Line 4843 + 0x52 C
  perl519.dll!S_process_special_blocks(interpreter * my_perl=0x00364e9c, long floor=37, const char * const fullname=0x0090c6e0, gv * const gv=0x009042f4, cv * const cv=0x0090430c) Line 7993 + 0x17 C
  perl519.dll!Perl_newATTRSUB_x(interpreter * my_perl=0x00364e9c, long floor=37, op * o=0x0090c574, op * proto=0x00000000, void * attrs=0x280738a1, op * block=0x0090c594, char o_is_gv=0) Line 7955 + 0x19 C
  perl519.dll!Perl_utilize(interpreter * my_perl=0x00364e9c, int aver=1, long floor=37, op * version=0x00000000, op * idop=0x0090c158, op * arg=0x00000000) Line 5373 + 0xb1 C
  perl519.dll!Perl_yyparse(interpreter * my_perl=0x00364e9c, int gramtype=258) Line 398 + 0x2c C
  perl519.dll!S_parse_body(interpreter * my_perl=0x00364e9c, char * * env=0x00362b40, void (interpreter *)* xsinit=0x28238aa0) Line 2274 + 0xe C
  perl519.dll!perl_parse(interpreter * my_perl=0x00364e9c, void (interpreter *)* xsinit=0x28238aa0, int argc=4, char * * argv=0x00364cb8, char * * env=0x00362b40) Line 1586 + 0x11 C
  perl519.dll!RunPerl(int argc=4, char * * argv=0x00364cb8, char * * env=0x00362b40) Line 263 + 0x1a C++
  perl.exe!main(int argc=4, char * * argv=0x00364cb8, char * * env=0x00363320) Line 23 + 0x12 C
  perl.exe!mainCRTStartup() Line 398 + 0xe C
  kernel32.dll!_BaseProcessStart@​4() + 0x23


  perl.exe 00400000-00408000 C​:\perl519\src\t\perl.exe 1 [2796] perl.exe​: Native 1/8/2014 9​:37 PM Symbols loaded.
  ntdll.dll 7C900000-7C9B2000 C​:\WINDOWS\system32\ntdll.dll 2 5.01.2600.5755 [2796] perl.exe​: Native 2/9/2009 7​:10 AM Symbols loaded.
  kernel32.dll 7C800000-7C8F6000 C​:\WINDOWS\system32\kernel32.dll 3 5.01.2600.5781 [2796] perl.exe​: Native 3/21/2009 9​:06 AM Symbols loaded.
  perl519.dll 28000000-282AF000 C​:\perl519\src\t\perl519.dll 4 [2796] perl.exe​: Native 1/8/2014 9​:37 PM Symbols loaded.
  user32.dll 7E410000-7E4A1000 C​:\WINDOWS\system32\user32.dll 5 5.01.2600.5512 [2796] perl.exe​: Native 4/13/2008 7​:11 PM Symbols loaded.
  gdi32.dll 77F10000-77F59000 C​:\WINDOWS\system32\gdi32.dll 6 5.01.2600.5698 [2796] perl.exe​: Native 10/23/2008 7​:36 AM No symbols loaded.
  advapi32.dll 77DD0000-77E6B000 C​:\WINDOWS\system32\advapi32.dll 7 5.01.2600.5755 [2796] perl.exe​: Native 2/9/2009 7​:10 AM No symbols loaded.
  rpcrt4.dll 77E70000-77F02000 C​:\WINDOWS\system32\rpcrt4.dll 8 5.01.2600.5795 [2796] perl.exe​: Native 4/15/2009 9​:51 AM No symbols loaded.
  secur32.dll 77FE0000-77FF1000 C​:\WINDOWS\system32\secur32.dll 9 5.01.2600.5834 [2796] perl.exe​: Native 6/25/2009 3​:25 AM No symbols loaded.
  msvcr71.dll 7C360000-7C3B6000 C​:\WINDOWS\system32\msvcr71.dll 10 7.10.6030.0 [2796] perl.exe​: Native 7/11/2006 8​:35 PM Symbols loaded.
  Util.dll 10000000-10009000 C​:\perl519\lib\auto\List\Util\Util.dll 11 [2796] perl.exe​: Native 12/26/2013 4​:06 PM Symbols loaded.
  version.dll 77C00000-77C08000 C​:\WINDOWS\system32\version.dll 12 5.01.2600.5512 [2796] perl.exe​: Native 4/13/2008 7​:11 PM No symbols loaded.
  msvcrt.dll 77C10000-77C68000 C​:\WINDOWS\system32\msvcrt.dll 13 7.00.2600.5512 [2796] perl.exe​: Native 4/13/2008 7​:12 PM No symbols loaded.
  shlwapi.dll 77F60000-77FD6000 C​:\WINDOWS\system32\shlwapi.dll 14 6.00.2900.5912 [2796] perl.exe​: Native 12/8/2009 4​:23 AM No symbols loaded.
  apphelp.dll 77B40000-77B62000 C​:\WINDOWS\system32\apphelp.dll 15 5.01.2600.5512 [2796] perl.exe​: Native 4/13/2008 7​:09 PM No symbols loaded.


line 1064 is http​://perl5.git.perl.org/perl.git/blob/78add018a01221839c23f0cfecc3110bb28d038f​:/cpan/Scalar-List-Utils/ListUtil.xs#l1064 " rmcsv = GvSVn(rmcgv);" but its not really important where it crashed, notice C​:\perl519\lib\auto\List\Util\Util.dll is a system perl, but C​:\perl519\src\t\perl.exe is a "make test" perl. Cmd line of the process that crashed was "C​:\perl519\src\t\perl.exe "-I../lib" -c "Porting/acknowledgements.pl"" and CWD at time of crash is "C​:\perl519\src\"., the crashed process was not called by harness, but from "./perl -I.. -MTestInit porting/utils.t" that was called from harness.

--
bulk88 ~ bulk88 at hotmail.com

@p5pRT
Copy link
Author

p5pRT commented Jan 14, 2014

From @tonycoz

On Tue Oct 22 14​:31​:33 2013, bulk88 wrote​:

On Fri Jun 28 02​:18​:36 2013, bulk88 wrote​:

This got a commit in blead at

http​://perl5.git.perl.org/perl.git/commit/96d268e2f48e69b4cb65326df6690ffc21120f3c

. It might be time to close this bug but I think Nicholas's comment
is
required for that to be appropriate.

using a blead 5.19.6 this is still a problem but only porting/utils.t
is
the only one left with the problem compared to the original post in
this
ticket

I believe this is now fixed in blead.

I used a poisoned ../lib similar to what Nicholas described, this caused failures
in both utils.t and manifest.t - both for the same reason - they chdir to the build
tree root, then supply -I.. to the tools they execute.

Fixed in b6e1fb8 (utils.t) and 7f1eeb9 (manifest.t).

I also modified pending-author.t to use File​::Spec->devnull instead of a literal /dev/null, which allows this test to work on Win32.

Tony

@p5pRT
Copy link
Author

p5pRT commented Jan 16, 2014

@tonycoz - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant