Around line 3938 in emerge a random ip is chosen from the host you have in SYNC if the host has an ipv6 ip and you do not have python merged with the ipv6 useflag it will return an invalid entry and try to sync to it The 'addrinfo' prints as (10, 1, 6, '', ('2001:6a8:3c80:0:203:baff:fe39:f931', 0, 0, 0)) under python +ipv6 and as (10, 1, 6, '', (10, '\x00\x00\x00\x00\x00\x00 \x01\x06\xa8<\x80\x00\x00')) under python -ipv6 Making it add '10' as the host ip in that case
Created attachment 114809 [details, diff] use socket.AF_INET as the default family for socket.getaddrinfo I think that this patch might solve the problem. Could you please test it?
solves the problem
Thanks, this is fixed in svn r6322.
This has been released in 2.1.2.3.