Assert test not compatible with s390(x) and ppc64 architectures

Michal Hlavinka mhlavink at redhat.com
Tue Jun 23 15:56:35 UTC 2015


Hi,

we have found that assert test fails on some architectures:

test-net.c:59: Assert failed: net_addr2ip("127.0.0.1", &ip) == 0 && 
ip.family == AF_INET && ip.u.ip4.s_addr == (127 | (1 << 24))

It seems as bug in test suit as test is expecting IPv4 address in LE 
format (0x0100007f), but it gets address in BE format(0x7f000001). Patch 
in attachment should fix this issue.

Regards
Michal Hlavinka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-2.2.18-fixbuild.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150623/b7e4a1d0/attachment.bin>


More information about the dovecot mailing list