Displaying 3 results from an estimated 3 matches for "net_hosterror_type_not_found".
2019 Dec 04
4
Dovecot 2.3.9 fails on FreeBSD
...eff.
diff --git a/src/lib/net.c b/src/lib/net.c
--- a/src/lib/net.c
+++ b/src/lib/net.c
@@ -1068,13 +1068,17 @@ enum net_hosterror_type net_get_hosterro
int error;
enum net_hosterror_type type;
} error_map[] = {
+#ifdef EAI_ADDRFAIMILY /* Obsoleted by RFC 2553bis-02 */
{ EAI_ADDRFAMILY, NET_HOSTERROR_TYPE_NOT_FOUND },
+#endif
{ EAI_AGAIN, NET_HOSTERROR_TYPE_NAMESERVER },
{ EAI_BADFLAGS, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
{ EAI_FAIL, NET_HOSTERROR_TYPE_NAMESERVER },
{ EAI_FAMILY, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
{ EAI_MEMORY, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
+#ifdef EAI_NODATA /* Obsol...
2019 Dec 04
0
Dovecot 2.3.9 fails on FreeBSD
...src/lib/net.c
> @@ -1068,13 +1068,17 @@ enum net_hosterror_type net_get_hosterro
> int error;
> enum net_hosterror_type type;
> } error_map[] = {
> +#ifdef EAI_ADDRFAIMILY /* Obsoleted by RFC 2553bis-02 */
> { EAI_ADDRFAMILY, NET_HOSTERROR_TYPE_NOT_FOUND },
> +#endif
> { EAI_AGAIN, NET_HOSTERROR_TYPE_NAMESERVER },
> { EAI_BADFLAGS, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
> { EAI_FAIL, NET_HOSTERROR_TYPE_NAMESERVER },
> { EAI_FAMILY, NET_HOSTERROR_TYPE_INTERNAL_ERROR },
>...
2019 Dec 04
4
Dovecot 2.3.9 fails on FreeBSD
Hi
I've just tried to build the latest Dovecot 2.3.9 on FreeBSD 11.3.
Without success...It fails on the following commit which was introduced
in 2.3.9:
https://github.com/dovecot/core/commit/c85f1bc3ce612c736c9d2c468cc08306db1b5851
Following output is the build log: https://pastebin.com/3nvSeDn8
So I guess it has to do with some changes FreeBSD made:
https://reviews.freebsd.org/D18630