GNU bug report logs - #13205
guile 2.0.7: net-db.test fails

Previous Next

Package: guile;

Reported by: pgajdos <at> suse.cz

Date: Mon, 17 Dec 2012 13:21:02 UTC

Severity: normal

Tags: moreinfo

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: pgajdos <at> suse.cz
To: 13205 <at> debbugs.gnu.org
Subject: bug#13205: guile 2.0.7: net-db.test fails
Date: Mon, 17 Dec 2012 14:18:26 +0100
[Message part 1 (text/plain, inline)]
Hi,

net-db.test fails in some cirtumstances (build changeroot) because glibc's
gettadrinfo() can return EAI_SYSTEM:

http://sourceware.org/ml/libc-alpha/2012-10/msg00611.html

rpm -q glibc
glibc-2.16.90-7.1.x86_64

Following patch fixed test for me:

Index: guile-2.0.7/test-suite/tests/net-db.test
===================================================================
--- guile-2.0.7.orig/test-suite/tests/net-db.test
+++ guile-2.0.7/test-suite/tests/net-db.test
@@ -79,6 +79,7 @@
                      (and (defined? 'EAI_NODATA)  ; GNU extension
                           (= errcode EAI_NODATA))
                      (= errcode EAI_AGAIN)
+                     (= errcode EAI_SYSTEM)
                      (begin
                        (format #t "unexpected error code: ~a ~s~%"
                                errcode (gai-strerror errcode))
@@ -105,6 +106,7 @@
             ;; `EAI_NONAME'.)
             (and (or (= errcode EAI_SERVICE)
                      (= errcode EAI_NONAME)
+                     (= errcode EAI_SYSTEM)
                      (and (defined? 'EAI_NODATA)
                           (= errcode EAI_NODATA)))
                  (string? (gai-strerror errcode))))))))


Thanks,
Petr

Few more details at:
https://bugzilla.novell.com/show_bug.cgi?id=794696
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 10 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.