Created attachment 905184 [details] dev-lang:python-3.12.6_p4:20241012-005204.log =dev-lang/python3.12.6_p4 fails its test phase for me, specifically a number of tests having to do with GDB. (I also tried 3.12.7_p1 and got similar failures.) If I rebuild GDB with USE=-python, the dev-lang/python tests pass, but I'm getting segfaults in libpython3.12.so.1.0 during another package's build, so I thought this might be revealing some deeper issue. Here's some sample output from one of the tests: ====================================================================== FAIL: test_basic_command (test.test_gdb.test_misc.PyListTests.test_basic_command) Verify that the "py-list" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-lang/python-3.12.6_p4/work/Python-3.12.6/Lib/test/test_gdb/test_misc.py", line 38, in test_basic_command self.assertListing(' 5 \n' File "/var/tmp/portage/dev-lang/python-3.12.6_p4/work/Python-3.12.6/Lib/test/test_gdb/test_misc.py", line 31, in assertListing self.assertEndsWith(actual, expected) File "/var/tmp/portage/dev-lang/python-3.12.6_p4/work/Python-3.12.6/Lib/test/test_gdb/util.py", line 285, in assertEndsWith self.assertTrue(actual.endswith(exp_end), AssertionError: False is not true : 'Breakpoint 1 (builtin_id) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, builtin_id () from /var/tmp/portage/dev-lang/python-3.12.6_p4/work/Python-3.12.6/libpython3.12.so.1.0\nUnable to locate gdb frame for python bytecode interpreter\n' did not end with ' 5 \n 6 def bar(a, b, c):\n 7 baz(a, b, c)\n 8 \n 9 def baz(*args):\n >10 id(42)\n 11 \n 12 foo(1, 2, 3)\n'
Created attachment 905185 [details] emerge-info.txt
I'm now also seeing failures of test.test_gdb.* tests in =dev-lang/python-3.11.10_p1. (I'm not sure what's trying to pull that SLOT in now, since it was depcleaned some time ago, but thought it was worth mentioning.)
And these tests also fail for me in =dev-lang/python-3.13.0.