Bug#627821: perl: FTBFS on kfreebsd-amd64: cpan/Sys-Syslog/t/syslog.t failures

Niko Tyni ntyni at debian.org
Wed Aug 3 19:42:43 UTC 2011


tag 627821 patch
forwarded 627821 http://rt.cpan.org/Ticket/Display.html?id=69997
thanks

On Tue, Aug 02, 2011 at 06:16:19PM +0300, Niko Tyni wrote:
> On Tue, May 24, 2011 at 09:55:16PM +0300, Niko Tyni wrote:
> > Package: perl
> > Version: 5.12.3-5
> > Severity: important
> > X-Debbugs-Cc: kfreebsd-amd64 at buildd.debian.org
> > 
> > Both 5.12.3-5 and 5.12.3-7 failed to build on fano.debian.org due
> > to failures in cpan/Sys-Syslog/t/syslog.t. 5.12.3-6 built fine on
> > fasch.debian.org.
> 
> I was finally able to reproduce this with the attached test script.
> 
> Looks like openlog() on an inet socket is racy on kfreebsd when
> syslog remote reception is disabled.

There's already a workaround in the code for this on MacOS X (which
is FreeBSD under the hood), so the attached patch should help.

I've sent more elaborate patches upstream in [rt.cpan.org #69997].
-- 
Niko Tyni   ntyni at debian.org 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-a-socket-timeout-on-GNU-kFreeBSD-to-catch-ICMP-p.patch
Type: text/x-diff
Size: 1344 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20110803/1d79f979/attachment.patch>


More information about the Perl-maintainers mailing list