Thu Dec 17 19:47:05 2009: Request 52794 was acted upon.
Transaction: Correspondence added by colakong
       Queue: PAR-Packer
     Subject: Multiple tests failing on strawberry perl
   Broken in: 1.001
    Severity: (no value)
       Owner: Nobody
  Requestors: javier...@gmail.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=52794 >


Hi Javier,

I have run into this exact same issue today, while trying to get PAR
installed so that I could update the binary of a program a co-worker of
mine needed. I don't have a solution to the bug, but I have gotten a
work-around in place.

What you do is:

1. Use CPAN in strawberry perl to attempt to install PAR::Packer.
2. As its running (and failing) the tests, cancel out of the build with
Ctrl-C.
3. Use CPAN in strawberry perl to attempt to install PAR::Filter::PodStrip.
4. When PAR::Filter::PodStrip is running, it'll create a PodStrip.pm
file in the build directory.
5. Cancel out of the build with Ctrl-C.
6. Search for the PodStrip.pm file in the c:\strawberry directory (I
just used windows search), and copy that into a new directory structure
that you'll manually create: C:\strawberry\perl\lib\PAR\Filter\

Copying the file into that directory will place PodStrip.pm in the @INC
path, which is what the PAR::Packer build was complaining about in the
first place.

8. Use CPAN in strawberry perl to install PAR::Packer. This time it'll
succeed.


Cedric


On Tue Dec 15 13:10:07 2009, javs wrote:
> I'm using stock strawberry perl 5.8.9.3 on a windows xp vm. I'm seeing
> a lot of similar fails while running tests for the module (output
> below). I've seen the same behavior on strawberry perl 5.10.1.0. I'm
> not sure what to look at here, any help would be appreciated.
> 
> Thanks in advance.
> 
> t/20-pp.t ................ Can't locate PAR/Filter/PodStrip.pm in @INC
> (@INC contains: C:\strawberry\perl\vendor\li
> b . C:\strawberry\perl\lib C:\strawberry\perl\lib
> C:\strawberry\perl\site\lib C:\strawberry\perl\site\lib C:\strawb
> erry\perl\vendor\lib C:\strawberry\perl\vendor\lib) at -e line 754,
> <_FH> chunk 1.
> 
> t/20-pp.t ................ 1/34 #   Failed test 'pp_hello_1
> # [430]
> # Test 1_0 The command string " a.exe " in directory
> C:\strawberry\cpan\build\PAR-Packer-1.001-AEzo6Y\contrib\autom
> ated_pp_test\pp_switch_tests\temp1,did not produce :: "hello" ::
> # Instead, it produced :: Usage: a.exe [ -Alib.par ] [ -Idir ] [
> -Mmodule ] [ src.par ] [ program.pl ]
> #        a.exe [ -B|-b ] [-Ooutfile] src.par
> # Can't locate File/Temp.pm in @INC (@INC contains:
> C:\strawberry\perl\vendor\lib .) at -e line 161.
> # END failed--call queue aborted at -e line 969. ::
> # End of [430] results
> #
> # Did pp "hello.pl"  produce a.exe?
> # '
> #   at automated_pp_test.pl line 7022.
> Can't locate PAR/Filter/PodStrip.pm in @INC (@INC contains:
> C:\strawberry\perl\vendor\lib . C:\strawberry\perl\lib
> C:\strawberry\perl\lib C:\strawberry\perl\site\lib
> C:\strawberry\perl\site\lib C:\strawberry\perl\vendor\lib C:\str
> awberry\perl\vendor\lib) at -e line 754, <_FH> chunk 1.
> t/20-pp.t ................ 2/34 Can't locate PAR/Filter/PodStrip.pm in
> @INC (@INC contains: C:\strawberry\perl\vend
> or\lib . C:\strawberry\perl\lib C:\strawberry\perl\lib
> C:\strawberry\perl\site\lib C:\strawberry\perl\site\lib C:\s
> trawberry\perl\vendor\lib C:\strawberry\perl\vendor\lib) at -e line
> 754, <_FH> chunk 1.
> 
> t/20-pp.t ................ 3/34 #   Failed test
> 'pp_minus_o_foo_foo_dot_pl_bar_dot_pl
> # [430]
> # Test 3_0 The command string " foo.exe " in directory
> C:\strawberry\cpan\build\PAR-Packer-1.001-AEzo6Y\contrib\aut
> omated_pp_test\pp_switch_tests\temp0,did not produce :: "hello foo" ::
> # Instead, it produced :: Usage: foo.exe [ -Alib.par ] [ -Idir ] [
> -Mmodule ] [ src.par ] [ program.pl ]
> #        foo.exe [ -B|-b ] [-Ooutfile] src.par
> # Can't locate File/Temp.pm in @INC (@INC contains:
> C:\strawberry\perl\vendor\lib .) at -e line 161.
> # END failed--call queue aborted at -e line 969. ::
> # End of [430] results
> #
> # Did pp -o foo.exe "foo.pl" "bar.pl"  produce foo.exe?
> # '
> #   at automated_pp_test.pl line 7115.
> t/20-pp.t ................ 5/34 Can't locate PAR/Filter/PodStrip.pm in
> @INC (@INC contains: C:\strawberry\perl\vend
> or\lib . C:\strawberry\perl\lib C:\strawberry\perl\lib
> C:\strawberry\perl\site\lib C:\strawberry\perl\site\lib C:\s
> trawberry\perl\vendor\lib C:\strawberry\perl\vendor\lib) at -e line
> 754, <_FH> chunk 1.
> t/20-pp.t ................ 6/34 Can't locate PAR/Filter/PodStrip.pm in
> @INC (@INC contains: C:\strawberry\perl\vend
> or\lib . C:\strawberry\perl\lib C:\strawberry\perl\lib
> C:\strawberry\perl\site\lib C:\strawberry\perl\site\lib C:\s
> trawberry\perl\vendor\lib C:\strawberry\perl\vendor\lib) at -e line
> 754, <_FH> chunk 1.
> t/20-pp.t ................ 10/34 Can't locate PAR/Filter/PodStrip.pm
> in @INC (@INC contains: C:\strawberry\perl\ven
> dor\lib . C:\strawberry\perl\lib C:\strawberry\perl\lib
> C:\strawberry\perl\site\lib C:\strawberry\perl\site\lib C:\
> strawberry\perl\vendor\lib C:\strawberry\perl\vendor\lib) at -e line
> 754, <_FH> chunk 1.
> 
> t/20-pp.t ................ 11/34 #   Failed test
> 'pp_minus_e_print_hello
> # [430]
> # Test 11_0 The command string " a.exe " in directory
> C:\strawberry\cpan\build\PAR-Packer-1.001-AEzo6Y\contrib\auto
> mated_pp_test\pp_switch_tests\temp2,did not produce :: "hello" ::
> # Instead, it produced :: Usage: a.exe [ -Alib.par ] [ -Idir ] [
> -Mmodule ] [ src.par ] [ program.pl ]
> #        a.exe [ -B|-b ] [-Ooutfile] src.par
> # Can't locate File/Temp.pm in @INC (@INC contains:
> C:\strawberry\perl\vendor\lib .) at -e line 161.
> # END failed--call queue aborted at -e line 969. ::
> # End of [430] results
> #
> # Did pp -e "print \"hello\n\";"  produce a.exe?
> # '
> #   at automated_pp_test.pl line 7495.
> [...]



Reply via email to