musl: server tests depend on odd behaviour of glibc
in test-sasl.c
a socketpair is made with 2 AF_LOCAL
sockets
one of those then ends up in addr_to_string
which tries to resolve the numerical host and numerical serv of the socket.
on glibc this results in "localhost"
and ""
(empty string),
musl however error's out because it can't resolve a numerical host and serv for this socket (it being AF_LOCAL
after all)
replacing the return NULL;
with
strcpy(host, "gamers\0");
serv[0] = NULL;
will make the tests pass on musl :)
In short, the test case is current depending on rather odd (we request for a numerical representation and get localhost
?) glibc behaviour and thus breaks on musl
addr_to_string: https://gitlab.freedesktop.org/spice/spice/-/blob/master/server/red-stream.cpp#L757