user/neon: FTTFS: socket ... 35/47 FAIL - blocking (peek got -4 bytes not 6)
Found on ppc64:
...
echo 'broken!' >> badcsum.gz
In file included from common/child.c:50:
common/child.c: In function ‘new_spawn_server2’:
common/child.c:289:25: warning: passing argument 2 of ‘getsockname’ from incompatible pointer type [-Wincompatible-pointer-types]
ONV(getsockname(ls, &sa, &salen) != 0,
^~~
common/tests.h:109:29: note: in definition of macro ‘ONV’
#define ONV(x,vs) do { if ((x)) { t_context vs; return FAIL; } } while (0)
^
In file included from common/child.c:26:
/usr/include/sys/socket.h:391:23: note: expected ‘struct sockaddr * restrict’ but argument is of type ‘struct sockaddr_in *’
int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict);
^
...
socket................ 35/47 FAIL - blocking (peek got -4 bytes not 6)
...
socket................ 46/47 passed, 1 failed