Skip Menu |

This queue is for tickets about the Devel-REPL CPAN distribution.

Report information
The Basics
Id: 55491
Status: resolved
Priority: 0/
Queue: Devel-REPL

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
alexandrfedorov [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.003009
  • 1.003010
  • 1.003011
  • 1.003012
Fixed in: 1.003013



Subject: Doen't install on windows
It can't complete test of Devel::REPL::Plugin::Interrupt, because it's requires Sys::SigAction, which isn't work on windows.
On Fri Mar 12 02:23:25 2010, zloyrusskiy wrote: Show quoted text
> It can't complete test of Devel::REPL::Plugin::Interrupt, because it's > requires Sys::SigAction, which isn't work on windows.
If you remove that particular test from the test script, you should find that the rest of the tests run successfully. That being so, just run 'make install' (or just use force if using the cpan shell). Since Sys::SigAction is optional, I think the load_core.t test script should be altered to run that test *only* if Sys::SigAction has been installed. Cheers, Rob
I've conditionalized the Interrupt plugin test to skip for MSWin32 platforms. The new t/load_core.t has been pushed to git. On Sun May 02 03:02:54 2010, SISYPHUS wrote: Show quoted text
> On Fri Mar 12 02:23:25 2010, zloyrusskiy wrote:
> > It can't complete test of Devel::REPL::Plugin::Interrupt, because it's > > requires Sys::SigAction, which isn't work on windows.
> > If you remove that particular test from the test script, you should > find that the rest of the tests run successfully. That being so, just > run 'make install' (or just use force if using the cpan shell). > > Since Sys::SigAction is optional, I think the load_core.t test script > should be altered to run that test *only* if Sys::SigAction has been > installed. > > Cheers, > Rob >
No, not working also. I can identify and solve this problem by myself, but newbies - can't. Please correct this. Show quoted text
cpan> install Devel::REPL
Database was generated on Thu, 03 Jun 2010 05:21:23 GMT Running install for module 'Devel::REPL' Running make for F/FR/FREW/Devel-REPL-1.003010.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\F\FR\FREW\Devel-REPL-1.003010.tar.gz ok Scanning cache C:\strawberry\cpan\build for sizes ............................................................................DONE CPAN.pm: Going to build F/FR/FREW/Devel-REPL-1.003010.tar.gz *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... *** Since we're running under CPAN, I'll just let it take care of the dependency's installation later. [Core Features] - Test::More ...loaded. (0.94) - File::Spec ...loaded. (3.31) - Term::ReadLine ...loaded. (1.05) - Moose ...loaded. (1.05 >= 0.74) - MooseX::Object::Pluggable ...loaded. (0.0011 >= 0.0009) - MooseX::Getopt ...loaded. (0.27 >= 0.18) - MooseX::AttributeHelpers ...loaded. (0.23 >= 0.16) - namespace::clean ...loaded. (0.14) - File::HomeDir ...loaded. (0.89) - Task::Weaken ...loaded. (1.03) - B::Concise ...loaded. (0.78) - Term::ANSIColor ...loaded. (3.00) - Devel::Peek ...loaded. (1.04) [Completion plugin - extensible tab completion] - PPI ...loaded. (1.212) [DDS plugin - better format results with Data::Dump::Streamer] - Data::Dump::Streamer ...loaded. (2.13) [DDC plugin - even better format results with Data::Dumper::Concise] - Data::Dumper::Concise ...loaded. (1.200) [INC completion driver - tab complete module names in use and require] - File::Next ...loaded. (1.06) [Interrupt plugin - traps SIGINT to kill long-running lines] - Sys::SigAction ...missing. ==> Auto-install the 1 optional module(s) from CPAN? [Y/n] y [Keywords completion driver - tab complete Perl keywords and operators] - B::Keywords ...loaded. (1.09) [LexEnv plugin - variables declared with "my" persist between statements] - Lexical::Persistence ...loaded. (1.020) [MultiLine::PPI plugin - continue reading lines until all blocks are closed] - PPI ...loaded. (1.212) [Nopaste plugin - upload a session's input and output to a Pastebin] - App::Nopaste ...missing. ==> Auto-install the 1 optional module(s) from CPAN? [y/N] n [PPI plugin - PPI dumping of Perl code] - PPI ...loaded. (1.212) [Refresh plugin - automatically reload libraries with Module::Refresh] - Module::Refresh ...loaded. (0.13) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Looks good Warning: prerequisite Sys::SigAction 0 not found. Writing Makefile for Devel::REPL Show quoted text
---- Unsatisfied dependencies detected during ---- ---- FREW/Devel-REPL-1.003010.tar.gz ---- Sys::SigAction [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'Sys::SigAction' Running make for L/LB/LBAXTER/Sys-SigAction-0.11.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\L\LB\LBAXTER\Sys-SigAction-0.11.tar.gz ok CPAN.pm: Going to build L/LB/LBAXTER/Sys-SigAction-0.11.tar.gz Checking for Microsoft Windows... (not supported) OS unsupported Sys::SigAction is not Supported on on $^O operating systems if you can make all or most of the tests work on this OS, then please send patches to me, and I will consider them for a new release that supports $^O. Note that smoke testers have had successful results in a Cygwin environment however. So if you want to write scripts using signals on a Win32 environment consider Cygwin Bash. Lincoln at Makefile.PL line 10. Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL] LBAXTER/Sys-SigAction-0.11.tar.gz C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Running make for F/FR/FREW/Devel-REPL-1.003010.tar.gz Has already been unwrapped into directory C:\strawberry\cpan\build\Devel-REPL-1.003010-JrM2zH CPAN.pm: Going to build F/FR/FREW/Devel-REPL-1.003010.tar.gz Warning: Prerequisite 'Sys::SigAction => 0' for 'FREW/Devel-REPL-1.003010.tar.gz' failed when processing 'LBAXTER/Sys-Si gAction-0.11.tar.gz' with 'writemakefile => NO 'C:\strawberry\perl\bin\perl.exe Makefile.PL' returned status 65280'. Con tinuing, but chances to succeed are limited. cp lib/Devel/REPL/Plugin/DDS.pm blib\lib\Devel\REPL\Plugin\DDS.pm cp lib/Devel/REPL/Plugin/ShowClass.pm blib\lib\Devel\REPL\Plugin\ShowClass.pm cp lib/Devel/REPL/Plugin/OutputCache.pm blib\lib\Devel\REPL\Plugin\OutputCache.pm cp lib/Devel/REPL/Plugin/Interrupt.pm blib\lib\Devel\REPL\Plugin\Interrupt.pm cp lib/Devel/REPL/Plugin/ReadLineHistory.pm blib\lib\Devel\REPL\Plugin\ReadLineHistory.pm cp lib/Devel/REPL/Plugin/NewlineHack.pm blib\lib\Devel\REPL\Plugin\NewlineHack.pm cp lib/Devel/REPL/Plugin/Colors.pm blib\lib\Devel\REPL\Plugin\Colors.pm cp lib/Devel/REPL/Plugin/Completion.pm blib\lib\Devel\REPL\Plugin\Completion.pm cp lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm blib\lib\Devel\REPL\Plugin\CompletionDriver\Turtles.pm cp lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm blib\lib\Devel\REPL\Plugin\CompletionDriver\Methods.pm cp lib/Devel/REPL/Plugin.pm blib\lib\Devel\REPL\Plugin.pm cp lib/Devel/REPL/Plugin/LexEnv.pm blib\lib\Devel\REPL\Plugin\LexEnv.pm cp lib/Devel/REPL/Plugin/CompletionDriver/INC.pm blib\lib\Devel\REPL\Plugin\CompletionDriver\INC.pm cp lib/Devel/REPL/Profile.pm blib\lib\Devel\REPL\Profile.pm cp lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm blib\lib\Devel\REPL\Plugin\CompletionDriver\Keywords.pm cp lib/Devel/REPL/Script.pm blib\lib\Devel\REPL\Script.pm cp lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm blib\lib\Devel\REPL\Plugin\CompletionDriver\Globals.pm cp lib/Devel/REPL/Plugin/Commands.pm blib\lib\Devel\REPL\Plugin\Commands.pm cp lib/Devel/REPL.pm blib\lib\Devel\REPL.pm cp lib/Devel/REPL/Plugin/B/Concise.pm blib\lib\Devel\REPL\Plugin\B\Concise.pm cp lib/Devel/REPL/Plugin/Peek.pm blib\lib\Devel\REPL\Plugin\Peek.pm cp lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm blib\lib\Devel\REPL\Plugin\CompletionDriver\LexEnv.pm cp lib/Devel/REPL/Meta/Plugin.pm blib\lib\Devel\REPL\Meta\Plugin.pm cp lib/Devel/REPL/Plugin/PPI.pm blib\lib\Devel\REPL\Plugin\PPI.pm cp lib/Devel/REPL/Plugin/DDC.pm blib\lib\Devel\REPL\Plugin\DDC.pm cp lib/Devel/REPL/Plugin/Refresh.pm blib\lib\Devel\REPL\Plugin\Refresh.pm cp lib/Devel/REPL/Plugin/DumpHistory.pm blib\lib\Devel\REPL\Plugin\DumpHistory.pm cp lib/Devel/REPL/Overview.pod blib\lib\Devel\REPL\Overview.pod cp lib/Devel/REPL/Profile/Default.pm blib\lib\Devel\REPL\Profile\Default.pm cp lib/Devel/REPL/Plugin/FindVariable.pm blib\lib\Devel\REPL\Plugin\FindVariable.pm cp lib/Devel/REPL/Plugin/History.pm blib\lib\Devel\REPL\Plugin\History.pm cp lib/Devel/REPL/Error.pm blib\lib\Devel\REPL\Error.pm cp lib/Devel/REPL/Plugin/Turtles.pm blib\lib\Devel\REPL\Plugin\Turtles.pm cp lib/Devel/REPL/Plugin/Packages.pm blib\lib\Devel\REPL\Plugin\Packages.pm cp lib/Devel/REPL/Plugin/FancyPrompt.pm blib\lib\Devel\REPL\Plugin\FancyPrompt.pm cp lib/Devel/REPL/Plugin/MultiLine/PPI.pm blib\lib\Devel\REPL\Plugin\MultiLine\PPI.pm cp lib/Devel/REPL/Plugin/Timing.pm blib\lib\Devel\REPL\Plugin\Timing.pm cp lib/Devel/REPL/Plugin/Nopaste.pm blib\lib\Devel\REPL\Plugin\Nopaste.pm C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e "cp" -- script/re.pl blib\script\re.pl pl2bat.bat blib\script\re.pl FREW/Devel-REPL-1.003010.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/load_ core.t t/load_core.t .. ok All tests successful. Files=1, Tests=15, 1 wallclock secs ( 0.05 usr + 0.03 sys = 0.08 CPU) Result: PASS FREW/Devel-REPL-1.003010.tar.gz Tests succeeded but one dependency not OK (Sys::SigAction) FREW/Devel-REPL-1.003010.tar.gz [dependencies] -- NA Running make install make test had returned bad status, won't install without force Failed during this command: LBAXTER/Sys-SigAction-0.11.tar.gz : writemakefile NO 'C:\strawberry\perl\bin\perl.exe Makefile.PL' returned status 65280 FREW/Devel-REPL-1.003010.tar.gz : make_test NO one dependency not OK (Sys::SigAction)
Concur. I just made a clean Strawberry Perl Portable and did 'cpan Devel::REPL'. Everything built ok except for two required dependencies: Sys::SigAction which does not support win32 at all Data::Dump::Streamer which fails in t\madness.t It looks like making Sys::SigAction install option be default=>0 would address that problem. For DDS, it is being used in the Default profile so a quick fix like that would not work unless DDC is substituted for DDS in Default.pm. Will bring up the issue on Devel::REPL irc and report the bug re Data::Dump::Streamer to their developers. --Chris On Fri Jun 04 01:45:14 2010, zloyrusskiy wrote: Show quoted text
> No, not working also. > I can identify and solve this problem by myself, but newbies - can't. > Please correct this.
On Sat Jun 19 12:31:42 2010, CHM wrote: Show quoted text
> Concur. I just made a clean Strawberry Perl Portable > and did 'cpan Devel::REPL'. Everything built ok except > for two required dependencies: > > Sys::SigAction which does not support win32 at all > Data::Dump::Streamer which fails in t\madness.t > > It looks like making Sys::SigAction install option > be default=>0 would address that problem. For DDS, > it is being used in the Default profile so a quick > fix like that would not work unless DDC is substituted > for DDS in Default.pm.
Maybe the -default setting for the Interrupt plugin could be set to 0 only for MSWin32 systems until the Sys::SigAction module has support for windows? Similarly, we could conditionalize the Default REPL profile to use DDC in place of DDS until with win32 test failure is resolved upstream.
On Sat Jun 19 12:31:42 2010, CHM wrote: Show quoted text
> Concur. I just made a clean Strawberry Perl Portable > and did 'cpan Devel::REPL'. Everything built ok except > for two required dependencies: > > Sys::SigAction which does not support win32 at all > Data::Dump::Streamer which fails in t\madness.t > > Will bring up the issue on Devel::REPL irc and report > the bug re Data::Dump::Streamer to their developers.
The Data::Dump::Streamer test failure on Strawberry Perl has been fixed in Data-Dump-Streamer-2.31.tar.gz. The Sys::SigAction dependency/requirement appears to be the last problem for win32 compiles of Devel::REPL for Strawberry perl.
The -default for Sys::SigAction is now 0 for Win32 and 1 for all other platforms. The change has been pushed to git and it is hoped the next Devel::REPL release will install via CPAN on win32 platforms.
Subject: dependency on Sys::SigAction, not available on Win32
Devel::REPL 1.002012 depends on Sys::SigAction. However Sys::SigAction can not be not available on Windows (the configure phase of this module fails as this is not a supported platform). Devel::REPL should not depend on it on all platforms. The dependency should only be added on platforms where D::R really needs it. -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
Yes, see the already existing ticket regarding win32 builds: #55491.
Subject: dependency on Sys::SigAction, not available on Win32
Le 2011-03-09 11:31:22, CHM a écrit : Show quoted text
> Yes, see the already existing ticket > regarding win32 builds: #55491.
OK. Could you fix the ticket title and reuse mine "dependency on Sys::SigAction, not available on Win32"? I suggest to set the state of this bug to "Patched" instead of "Resolved" until the new release is pushed to the CPAN. "Resolved" bugs are hidden in the default RT view and lead to duplicates. -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
I used your title since it was the original report. However, as noted in the tracker, there were a number of problems for win32 systems and not just Sys::SigAction. I don't know anything about Resolved or Patched. The ticket is listed as Open for me. Revisiting the win32 issues and pushing a new release is in my plan for this Spring (unless another developer pushes sooner). Devel::REPL is being use in our PDL shell so it is important that it work on all perl platforms. Thanks for the report. --Chris
The dependency is made optional for MSWin32 platforms.