Emerging with tests on gives: [...] 240 tests OK. 1 test failed: test_posixpath 38 tests skipped: test_aepack test_al test_applesingle test_bsddb185 test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses test_dbm test_dl test_gdbm test_gl test_imageop test_imgfile test_linuxaudiodev test_macfs test_macostools test_nis test_normalization test_ossaudiodev test_pep277 test_plistlib test_rgbimg test_scriptpackages test_socket_ssl test_socketserver test_sunaudiodev test_timeout test_unicode_file test_urllib2net test_urllibnet test_winreg test_winsound 2 skips unexpected on linux2: test_dbm test_gdbm [...] test_exists (test.test_posixpath.PosixPathTest) ... ok test_expanduser (test.test_posixpath.PosixPathTest) ... FAIL test_expandvars (test.test_posixpath.PosixPathTest) ... ok [...] ====================================================================== FAIL: test_expanduser (test.test_posixpath.PosixPathTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-lang/python-2.4.3-r4/work/Python-2.4.3/Lib/test/test_posixpath.py", line 353, in test_expanduser posixpath.expanduser("~/") AssertionError: '/var/tmp/portage/dev-lang/python-2.4.3-r4/temp//' != '/var/tmp/paludis/dev-lang/python-2.4.3-r4/temp/' ---------------------------------------------------------------------- Ran 27 tests in 0.014s FAILED (failures=1) [...]
emerge --info? This makes no sense to me at all. The relevant test is: self.assertEqual( posixpath.expanduser("~") + "/", posixpath.expanduser("~/") ) And the only way I can see that being false is if os.environ['HOME'] or pwd.getpwuid(os.getuid()).pw_dir is changing between the two calls, neither of which makes a lot of sense. Is this reproducable? As what user are these tests running? Can you grep around for the two returned "homedirs" for this user and see if there is anything odd in your configuration related to them?
I'm having unable to reproduce this bug now. I was emerging into a chroot (using the ROOT variable) and had USE set to -* for all packages in the chroot. I'm no longer attempting that, but I've tried a couple of different way to reproduce the bug without success.
I'm going to close this worksforme then, since I cannot think of any way this could have happened either.