EAI_AGAIN and EAI_NONAME do not match between glibc and musl, among others:
== glibc 2.41 ==
EAI_AGAIN: Temporary failure in name resolution
EAI_BADFLAGS: Bad value for ai_flags
EAI_FAIL: Non-recoverable failure in name resolution
EAI_FAMILY: ai_family not supported
EAI_MEMORY: Memory allocation failure
EAI_NONAME: Name or service not known
EAI_OVERFLOW: Result too large for supplied buffer
EAI_SERVICE: Servname not supported for ai_socktype
EAI_SOCKTYPE: ai_socktype not supported
EAI_SYSTEM: System error
== musl 1.2.5 ==
EAI_AGAIN: Try again
EAI_BADFLAGS: Invalid flags
EAI_FAIL: Non-recoverable error
EAI_FAMILY: Unrecognized address family or invalid length
EAI_MEMORY: Out of memory
EAI_NODATA: Name has no usable address
EAI_NONAME: Name does not resolve
EAI_OVERFLOW: Overflow
EAI_SERVICE: Unrecognized service
EAI_SOCKTYPE: Unrecognized socket type
EAI_SYSTEM: System error