Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Prereq CPAN distribution.

Report information
The Basics
Id: 56785
Status: open
Priority: 0/
Queue: Test-Prereq

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

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



Subject: t/get_from_prereqs.t requires interactive CPAN module configuration
Download (untitled) / with headers
text/plain 2.2k
Test t/get_from_prereqs.t does not halt if CPAN configuration in home directory does not exist. CPAN module begins interactive configuration instead resulting in test dead lock. I use CPAN 1.9205 (perl-CPAN-1.9205-87.fc12.x86_64 in Fedora 12). Strace: $ PERL_DL_NONLAZY=1 strace -f /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/get_from_prereqs.t [...] [pid 27588] stat("/home/petr/.cpan/CPAN/MyConfig.pm", {st_mode=S_IFREG|0644, st_size=3, ...}) = 0 [pid 27588] write(1, "Sorry, we have to rerun the conf"..., 96) = 96 [pid 27588] write(1, "\n\nThe following questions are in"..., 248 <unfinished ...> [pid 27586] <... select resumed> ) = 1 (in [3]) [pid 27588] <... write resumed> ) = 248 [pid 27586] read(3, "Sorry, we have to rerun the conf"..., 65536) = 344 [pid 27588] stat("/home/petr/.cpan", <unfinished ...> [pid 27586] select(8, [3 5], NULL, NULL, NULL <unfinished ...> [pid 27588] <... stat resumed> {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 27588] write(1, "\n\nI see you already have a dire"..., 123) = 123 [pid 27586] <... select resumed> ) = 1 (in [3]) [pid 27588] write(1, " <cpan_home>\n", 13 <unfinished ...> [pid 27586] read(3, <unfinished ...> [pid 27588] <... write resumed> ) = 13 [pid 27586] <... read resumed> "\n\nI see you already have a dire"..., 65536) = 136 [pid 27588] ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 [pid 27588] ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffd03c36c0) = -1 EINVAL (Invalid argument) [pid 27588] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 [pid 27588] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 [pid 27588] write(1, "CPAN build and cache directory? "..., 51) = 51 [pid 27588] read(0, <unfinished ...> [pid 27586] select(8, [3 5], NULL, NULL, NULL) = 1 (in [3]) [pid 27586] read(3, "CPAN build and cache directory? "..., 65536) = 51 [pid 27586] read(3, <unfinished ...> [pid 27588] <... read resumed> 0x18cade8, 4096) = ? ERESTARTSYS (To be restarted) [pid 27588] --- SIGWINCH (Window changed) @ 0 (0) --- [pid 27588] read(0, <unfinished ...> [pid 27586] <... read resumed> 0x17bf0e8, 65536) = ? ERESTARTSYS (To be restarted) [pid 27586] --- SIGWINCH (Window changed) @ 0 (0) --- [pid 27586] read(3,
This also influences use under cpanminus, where the test just seems to hang. jonasbn


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.