Ticket #252 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Padre 0.42 doesn't build on strawberry perl 5.10.0.6 on Vista x64 Business

Reported by: robin Owned by: azawawi
Priority: major Milestone:
Component: External dependency Version: 0.33
Keywords: build vista Cc:

Description

Platform: Fresh install of strawberry perl 5.10.0.4 in C:\strawberry on Vista x64 Business

After first try of install Padre (CPAN shell) I got this message (build failed obviously) on the next try:

Warning: prerequisite Encode 2.26 not found. We have 2.23.
Warning: prerequisite threads 1.71 not found. We have 1.67.
Warning: prerequisite threads::shared 1.26 not found. We have 1.14.
Warning: prerequisite Thread::Queue 2.11 not found. We have 2.00.
Warning: prerequisite IPC::Cmd 0.42 not found. We have 0.401.
Warning: prerequisite IPC::Run 0.82 not found.
Warning: prerequisite Wx::Perl::Dialog 0.04 not found.
Warning: prerequisite Wx::Perl::ProcessStream 0.11 not found.

After that I tried to install each requirement in turn and retry to Padre build after each manual step. The version number of the package that was installed is in the parens.

  • install Encode (2.30)
  • install threads (1.71)
  • install threads::shared (1.27)
  • install Thread::Queue (2.11)
  • install IPC::Cmd (0.42)

I assume that some package didn't specify accurately enough which version they need of the above methods. Correct me if I'm wrong.

  • install IPC::Run (0.82)
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/adopt............skipped: adopt not implemented yet
t/binmode..........ok
t/bogus............ok
t/filter...........ok
t/harness..........ok
t/io...............ok
t/kill_kill........skipped: Temporarily ignoring test failure on Win32
t/parallel.........ok
t/pty..............skipped: IO::Pty not installed
t/pump.............ok
t/run..............1/266 Command 'command' not found in C:\Windows\system32, C:\Windows, C:\Windows\System32\Wbem, C:\Pr
ograms\Console2, C:\Program Files (x86)\Mozilla Firefox, C:\Program Files (x86)\Opera, C:\Program Files (x86)\Safari, C:
\Users\robin\AppData\Local\Google\Chrome\Application, C:\Program Files (x86)\QuickTime\QTSystem\, C:\Program Files\Java\
jdk1.6.0_11\bin, C:\strawberry\c\bin, C:\strawberry\perl\bin, C:\Program Files (x86)\MKVtoolnix at t/run.t line 38
# Looks like you planned 266 tests but ran 19.
# Looks like your test exited with 2 just after 19.
t/run.............. Dubious, test returned 2 (wstat 512, 0x200)
 Failed 247/266 subtests
t/signal...........skipped: Skipping on Win32
t/timeout..........ok
t/timer............ok
t/win32_compile....ok

