1 Building nixpkgs in non-chroot, NSS modules may fail
2 and that will report EAI_SYSTEM in getaddrinfo.
3 https://bugzilla.novell.com/show_bug.cgi?id=794696
5 Index: guile-2.0.7/test-suite/tests/net-db.test
6 ===================================================================
7 --- guile-2.0.7.orig/test-suite/tests/net-db.test
8 +++ guile-2.0.7/test-suite/tests/net-db.test
10 (and (defined? 'EAI_NODATA) ; GNU extension
11 (= errcode EAI_NODATA))
13 + (= errcode EAI_SYSTEM)
15 (format #t "unexpected error code: ~a ~s~%"
16 errcode (gai-strerror errcode))
19 (and (or (= errcode EAI_SERVICE)
20 (= errcode EAI_NONAME)
21 + (= errcode EAI_SYSTEM)
22 (and (defined? 'EAI_NODATA)
23 (= errcode EAI_NODATA)))
24 (string? (gai-strerror errcode))))))))