Bug#670722: perl-base: IO::Socket::UNIX::hostpath dies on kFreeBSD

2012-05-06 Thread Dominic Hargreaves
On Sun, May 06, 2012 at 10:05:18PM +0100, Steven Chamberlain wrote: > On 06/05/12 22:01, Dominic Hargreaves wrote: > > Good point. The test does fail on hurd-i386 too. > > If you're able to test this on a GNU/Hurd box you can try: > > # if defined(__linux__) || defined(__GNU__) || defined(__GLI

Bug#670722: perl-base: IO::Socket::UNIX::hostpath dies on kFreeBSD

2012-05-06 Thread Nicholas Bamber
On 06/05/12 22:01, Dominic Hargreaves wrote: On Sun, May 06, 2012 at 05:26:45PM +0200, Robert Millan wrote: 2012/5/6 Steven Chamberlain: It looks to me like GNU/kFreeBSD uses the sys/un.h provided by eglibc, with a sockaddr_un different to FreeBSD's, so the test should rather be: # if define

Bug#670722: perl-base: IO::Socket::UNIX::hostpath dies on kFreeBSD

2012-05-06 Thread Steven Chamberlain
On 06/05/12 22:01, Dominic Hargreaves wrote: >>> As for GNU/Hurd, my guess is that it doesn't have that header at all... Oops, since I didn't see the file in the packages.debian.org search results, I assumed hurd-i386 didn't have it... > Good point. The test does fail on hurd-i386 too. If you'r

Bug#670722: perl-base: IO::Socket::UNIX::hostpath dies on kFreeBSD

2012-05-06 Thread Dominic Hargreaves
On Sun, May 06, 2012 at 05:26:45PM +0200, Robert Millan wrote: > 2012/5/6 Steven Chamberlain : > > It looks to me like GNU/kFreeBSD uses the sys/un.h provided by eglibc, > > with a sockaddr_un different to FreeBSD's, so the test should rather be: > > > > #   if defined(__linux__) || defined(__GLIB

Bug#670722: perl-base: IO::Socket::UNIX::hostpath dies on kFreeBSD

2012-05-06 Thread Robert Millan
2012/5/6 Steven Chamberlain : > It looks to me like GNU/kFreeBSD uses the sys/un.h provided by eglibc, > with a sockaddr_un different to FreeBSD's, so the test should rather be: > > #   if defined(__linux__) || defined(__GLIBC__) Note that this is true for the declaration (which is matters here AF

Bug#670722: perl-base: IO::Socket::UNIX::hostpath dies on kFreeBSD

2012-05-06 Thread Steven Chamberlain
On 06/05/12 14:03, Dominic Hargreaves wrote: > ... I'm guessing that the problem is > related to the __linux__ conditional at > > http://perl5.git.perl.org/perl.git/blob/HEAD:/cpan/Socket/Socket.xs#l710 Hi, good work! It looks to me like GNU/kFreeBSD uses the sys/un.h provided by eglibc, with a

Bug#670722: perl-base: IO::Socket::UNIX::hostpath dies on kFreeBSD

2012-05-06 Thread Dominic Hargreaves
On Sat, May 05, 2012 at 06:39:21PM +0100, Dominic Hargreaves wrote: > On Sat, Apr 28, 2012 at 01:53:00PM +0100, Nicholas Bamber wrote: > > > The attached script comes from the MySQL test quite. > >* What exactly did you do (or not do) that was effective (or > > ineffective)? > > It return

Bug#670722: perl-base: IO::Socket::UNIX::hostpath dies on kFreeBSD

2012-05-05 Thread Dominic Hargreaves
tags 670722 +confirmed thanks On Sat, Apr 28, 2012 at 01:53:00PM +0100, Nicholas Bamber wrote: > The attached script comes from the MySQL test quite. >* What exactly did you do (or not do) that was effective (or > ineffective)? > It returns "SUCCESS" on Linux and "FAIL" on kFreeBSD. This

Bug#670722: perl-base: IO::Socket::UNIX::hostpath dies on kFreeBSD

2012-04-28 Thread Nicholas Bamber
Package: perl-base Version: 5.14.2-9 Severity: normal Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? The attached script comes from the MySQL test quite. * What exactly did you do (or not do) that was effective (or