Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Reporter CPAN distribution.

Report information
The Basics
Id: 32098
Status: resolved
Priority: 0/
Queue: CPAN-Reporter

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

Bug Information
Severity: (no value)
Broken in: 1.0601
Fixed in: (no value)



Subject: Autoflush needed?
Download (untitled) / with headers
text/plain 777b
When running the Makefile.PL for Audio-Ecasound-0.92 under CPAN::Reporter, it seems that the script hangs. In fact, the Makefile.PL is waiting for user's input, but the question is not yet flushed. According to http://perl.plover.com/FAQs/Buffering.html output to STDOUT is automatically flushed if the script when reading from STDIN. But here it's not STDOUT involved, but some other filehandle, as it seems, so this flushing rule does not apply. The module author can fix the problem by adding $|=1 or printing the questions to STDERR, but maybe it's possible to add some kind of autoflushing to CPAN::Reporter? I think this is not the only distribution with this problem, I encountered similar things many times before, but did never an investigation. Regards, Slaven
Download (untitled) / with headers
text/plain 982b
On Sat Jan 05 11:59:18 2008, SREZIC wrote: Show quoted text
> When running the Makefile.PL for Audio-Ecasound-0.92 under > CPAN::Reporter, it seems that the script hangs. In fact, the Makefile.PL > is waiting for user's input, but the question is not yet flushed. > According to http://perl.plover.com/FAQs/Buffering.html output to STDOUT > is automatically flushed if the script when reading from STDIN. But here > it's not STDOUT involved, but some other filehandle, as it seems, so > this flushing rule does not apply. The module author can fix the problem > by adding $|=1 or printing the questions to STDERR, but maybe it's > possible to add some kind of autoflushing to CPAN::Reporter? > > I think this is not the only distribution with this problem, I > encountered similar things many times before, but did never an > investigation. >
It seems Andreas had the same problem and put a ticket in the Audio-Ecasound queue: http://rt.cpan.org/Ticket/Display.html?id=32101 Regards, Slaven
Latest CPAN::Reporter dev releases add Devel::Autoflush to PERL5OPT to address this issue.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.