Skip Menu |

This queue is for tickets about the Devel-CallChecker CPAN distribution.

Report information
The Basics
Id: 103830
Status: open
Priority: 0/
Queue: Devel-CallChecker

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.007
  • 0.008
Fixed in: (no value)



Subject: hangs on Windows, perl 5.20.1
Output from 'C:\Strawberry201\perl\bin\perl.exe ./Build test': Can't locate linkable object for C:\STRAWB~1\cpan\build\Devel-CallChecker-0.007-F_VOcn\blib\arch/auto/Devel/CallChecker/CallChecker.xs.dll at lib/Devel/CallChecker.pm line 90. # Looks like you planned 79 tests but ran 2. # Looks like your test exited with 2 just after 2. t\callck.t ..... Dubious, test returned 2 (wstat 512, 0x200) Failed 77/79 subtests t\pod_cvg.t .... ok t\pod_syn.t .... ok Can't locate linkable object for C:\STRAWB~1\cpan\build\Devel-CallChecker-0.007-F_VOcn\blib\arch/auto/Devel/CallChecker/CallChecker.xs.dll at lib/Devel/CallChecker.pm line 90. # Looks like you planned 4 tests but ran 2. # Looks like your test exited with 2 just after 2. t\rv2cvopcv.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests Thread 1 terminated abnormally: Can't locate linkable object for C:\STRAWB~1\cpan\build\Devel-CallChecker-0.007-F_VOcn\blib\arch/auto/Devel/CallChecker/CallChecker.xs.dll at C:\STRAWB~1\cpan\build\Devel-CallChecker-0.007-F_VOcn\blib\lib/Devel/CallChecker.pm line 90 thread 1. -- Alexandr Ciornii, http://chorny.net
On 2015-04-19 19:22:33, CHORNY wrote: Show quoted text
> Output from 'C:\Strawberry201\perl\bin\perl.exe ./Build test': > > Can't locate linkable object for C:\STRAWB~1\cpan\build\Devel- > CallChecker-0.007- > F_VOcn\blib\arch/auto/Devel/CallChecker/CallChecker.xs.dll at > lib/Devel/CallChecker.pm line 90. > # Looks like you planned 79 tests but ran 2. > # Looks like your test exited with 2 just after 2. > t\callck.t ..... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 77/79 subtests > t\pod_cvg.t .... ok > t\pod_syn.t .... ok > Can't locate linkable object for C:\STRAWB~1\cpan\build\Devel- > CallChecker-0.007- > F_VOcn\blib\arch/auto/Devel/CallChecker/CallChecker.xs.dll at > lib/Devel/CallChecker.pm line 90. > # Looks like you planned 4 tests but ran 2. > # Looks like your test exited with 2 just after 2. > t\rv2cvopcv.t .. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/4 subtests > Thread 1 terminated abnormally: Can't locate linkable object for > C:\STRAWB~1\cpan\build\Devel-CallChecker-0.007- > F_VOcn\blib\arch/auto/Devel/CallChecker/CallChecker.xs.dll at > C:\STRAWB~1\cpan\build\Devel-CallChecker-0.007- > F_VOcn\blib\lib/Devel/CallChecker.pm line 90 thread 1.
I also see this problem: https://ci.appveyor.com/project/eserte/map-metro-plugin-map-berlin/build/1.0.1#L180
I'm also running into the same test failure/hanng on Strawberry Perl 5.22 x64 and was able to work around it by copying "CallChecker.a" to "CallChecker.xs.a" in the lib\auto\Devel\CallChecker directory. DynaLoader::Functions is looking for a linkable file from "CallChecker.xs.dll", and in doing so it looks for "CallChecker.xs.a", but does not look for/see "CallChecker.a"
A "better" fix may be to patch Dynaloader/Functions.pm, addint at line 163 to check for a linkable file that doesn't have the ".xs" in it: if ($impname =~ s/\.xs(\.(?:lib|a))\z/$1/i) { return ($impname) if -e $impname; } The "best" fix would probably be to build a DLL that doesn't have ".xs" in the name
New version of DynaLoader::Functions solves this problem. Devel::CallChecker should require DynaLoader::Functions 0.003. -- Alexandr Ciornii, http://chorny.net