develooper Front page | perl.par | Postings from December 2009

[rt.cpan.org #52794] Multiple tests failing on strawberry perl

Thread Previous | Thread Next
From:
Javier Joaquin via RT
Date:
December 18, 2009 17:45
Subject:
[rt.cpan.org #52794] Multiple tests failing on strawberry perl
Message ID:
rt-3.6.HEAD-13597-1261146515-227.52794-15-0@rt.cpan.org
Fri Dec 18 09:28:35 2009: Request 52794 was acted upon.
Transaction: Correspondence added by javs
       Queue: PAR-Packer
     Subject: Multiple tests failing on strawberry perl
   Broken in: 1.001
    Severity: (no value)
       Owner: Nobody
  Requestors: javierous@gmail.com
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=52794 >


Cedric,

Thanks for your reply. I wasn't aware that PodStrip was splitted, I 
thought the problem was something else since I was seeing podstrip 
in the build dir.

I ended up installing it in a similar way than the one you 
described, however I'm seeing more problems, but I'm not sure if 
they are related:

C:\>pp -e "$,=','; print @INC"

C:\>a.exe
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\par-Administrator\cache-
502cac0d5b1ad473cfe241cccadb5692950dfaa5\inc,CODE(0x1174
cec),CODE(0x1174fdc)
C:\>move strawberry strawberry_
        1 file(s) moved.

C:\>a.exe
Can't locate PAR/Heavy.pm in @INC (@INC contains: CODE(0xaab61c) 
C:\strawberry\perl\vendor\lib .) at -e line 345.

Thanks,
Javier.

On Thu Dec 17 19:47:05 2009, colakong wrote:
> 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.
> > [...]
> 
> 




Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About