Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2012 10:37:12 -0800 (AKDT)
From:      Mel Flynn <rflynn@acsalaska.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Steve Wills <swills@freebsd.org>, Maintainer <perl@freebsd.org>
Subject:   [patch] devel/p5-POE-Component-Child: unbreak test indefinite hang
Message-ID:  <201204041837.q34IbC6G052286@datakitty.lan.rachie.is-a-geek.net>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Mel Flynn
>Organization:	
>Confidential:	no 
>Synopsis:	[patch] devel/p5-POE-Component-Child: unbreak test indefinite hang
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 8.2-STABLE amd64
>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@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 ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204041837.q34IbC6G052286>