After successfully configure'ing and make'ing, "make verify" throws what end up being this error:
% ./regress util/getaddrinfo
util/getaddrinfo: [forking]
FAIL regress_util.c:972: assert(a)
[getaddrinfo FAILED]
1/1 TESTS FAILED. (0 skipped)
From what I can tell, the days of Solaris' getaddrinfo() behaving badly with ai_protocol are over (see: https://sourceforge.net/p/levent/bugs/133) so this is something new. From the same system:
% python -c 'import socket; print socket.getaddrinfo("1.2.3.4", "80", socket.AF_INET, socket.SOCK_STREAM)'
[(2, 2, 6, '', ('1.2.3.4', 80))]
Perhaps it is just a problem with the test?
jd