Bug#945943: exim4: FTBFS on hurd-i386: "operating system GNU is not supported"

Samuel Thibault sthibault at debian.org
Mon Dec 2 00:36:32 GMT 2019


Hello,

Paul Sonnenschein, le dim. 01 déc. 2019 13:56:26 +0100, a ecrit:
> > *** Sorry - operating system GNU is not supported
> > *** See OS/Makefile-* for supported systems
> 
> See [1] for the complete build log.
> 
> It however builds successfully if the files OS/unsupported/*-GNU are
> moved into the directory OS/.
> 
> Could you take a look?

The attached patch is also required, otherwise exim4 will consider using
fastopen, but not actually do it, thus completely failing to connect.
I'll submit upstream once I get my account there confirmed.

Samuel
-------------- next part --------------
Index: exim4-4.93~RC5/src/ip.c
===================================================================
--- exim4-4.93~RC5.orig/src/ip.c
+++ exim4-4.93~RC5/src/ip.c
@@ -292,8 +292,7 @@ if (fastopen_blob && f.tcp_fastopen_ok)
       debug_printf("Tried TCP Fast Open but apparently not enabled by sysctl\n");
     goto legacy_connect;
     }
-# endif
-# ifdef EXIM_TFO_CONNECTX
+# elif defined(EXIM_TFO_CONNECTX)
   /* MacOS */
   sa_endpoints_t ends = {
     .sae_srcif = 0, .sae_srcaddr = NULL, .sae_srcaddrlen = 0,
@@ -326,12 +325,14 @@ if (fastopen_blob && f.tcp_fastopen_ok)
     else	/* assume that no data was queued; block in send */
       rc = send(sock, fastopen_blob->data, fastopen_blob->len, 0);
     }
+# else
+    goto legacy_connect;
 # endif
   }
 else
 #endif	/*TCP_FASTOPEN*/
   {
-#if defined(TCP_FASTOPEN) && defined(MSG_FASTOPEN)
+#if defined(TCP_FASTOPEN) && (defined(MSG_FASTOPEN) || !defined(EXIM_TFO_CONNECTX))
 legacy_connect:
 #endif
 


More information about the Pkg-exim4-maintainers mailing list