Test Summary Report
-------------------
t/run          (Wstat: 512 Tests: 19 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 266 tests but ran 19.
Files=15, Tests=390, 43 wallclock secs ( 0.05 usr +  0.03 sys =  0.08 CPU)
Result: FAIL
Failed 1/15 test programs. 0/390 subtests failed.
dmake.EXE:  Error code 255, while making 'test_dynamic'
  ADAMK/IPC-Run-0.82.tar.gz
  C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports ADAMK/IPC-Run-0.82.tar.gz
Running make install
  make test had returned bad status, won't install without force

A force install IPC::Run works, but I don't know if it works sufficiently.

Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00-load......ok
t/01-events....1/32
t/01-events....2/32 #   Failed test at t/01-events.t line 51.
#          got: '1'
#     expected: '0'

t/01-events....19/32 #   Failed test at t/01-events.t line 107.
#          got: '1'
#     expected: '0'

#   Failed test at t/01-events.t line 129.
#          got: '1'
#     expected: '0'

#   Failed test at t/01-events.t line 161.
#          got: '1'
#     expected: '0'
# Looks like you failed 4 tests of 32.
t/01-events.... Dubious, test returned 4 (wstat 1024, 0x400)
 Failed 4/32 subtests

Test Summary Report
-------------------
t/01-events (Wstat: 1024 Tests: 32 Failed: 4)
  Failed tests:  2, 19, 24, 29
  Non-zero exit status: 4
Files=2, Tests=33,  5 wallclock secs ( 0.03 usr +  0.03 sys =  0.06 CPU)
Result: FAIL
Failed 1/2 test programs. 4/33 subtests failed.
dmake.EXE:  Error code 132, while making 'test_dynamic'
  MDOOTSON/Wx-Perl-ProcessStream-0.11.tar.gz
  C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MDOOTSON/Wx-Perl-ProcessStream-0.11.tar.gz
Running make install
  make test had returned bad status, won't install without force

A force install Wx::Perl::ProcessStream? works, but same applies as above.

It seems that when Wx::Perl::ProcessStream? was installed, Wx::Perl::Dialog (0.04) tested fine automatically.

The same goes for Padre (0.27), it installed fine.

Change History

comment:1 Changed 5 years ago by szabgab

Can you try it again with the latest version of the dependencies and report problems to the authors of the individual modules ?

We can keep this ticket open here to let others know about the issues but we cannot fix them.
So better to talk to the maintainers of those modules.

comment:2 Changed 5 years ago by azawawi

  • Version changed from 0.27 to 0.33

Wx::Perl::ProcessStream? fails on Vista 32-bit Home Premium with Padre 0.33.

Everything else installed flawlessly. After debugging t/events.t, it turned out to be a low polling interval (100ms). Although higher values (>1000ms) may still fail and it runs a bit slower ofcourse. A simple force install does the trick and wont affect Padre. I think we should not use this package for "Run Perl Script/F5".

comment:3 Changed 5 years ago by robin

  • Summary changed from Padre 0.27 doesn't build on strawberry perl 5.10.0.4 on Vista x64 Business to Padre 0.33 doesn't build on strawberry perl 5.10.0.4 on Vista x64 Business

Retested Padre-0.33 on a fresh install of Strawberry Perl (Vista x64).

Only thing installed before installing Padre was CPAN::Reporter.

This is a paste of the last part of the initial build.

pl2bat.bat blib\script\padre
(C:\strawberry\c\bin\dmake.EXE exited with 0)
CPAN::Reporter: dmake result is 'pass', No errors.
  SZABGAB/Padre-0.33.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, 'inc', 'blib\lib', 'blib\arch')" t/*.t
t/00-compile...........# Detected locale: Norwegian (BokmÕl)_Norway.1252
#   Failed test 'STDERR of Padre.pm'
#   at t/00-compile.t line 39.
#          got: 'Can't locate File/ShareDir/PAR.pm in @INC (@INC contains: C:\strawberry\cpan\build\Padre-0.33-NokXq8\inc C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\arch C:/STRAWB~1/perl/lib C:/STRAWB~1/perl/site/lib .) at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/DB.pm line 7.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/DB.pm line 7.
# Compilation failed in require at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre.pm line 33.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre.pm line 33.
# Compilation failed in require at -e line 1.
# '
#     expected: ''
Bailout called.  Further testing stopped:  Test failed.  BAIL OUT!.
dmake.EXE:  Error code 129, while making 'test_dynamic'
(C:\strawberry\c\bin\dmake.EXE test exited with 65280)
CPAN::Reporter: test results were not valid, Prerequisite missing.
  SZABGAB/Padre-0.33.tar.gz
  C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports SZABGAB/Padre-0.33.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 ADAMK/IPC-Run-0.82.tar.gz                    : make_test NO
 SMUELLER/File-ShareDir-PAR-0.05.tar.gz       : make_test NO
 ADAMK/ORLite-Migrate-0.03.tar.gz             : make_test NO
 MDOOTSON/Wx-Perl-ProcessStream-0.11.tar.gz   : make_test NO
 SZABGAB/Padre-0.33.tar.gz                    : make_test NO

IPC::Run 0.82 and Wx::Perl::ProcessStream? 0.11 was caught by CPAN::Reporter, and reports where sent.

