====================================================================== ERROR: test_exclusion (test_ip4trie.TestIp4TrieDataset) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/net-dns/rbldnsd-0.998-r2/work/rbldnsd-0.998/test_ip4trie.py", line 25, in test_exclusion ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_abi32+64-test_20180203-182621 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv net-dns/rbldnsd [ebuild N ] net-dns/rbldnsd-0.998-r2 USE="ipv6 zlib {-test}"
Created attachment 518856 [details] emerge-info.txt
Created attachment 518858 [details] emerge-history.txt
Created attachment 518860 [details] environment
Created attachment 518862 [details] etc.portage.tbz2
Created attachment 518864 [details] logs.tbz2
Created attachment 518866 [details] net-dns:rbldnsd-0.998-r2:20180209-130322.log
Created attachment 518868 [details] temp.tbz2
Hmmm the real error is here: OK ============================================================= Running tests.py ....rbldnsd: unknown address family (10) I think that's INET6. Was your python-2.7 built with IPv6? How about your kernel?
Strange, I've built both python and a kernel without ipv6 and things seem to work as intended. The error comes from this code: static inline int sockaddr_equal(const struct sockaddr *addr1, const struct sockaddr *addr2) { if (addr1->sa_family != addr2->sa_family) return 0; switch (addr1->sa_family) { case AF_INET: return sockaddr_in_equal((const struct sockaddr_in *)addr1, (const struct sockaddr_in *)addr2); #ifndef NO_IPv6 return sockaddr_in6_equal((const struct sockaddr_in6 *)addr1, (const struct sockaddr_in6 *)addr2); #endif default: error(0, "unknown address family (%d)", addr1->sa_family); } } and it looks to me like there's a missing "case AF_INET6" there. I'll ping upstream. Thanks!
I still can't reproduce this, so we're guessing, but... maybe this fixes it? https://github.com/spamhaus/rbldnsd/commit/61683f48b2216ed61a69b98a7e5f765a2c0966b3
Does this still happen when you try to build rbldnsd? If so, can you try it with the patch in Comment 10? I did find something weird, and upstream fixed it, but neither of us were able to reproduce the original failure so we can't tell if it's really gone.
(In reply to Michael Orlitzky from comment #11) seems to bbe fixed in the mean while
(In reply to Toralf Förster from comment #12) > (In reply to Michael Orlitzky from comment #11) > seems to bbe fixed in the mean while Ok, thanks. If it ever pops up again, we'll have a patch ready to test =)