Summary: | net-dns/rbldnsd-0.998-r2 : [TEST] ERROR: test_exclusion (test_ip4trie.TestIp4TrieDataset) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Michael Orlitzky <mjo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | TESTFAILURE |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/spamhaus/rbldnsd/issues/5 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 net-dns:rbldnsd-0.998-r2:20180209-130322.log temp.tbz2 |
Description
Toralf Förster
2018-02-09 20:18:56 UTC
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 =) |