[debian-mysql] Bug#651002: good news; bad news

Pino Toscano pino at debian.org
Sat Mar 17 12:17:31 UTC 2012


Hi,

(please also CC the reporter when you reply to Debian bugs, as BTS 
doesn't subscribe reporters by default.)

Alle sabato 17 marzo 2012, Nicholas Bamber ha scritto:
> The good news is that the patch in itself worked and allowed the
> build.

Thanks.

> The bad news is that the tests failed.
> 
> Using suites: main,sys_vars,binlog,federated,rpl,innodb,perfschema
> Collecting tests...
>  - adding combinations for binlog
>  - adding combinations for rpl
> vardir: /home/periapt/mysql-5.5-5.5.20/builddir/mysql-test/var
> Removing old var directory...
> Creating var directory
> '/home/periapt/mysql-5.5-5.5.20/builddir/mysql-test/var'...
> mysql-test-run: *** ERROR: Socket path '/tmp/wXM23NFbaV' too long, it
> would be  truncated and thus not possible to use for connection to
> MySQL Server. Set a shorter with --tmpdir=<path> option
> [..]
> The crucial error is from inside the eval:
> Bad arg length for Socket::unpack_sockaddr_un, length is 3, should be
> 110 at /usr/lib/perl/5.14/Socket.pm line 278.

The real problem boils down to the fact that getsockname() does not fill 
the socket path for UNIX sockets, like the one used for the test.
I reported this issue to bug-hurd[1], upstream's Hurd development 
mailing list, and apparently it is not easy to fix.

[1] http://lists.gnu.org/archive/html/bug-hurd/2011-12/msg00000.html

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20120317/7b9f7059/attachment.pgp>


More information about the pkg-mysql-maint mailing list