dev-lang/python-2-7.3-r2 failed in test-phase due to multiple Errors. Compiles correct without FEATURES="-test" Reproducible: Always
Created attachment 322102 [details] emerge --info output
Created attachment 322104 [details] dev-lang/python-2.7.3-r2 buil.log Build.log of the package, errors complaining /etc/localtime is not set can be ignored
OSError: out of pty devices
Are you running this in a chroot environment? Does /dev/ptmx exist?
(In reply to comment #4) Alternatively, is /dev/pts correctly mounted as a devpts filesystem?
There is /dev/ptmx, but I ran mount --bind /dev /mnt/SEC/dev to bind, so it is not mounted correctly. I will rerun the tests.
Only this one remains FAIL: test_bad_address (test.test_urllib2_localnet.TestUrlopen) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Lib/test/test_urllib2_localnet.py", line 502, in test_bad_address urllib2.urlopen, "http://sadflkjsasf.i.nvali.d./") AssertionError: IOError not raised
test_urllib2_localnet should not connect to the internet, but it looks like it assumes "localhost" resolves and "sadflkjsasf.i.nvali.d." does not resolve. Can you run something like host "sadflkjsasf.i.nvali.d."? Most likely there's some DNS server in your setup redirecting everything to some search page. (There's a lengthy comment in there explaining the choice of that name: trailing dot to stop the resolver from appending your local domain, single-char domain because they've determined experimentally .invalid sometimes resolves while these don't). Not sure if it's worth it to disable this test. I really want to say a setup with a DNS server this broken is, well, broken.
Ok, I know what happend. The ISP Im connected to resolvs any given URL. I receive a IP-Adress for every adress but if it does not exists I'm not able to connect it! I've changed my DNS-Server to 8.8.8.8 - Gooogle-DNS - and the test pass! So it is a problem of my ISP
Great! Thanks for the report.