Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 79553
Status: open
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 6.62
Fixed in: (no value)



Subject: Cygwin: Prompt hangs - does read anything
All input (except SIGINT) is ignored by prompt(). The prompt message is displayed, but you can't get past it except by hitting control-C which will abandon the build. It's happened to me on all versions of Cygwin and all versions of Perl that I've tried.
Thanks for your report.

Sorry, I cannot replicate this problem on Windows 7 (64 bit) with an up to date Cygwin using the built in Perl (5.14.2).  I tried both the MakeMaker which comes with Cygwin (6.57_05) and MakeMaker 6.64.  Would you please try MakeMaker 6.64?  If that doesn't work, please give us some more information about your environment.  Are you using a special shell or terminal?
On Mon Sep 10 12:07:47 2012, NHORNE wrote: Show quoted text
> All input (except SIGINT) is ignored by prompt(). The prompt message is > displayed, but you can't get past it except by hitting control-C which > will abandon the build. It's happened to me on all versions of Cygwin > and all versions of Perl that I've tried.
Do you use CPAN::Reporter with command_timeout? Does same problem happen with modules that use Build.PL? -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #79553] Cygwin: Prompt hangs - does read anything
Date: Sat, 19 Jan 2013 08:19:15 -0500
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Nigel Horne <njh [...] bandsman.co.uk>
On 01/18/2013 05:01 PM, Alexandr Ciornii via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=79553> > > On Mon Sep 10 12:07:47 2012, NHORNE wrote:
>> All input (except SIGINT) is ignored by prompt(). The prompt message is >> displayed, but you can't get past it except by hitting control-C which >> will abandon the build. It's happened to me on all versions of Cygwin >> and all versions of Perl that I've tried.
> Do you use CPAN::Reporter with command_timeout?
No Show quoted text
> > Does same problem happen with modules that use Build.PL?
I haven't noticed one way or the other. -Nigel
Download smime.p7s
application/pkcs7-signature 4.3k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #79553] Cygwin: Prompt hangs - does read anything
Date: Sat, 19 Jan 2013 13:16:24 -0800
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: "Michael G. Schwern" <schwern [...] pobox.com>
Since we can't reproduce the problem, we're going to need some detailed information to figure out what's going on. I'm going to ask for what seems like a lot of information, it will make figuring out what's going on much faster if you can provide as much as possible. If attaching files is inconvenient, you can use a pasting site such as https://gist.github.com/ and give us the links. All the commands should be run in the Cygwin shell where you're having the prompt problems. What version of Windows are you using? For example, I'm using Windows 7 64bit. What version of Cygwin are you using? Please show us the output of "uname -a" and "cygcheck". Please attach the output of "perl -V" so we know details about your perl environment. What version of MakeMaker are you using? Running this command will tell you: perl -wle 'use ExtUtils::MakeMaker; print $ExtUtils::MakeMaker::VERSION' Would you please attach your copy of ExtUtils::MakeMaker. It can be found by running "perldoc -l ExtUtils::MakeMaker". Would you give us an example of a module or a sample program which causes prompt() to hang? Would you please show us the output of when you're installing a module and prompt() hangs? Does the problem happen if you run "perl Makefile.PL" directly? If it only happens in a CPAN shell, which shell? If its the CPAN shell, please attach ~/.cpan/CPAN/MyConfig.pm. Thank you for providing all this.
I think Cygwin was a red herring. I've noticed the same problem on other platforms.
E::M exhisbits this problem for me on several platforms in release 6.86. It's fine if I run Perl Makefile.PL; make from the command line, it only hangs when running install from a CPAN shell.
It seems that the problem goes away when inactivity_timeout in Cpan::Config is 0. Now that I come to think of it I am sure I've come across this problem before.
Please could you provide the output of: "ver" in a Command Prompt. "perl -V".
On Fri Jan 02 20:05:05 2015, ETJ wrote: Show quoted text
> Please could you provide the output of: > > "ver" in a Command Prompt.
$ ver -bash: ver: command not found Nigel@cyberpower ~/.cpan/CPAN $ Show quoted text
> > "perl -V".
$ perl -V Summary of my perl5 (revision 5 version 16 subversion 2) configuration: Platform: osname=cygwin, osvers=1.7.29(0.27253), archname=cygwin-thread-multi uname='cygwin_nt-6.3 cyberpowerpc 1.7.29(0.27253) 2014-04-07 13:46 x86_64 cygwin ' config_args='-Duseithreads -Dusemultiplicity -Dinstallprefix=/Users/hornenj/perl5/perlbrew/perls/perl-5.16.2 -Dprefix=/Users/hornenj/perl5/perlbrew/perls/perl-5.16.2 -de -Accflags=-O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -mfpmath=sse -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -ftree-vectorize -fassociative-math' hint=previous, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -mfpmath=sse -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -ftree-vectorize -fassociative-math -fno-strict-aliasing -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -mfpmath=sse -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -ftree-vectorize -fassociative-math', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -mfpmath=sse -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -ftree-vectorize -fassociative-math -fno-strict-aliasing -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -mfpmath=sse -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -ftree-vectorize -fassociative-math -fno-strict-aliasing -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings -Wuninitialized -Wall -pipe -mtune=native -march=native -fomit-frame-pointer -msse2 -msse -mmmx -mfpmath=sse -pedantic -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wstack-protector -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wformat-security -ftree-vectorize -fassociative-math' ccversion='', gccversion='4.8.2', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-ldb -ldl perllibs=-ldl libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_16_2.dll gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under cygwin Compiled at Apr 23 2014 12:46:26 %ENV: PERLBREW_BASHRC_VERSION="0.71" PERLBREW_HOME="/home/Nigel/.perlbrew" PERLBREW_MANPATH="/home/Nigel/perl5/perlbrew/perls/perl-5.16.2/man" PERLBREW_PATH="/home/Nigel/perl5/perlbrew/bin:/home/Nigel/perl5/perlbrew/perls/perl-5.16.2/bin" PERLBREW_PERL="perl-5.16.2" PERLBREW_ROOT="/home/Nigel/perl5/perlbrew" PERLBREW_VERSION="0.71" @INC: /home/Nigel/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/cygwin-thread-multi /home/Nigel/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2 /home/Nigel/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2/cygwin-thread-multi /home/Nigel/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2 . Nigel@cyberpower ~/.cpan/CPAN
Thanks! Still waiting for the information on exactly which version of Windows you're running.
On Sat Jan 03 10:52:46 2015, ETJ wrote: Show quoted text
> Thanks! Still waiting for the information on exactly which version of > Windows you're running.
I didn't think you still needed given my comment on 23/1/14. I've seen it on both Vista and Windows 8.