Fwd: perl crashing while trying to install File::Flock on Strawberry Perl

[email protected] (Gabor Szabo)
Newsgroups perl.win32.vanilla
Message-ID <[email protected]>
Can anyone with more understand of the internals check this module
and the crash please?

regards
   Gabor

---------- Forwarded message ----------
From: David Muir Sharnoff <[email protected]>
Date: Mon, Jun 27, 2011 at 7:45 AM
Subject: Re: perl crashing while trying to install File::Flock on
Strawberry Perl
To: Gabor Szabo <[email protected]>


File::Flock is pure-perl so if it crashes perl, it should be reported
to the Strawberry Perl folks.
I've never tried to get any of my modules to work on Windows.
-Dave

On Sun, Jun 26, 2011 at 9:11 PM, Gabor Szabo <[email protected]> wrote:
> Hi David,
>
> is File::Flock supposed to work on Windows as well?
> See the thread here:
> http://markmail.org/search/list:org.perl.cpan-testers-discuss#query:list%3Aorg.perl.cpan-testers-discuss+page:5+mid:izzqdqnvypnjgti6+state:results
>
> Gabor
>
> ---------- Forwarded message ----------
> From: Gabor Szabo <[email protected]>
> Date: Sat, Jun 18, 2011 at 11:15 PM
> Subject: perl crashing while trying to install File::Flock on Strawberry Perl
> To: CPAN-Testers-Discuss <[email protected]>
>
>
> As I was running the smoker in Strawberry Perl 5.12.3 I got a crash
> with a pop-up asking me if I want to report the bug to Microsoft so
> I guess this crashed perl itself.
>
> Then I tried to manually install the module and got the same pop-up
> crash.  Below is the output. If I am not mistaken flock is not even
> implemented on Windows so this module should probably not create
> its Makefile when running on Windows but still this is a crash.
> Where do you think I should report this? to RT of File::Flock?
> To Strawberry Perl?
> To p5p via perlbugs?
>
> Gabor
>
>
> C:\>cpan File::Flock
> CPAN: CPAN::SQLite loaded ok (v0.201)
> Database was generated on Sat, 18 Jun 2011 05:34:15 GMT
> Running install for module 'File::Flock'
> CPAN: YAML loaded ok (v0.73)
> CPAN: CPAN::Kwalify loaded ok (v5.50)
> Running make for M/MU/MUIR/modules/File-Flock-2008.01.tar.gz
> CPAN: Digest::SHA loaded ok (v5.61)
> CPAN: Compress::Zlib loaded ok (v2.034)
> Checksum for C:\strawberry\cpan\sources\authors\id\M\MU\MUIR\modules\File-Flock-2008.01.tar.gz
> ok
> CPAN: Archive::Tar loaded ok (v1.76)
> CPAN: File::Temp loaded ok (v0.22)
> CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
> CPAN: CPAN::Meta loaded ok (v2.110930)
>
>  CPAN.pm: Going to build M/MU/MUIR/modules/File-Flock-2008.01.tar.gz
>
> CPAN: CPAN::Reporter loaded ok (v1.1902)
> Checking if your kit is complete...
> Looks good
> Writing Makefile for File::Flock
> (C:\strawberry\perl\bin\perl.exe Makefile.PL exited with 0)
> CPAN::Reporter: Makefile.PL result is 'pass', No errors.
> Could not read metadata file. Falling back to other methods to
> determine prerequisites
> cp lib/File/Flock.pm blib\lib\File\Flock.pm
> (C:\strawberry\c\bin\dmake.EXE exited with 0)
> CPAN::Reporter: dmake result is 'pass', No errors.
>  MUIR/modules/File-Flock-2008.01.tar.gz
>  C:\strawberry\c\bin\dmake.EXE -- OK
> Running make test
> C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
> unlink /tmp/flt2.468: Permission denied at t/flock.t line 81
> trucate /tmp/flt2.468 at 6: Permission denied at t/flock.t line 253
>        main::overwrite_file('/tmp/flt2.468', 'keepme') called at
> t/flock.t line 88
> unlink /tmp/flt8.468: Permission denied at t/flock.t line 148
> unlink /tmp/flt7.468: Permission denied at
> C:\strawberry\cpan\build\File-Flock-2008.01-8UQjK0\blib\lib/File/Flock.pm
> line 175
>        File::Flock::unlock('/tmp/flt7.468') called at
> C:\strawberry\cpan\build\File-Flock-2008.01-8UQjK0\blib\lib/File/Flock.pm
> line 229
>        File::Flock::END() called at C:/strawberry/perl/lib/Carp.pm line 62
>        eval {...} called at C:/strawberry/perl/lib/Carp.pm line 62
> END failed--call queue aborted at t/flock.t line 62.
> t/flock.t ..
> Dubious, test returned 5 (wstat 1280, 0x500)
> Failed 14/199 subtests
>
> Test Summary Report
> -------------------
> t/flock.t (Wstat: 1280 Tests: 185 Failed: 0)
>  Non-zero exit status: 5
>  Parse errors: Tests out of sequence.  Found (129) but expected (125)
>                Tests out of sequence.  Found (130) but expected (126)
>                Tests out of sequence.  Found (131) but expected (127)
>                Tests out of sequence.  Found (132) but expected (128)
>                Tests out of sequence.  Found (133) but expected (129)
> Displayed the first 5 of 62 TAP syntax errors.
> Re-run prove with the -p option to see them all.
> Files=1, Tests=185,  8 wallclock secs ( 0.02 usr +  0.14 sys =  0.16 CPU)
> Result: FAIL
> Failed 1/1 test programs. 0/185 subtests failed.
> dmake.EXE:  Error code 133, while making 'test_dynamic'
> (C:\strawberry\c\bin\dmake.EXE test exited with 65280)
> CPAN::Reporter: Test result is 'fail', One or more tests failed.
> CPAN::Reporter: preparing a CPAN Testers report for File-Flock-2008.01
>
> CPAN::Reporter: this appears to be a duplicate report for the test phase:
> FAIL File-Flock-2008.01 MSWin32-x86-multi-thread 5.1
>
> Test report will not be sent.
>
>  MUIR/modules/File-Flock-2008.01.tar.gz
>  C:\strawberry\c\bin\dmake.EXE test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>  reports MUIR/modules/File-Flock-2008.01.tar.gz
> Running make install
>  make test had returned bad status, won't install without force
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.