[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 returns "SUCCESS" on Linux and "FAIL" on kFreeBSD. This is irrespective
> > of the length of the file.
> > 
> > There is an error message thrown which is in results.txt.
> 
> > FAILED
> > Bad arg length for Socket::unpack_sockaddr_un, length is 106, should be 110 at /usr/lib/perl/5.14/Socket.pm line 278.
> 
> Confirmed on asdfasdf.debian.net. A slightly more obvious test script
> attached.
> 
> Testing with bleadperl now.

The problem only arises on Debian kFreeBSD (on bleadperl, 5.14, and 5.10).
It doesn't arise with plain FreeBSD. 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

I'd be grateful for any confirmation, and suggestions from people more
familiar with kFreeBSD for how to proceed.

Thanks,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)


Reply to: