Discussion:
[rt.cpan.org #82485] cpan -t pp fails most tests in an otherwise working environment
(too old to reply)
Evil Son via RT
2013-01-05 14:28:44 UTC
Permalink
Sat Jan 05 09:28:43 2013: Request 82485 was acted upon.
Transaction: Ticket created by ***@gmail.com
Queue: PAR-Packer
Subject: cpan -t pp fails most tests in an otherwise working environment
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@gmail.com
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82485 >


Thank you for pp.

Environment: Strawberry Perl Portable 5.16.2.1-32bit
Status: Working - e.g., 'cpan Padre' was successful.

Output of 'cpan -t pp' attached but in summary, errors take the form:
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.

Regards Ed Wilson
Roderich Schupp via RT
2013-01-05 15:12:02 UTC
Permalink
Sat Jan 05 10:12:01 2013: Request 82485 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: cpan -t pp fails most tests in an otherwise working environment
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@gmail.com
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82485 >
Environment: Strawberry Perl Portable 5.16.2.1-32bit Status: Working -
...
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"'
is not recognized as an internal or external command, operable program
or batch file.

That's a problem with the "Portable" version of Strawberry Perl -
nothing PAR::Packer can do about it.
See ticket #67380 or the explanation given on the PAR mailing list
https://groups.google.com/d/msg/perl.par/_aNj_pDZ5QQ/RD_YfEXbGxwJ

Closing this bug.

Cheers, Roderich
Tim Hoke via RT
2013-01-05 15:46:07 UTC
Permalink
Sat Jan 05 10:46:05 2013: Request 82485 was acted upon.
Transaction: Correspondence added by thoke
Queue: PAR-Packer
Subject: Re: [rt.cpan.org #82485] cpan -t pp fails most tests in an otherwise working environment
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@gmail.com
Status: resolved
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82485 >


I recently ran into this issue, so thought I'd share two workarounds:

1. Copy perl.exe to the script dir
(e.g. C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\). Note,
this works, but I'm not sure what else might break down the line, so I
switched to option 2:
2. Use the ZIP version of Strawberry Perl. I run the relocation.pl.bat
file included with it, then I manually set the PATH env var when I need to
use perl (rather than execute update_env.pl.bat as I don't want any env
vars left around on my system).

HTH
-Tim

On Sat, Jan 5, 2013 at 8:28 AM, Evil Son via RT
Post by Evil Son via RT
Sat Jan 05 09:28:43 2013: Request 82485 was acted upon.
Queue: PAR-Packer
Subject: cpan -t pp fails most tests in an otherwise working environment
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82485 >
Thank you for pp.
Environment: Strawberry Perl Portable 5.16.2.1-32bit
Status: Working - e.g., 'cpan Padre' was successful.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
Regards Ed Wilson
CPAN: CPAN::SQLite loaded ok (v0.202)
Database was generated on Sat, 05 Jan 2013 04:40:33 GMT
Running test for module 'pp'
Running make for R/RS/RSCHUPP/PAR-Packer-1.014.tar.gz
CPAN: Digest::SHA loaded ok (v5.73)
CPAN: Compress::Zlib loaded ok (v2.055)
Checksum for
C:\Bin\Perl\cpan\sources\authors\id\R\RS\RSCHUPP\PAR-Packer-1.014.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.90)
CPAN: File::Temp loaded ok (v0.22)
CPAN: CPAN::Meta loaded ok (v2.120921)
CPAN: Module::CoreList loaded ok (v2.76)
CPAN.pm: Building R/RS/RSCHUPP/PAR-Packer-1.014.tar.gz
Checking if your kit is complete...
Looks good
Prototype mismatch: sub main::prompt: none vs ($;$) at
C:/Bin/Perl/perl/lib/ExtUtils/MakeMaker.pm line 219.
Writing Makefile for par.exe
Writing MYMETA.yml and MYMETA.json
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json
cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm
cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm
cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm
cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm
cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm
cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm
cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm
cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm
cp lib/pp.pm blib\lib\pp.pm
cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm
C:\Bin\Perl\perl\bin\perl.exe par_pl2c.pl my_par_pl < ..\script\par.pl >
my_par_pl.c
C:\Bin\Perl\perl\bin\perl.exe sha1.c.PL
gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
-I"C:\Bin\Perl\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -s -O2 main.c
main.c:121:23: warning: assignment discards 'const' qualifier from pointer
target type [enabled by default]
rem
windres -i winres\pp.rc -o ppresource.coff --input-format=rc
--output-format=coff --target=pe-i386
g++.exe main.o ppresource.coff -s -s -L"C:\Bin\Perl\perl\lib\CORE"
-L"C:\Bin\Perl\c\lib" C:\Bin\Perl\perl\lib\CORE\libperl516.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libmoldname.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libkernel32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libuser32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libgdi32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libwinspool.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libcomdlg32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libadvapi32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libshell32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libole32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\liboleaut32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libnetapi32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libuuid.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libws2_32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libmpr.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libwinmm.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libversion.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libodbc32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libodbccp32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libcomctl32.a -o par.exe
rem
C:\Bin\Perl\perl\bin\perl.exe encode_append.pl Dynamic.in par.exe
Dynamic.pm
C:\Bin\Perl\perl\bin\perl.exe file2c.pl -c 30000 par.exe
C:\Bin\Perl\perl\bin\perl516.dll C:\Bin\Perl\perl\bin\libgcc_s_sjlj-1.dll
C:\Bin\Perl\perl\bin\libstdc++-6.dll > boot_embedded_files.c
gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
-I"C:\Bin\Perl\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -s -O2 boot.c
boot.c:204:5: warning: passing argument 3 of 'spawnvpe' from incompatible
pointer type [enabled by default]
note: expected 'char * const*' but argument is of type 'const char * const*'
boot.c:204:5: warning: passing argument 4 of 'spawnvpe' from incompatible
pointer type [enabled by default]
note: expected 'char * const*' but argument is of type 'const char * const*'
g++.exe boot.o -static-libgcc -s -s -L"C:\Bin\Perl\perl\lib\CORE"
-L"C:\Bin\Perl\c\lib" C:\Bin\Perl\perl\lib\CORE\libperl516.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libmoldname.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libkernel32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libuser32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libgdi32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libwinspool.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libcomdlg32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libadvapi32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libshell32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libole32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\liboleaut32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libnetapi32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libuuid.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libws2_32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libmpr.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libwinmm.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libversion.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libodbc32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libodbccp32.a
C:\Bin\Perl\c\i686-w64-mingw32\lib\libcomctl32.a ppresource.coff -o
boot.exe
rem
C:\Bin\Perl\perl\bin\perl.exe encode_append.pl Static.in boot.exe
Static.pm
cp Static.pm ..\blib\lib\PAR\StrippedPARL\Static.pm
cp Dynamic.pm ..\blib\lib\PAR\StrippedPARL\Dynamic.pm
C:\Bin\Perl\perl\bin\perl.exe -Mblib run_with_inc.pl par.exe -q -B
-Oparldyn.exe
Use of uninitialized value $d[-1] in string eq at
C:/Bin/Perl/perl/vendor/lib/Portable.pm line 190.
C:\Bin\Perl\perl\bin\perl.exe -MExtUtils::Command -e cp -- parldyn.exe
..\blib\script\parldyn.exe
rem ..\blib\script\parldyn.exe
C:\Bin\Perl\perl\bin\perl.exe -Mblib run_with_inc.pl boot.exe -q -B
-Oparl.exe
Use of uninitialized value $d[-1] in string eq at
C:/Bin/Perl/perl/vendor/lib/Portable.pm line 190.
C:\Bin\Perl\perl\bin\perl.exe -MExtUtils::Command -e cp -- parl.exe
..\blib\script\parl.exe
rem ..\blib\script\parl.exe
C:\Bin\Perl\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp --
script/tkpp blib\script\tkpp
pl2bat.bat blib\script\tkpp
C:\Bin\Perl\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp --
script/pp blib\script\pp
pl2bat.bat blib\script\pp
C:\Bin\Perl\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp -- script/
par.pl blib\script\par.pl
pl2bat.bat blib\script\par.pl
RSCHUPP/PAR-Packer-1.014.tar.gz
C:\Bin\Perl\c\bin\dmake.exe -- OK
CPAN: YAML::XS loaded ok (v0.38)
Running make test
C:\Bin\Perl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/00-pod.t
t/10-parl-generation.t t/20-pp.t t/30-current_exec.t
t/40-packer_cd_option.t t/90-rt59710.t
t/00-pod.t ............... skipped: Set environment variable
PERL_TEST_POD=1 to test POD
Use of uninitialized value $d[-1] in string eq at
C:/Bin/Perl/perl/vendor/lib/Portable.pm line 190.
Use of uninitialized value $d[-1] in string eq at
C:/Bin/Perl/perl/vendor/lib/Portable.pm line 190.
t/10-parl-generation.t ... ok
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_hello_1
# amsg074: sub pp_hello_1 cannot system pp "hello.pl"
# '
# at automated_pp_test.pl line 6932.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_o_hello_hello_dot_pl
# amsg080: sub pp_minus_o_hello_hello_dot_pl: cannot system pp -o
"hello.exe" "hello.pl"
# '
# at automated_pp_test.pl line 6977.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_o_foo_foo_dot_pl_bar_dot_pl
# amsg085: sub pp_minus_o_foo_foo_dot_pl_bar_dot_pl: cannot system pp -o
foo.exe "foo.pl" "bar.pl" )
# '
# at automated_pp_test.pl line 7025.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_p_hello
# amsg090: sub pp_minus_p_hello cannot system pp -p "hello.pl"
# '
# at automated_pp_test.pl line 7073.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_p_minus_o_hello_dot_par_hello
# amsg097: sub pp_minus_p_minus_o_hello_dot_par_hello cannot system pp -p
-o "hello.par" "hello.pl"
# '
# at automated_pp_test.pl line 7121.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_o_hello_file_dot_par
# amsg100: sub pp_minus_o_hello_file_dot_par cannot system pp -p -o
"hello.par" "hello.pl"
# '
# at automated_pp_test.pl line 7171.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_S_minus_o_hello_file
# amsg107: sub pp_minus_S_minus_o_hello_file cannot system pp -S -o
"hello.exe" "hello.pl"
# '
# at automated_pp_test.pl line 7220.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_p_minus_o_out_dot_par_file
# amsg112: sub pp_minus_p_minus_o_out_dot_par_file cannot system pp -p -o
out.par "hello.pl"
# '
# at automated_pp_test.pl line 7267.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_B_with_small_minus_p_tests
# amsg117: sub pp_minus_B_with_small_minus_p_tests cannot system pp -p -o
out_par.par "hello.pl"
# '
# at automated_pp_test.pl line 7314.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_B_with_large_minus_P_tests
# amsg122: sub pp_minus_B_with_large_minus_P_tests cannot system pp -P -o
out_pl.pl "hello.pl"
# '
# at automated_pp_test.pl line 7360.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_e_print_hello
# amsg131: sub pp_minus_e_print_hello cannot system pp -e "print
\"hello\n\";"
# '
# at automated_pp_test.pl line 7405.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_p_minus_e_print_hello
# amsg136: sub pp_minus_p_minus_e_print_hello Cannot system pp -p -e
"print \"hello\n\"";
# '
# at automated_pp_test.pl line 7451.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_P_minus_e_print_hello
# amsg139: sub pp_minus_P_minus_e_print_hello Cannot system pp -P -e
"print \"hello\n\";"
# '
# at automated_pp_test.pl line 7496.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_c_hello
# amsg152: sub pp_minus_c_hello Cannot system pp -c "hello.pl"
# '
# at automated_pp_test.pl line 7542.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_x_hello
# amsg157: sub pp_minus_x_hello Cannot system pp -x "hello.pl"
# '
# at automated_pp_test.pl line 7590.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_n_minus_x_hello
# amsg162: sub pp_minus_n_minus_x_hello cannot system pp -n -x "hello.pl"
# '
# at automated_pp_test.pl line 7638.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_I_foo_hello
# amsg169: sub pp_minus_I_foo_hello cannot system pp foo.pl
# '
# at automated_pp_test.pl line 7683.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_I_foo_minus_I_bar_hello
# amsg190: sub pp_minus_I_foo_minus_I_bar_hello cannot system pp
"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\contrib\automated_pp_test\pp_switch_tests\temp0\
foo.pl"
# '
# at automated_pp_test.pl line 7728.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_lib_foo_hello
# amsg178: sub pp_minus_lib_foo_hello cannot system pp foo.pl
# '
# at automated_pp_test.pl line 7773.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_lib_foo_minus_lib_bar_hello
# amsg204: sub pp_minus_lib_foo_minus_lib_bar_hello cannot system pp
foo.pl
# '
# at automated_pp_test.pl line 7818.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_M_foo_hidden_print_foo
# amsg214: sub pp_minus_M_foo_hidden_print_foo cannot system pp foo.pl
# '
# at automated_pp_test.pl line 7863.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_M_foo_minus_M_bar_hello
# amsg238: sub pp_minus_M_foo_minus_M_bar_hello cannot system pp foo.pl
# '
# at automated_pp_test.pl line 7907.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_X_module_foo
# amsg284: sub pp_minus_X_module_foo cannot system pp
"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\contrib\automated_pp_test\pp_switch_tests\temp2\
foo.pl"
# '
# at automated_pp_test.pl line 7952.
# Failed test 'pp_minus_r_hello
# [430]
# Test 24_0 The command string "pp -r "hello.pl" " in directory
C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\contrib\automated_pp_test\pp_switch_tests\temp0,did
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
# operable program or batch file.
# End of [430] results
#
# Did pp -r "hello.pl" produce a.exe?
# '
# at automated_pp_test.pl line 7997.
# Failed test 'pp_minus_r_hello_a_b_c
# [430]
# Test 25_0 The command string "pp -r "hello.pl" "one" "two" "three" "
in directory
C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\contrib\automated_pp_test\pp_switch_tests\temp1,did
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
# operable program or batch file.
# End of [430] results
#
# Did pp -r "hello.pl" "one" "two" "three" produce a.exe?
# '
# at automated_pp_test.pl line 8042.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_hello_to_log_file
# amsg312: sub pp_hello_to_log_file cannot system pp hello.pl -v
--log=c.txt
# '
# at automated_pp_test.pl line 8087.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_name_four_ways
# amsg324: sub pp_name_four_ways cannot system pp hello.pl
# '
# at automated_pp_test.pl line 8132.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_minus_v_tests
# amsg350: sub pp_minus_v_tests_28_0 cannot system pp -v 1 hello.pl >
v_1.txt
# '
# at automated_pp_test.pl line 8178.
# Failed test 'pp_minus_V
# [430]
# Test 29_0 The command string "pp -V " in directory
C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\contrib\automated_pp_test\pp_switch_tests\temp2,did
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
# operable program or batch file.
# End of [430] results
#
# Did pp -V produce Such use shall not be construed as a distribution?
# '
# at automated_pp_test.pl line 8221.
# Failed test 'pp_help_tests
# Test 30_1
#
# [430]
# Test 30_0 The command string "pp -h " in directory
C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\contrib\automated_pp_test\pp_switch_tests\temp0,did
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
# operable program or batch file.
# End of [430] results
# '
# at automated_pp_test.pl line 8265.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_gui_tests
# amsg572: sub pp_gui_tests cannot system pp --gui --icon hi.ico -o
# '
# at automated_pp_test.pl line 8355.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_test_small_minus_a
# amsg596: sub pp_test_small_minus_a cannot system pp -o hello.exe -a
"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\contrib\automated_pp_test\pp_switch_tests\temp0\text"
hello.pl
# '
# at automated_pp_test.pl line 8400.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'pp_test_large_minus_A
# amsg649: sub pp_test_large_minus_A cannot system pp -o hello.exe -A
all_text_files -a all_text_files hello.pl
# '
# at automated_pp_test.pl line 8445.
# Looks like you failed 33 tests of 34.
t/20-pp.t ................
Dubious, test returned 33 (wstat 8448, 0x2100)
Failed 33/34 subtests
# Please wait
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'Created
"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\t\test-10.exe"'
# at t/30-current_exec.t line 45.
Failed to create
"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\t\test-10.exe"!
# Looks like you planned 4 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 2 just after 1.
t/30-current_exec.t ......
Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
Use of uninitialized value $d[-1] in string eq at
C:/Bin/Perl/perl/vendor/lib/Portable.pm line 190.
Use of uninitialized value $d[-1] in string eq at
C:/Bin/Perl/perl/vendor/lib/Portable.pm line 190.
t/40-packer_cd_option.t .. ok
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"' is
not recognized as an internal or external command,
operable program or batch file.
# Failed test 'Created
"C:\DOCUME~1\NARAYA~1.SWA\LOCALS~1\Temp\rt59710.exe"'
# at t/90-rt59710.t line 24.
Failed to create "C:\DOCUME~1\NARAYA~1.SWA\LOCALS~1\Temp\rt59710.exe"!
# Looks like you planned 3 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 2 just after 1.
t/90-rt59710.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
Test Summary Report
-------------------
t/20-pp.t (Wstat: 8448 Tests: 34 Failed: 33)
Failed tests: 1-30, 32-34
Non-zero exit status: 33
t/30-current_exec.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 1.
t/90-rt59710.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 1.
Files=6, Tests=69, 11 wallclock secs ( 0.03 usr + 0.03 sys = 0.06 CPU)
Result: FAIL
Failed 3/6 test programs. 35/69 subtests failed.
dmake.exe: Error code 130, while making 'test_dynamic'
RSCHUPP/PAR-Packer-1.014.tar.gz
C:\Bin\Perl\c\bin\dmake.exe test -- NOT OK
reports RSCHUPP/PAR-Packer-1.014.tar.gz
Stopping: 'test' failed for 'pp'.
Evil Son via RT
2013-01-06 05:39:40 UTC
Permalink
Sun Jan 06 00:39:39 2013: Request 82485 was acted upon.
Transaction: Correspondence added by ***@gmail.com
Queue: PAR-Packer
Subject: Re: [rt.cpan.org #82485] cpan -t pp fails most tests in an otherwise working environment
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@gmail.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82485 >


Thank you Tim! I have used the first option and 'cpan -f' for now and it
works. Will use the second option when I re-install.

On Sun, Jan 6, 2013 at 1:46 AM, Tim Hoke via RT
Post by Evil Son via RT
<URL: https://rt.cpan.org/Ticket/Display.html?id=82485 >
1. Copy perl.exe to the script dir
(e.g. C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\). Note,
this works, but I'm not sure what else might break down the line, so I
2. Use the ZIP version of Strawberry Perl. I run the relocation.pl.bat
file included with it, then I manually set the PATH env var when I need to
use perl (rather than execute update_env.pl.bat as I don't want any env
vars left around on my system).
HTH
-Tim
On Sat, Jan 5, 2013 at 8:28 AM, Evil Son via RT
Post by Evil Son via RT
Sat Jan 05 09:28:43 2013: Request 82485 was acted upon.
Queue: PAR-Packer
Subject: cpan -t pp fails most tests in an otherwise working environment
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82485 >
Thank you for pp.
Environment: Strawberry Perl Portable 5.16.2.1-32bit
Status: Working - e.g., 'cpan Padre' was successful.
'"C:\Bin\Perl\cpan\build\PAR-Packer-1.014-HkfQj7\blib\script\perl.exe"'
is
Post by Evil Son via RT
not recognized as an internal or external command,
operable program or batch file.
Regards Ed Wilson
<snip>
Roderich Schupp via RT
2013-01-06 15:23:00 UTC
Permalink
Sun Jan 06 10:22:59 2013: Request 82485 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: cpan -t pp fails most tests in an otherwise working environment
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: ***@gmail.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82485 >


Thanks for the workaround tips, Tim!

Loading...