Tried to run install Padre again without exiting the cpan shell. As expected only IPC::Run and Wx::Perl::ProcessStream? was left in the "failed build" list.

Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t
t/00-compile...........# Detected locale: Norwegian (BokmÕl)_Norway.1252
ok
t/01-load..............# Tests find Wx: 0.89 wxWidgets 2.8.8
ok
t/02-new...............ok
t/03-wx................skipped: Windows currently has problems with Unicode files
t/04-config............# C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/Config.pm
# Number of defaults: 55
ok
t/05-project...........ok
t/06-utils.............ok
t/10-copyright.........ok
t/50-docbrowser........ok
t/60-db................ok
t/70-document..........ok
t/71-perl..............
#   Failed test at t/71-perl.t line 46.
#     Structures begin differing at:
#          $got->[0] = Does not exist
#     $expected->[0] = HASH(0x40e90fc)
#   Failed test at t/71-perl.t line 185.
#     Structures begin differing at:
#          $got = undef
#     $expected = HASH(0x422e504)
#   Failed test 'no warnings'
#   at C:/STRAWB~1/perl/site/lib/Test/NoWarnings.pm line 45.
# There were 2 warning(s)
#       Previous test 1 'The object isa Padre'
#       Could not find or check module 'IPC::Run' [THIS MAY BE A PROBLEM!] at C:/STRAWB~1/perl/lib/IPC/Cmd.pm line 112
#  at C:/STRAWB~1/perl/lib/Module/Load/Conditional.pm line 485
#       Module::Load::Conditional::can_load('modules', 'HASH(0x30b0674)', 'verbose', 1) called at C:/STRAWB~1/perl/lib/IPC/Cmd.pm line 112
#       IPC::Cmd::can_use_ipc_run('IPC::Cmd=HASH(0x40e060c)', 1) called at C:/STRAWB~1/perl/lib/IPC/Cmd.pm line 404
#       eval {...} called at C:/STRAWB~1/perl/lib/IPC/Cmd.pm line 396
#       IPC::Cmd::run('command', 'ARRAY(0x40ec044)', 'verbose', 0) called at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/Task/SyntaxChecker/Perl.pm line 87
#       Padre::Task::SyntaxChecker::Perl::_check_syntax('Padre::Task::SyntaxChecker::Perl=HASH(0x40b1804)') called at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/Task/SyntaxChecker/Perl.pm line 45
#       Padre::Task::SyntaxChecker::Perl::run('Padre::Task::SyntaxChecker::Perl=HASH(0x40b1804)') called at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/Document/Perl.pm line 379
#       Padre::Document::Perl::_check_syntax_internals('Padre::Document::Perl=HASH(0x40c26cc)', 'HASH(0x40e73a4)') called at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/Document/Perl.pm line 319
#       Padre::Document::Perl::check_syntax('Padre::Document::Perl=HASH(0x40c26cc)') called at t/71-perl.t line 45
#
#
# ----------
#       Previous test 22 'Correct declaration found'
#       Could not find or check module 'IPC::Run' [THIS MAY BE A PROBLEM!] at C:/STRAWB~1/perl/lib/IPC/Cmd.pm line 112
#  at C:/STRAWB~1/perl/lib/Module/Load/Conditional.pm line 485
#       Module::Load::Conditional::can_load('modules', 'HASH(0x422cab4)', 'verbose', 1) called at C:/STRAWB~1/perl/lib/IPC/Cmd.pm line 112
#       IPC::Cmd::can_use_ipc_run('IPC::Cmd=HASH(0x43551a4)', 1) called at C:/STRAWB~1/perl/lib/IPC/Cmd.pm line 404
#       eval {...} called at C:/STRAWB~1/perl/lib/IPC/Cmd.pm line 396
#       IPC::Cmd::run('command', 'ARRAY(0x40dc0b4)', 'verbose', 0) called at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/Task/SyntaxChecker/Perl.pm line 87
#       Padre::Task::SyntaxChecker::Perl::_check_syntax('Padre::Task::SyntaxChecker::Perl=HASH(0x422cdb4)') called at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/Task/SyntaxChecker/Perl.pm line 45
#       Padre::Task::SyntaxChecker::Perl::run('Padre::Task::SyntaxChecker::Perl=HASH(0x422cdb4)') called at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/Document/Perl.pm line 379
#       Padre::Document::Perl::_check_syntax_internals('Padre::Document::Perl=HASH(0x434ff4c)', 'HASH(0x40ea5dc)') called at C:\strawberry\cpan\build\Padre-0.33-NokXq8\blib\lib/Padre/Document/Perl.pm line 319
#       Padre::Document::Perl::check_syntax('Padre::Document::Perl=HASH(0x434ff4c)') called at t/71-perl.t line 183
#
# Looks like you failed 3 tests of 24.
 Dubious, test returned 3 (wstat 768, 0x300)
 Failed 3/24 subtests
