Closed p5pRT closed 9 years ago
This is a 5.22 blocker so please link it to the 5.22 blocker ticket.
The ExtUtils::MakeMaker that is included with Perl 5.21.9 fails tests when a 32 bit Perl is tested on Win64 (Server 2003).
This was reported and fixed a while ago in https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/193 and ultimately published in v7.05_06 but blead perl is still on 7.04.
examples from "nmake test" -------------------------------------------------------
../lib/warnings.t .................................................. ok
Test Summary Report ------------------- ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t (Wstat: 512 Tes ts: 36 Failed: 2) Failed tests: 19\, 25 Non-zero exit status: 2 ../cpan/ExtUtils-MakeMaker/t/prereq_print.t (Wstat: 768 Tes ts: 11 Failed: 3) Failed tests: 5-6\, 9 Non-zero exit status: 3 ../ext/IPC-Open3/t/IPC-Open3.t (Wstat: 0 Tests : 44 Failed: 0) TODO passed: 25 Files=2434\, Tests=696169\, 2436 wallclock secs (94.30 usr + 22.91 sys = 117.20 CP U) Result: FAIL NMAKE : fatal error U1077: '.\perl.exe' : return code '0x5' Stop.
C:\p521\219src\win32> C:\p521\219src\t>perl harness ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t .. 'chcp' is not recognized as a n internal or external command\, operable program or batch file. ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t .. 8/36 # Failed test ' and talking like we expect' # at t/min_perl_version.t line 142. # 'chcp' is not recognized as an internal or external command\, # operable program or batch file. # $PREREQ_PM = { # 'strict' => '0' # }; # $MIN_PERL_VERSION = '5.005'; # $BUILD_REQUIRES = {}; ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t .. 23/36 # Failed test 'dump has prereqs and perl version' # at t/min_perl_version.t line 166. # ''chcp' is not recognized as an internal or external command \, # operable program or batch file. # perl(perl)>=5.005 perl(strict)>=0 # ' # doesn't match '(?^x:^perl\(perl\) \s* >= 5\.005 \s+ perl\(strict\) \s* >= \s* 0 \s*$)' ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t .. 31/36 # Looks like you failed 2 tests of 36. ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t .. Dubious\, test returned 2 (wst at 512\, 0x200) Failed 2/36 subtests (less 3 skipped subtests: 31 okay)
Test Summary Report ------------------- ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t (Wstat: 512 Tests: 36 Failed: 2)
Failed tests: 19\, 25 Non-zero exit status: 2 Files=1\, Tests=36\, 10 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) Result: FAIL
C:\p521\219src\t> C:\p521\219src\t>perl harness ../cpan/ExtUtils-MakeMaker/t/prereq_print.t ../cpan/ExtUtils-MakeMaker/t/prereq_print.t .. 'chcp' is not recognized as an in ternal or external command\, operable program or batch file. ../cpan/ExtUtils-MakeMaker/t/prereq_print.t .. 1/11 Bareword found where operato r expected at (eval 30) line 1\, near "'chcp' is" ../cpan/ExtUtils-MakeMaker/t/prereq_print.t .. 3/11 (Missing operator before is?) Unquoted string "is" may clash with future reserved word at (eval 30) line 1.
# Failed test 'prereqs dumped' # at t/prereq_print.t line 56. # Structures begin differing at: # $got = undef # $expected = HASH(0x2529754)
# Failed test ' without error' # at t/prereq_print.t line 57. # got: 'syntax error at (eval 30) line 1\, near "'chcp' is " # ' # expected: ''
# Failed test 'prereqs dumped' # at t/prereq_print.t line 64. # ''chcp' is not recognized as an internal or external command \, # operable program or batch file. # perl(strict)>=0 # ' # doesn't match '(?^x:^perl\(strict\) \s* >= \s* 0 \s*$)' # Looks like you failed 3 tests of 11. ../cpan/ExtUtils-MakeMaker/t/prereq_print.t .. Dubious\, test returned 3 (wstat 7 68\, 0x300) Failed 3/11 subtests
Test Summary Report ------------------- ../cpan/ExtUtils-MakeMaker/t/prereq_print.t (Wstat: 768 Tests: 11 Failed: 3) Failed tests: 5-6\, 9 Non-zero exit status: 3 Files=1\, Tests=11\, 2 wallclock secs ( 0.02 usr + 0.02 sys = 0.03 CPU) Result: FAIL
C:\p521\219src\t> -------------------------------------------------------
This is a 5.22 blocker so please link it to the 5.22 blocker ticket.
The ExtUtils::MakeMaker that is included with Perl 5.21.9 fails tests when a 32 bit Perl is tested on Win64 (Server 2003).
This was reported and fixed a while ago in https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/193 and ultimately published in v7.05_06 but blead perl is still on 7.04.
examples from "nmake test" -------------------------------------------------------
../lib/warnings.t .................................................. ok
Test Summary Report ------------------- ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t (Wstat: 512 Tes ts: 36 Failed: 2) Failed tests: 19\, 25 Non-zero exit status: 2 ../cpan/ExtUtils-MakeMaker/t/prereq_print.t (Wstat: 768 Tes ts: 11 Failed: 3) Failed tests: 5-6\, 9 Non-zero exit status: 3 ../ext/IPC-Open3/t/IPC-Open3.t (Wstat: 0 Tests : 44 Failed: 0) TODO passed: 25 Files=2434\, Tests=696169\, 2436 wallclock secs (94.30 usr + 22.91 sys = 117.20 CP U) Result: FAIL NMAKE : fatal error U1077: '.\perl.exe' : return code '0x5' Stop.
C:\p521\219src\win32> C:\p521\219src\t>perl harness ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t .. 'chcp' is not recognized as a n internal or external command\, operable program or batch file. ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t .. 8/36 # Failed test ' and talking like we expect' # at t/min_perl_version.t line 142. # 'chcp' is not recognized as an internal or external command\, # operable program or batch file. # $PREREQ_PM = { # 'strict' => '0' # }; # $MIN_PERL_VERSION = '5.005'; # $BUILD_REQUIRES = {}; ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t .. 23/36 # Failed test 'dump has prereqs and perl version' # at t/min_perl_version.t line 166. # ''chcp' is not recognized as an internal or external command \, # operable program or batch file. # perl(perl)>=5.005 perl(strict)>=0 # ' # doesn't match '(?^x:^perl\(perl\) \s* >= 5\.005 \s+ perl\(strict\) \s* >= \s* 0 \s*$)' ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t .. 31/36 # Looks like you failed 2 tests of 36. ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t .. Dubious\, test returned 2 (wst at 512\, 0x200) Failed 2/36 subtests (less 3 skipped subtests: 31 okay)
Test Summary Report ------------------- ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t (Wstat: 512 Tests: 36 Failed: 2)
Failed tests: 19\, 25 Non-zero exit status: 2 Files=1\, Tests=36\, 10 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) Result: FAIL
C:\p521\219src\t> C:\p521\219src\t>perl harness ../cpan/ExtUtils-MakeMaker/t/prereq_print.t ../cpan/ExtUtils-MakeMaker/t/prereq_print.t .. 'chcp' is not recognized as an in ternal or external command\, operable program or batch file. ../cpan/ExtUtils-MakeMaker/t/prereq_print.t .. 1/11 Bareword found where operato r expected at (eval 30) line 1\, near "'chcp' is" ../cpan/ExtUtils-MakeMaker/t/prereq_print.t .. 3/11 (Missing operator before is?) Unquoted string "is" may clash with future reserved word at (eval 30) line 1.
# Failed test 'prereqs dumped' # at t/prereq_print.t line 56. # Structures begin differing at: # $got = undef # $expected = HASH(0x2529754)
# Failed test ' without error' # at t/prereq_print.t line 57. # got: 'syntax error at (eval 30) line 1\, near "'chcp' is " # ' # expected: ''
# Failed test 'prereqs dumped' # at t/prereq_print.t line 64. # ''chcp' is not recognized as an internal or external command \, # operable program or batch file. # perl(strict)>=0 # ' # doesn't match '(?^x:^perl\(strict\) \s* >= \s* 0 \s*$)' # Looks like you failed 3 tests of 11. ../cpan/ExtUtils-MakeMaker/t/prereq_print.t .. Dubious\, test returned 3 (wstat 7 68\, 0x300) Failed 3/11 subtests
Test Summary Report ------------------- ../cpan/ExtUtils-MakeMaker/t/prereq_print.t (Wstat: 768 Tests: 11 Failed: 3) Failed tests: 5-6\, 9 Non-zero exit status: 3 Files=1\, Tests=11\, 2 wallclock secs ( 0.02 usr + 0.02 sys = 0.03 CPU) Result: FAIL
C:\p521\219src\t> -------------------------------------------------------
Appears to be a duplicate of RT #123998; merging. -- James E Keenan (jkeenan@cpan.org)
The failure list has grown in the last month or so\, previously ../cpan/ExtUtils-MakeMaker/t/prereq_print.t and ../cpan/ExtUtils-MakeMaker/t/min_perl_version.t failed\, now t/porting/utils.t is also failing. IDK what exactly changed.
C:\p521\srcpara>perl t/porting/utils.t # Porting/bisect-example.sh isn't a Perl script # Porting/config_H isn't a Perl script # Porting/config.sh isn't a Perl script # Porting/corelist-diff isn't a Perl script # Porting/deparse-skips.txt isn't a Perl script # Porting/epigraphs.pod isn't a Perl script # Porting/exec-bit.txt isn't a Perl script # Porting/git-make-p4-refs isn't a Perl script # Porting/Glossary isn't a Perl script # Porting/how_to_write_a_perldelta.pod isn't a Perl script # Porting/perl5220delta.pod isn't a Perl script # Porting/perldelta_template.pod isn't a Perl script # Porting/pumpkin.pod isn't a Perl script # Porting/README.pod isn't a Perl script # Porting/README.y2038 isn't a Perl script # Porting/release_announcement_template.txt isn't a Perl script # Porting/release_managers_guide.pod isn't a Perl script # Porting/release_schedule.pod isn't a Perl script # Porting/rt_list_patches isn't a Perl script # Porting/timecheck2.c isn't a Perl script # Porting/timecheck.c isn't a Perl script # Porting/todo.pod isn't a Perl script 1..81 ok 1 - installman compiles ok 2 - installperl compiles ok 3 - regen_perly.pl compiles ok 4 - regen/uconfig_h.pl compiles ok 5 - Porting/acknowledgements.pl compiles ok 6 - Porting/add-package.pl compiles ok 7 - Porting/bench.pl compiles ok 8 - Porting/bisect.pl compiles ok 9 - Porting/bisect-runner.pl compiles ok 10 - Porting/bump-perl-version compiles ok 11 - Porting/check83.pl compiles ok 12 - Porting/checkansi.pl compiles ok 13 - Porting/checkAUTHORS.pl compiles ok 14 - Porting/checkcfgvar.pl compiles ok 15 - Porting/check-cpan-pollution compiles ok 16 - Porting/checkpodencoding.pl compiles ok 17 - Porting/checkURL.pl compiles ok 18 - Porting/checkVERSION.pl compiles ok 19 - Porting/cherrymaint compiles not ok 20 - Porting/cmpVERSION.pl compiles # Failed test 20 - Porting/cmpVERSION.pl compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noper able program or batch file.\nPorting/cmpVERSION.pl syntax OK\n" # expected "Porting/cmpVERSION.pl syntax OK\n" # when executing perl with '-c Porting/cmpVERSION.pl' ok 21 - Porting/config_h.pl compiles not ok 22 - Porting/core-cpan-diff compiles # Failed test 22 - Porting/core-cpan-diff compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noper able program or batch file.\nPorting/core-cpan-diff syntax OK\n" # expected "Porting/core-cpan-diff syntax OK\n" # when executing perl with '-c Porting/core-cpan-diff' not ok 23 - Porting/corecpan.pl compiles # Failed test 23 - Porting/corecpan.pl compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noper able program or batch file.\nPorting/corecpan.pl syntax OK\n" # expected "Porting/corecpan.pl syntax OK\n" # when executing perl with '-c Porting/corecpan.pl' ok 24 - Porting/corelist-perldelta.pl compiles not ok 25 - Porting/corelist.pl compiles # Failed test 25 - Porting/corelist.pl compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noper able program or batch file.\nPorting/corelist.pl syntax OK\n" # expected "Porting/corelist.pl syntax OK\n" # when executing perl with '-c Porting/corelist.pl' ok 26 - Porting/exercise_makedef.pl compiles ok 27 - Porting/expand-macro.pl compiles ok 28 - Porting/findrfuncs compiles ok 29 # skip Porting/git-deltatool uses Git::Wrapper\, so can't test with just co re modules ok 30 - Porting/git-find-p4-change compiles ok 31 - Porting/GitUtils.pm compiles ok 32 # skip Porting/leakfinder.pl uses XS::APItest\, so can't test with just cor e modules ok 33 - Porting/Maintainers compiles ok 34 - Porting/Maintainers.pl compiles ok 35 - Porting/Maintainers.pm compiles ok 36 - Porting/make_dot_patch.pl compiles ok 37 - Porting/makemeta compiles ok 38 - Porting/make_modlib_cpan.pl compiles ok 39 - Porting/makerel compiles ok 40 - Porting/make-rmg-checklist compiles ok 41 - Porting/make_snapshot.pl compiles ok 42 - Porting/manicheck compiles ok 43 - Porting/manisort compiles ok 44 - Porting/new-perldelta.pl compiles ok 45 - Porting/newtests-perldelta.pl compiles ok 46 - Porting/perlhist_calculate.pl compiles ok 47 - Porting/pod_lib.pl compiles ok 48 - Porting/pod_rules.pl compiles ok 49 # skip Porting/podtidy uses Pod::Tidy\, so can't test with just core module s ok 50 - Porting/sort_perldiag.pl compiles ok 51 - Porting/sync-with-cpan compiles ok 52 - Porting/valgrindpp.pl compiles ok 53 - cpan/podlators/blib/script/pod2man compiles ok 54 - cpan/podlators/blib/script/pod2text compiles ok 55 - cpan/Pod-Usage/blib/script/pod2usage compiles ok 56 - cpan/Pod-Checker/blib/script/podchecker compiles ok 57 - cpan/Pod-Parser/blib/script/podselect compiles ok 58 - utils/c2ph compiles not ok 59 - utils/cpan compiles # Failed test 59 - utils/cpan compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noper able program or batch file.\nutils/cpan syntax OK\n" # expected "utils/cpan syntax OK\n" # when executing perl with '-c utils/cpan' ok 60 - utils/corelist compiles ok 61 - utils/enc2xs compiles ok 62 - utils/encguess compiles ok 63 - utils/h2ph compiles ok 64 - utils/h2xs compiles not ok 65 - utils/instmodsh compiles # Failed test 65 - utils/instmodsh compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noper able program or batch file.\nutils/instmodsh syntax OK\n" # expected "utils/instmodsh syntax OK\n" # when executing perl with '-c utils/instmodsh' ok 66 - utils/json_pp compiles not ok 67 - utils/libnetcfg compiles # Failed test 67 - utils/libnetcfg compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noper able program or batch file.\nutils/libnetcfg syntax OK\n" # expected "utils/libnetcfg syntax OK\n" # when executing perl with '-c utils/libnetcfg' ok 68 - utils/perlbug compiles ok 69 - utils/perldoc compiles not ok 70 - utils/perlivp compiles # Failed test 70 - utils/perlivp compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noper able program or batch file.\nutils/perlivp syntax OK\n" # expected "utils/perlivp syntax OK\n" # when executing perl with '-c utils/perlivp' ok 71 - utils/piconv compiles ok 72 - utils/pl2pm compiles ok 73 - utils/pod2html compiles ok 74 - utils/prove compiles ok 75 - utils/ptar compiles ok 76 - utils/ptardiff compiles ok 77 - utils/ptargrep compiles ok 78 - utils/shasum compiles ok 79 - utils/splain compiles ok 80 - utils/xsubpp compiles ok 81 - utils/zipdetails compiles
C:\p521\srcpara>
The chcp warning comes from whenever "use ExtUtils::MakeMaker;" executes.
C:\p521\srcpara>perl -MExtUtils::MakeMaker -E"0" 'chcp' is not recognized as an internal or external command\, operable program or batch file.
C:\p521\srcpara>
-- bulk88 ~ bulk88 at hotmail.com
On Thu Mar 05 18:51:22 2015\, natti2121@outlook.com wrote:
This is a 5.22 blocker so please link it to the 5.22 blocker ticket.
The ExtUtils::MakeMaker that is included with Perl 5.21.9 fails tests when a 32 bit Perl is tested on Win64 (Server 2003).
This was reported and fixed a while ago in https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/193 and ultimately published in v7.05_06 but blead perl is still on 7.04.
The tests pass for me on x64 Win 7 with a 32-bit build:
J:\dev\perl\git\perl\win32>nmake test TEST_FILES="porting\utils.t ..\cpan\ExtUtils-MakeMaker\t\*.t" ... perl.exe harness porting\utils.t ..\cpan\ExtUtils-MakeMaker\t\*.t porting/utils.t ...................................... ok ../cpan/ExtUtils-MakeMaker/t/00compile.t ............. skipped: No MANIFEST ../cpan/ExtUtils-MakeMaker/t/01perl_bugs.t ........... ok ... ../cpan/ExtUtils-MakeMaker/t/WriteEmptyMakefile.t .... ok ../cpan/ExtUtils-MakeMaker/t/writemakefile_args.t .... ok ../cpan/ExtUtils-MakeMaker/t/xs.t .................... ok All tests successful. Files=63\, Tests=1078\, 100 wallclock secs ( 0.28 usr + 0.03 sys = 0.31 CPU) Result: PASS cd ..\win32
J:\dev\perl\git\perl\win32>dumpbin /headers ..\t\perl.exe | find "machine" 14C machine (x86) 32 bit word machine J:\dev\perl\git\perl\win32>
Tony
The RT System itself - Status changed from 'new' to 'open'
-----Original Message----- From: Tony Cook via RT Sent: Friday\, April 10\, 2015 11:22 AM To: OtherRecipients of perl Ticket #123998: Cc: perl5-porters@perl.org Subject: [perl #123998] blead's EUMM always fails tests on Win32 Perl on Win64
This was reported and fixed a while ago in https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/193 and ultimately published in v7.05_06 but blead perl is still on 7.04.
The tests pass for me on x64 Win 7 with a 32-bit build:
They pass for me on x64 Win 7 (both 32-bit and 64-bit builds) - but only if chcp.com gets found. (It's in \Windows\system32 for me.)
If I remove ".COM" from the PATHEXT env var\, then the failures occur.
I don't know why chcp.com would not be locatable on some systems. (Does it not exist ? Is PATHEXT set to exclude it ?)
Cheers\, Rob
On Thu Apr 09 18:22:38 2015\, tonyc wrote:
On Thu Mar 05 18:51:22 2015\, natti2121@outlook.com wrote:
This is a 5.22 blocker so please link it to the 5.22 blocker ticket.
The ExtUtils::MakeMaker that is included with Perl 5.21.9 fails tests when a 32 bit Perl is tested on Win64 (Server 2003).
This was reported and fixed a while ago in https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/193 and ultimately published in v7.05_06 but blead perl is still on 7.04.
The tests pass for me on x64 Win 7 with a 32-bit build:
In any case\, here's a backport patch of the change in EU::MM.
Tony
On Thu Apr 09 19:08:04 2015\, sisyphus wrote:
They pass for me on x64 Win 7 (both 32-bit and 64-bit builds) - but only if chcp.com gets found. (It's in \Windows\system32 for me.)
If I remove ".COM" from the PATHEXT env var\, then the failures occur.
I don't know why chcp.com would not be locatable on some systems. (Does it not exist ? Is PATHEXT set to exclude it ?)
Cheers\, Rob
Server 2003 x64 running/compiling 32 bit perl. If you read the GH ticket https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/193 you will see many other software projects have this problem and document it.
-- bulk88 ~ bulk88 at hotmail.com
On Thu Apr 09 22:03:03 2015\, tonyc wrote:
In any case\, here's a backport patch of the change in EU::MM.
Tony
The EUMM .t'es are passing with your patch but t/porting/utils.t is still failing. Maybe EUMM should be reverted to 7.02?
# Porting/bisect-example.sh isn't a Perl script # Porting/config_H isn't a Perl script # Porting/config.sh isn't a Perl script # Porting/corelist-diff isn't a Perl script # Porting/deparse-skips.txt isn't a Perl script # Porting/epigraphs.pod isn't a Perl script # Porting/exec-bit.txt isn't a Perl script # Porting/git-make-p4-refs isn't a Perl script # Porting/Glossary isn't a Perl script # Porting/how_to_write_a_perldelta.pod isn't a Perl script # Porting/perl5220delta.pod isn't a Perl script # Porting/perldelta_template.pod isn't a Perl script # Porting/pumpkin.pod isn't a Perl script # Porting/README.pod isn't a Perl script # Porting/README.y2038 isn't a Perl script # Porting/release_announcement_template.txt isn't a Perl script # Porting/release_managers_guide.pod isn't a Perl script # Porting/release_schedule.pod isn't a Perl script # Porting/rt_list_patches isn't a Perl script # Porting/timecheck2.c isn't a Perl script # Porting/timecheck.c isn't a Perl script # Porting/todo.pod isn't a Perl script 1..81 ok 1 - installman compiles ok 2 - installperl compiles ok 3 - regen_perly.pl compiles ok 4 - regen/uconfig_h.pl compiles ok 5 - Porting/acknowledgements.pl compiles ok 6 - Porting/add-package.pl compiles ok 7 - Porting/bench.pl compiles ok 8 - Porting/bisect.pl compiles ok 9 - Porting/bisect-runner.pl compiles ok 10 - Porting/bump-perl-version compiles ok 11 - Porting/check83.pl compiles ok 12 - Porting/checkansi.pl compiles ok 13 - Porting/checkAUTHORS.pl compiles ok 14 - Porting/checkcfgvar.pl compiles ok 15 - Porting/check-cpan-pollution compiles ok 16 - Porting/checkpodencoding.pl compiles ok 17 - Porting/checkURL.pl compiles ok 18 - Porting/checkVERSION.pl compiles ok 19 - Porting/cherrymaint compiles # Failed test 20 - Porting/cmpVERSION.pl compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noperable program or batch file.\nPorting/cmpVERSION.pl syntax OK\n" # expected "Porting/cmpVERSION.pl syntax OK\n" # when executing perl with '-c Porting/cmpVERSION.pl' not ok 20 - Porting/cmpVERSION.pl compiles ok 21 - Porting/config_h.pl compiles # Failed test 22 - Porting/core-cpan-diff compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noperable program or batch file.\nPorting/core-cpan-diff syntax OK\n" # expected "Porting/core-cpan-diff syntax OK\n" # when executing perl with '-c Porting/core-cpan-diff' not ok 22 - Porting/core-cpan-diff compiles # Failed test 23 - Porting/corecpan.pl compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noperable program or batch file.\nPorting/corecpan.pl syntax OK\n" # expected "Porting/corecpan.pl syntax OK\n" # when executing perl with '-c Porting/corecpan.pl' not ok 23 - Porting/corecpan.pl compiles ok 24 - Porting/corelist-perldelta.pl compiles # Failed test 25 - Porting/corelist.pl compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noperable program or batch file.\nPorting/corelist.pl syntax OK\n" # expected "Porting/corelist.pl syntax OK\n" # when executing perl with '-c Porting/corelist.pl' not ok 25 - Porting/corelist.pl compiles ok 26 - Porting/exercise_makedef.pl compiles ok 27 - Porting/expand-macro.pl compiles ok 28 - Porting/findrfuncs compiles ok 29 # skip Porting/git-deltatool uses Git::Wrapper\, so can't test with just core modules ok 30 - Porting/git-find-p4-change compiles ok 31 - Porting/GitUtils.pm compiles ok 32 # skip Porting/leakfinder.pl uses XS::APItest\, so can't test with just core modules ok 33 - Porting/Maintainers compiles ok 34 - Porting/Maintainers.pl compiles ok 35 - Porting/Maintainers.pm compiles ok 36 - Porting/make_dot_patch.pl compiles ok 37 - Porting/makemeta compiles ok 38 - Porting/make_modlib_cpan.pl compiles ok 39 - Porting/makerel compiles ok 40 - Porting/make-rmg-checklist compiles ok 41 - Porting/make_snapshot.pl compiles ok 42 - Porting/manicheck compiles ok 43 - Porting/manisort compiles ok 44 - Porting/new-perldelta.pl compiles ok 45 - Porting/newtests-perldelta.pl compiles ok 46 - Porting/perlhist_calculate.pl compiles ok 47 - Porting/pod_lib.pl compiles ok 48 - Porting/pod_rules.pl compiles ok 49 # skip Porting/podtidy uses Pod::Tidy\, so can't test with just core modules ok 50 - Porting/sort_perldiag.pl compiles ok 51 - Porting/sync-with-cpan compiles ok 52 - Porting/valgrindpp.pl compiles ok 53 - cpan/podlators/blib/script/pod2man compiles ok 54 - cpan/podlators/blib/script/pod2text compiles ok 55 - cpan/Pod-Usage/blib/script/pod2usage compiles ok 56 - cpan/Pod-Checker/blib/script/podchecker compiles ok 57 - cpan/Pod-Parser/blib/script/podselect compiles ok 58 - utils/c2ph compiles ok 59 - utils/cpan compiles ok 60 - utils/corelist compiles ok 61 - utils/enc2xs compiles ok 62 - utils/encguess compiles ok 63 - utils/h2ph compiles ok 64 - utils/h2xs compiles # Failed test 65 - utils/instmodsh compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noperable program or batch file.\nutils/instmodsh syntax OK\n" # expected "utils/instmodsh syntax OK\n" # when executing perl with '-c utils/instmodsh' not ok 65 - utils/instmodsh compiles ok 66 - utils/json_pp compiles # Failed test 67 - utils/libnetcfg compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noperable program or batch file.\nutils/libnetcfg syntax OK\n" # expected "utils/libnetcfg syntax OK\n" # when executing perl with '-c utils/libnetcfg' not ok 67 - utils/libnetcfg compiles ok 68 - utils/perlbug compiles ok 69 - utils/perldoc compiles # Failed test 70 - utils/perlivp compiles at t/porting/utils.t line 85 # got "\'chcp\' is not recognized as an internal or external command\,\noperable program or batch file.\nutils/perlivp syntax OK\n" # expected "utils/perlivp syntax OK\n" # when executing perl with '-c utils/perlivp' not ok 70 - utils/perlivp compiles ok 71 - utils/piconv compiles ok 72 - utils/pl2pm compiles ok 73 - utils/pod2html compiles ok 74 - utils/prove compiles ok 75 - utils/ptar compiles ok 76 - utils/ptardiff compiles ok 77 - utils/ptargrep compiles ok 78 - utils/shasum compiles ok 79 - utils/splain compiles ok 80 - utils/xsubpp compiles ok 81 - utils/zipdetails compiles
The reason for that is
C:\p521\srcpara>perl -Ilib -MExtUtils::MakeMaker -e"0" 'chcp' is not recognized as an internal or external command\, operable program or batch file.
C:\p521\srcpara>
So should a new ticket be filed on GH or should EUMM be reverted in core or what?
-- bulk88 ~ bulk88 at hotmail.com
Karen points out https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/193 which indicates that cda0edd in that repo should be a fix. Hopefully this means we have a way forward: we apply that locally\, or we get an EUMM release cut with that fix (and as little as possible else.)
On Mon Apr 27 15:30:45 2015\, rjbs wrote:
Karen points out https://github.com/Perl-Toolchain-Gang/ExtUtils- MakeMaker/issues/193 which indicates that cda0edd in that repo should be a fix. Hopefully this means we have a way forward: we apply that locally\, or we get an EUMM release cut with that fix (and as little as possible else.)
commit https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/cda0edd5067a2348f183d9100cc5b0fa92336937 became p5p patch https://rt-archive.perl.org/perl5/Ticket/Attachment/1339705/716378/0001-perl-123998-backport-cda0edd5-from-EU-MM-upstream.patch but that p5p patch is from a EUMM patch that stopped EUMM's tests from failing\, it did not fix the underlying bug of that failure message from win32 shell being printed to STDERR every time you "require ExtUtils::MakeMaker;". That underlying bug means p5p test t/porting/utils.t fails.
In any case\,
C:\p521\srcpara>perl -Ilib -MExtUtils::MakeMaker -e"0" 'chcp' is not recognized as an internal or external command\, operable program or batch file.
C:\p521\srcpara>
this is clearly a bug.
Here is some manual bisecting I did to narrow the problem.
################################################################### C:\sources\eumm>git log -n1 commit 75026401caf26d92966d0dc6175d047c15c35079 Author: Chris 'BinGOs' Williams \chris@​bingosnet\.co\.uk Date: Tue Jan 20 10:01:06 2015 +0000
Release engineering for v7.05_08
C:\sources\eumm>C:\p521\srcpara\perl -Ilib -IC:\p521\srcpara\lib -MExtUtils::Ma keMaker -e"0"
C:\sources\eumm>C:\p521\srcpara\miniperl -Ilib -IC:\p521\srcpara\lib -MExtUtils ::MakeMaker -e"0" ################################################################### C:\sources\eumm>git log -n1 commit 1e2f087153c9b100492d2efd4d5e613e07ba0483 Author: Ed J \mohawk2@​users\.noreply\.github\.com Date: Tue Jan 13 04:52:27 2015 +0000
Update bundled Encode::Locale to CPAN 1.04
C:\sources\eumm>C:\p521\srcpara\perl -Ilib -IC:\p521\srcpara\lib -MExtUtils::Ma keMaker -e"0"
C:\sources\eumm>C:\p521\srcpara\miniperl -Ilib -IC:\p521\srcpara\lib -MExtUtils ::MakeMaker -e"0" ################################################################### C:\sources\eumm>git log -n1 commit 5903f67eff5e2e937d33f194d883e80f0f980768 Author: Ed J \mohawk2@​users\.noreply\.github\.com Date: Mon Jan 19 13:10:08 2015 +0000
quote_literal PASTHRU_* as can have "" in
C:\sources\eumm>C:\p521\srcpara\perl -Ilib -IC:\p521\srcpara\lib -MExtUtils::Ma keMaker -e"0" 'chcp' is not recognized as an internal or external command\, operable program or batch file.
C:\sources\eumm>C:\p521\srcpara\miniperl -Ilib -IC:\p521\srcpara\lib -MExtUtils ::MakeMaker -e"0" ################################################################### C:\sources\eumm>git log -n1 commit 170beb607a6be7e09651f86e1e75eb05817f2ea5 Author: Ed J \mohawk2@​users\.noreply\.github\.com Date: Sat Jan 17 23:57:04 2015 +0000
Back-compat linkext -> subdirs_(perl-linktype) if LINKTYPE= and DIR
C:\sources\eumm>C:\p521\srcpara\perl -Ilib -IC:\p521\srcpara\lib -MExtUtils::Ma keMaker -e"0" 'chcp' is not recognized as an internal or external command\, operable program or batch file.
C:\sources\eumm>C:\p521\srcpara\miniperl -Ilib -IC:\p521\srcpara\lib -MExtUtils ::MakeMaker -e"0" ################################################################### C:\sources\eumm>git log -n1 commit c245720969788e69c1ae2db0fd1a27a548d0d535 Author: Chris 'BinGOs' Williams \chris@​bingosnet\.co\.uk Date: Tue Dec 2 12:44:48 2014 +0000
Release engineering for v7.04
C:\sources\eumm>C:\p521\srcpara\perl -Ilib -IC:\p521\srcpara\lib -MExtUtils::Ma keMaker -e"0" 'chcp' is not recognized as an internal or external command\, operable program or batch file.
C:\sources\eumm>C:\p521\srcpara\miniperl -Ilib -IC:\p521\srcpara\lib -MExtUtils ::MakeMaker -e"0" ################################################################### C:\sources\eumm>git log -n1 commit 8008051193b5fec172f135ea196270511f3cf0b4 Author: Chris 'BinGOs' Williams \chris@​bingosnet\.co\.uk Date: Sat Nov 8 07:15:17 2014 +0000
Release engineering for v7.02
C:\sources\eumm>C:\p521\srcpara\perl -Ilib -IC:\p521\srcpara\lib -MExtUtils::Ma keMaker -e"0" 'chcp' is not recognized as an internal or external command\, operable program or batch file.
C:\sources\eumm>C:\p521\srcpara\miniperl -Ilib -IC:\p521\srcpara\lib -MExtUtils ::MakeMaker -e"0" ################################################################### C:\sources\eumm>git log -n1 commit 09e9aeb953b621018b4793db74e30b120805fe99 Author: Chris 'BinGOs' Williams \chris@​bingosnet\.co\.uk Date: Wed Oct 22 20:32:27 2014 +0100
Release engineering for v7.00
C:\sources\eumm>C:\p521\srcpara\perl -Ilib -IC:\p521\srcpara\lib -MExtUtils::Ma keMaker -e"0" 'chcp' is not recognized as an internal or external command\, operable program or batch file.
C:\sources\eumm>C:\p521\srcpara\miniperl -Ilib -IC:\p521\srcpara\lib -MExtUtils ::MakeMaker -e"0" ################################################################### C:\sources\eumm>git log -n1 commit 4920a97096ec78bad97588de345b433c73c7bcb6 Author: Chris 'BinGOs' Williams \chris@​bingosnet\.co\.uk Date: Thu Sep 11 20:04:29 2014 +0100
Moved bundled Encode::Locale to EUMM::Locale instead
C:\sources\eumm>C:\p521\srcpara\perl -Ilib -IC:\p521\srcpara\lib -MExtUtils::Ma keMaker -e"0" 'chcp' is not recognized as an internal or external command\, operable program or batch file.
C:\sources\eumm>C:\p521\srcpara\miniperl -Ilib -IC:\p521\srcpara\lib -MExtUtils ::MakeMaker -e"0" ################################################################### C:\sources\eumm>git log -n1 commit 328fffdd7d62074aea41241a315b63cbf0c28196 Author: Chris 'BinGOs' Williams \chris@​bingosnet\.co\.uk Date: Thu Sep 11 15:32:28 2014 +0100
Release engineering for v6.99_12
C:\sources\eumm>C:\p521\srcpara\perl -Ilib -IC:\p521\srcpara\lib -MExtUtils::Ma keMaker -e"0"
C:\sources\eumm>C:\p521\srcpara\miniperl -Ilib -IC:\p521\srcpara\lib -MExtUtils ::MakeMaker -e"0"
C:\sources\eumm> ################################################################### C:\sources\eumm>git log -n1 commit c8c9b9d6588bf52b2db85879c6dcc420353cae4b Author: Chris 'BinGOs' Williams \chris@​bingosnet\.co\.uk Date: Tue Apr 29 21:37:00 2014 +0100
Release engineering for v6.98
C:\sources\eumm>C:\p521\srcpara\perl -Ilib -IC:\p521\srcpara\lib -MExtUtils::Ma keMaker -e"0"
C:\sources\eumm>C:\p521\srcpara\miniperl -Ilib -IC:\p521\srcpara\lib -MExtUtils ::MakeMaker -e"0"
C:\sources\eumm> ###################################################################
Summary\, last stable (I guess\, if EUMM stables are even\, odds are alpha) before the bug was 6.98. Last shipped release before the bug was 6.99_12. The commit directly after commit "Release engineering for v6.99_12" created the bug\, name of the bug introducing commit is "Moved bundled Encode::Locale to EUMM::Locale instead". The bug lasts until commit "Update bundled Encode::Locale to CPAN 1.04"\, first shipped release with the fix is 7.05_08.
-- bulk88 ~ bulk88 at hotmail.com
On Mon\, Apr 27\, 2015 at 04:39:43PM -0700\, bulk88 via RT wrote:
On Mon Apr 27 15:30:45 2015\, rjbs wrote:
Karen points out https://github.com/Perl-Toolchain-Gang/ExtUtils- MakeMaker/issues/193 which indicates that cda0edd in that repo should be a fix. Hopefully this means we have a way forward: we apply that locally\, or we get an EUMM release cut with that fix (and as little as possible else.)
commit https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/cda0edd5067a2348f183d9100cc5b0fa92336937 became p5p patch https://rt-archive.perl.org/perl5/Ticket/Attachment/1339705/716378/0001-perl-123998-backport-cda0edd5-from-EU-MM-upstream.patch but that p5p patch is from a EUMM patch that stopped EUMM's tests from failing\, it did not fix the underlying bug of that failure message from win32 shell being printed to STDERR every time you "require ExtUtils::MakeMaker;". That underlying bug means p5p test t/porting/utils.t fails. [snip] Here is some manual bisecting I did to narrow the problem. [snip] Summary\, last stable (I guess\, if EUMM stables are even\, odds are alpha) before the bug was 6.98. Last shipped release before the bug was 6.99_12. The commit directly after commit "Release engineering for v6.99_12" created the bug\, name of the bug introducing commit is "Moved bundled Encode::Locale to EUMM::Locale instead". The bug lasts until commit "Update bundled Encode::Locale to CPAN 1.04"\, first shipped release with the fix is 7.05_08.
If I am reading the code correctly\, the "fix" in 7.05_08 is that code page determination using chcp is deferred until until it is needed rather than unconditionally doing at startup time; so
perl -MExtUtils::MakeMaker -e "0"
no longer pollutes STDERR\, but something that needs to know the code page still will.
Anyway\, as a quick fix for 5.22\, could we simply stop MakeMaker polluting STDERR; e.g. in Locale.pm change
qx(chcp)
to qx("chcp 2\<&1")
or whatever similar win32-specific thing works?
-- That he said that that that that is is is debatable\, is debatable.
On Wed May 06 06:24:44 2015\, davem wrote:
If I am reading the code correctly\, the "fix" in 7.05_08 is that code page determination using chcp is deferred until until it is needed rather than unconditionally doing at startup time; so
perl -MExtUtils::MakeMaker -e "0"
no longer pollutes STDERR\, but something that needs to know the code page still will.
Anyway\, as a quick fix for 5.22\, could we simply stop MakeMaker polluting STDERR; e.g. in Locale.pm change
qx(chcp)
to qx("chcp 2\<&1")
or whatever similar win32-specific thing works?
I did that in the attached patch. t/porting/utils.t also needs git in %PATH% to fail on win32\, since if there is no working git\, the whole file is skipped\, and I dont always keep git in my %PATH% on win32.
I dont personally like the idea of sending the error to null and I dont like the patch I wrote\, since whatever info ("active code page") is collected will be wrong with no warning for EUMM users. IDK enough to say if having the wrong infp makes a difference in the end or not.
-- bulk88 ~ bulk88 at hotmail.com
On Fri May 08 16:57:16 2015\, bulk88 wrote:
I did that in the attached patch. t/porting/utils.t also needs git in %PATH% to fail on win32\, since if there is no working git\, the whole file is skipped\, and I dont always keep git in my %PATH% on win32.
I dont personally like the idea of sending the error to null and I dont like the patch I wrote\, since whatever info ("active code page") is collected will be wrong with no warning for EUMM users. IDK enough to say if having the wrong infp makes a difference in the end or not.
With your patch it will fallback to the default\, cp1252.
For blead's purposes\, sufficiently recent releases of Win32.pm include GetACP()\, GetConsoleCP() and GetConsoleOutputCP() which means blead could skip calling chcp completely.
Tony
On Sun\, May 10\, 2015 at 05:21:09PM -0700\, Tony Cook via RT wrote:
On Fri May 08 16:57:16 2015\, bulk88 wrote:
I did that in the attached patch. t/porting/utils.t also needs git in %PATH% to fail on win32\, since if there is no working git\, the whole file is skipped\, and I dont always keep git in my %PATH% on win32.
I dont personally like the idea of sending the error to null and I dont like the patch I wrote\, since whatever info ("active code page") is collected will be wrong with no warning for EUMM users. IDK enough to say if having the wrong infp makes a difference in the end or not.
With your patch it will fallback to the default\, cp1252.
For blead's purposes\, sufficiently recent releases of Win32.pm include GetACP()\, GetConsoleCP() and GetConsoleOutputCP() which means blead could skip calling chcp completely.
I've pushed Daniel's patch for smoking as smoke-me/davem/EUMM_Locale. (with a more detailed commit message) This seems about the least invasive change at this late stage. I've bumped ExtUtils::MakeMaker::Locale's version from 7.04 7.04_01. Is that the right thing to do? Are there any other files that need touching to indicate this customisation? I've rather lost touch with the state of play on this sort of thing. I guess Porting/Maintainers.pl CUSTOMIZED field?? And t/porting/customized.dat???
-- More than any other time in history\, mankind faces a crossroads. One path leads to despair and utter hopelessness. The other\, to total extinction. Let us pray we have the wisdom to choose correctly. -- Woody Allen
On 12 May 2015 at 17:41\, Dave Mitchell \davem@​iabyn\.com wrote:
On Sun\, May 10\, 2015 at 05:21:09PM -0700\, Tony Cook via RT wrote:
On Fri May 08 16:57:16 2015\, bulk88 wrote:
I did that in the attached patch. t/porting/utils.t also needs git in %PATH% to fail on win32\, since if there is no working git\, the whole file is skipped\, and I dont always keep git in my %PATH% on win32.
I dont personally like the idea of sending the error to null and I dont like the patch I wrote\, since whatever info ("active code page") is collected will be wrong with no warning for EUMM users. IDK enough to say if having the wrong infp makes a difference in the end or not.
With your patch it will fallback to the default\, cp1252.
For blead's purposes\, sufficiently recent releases of Win32.pm include GetACP()\, GetConsoleCP() and GetConsoleOutputCP() which means blead could skip calling chcp completely.
I've pushed Daniel's patch for smoking as smoke-me/davem/EUMM_Locale. (with a more detailed commit message) This seems about the least invasive change at this late stage. I've bumped ExtUtils::MakeMaker::Locale's version from 7.04 7.04_01. Is that the right thing to do? Are there any other files that need touching to indicate this customisation? I've rather lost touch with the state of play on this sort of thing. I guess Porting/Maintainers.pl CUSTOMIZED field?? And t/porting/customized.dat???
Yes\, update CUSTOMIZED and then run t/porting/customized.t --regen to update the customized.dat file.
On Tue May 12 09:41:58 2015\, davem wrote:
I've pushed Daniel's patch for smoking as smoke-me/davem/EUMM_Locale. (with a more detailed commit message) This seems about the least invasive change at this late stage. I've bumped ExtUtils::MakeMaker::Locale's version from 7.04 7.04_01. Is that the right thing to do? Are there any other files that need touching to indicate this customisation? I've rather lost touch with the state of play on this sort of thing. I guess Porting/Maintainers.pl CUSTOMIZED field?? And t/porting/customized.dat???
The branch passes a harness run but there is some more chcp mop up to do. A patch for EUMM_Locale branch is attached. It probably should be squashed.
On the EUMM_Locale branch this was happening.
C:\p521\srcpara\t>perl harness ../cpan/ExtUtils-MakeMaker/t/basic.t ../cpan/ExtUtils-MakeMaker/t/basic.t .. 'chcp' is not recognized as an internal or external command\, operable program or batch file. ../cpan/ExtUtils-MakeMaker/t/basic.t .. ok All tests successful. Files=1\, Tests=171\, 57 wallclock secs ( 0.03 usr + 0.02 sys = 0.05 CPU) Result: PASS
C:\p521\srcpara\t>perl harness -v ../cpan/ExtUtils-MakeMaker/t/basic.t
../cpan/ExtUtils-MakeMaker/t/basic.t ..
1..171
'chcp' is not recognized as an internal or external command\,
operable program or batch file.
ok 1 - setup
ok 2 - chdir'd to Big-Dummy
ok 3 - Makefile.PL exited with zero
ok 4 - Makefile.PL output looks right
ok 5 - Makefile.PL run in package main
ok 6 - Makefile exists
ok 7 - been touched
ok 8 - make manifest created a MANIFEST
ok 9 - not empty
ok 10 - exited normally
ok 11 - .ppd file generated
ok 12 - \
C:\p521\srcpara\t> C:\p521\srcpara\t>perl -I../lib -I../cpan/ExtUtils-MakeMaker/t/lib ../cpan/ExtU tils-MakeMaker/t/basic.t 1..171 'chcp' is not recognized as an internal or external command\, operable program or batch file. Error in tempdir() using t\XXXXXXXXXX: Parent directory (t) does not exist at .. /cpan/ExtUtils-MakeMaker/t/basic.t line 42. No root path(s) specified at ../cpan/ExtUtils-MakeMaker/t/basic.t line 63. ok 1 ok 2 - teardown # Looks like you planned 171 tests but ran 2. # Looks like your test exited with 2 just after 2.
C:\p521\srcpara\t>
-- bulk88 ~ bulk88 at hotmail.com
On Sun May 10 17:21:09 2015\, tonyc wrote:
For blead's purposes\, sufficiently recent releases of Win32.pm include GetACP()\, GetConsoleCP() and GetConsoleOutputCP() which means blead could skip calling chcp completely.
It turns out the upstream of EUMM::Locale already does this\, and EUMM::Locale has been updated to include that change:
I've pushed that change to smoke-me/tonyc/eumm-locale-update
Tony
On Tue May 12 17:32:10 2015\, tonyc wrote:
On Sun May 10 17:21:09 2015\, tonyc wrote:
For blead's purposes\, sufficiently recent releases of Win32.pm include GetACP()\, GetConsoleCP() and GetConsoleOutputCP() which means blead could skip calling chcp completely.
It turns out the upstream of EUMM::Locale already does this\, and EUMM::Locale has been updated to include that change:
https://github.com/Perl-Toolchain-Gang/ExtUtils- MakeMaker/commit/1e2f087153c9b100492d2efd4d5e613e07ba0483
I've pushed that change to smoke-me/tonyc/eumm-locale-update
Tony
Your branch passes. Same problem as in my last post about basic.t emitting warnings. I have no opinion whether davem's "2 > NUL" or your update EUMM Locale to dev version patch is the correct one.
../cpan/ExtUtils-Install/t/Installed.t ............................ ok ../cpan/ExtUtils-Install/t/InstallWithMM.t ........................ ok ../cpan/ExtUtils-Install/t/Packlist.t ............................. ok ../cpan/ExtUtils-MakeMaker/t/00compile.t .......................... skipped: No MANIFEST ../cpan/ExtUtils-MakeMaker/t/01perl_bugs.t ........................ ok ../cpan/ExtUtils-MakeMaker/t/arch_check.t ......................... ok ../cpan/ExtUtils-MakeMaker/t/backwards.t .......................... ok 'chcp' is not recognized as an internal or external command\, operable program or batch file. ../cpan/ExtUtils-MakeMaker/t/basic.t .............................. ok ../cpan/ExtUtils-MakeMaker/t/build_man.t .......................... ok ../cpan/ExtUtils-MakeMaker/t/cd.t ................................. ok ../cpan/ExtUtils-MakeMaker/t/config.t ............................. ok ../cpan/ExtUtils-MakeMaker/t/dir_target.t ......................... ok Use of uninitialized value in concatenation (.) or string at C:\p521\srcpara\lib/ExtUtils/MM_Win32.pm line 158. ../cpan/ExtUtils-MakeMaker/t/echo.t ............................... ok ../cpan/ExtUtils-MakeMaker/t/FIRST_MAKEFILE.t ..................... ok ../cpan/ExtUtils-MakeMaker/t/fix_libs.t ........................... ok
-- bulk88 ~ bulk88 at hotmail.com
On Tue\, May 12\, 2015 at 11:35:19PM -0700\, bulk88 via RT wrote:
I have no opinion whether davem's "2 > NUL" or your update EUMM Locale to dev version patch is the correct one.
I know very little about either EU::MM nor win32\, so I'm happy to defer to Tony on this.
-- A power surge on the Bridge is rapidly and correctly diagnosed as a faulty capacitor by the highly-trained and competent engineering staff. -- Things That Never Happen in "Star Trek" #9
On Tue May 12 23:35:18 2015\, bulk88 wrote:
On Tue May 12 17:32:10 2015\, tonyc wrote:
On Sun May 10 17:21:09 2015\, tonyc wrote:
For blead's purposes\, sufficiently recent releases of Win32.pm include GetACP()\, GetConsoleCP() and GetConsoleOutputCP() which means blead could skip calling chcp completely.
It turns out the upstream of EUMM::Locale already does this\, and EUMM::Locale has been updated to include that change:
https://github.com/Perl-Toolchain-Gang/ExtUtils- MakeMaker/commit/1e2f087153c9b100492d2efd4d5e613e07ba0483
I've pushed that change to smoke-me/tonyc/eumm-locale-update
Tony
Your branch passes. Same problem as in my last post about basic.t emitting warnings. I have no opinion whether davem's "2 > NUL" or your update EUMM Locale to dev version patch is the correct one.
--------------------------------------------------------------------- ../cpan/ExtUtils-Install/t/Installed.t ............................ ok ../cpan/ExtUtils-Install/t/InstallWithMM.t ........................ ok ../cpan/ExtUtils-Install/t/Packlist.t ............................. ok ../cpan/ExtUtils-MakeMaker/t/00compile.t .......................... skipped: No MANIFEST ../cpan/ExtUtils-MakeMaker/t/01perl_bugs.t ........................ ok ../cpan/ExtUtils-MakeMaker/t/arch_check.t ......................... ok ../cpan/ExtUtils-MakeMaker/t/backwards.t .......................... ok 'chcp' is not recognized as an internal or external command\, operable program or batch file. ../cpan/ExtUtils-MakeMaker/t/basic.t .............................. ok
I've backported 37c498812ffa78926d4e4e3e5c5e219d4c405e36 which fixes this\, again in smoke-me/tonyc/eumm-locale-update.
../cpan/ExtUtils-MakeMaker/t/build_man.t .......................... ok ../cpan/ExtUtils-MakeMaker/t/cd.t ................................. ok ../cpan/ExtUtils-MakeMaker/t/config.t ............................. ok ../cpan/ExtUtils-MakeMaker/t/dir_target.t ......................... ok Use of uninitialized value in concatenation (.) or string at C:\p521\srcpara\lib/ExtUtils/MM_Win32.pm line 158. ../cpan/ExtUtils-MakeMaker/t/echo.t ............................... ok
The warning from echo.t was in 5.20 and shouldn't be a blocker for 5.22.
Tony
On Wed May 13 21:18:52 2015\, tonyc wrote:
I've backported 37c498812ffa78926d4e4e3e5c5e219d4c405e36 which fixes this\, again in smoke-me/tonyc/eumm-locale-update.
../cpan/ExtUtils-MakeMaker/t/build_man.t .......................... ok ../cpan/ExtUtils-MakeMaker/t/cd.t ................................. ok ../cpan/ExtUtils-MakeMaker/t/config.t ............................. ok ../cpan/ExtUtils-MakeMaker/t/dir_target.t ......................... ok Use of uninitialized value in concatenation (.) or string at C:\p521\srcpara\lib/ExtUtils/MM_Win32.pm line 158. ../cpan/ExtUtils-MakeMaker/t/echo.t ............................... ok
The warning from echo.t was in 5.20 and shouldn't be a blocker for 5.22.
Tony
SHA-1: 3c05f06f7f2c4ba36d1c3a883253a79019693854 * backport 37c49881 from the EUMM repository
is okay to merge. No more "chcp" anywhere in a harness run.
-- bulk88 ~ bulk88 at hotmail.com
On Thu May 14 10:01:40 2015\, bulk88 wrote:
On Wed May 13 21:18:52 2015\, tonyc wrote:
I've backported 37c498812ffa78926d4e4e3e5c5e219d4c405e36 which fixes this\, again in smoke-me/tonyc/eumm-locale-update.
../cpan/ExtUtils-MakeMaker/t/build_man.t .......................... ok ../cpan/ExtUtils-MakeMaker/t/cd.t ................................. ok ../cpan/ExtUtils-MakeMaker/t/config.t ............................. ok ../cpan/ExtUtils-MakeMaker/t/dir_target.t ......................... ok Use of uninitialized value in concatenation (.) or string at C:\p521\srcpara\lib/ExtUtils/MM_Win32.pm line 158. ../cpan/ExtUtils-MakeMaker/t/echo.t ............................... ok
The warning from echo.t was in 5.20 and shouldn't be a blocker for 5.22.
Tony
SHA-1: 3c05f06f7f2c4ba36d1c3a883253a79019693854 * backport 37c49881 from the EUMM repository
is okay to merge. No more "chcp" anywhere in a harness run.
Thanks\, both changes have been applied to blead as 18fe62667c7b9e1cc19201a7075e74e31b6ae16b and 23ff16de19cbd6ba37c687dab842d9493227d642.
Tony
@tonycoz - Status changed from 'open' to 'pending release'
Thank you for submitting this ticket.
The issue should now be resolved with the release today of Perl v5.22\, which is available at http://www.perl.org/get.html -- Karl Williamson for the Perl 5 team
@khwilliamson - Status changed from 'pending release' to 'resolved'
Migrated from rt.perl.org#123998 (status was 'resolved')
Searchable as RT123998$