I was having problems with dev-lang/python-3.1.3-r1 because of two tests in the configure script that cannot be performed when cross-compiling, with a default assumption that causes it to abort. One is a check for some bug in getaddrinfo(), which is only performed in case of USE=ipv6; the other is a check for a broken sem_getvalue(). I prepared a small patch for configure.in, which makes both assumptions for the best rather than for the worst. Reproducible: Always
Created attachment 266021 [details, diff] Makes configure.in assume positively for tests it cannot run in cross
Created attachment 266025 [details, diff] ebuild patch to apply the above
Please report the problem to upstream.
should be fixed in python 2.7, 3.2, and 3.3 now