t/72-dialog-html.......ok
t/75-perl-beginner.....ok
t/80-newline...........ok
t/81-search............ok
t/82-plugin-manager....ok
t/83-autosave..........ok
t/84-task..............ok
t/85-task-manager......ok
t/91-vi................# Testing the t::lib::Padre::Editor a bit
ok

Test Summary Report
-------------------
t/71-perl          (Wstat: 768 Tests: 24 Failed: 3)
  Failed tests:  2, 23-24
  Non-zero exit status: 3
Files=21, Tests=844, 55 wallclock secs ( 0.31 usr +  0.02 sys =  0.33 CPU)
Result: FAIL
Failed 1/21 test programs. 3/844 subtests failed.
dmake.EXE:  Error code 255, while making 'test_dynamic'
(C:\strawberry\c\bin\dmake.EXE test exited with 65280)
CPAN::Reporter: test results were not valid, Prerequisite missing.
  SZABGAB/Padre-0.33.tar.gz
  C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports SZABGAB/Padre-0.33.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 ADAMK/IPC-Run-0.82.tar.gz                    : make_test NO
 MDOOTSON/Wx-Perl-ProcessStream-0.11.tar.gz   : make_test NO
 SZABGAB/Padre-0.33.tar.gz                    : make_test NO

Forcing installation of IPC::Run and Wx::Perl::ProcessStream? seems to work.

When I start up padre things seem to work, but when I exit I get this message in the console (I don't know if this is an error or just debug info):

1 2 : 0 4 : 3 1 :   E r r o r :   C o u l d n ' t   a d d   a n   i m a g e   t o   t h e   i m a g e   l i s t .
 1 2 : 0 4 : 3 1 :   E r r o r :   C o u l d n ' t   a d d   a n   i m a g e   t o   t h e   i m a g e   l i s t .
 1 2 : 0 4 : 3 1 :   E r r o r :   C o u l d n ' t   a d d   a n   i m a g e   t o   t h e   i m a g e   l i s t .
 1 2 : 0 4 : 3 1 :   E r r o r :   C o u l d n ' t   a d d   a n   i m a g e   t o   t h e   i m a g e   l i s t .
 1 2 : 0 4 : 3 1 :   E r r o r :   C o u l d n ' t   a d d   a n   i m a g e   t o   t h e   i m a g e   l i s t .
 Scalars leaked: 1

comment:4 Changed 5 years ago by szabgab

can you try 0.36 please ?

comment:5 Changed 5 years ago by robin

  • Summary changed from Padre 0.33 doesn't build on strawberry perl 5.10.0.4 on Vista x64 Business to Padre 0.36 doesn't build on strawberry perl 5.10.0.5 on Vista x64 Business

Still no go, unfortunately.

Removing my entire installation of Strawberry perl and reinstalling 5.10.0.5 still shows these problems:

Just the last part of the initial build process shown:

  THEREK/Padre-0.36.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, 'inc', 'blib\lib', 'blib\arch')" t/*.t
