Hello again,

On Sat, Feb 11, 2023 at 06:55:13PM +0100, Andreas Henriksson wrote:
> On Sun, Jan 29, 2023 at 02:29:23PM +0100, László Böszörményi (GCS) wrote:
> > Control: tags -1 +confirmed
> > 
> > On Sun, Jan 29, 2023 at 12:33 PM Adrian Bunk <b...@debian.org> wrote:
> > > https://buildd.debian.org/status/logs.php?pkg=neon27&arch=amd64
> > >
> > > ...
> > > auth..................  3/20 FAIL - retries (line 311: HTTP error:
> > > Could not resolve hostname `127.0.0.1': Address family for hostname not 
> > > supported)
> >  Is there a way to detect such buildds as a maintainer? What can I do
> > except notifying upstream and / or disable such tests?

If replacing "127.0.0.1" with "localhost" does not work the attached
(completely untested) patch might be an option instead (simply skip the
test on EAFNOSUPPORT).

(Sorry if the patch is completely broken, but I hope you get the
idea...)

Regards,
Andreas Henriksson
--- test/utils.h.orig	2023-02-11 19:38:52.122713689 +0100
+++ test/utils.h	2023-02-11 19:40:25.601514834 +0100
@@ -25,7 +25,7 @@
 
 #include "child.h"
 
-#define ONREQ(x) do { int _ret = (x); if (_ret) { t_context("line %d: HTTP error:\n%s", __LINE__, ne_get_error(sess)); return FAIL; } } while (0);
+#define ONREQ(x) do { int _ret = (x); if (_ret) { t_context("line %d: HTTP error:\n%s", __LINE__, ne_get_error(sess)); if (strcmp(ne_get_error(sess), "Could not resolve hostname `127.0.0.1': Address family for hostname not supported") == 0) { return SKIP; } else { return FAIL; } } } while (0);
 
 int single_serve_string(ne_socket *s, void *userdata);
 

Reply via email to