ports/166652: [patch] devel/p5-POE-Component-Child: unbreak test indefinite hang

Mel Flynn rflynn at acsalaska.net
Wed Apr 4 18:40:02 UTC 2012


>Number:         166652
>Category:       ports
>Synopsis:       [patch] devel/p5-POE-Component-Child: unbreak test indefinite hang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 04 18:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mel Flynn
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD datakitty.lan.rachie.is-a-geek.net 8.2-STABLE FreeBSD 8.2-STABLE #6 r230977: Sun Feb 5 06:20:11 AKST 2012 mel at datakitty.lan.rachie.is-a-geek.net:/data/obj/data/RELENG_8/src/sys/GENERIC amd64


>Description:
When test target is run, tests will hang indefinitely, caused by a missing
write hook.

>How-To-Repeat:
cd /usr/ports/devel/p5-POE-Component-Child
make build
cd `make -V WRKSRC` && make test

>Fix:

Obtained from: https://rt.cpan.org/Public/Bug/Display.html?id=70701



--- devel__p5-POE-Component-Child.patch begins here ---
diff -urN --exclude CVS --exclude '*~' devel/p5-POE-Component-Child/files/patch-test.pl /usr/ports/devel/p5-POE-Component-Child/files/patch-test.pl
--- devel/p5-POE-Component-Child/files/patch-test.pl.orig	1969-12-31 14:00:00.000000000 -1000
+++ devel/p5-POE-Component-Child/files/patch-test.pl	2012-04-04 06:24:19.000000000 -0800
@@ -0,0 +1,11 @@
+Obtained from: https://rt.cpan.org/Public/Bug/Display.html?id=70701
+--- test.pl.orig	2005-12-30 19:36:54.000000000 -0900
++++ test.pl	2012-04-04 06:13:52.000000000 -0800
+@@ -103,6 +103,7 @@
+ 
+ if ($t4) {
+     $t4 = POE::Component::Child->new(
++        writemap => { quit => "bye" },
+     	events => \%t4, debug => $debug
+     	);
+     ok(defined $t4 && $t4->isa('POE::Component::Child'), "[4] init - pipe close");
--- devel__p5-POE-Component-Child.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list