# Detected locale: Norwegian (BokmÕl)_Norway.1252
#   Failed test 'STDERR of Padre/TaskManager.pm'
#   at t/00-compile.t line 40.
#          got: 'Thread::Queue version 2.11 required--this is only version 2.00 at C:\strawberry\cpan\build\Padre-0.36-0xjWB2\blib\lib/Padre/TaskManager.pm line 78.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\Padre-0.36-0xjWB2\blib\lib/Padre/TaskManager.pm line 78.
# Compilation failed in require at -e line 1.
# '
#     expected: ''
Bailout called.  Further testing stopped:  Test failed.  BAIL OUT!.
FAILED--Further testing stopped: Test failed.  BAIL OUT!.
dmake.EXE:  Error code 255, while making 'test_dynamic'
(C:\strawberry\c\bin\dmake.EXE test exited with 65280)
CPAN::Reporter: test results were not valid, Prerequisite missing.
  THEREK/Padre-0.36.tar.gz
  C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports THEREK/Padre-0.36.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 ADAMK/IPC-Run-0.82.tar.gz                    : make_test NO
 ADAMK/Portable-0.13.tar.gz                   : make_test NO
 MDOOTSON/Wx-Perl-ProcessStream-0.11.tar.gz   : make_test NO
 THEREK/Padre-0.36.tar.gz                     : make_test NO

Running it again shows these explicit problems:


IPC-Run-0.82

 ADAMK/IPC-Run-0.82.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
t/adopt.t .......... skipped: adopt not implemented yet
t/binmode.t ........ ok
t/bogus.t .......... ok
t/filter.t ......... ok
t/harness.t ........ ok
t/io.t ............. ok
t/kill_kill.t ...... skipped: Temporarily ignoring test failure on Win32
t/parallel.t ....... ok
t/pty.t ............ skipped: IO::Pty not installed
t/pump.t ........... ok
Command 'command' not found in C:\Windows\system32, C:\Windows, C:\Windows\System32\Wbem, C:\Programs\Console2, C:\Program Files (x86)\Mozilla Firefox, C:\Program Files (x86)\Opera, C:\Program Files (x86)\Safari, C:\Users\robin\AppData\Local\Google\Chrome\Application, C:\Program Files\Java\jdk1.6.0_11\bin, C:\strawberry\c\bin, C:\strawberry\perl\bin, C:\Programs\perl, C:\programs\sqlite-3.6.11, C:\Programs\jintellitype-1.3.1, C:\Program Files\TortoiseSVN\bin, C:\Program Files (x86)\GNU\GnuPG\, C:\Program Files\Sun\xVM VirtualBox, C:\Program Files (x86)\Notepad++, C:\strawberry\c\bin, C:\strawberry\perl\bin, C:\strawberry\c\bin, C:\strawberry\perl\bin,
C:\strawberry\c\bin, C:\strawberry\perl\bin, C:\Program Files (x86)\QuickTime\QTSystem\, C:\strawberry\c\bin, C:\strawberry\perl\bin, C:\Program Files (x86)\MKVtoolnix at t/run.t line 38
# Looks like you planned 266 tests but ran 19.
# Looks like your test exited with 2 just after 19.
t/run.t ............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 247/266 subtests
t/signal.t ......... skipped: Skipping on Win32
t/timeout.t ........ ok
t/timer.t .......... ok
t/win32_compile.t .. ok
Test Summary Report
-------------------
t/run.t          (Wstat: 512 Tests: 19 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 266 tests but ran 19.
Files=15, Tests=390, 47 wallclock secs ( 0.14 usr +  0.05 sys =  0.19 CPU)
Result: FAIL
Failed 1/15 test programs. 0/390 subtests failed.
dmake.EXE:  Error code 255, while making 'test_dynamic'
(C:\strawberry\c\bin\dmake.EXE test exited with 65280)

Portable-0.13

  ADAMK/Portable-0.13.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, 'inc', 'blib\lib', 'blib\arch')" t/*.t
