>>>>> On Thu, 01 Feb 2007 08:53:56 +0100, [EMAIL PROTECTED] (Andreas J. Koenig) >>>>> said:
>>>>> On Wed, 31 Jan 2007 21:46:09 -0600, Ken Williams <[EMAIL PROTECTED]> said: >> On Jan 30, 2007, at 12:01 AM, Andreas J. Koenig wrote: > So there's definitely something broken, I don't know what. It looks > like the prompt function in Module::Build::Base is not called when the > output is redirected to a non-terminal. If I add a C<die;> at the > beginning of the prompt subroutine, it is reached in the debugger but > not when I run the Build.PL with output redirected. > I cannot investigate more right now. These are the facts: > (1) perl is bleadperl @30080 (verified again with 30087) > (2) Module::Build is 0.2806 > (3) distro is DMAKI/DateTime-Util-Calc-0.11.tar.gz > (4) Math::BigInt::GMP and Math::Pari must NOT be installed, so that y_n() is triggered > (5) I call 'perl Build.PL > /tmp/ttt' and it hangs forever and /tmp/ttt remains empty Introduced between 0.27_10 and 0.28 with SVN rev. 5919 The offending line: + return $ENV{PERL_MM_USE_DEFAULT} || ( !$self->_is_interactive && eof STDIN ); This hangs forever when the STDOUT is redirected and STDIN is not redirected. -- andreas