#   Failed test 'require Portable;'
#   at t/01_compile.t line 16.
#     Tried to require 'Portable'.
#     Error:  List::Util version 1.21 required--this is only version 1.19 at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/Portable.pm line 56.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/Portable.pm line 56.
# Compilation failed in require at (eval 10) line 2.
#   Failed test 'require Portable::HomeDir;'
#   at t/01_compile.t line 19.
#     Tried to require 'Portable::HomeDir'.
#     Error:  Scalar::Util version 1.21 required--this is only version 1.19 at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/Portable/HomeDir.pm line 10.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/Portable/HomeDir.pm line 10.
# Compilation failed in require at (eval 13) line 2.
#   Failed test 'require CPAN::Mini::Portable;'
#   at t/01_compile.t line 21.
#     Tried to require 'CPAN::Mini::Portable'.
#     Error:  Attempt to reload Portable.pm aborted.
# Compilation failed in require at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/CPAN/Mini/Portable.pm line 6.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/CPAN/Mini/Portable.pm line 6.
# Compilation failed in require at (eval 15) line 2.
# Looks like you failed 3 tests of 9.
t/01_compile.t ...
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/9 subtests
#   Failed test 'require Portable;'
#   at t/02_simple.t line 22.
#     Tried to require 'Portable'.
#     Error:  List::Util version 1.21 required--this is only version 1.19 at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/Portable.pm line 56.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/Portable.pm line 56.
# Compilation failed in require at (eval 11) line 2.
Can't locate object method "default" via package "Portable" at t/02_simple.t line 27.
# Looks like you planned 39 tests but ran 4.
# Looks like you failed 1 test of 4 run.
# Looks like your test exited with 255 just after 4.
t/02_simple.t ....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 36/39 subtests

#   Failed test '->import(Config) ok'
#   at t/03_config.t line 27.
#   Failed test '$Portable::ENABLED is true'
#   at t/03_config.t line 33.
#          got: undef
#     expected: '1'
#   Failed test '$Portable::ENABLED is true'
#   at t/03_config.t line 34.
#          got: undef
#     expected: '1'
# Looks like you failed 3 tests of 5.
t/03_config.t ....
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/5 subtests
#   Failed test '->import(CPAN) ok'
#   at t/04_cpan.t line 31.
# Looks like you failed 1 test of 2.
t/04_cpan.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
#   Failed test 'use CPAN::Mini::Portable;'
#   at t/05_minicpan.t line 26.
#     Tried to use 'CPAN::Mini::Portable'.
#     Error:  List::Util version 1.21 required--this is only version 1.19 at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/Portable.pm line 56.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/Portable.pm line 56.
# Compilation failed in require at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/CPAN/Mini/Portable.pm line 6.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\Portable-0.13-OTZ4O4\blib\lib/CPAN/Mini/Portable.pm line 6.
# Compilation failed in require at (eval 29) line 2.
# BEGIN failed--compilation aborted at (eval 29) line 2.
Can't locate object method "new" via package "CPAN::Mini::Portable" at t/05_minicpan.t line 27.
# Looks like you planned 4 tests but ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test exited with 255 just after 2.
t/05_minicpan.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/4 subtests
t/97_meta.t ...... skipped: Author tests not required for installation
t/98_pod.t ....... skipped: Author tests not required for installation
t/99_pmv.t ....... skipped: Author tests not required for installation
Test Summary Report
-------------------
t/01_compile.t (Wstat: 768 Tests: 9 Failed: 3)
  Failed tests:  2, 5, 7
  Non-zero exit status: 3
t/02_simple.t  (Wstat: 65280 Tests: 4 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 39 tests but ran 4.
t/03_config.t  (Wstat: 768 Tests: 5 Failed: 3)
  Failed tests:  1, 3-4
  Non-zero exit status: 3
t/04_cpan.t    (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/05_minicpan.t (Wstat: 65280 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 4 tests but ran 2.
Files=8, Tests=22,  4 wallclock secs ( 0.08 usr +  0.01 sys =  0.09 CPU)
Result: FAIL
Failed 5/8 test programs. 9/22 subtests failed.
dmake.EXE:  Error code 255, while making 'test_dynamic'
(C:\strawberry\c\bin\dmake.EXE test exited with 65280)

Wx-Perl-ProcessStream?-0.11

  MDOOTSON/Wx-Perl-ProcessStream-0.11.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
t/00-load.t .... ok
#   Failed test at t/01-events.t line 51.
#          got: '1'
#     expected: '0'
#   Failed test at t/01-events.t line 107.
#          got: '1'
#     expected: '0'
#   Failed test at t/01-events.t line 129.
#          got: '1'
#     expected: '0'
# Looks like you failed 3 tests of 32.
t/01-events.t ..
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/32 subtests
Test Summary Report
-------------------
t/01-events.t (Wstat: 768 Tests: 32 Failed: 3)
  Failed tests:  2, 19, 24
  Non-zero exit status: 3
Files=2, Tests=33,  5 wallclock secs ( 0.02 usr +  0.02 sys =  0.03 CPU)
Result: FAIL
Failed 1/2 test programs. 3/33 subtests failed.
dmake.EXE:  Error code 131, while making 'test_dynamic'
(C:\strawberry\c\bin\dmake.EXE test exited with 65280)

Padre-0.36 again:

  THEREK/Padre-0.36.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, 'inc', 'blib\lib', 'blib\arch')" t/*.t
# Detected locale: Norwegian (BokmÕl)_Norway.1252
#   Failed test 'STDERR of Padre/TaskManager.pm'
#   at t/00-compile.t line 40.
#          got: 'Thread::Queue version 2.11 required--this is only version 2.00 at C:\strawberry\cpan\build\Padre-0.36-DN59xg\blib\lib/Padre/TaskManager.pm line 78.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\Padre-0.36-DN59xg\blib\lib/Padre/TaskManager.pm line 78.
# Compilation failed in require at -e line 1.
# '
#     expected: ''
Bailout called.  Further testing stopped:  Test failed.  BAIL OUT!.
FAILED--Further testing stopped: Test failed.  BAIL OUT!.
dmake.EXE:  Error code 255, while making 'test_dynamic'
(C:\strawberry\c\bin\dmake.EXE test exited with 65280)

All of this seems to indicate the following:

  • Padre doesn't list Thread::Queue 2.11 as minimum version required on win32
  • Portable needs List::Util 1.21 as minimum version required on win32
  • IPC-Run still fails its t/run.t because of a missing command.com on Vista (must probably use cmd.exe instead)
  • Wx-Perl-ProcessStream? still fails its t/01-events tests

Installing List::Util 1.21 via cpan shell makes Portable install.

Force installing IPC-Run makes Padre's tests actually complete, but Padre still doesn't install because of the missing Wx-Perl-ProcessStream?.

Force installing Wx::Perl::ProcessStream? makes Padre finally install.

And it starts up and works as expected.

I don't know what feature(s) of Padre use IPC-Run or Wx::Perl::ProcessStream?, but doing a quick check didn't seem to show any obvious problems.

comment:6 Changed 5 years ago by robin

The problem in IPC::Run can probably be fixed by testing for the environment variable $ComSpec? before using the fallback of command.com. That env. variable has been with Windows since the early days of DOS.

In my system it shows this:

C:\>echo %ComSpec%
C:\Windows\system32\cmd.exe

comment:7 Changed 5 years ago by robin

  • Summary changed from Padre 0.36 doesn't build on strawberry perl 5.10.0.5 on Vista x64 Business to Padre 0.42 doesn't build on strawberry perl 5.10.0.6 on Vista x64 Business

Now everything worked except for Wx-Perl-ProcessStream?-0.11.

Same error as earlier with regards to that one.

ADAMK++ for fixing the IPC::Run problems.

comment:8 Changed 5 years ago by azawawi

  • Owner set to azawawi
  • Status changed from new to assigned

I am taking this ticket to follow up with Wx::Perl::ProcessStream? author.

comment:9 Changed 5 years ago by robin

As far as I can tell, the test suite is actually timing-dependent. I did some testing with Adam Kennedy, and we seemed to notice that the code in question in the test-suite of Wx::Perl::ProcessStream? fails on fast machines, but works on slow machines.

See https://rt.cpan.org/Ticket/Display.html?id=44795

comment:10 Changed 5 years ago by azawawi

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in r8343 and Wx::Perl::ProcessStream? 0.16 (thanks to Mark Dootson, dootson++)

I am closing this ticket. Please re-open if it fails to install again.

Thanks for your patience :)

comment:11 Changed 5 years ago by robin

Yay! Wx::Perl::ProcessStream? (0.17) finally installs without force and Padre 0.47 works as it should!

Thanks for all the help.

Note: See TracTickets for help on using tickets.