Created attachment 783179 [details] build.log I was updating my system yesterday, and I noticed Python-3.9.12 was failing to build. After some investigation, I was able to get it to build removing the pgo USE flag.
It's hanging, not failing per se. Can you try to figure out which test is actually hanging and obtain more info? It might even be the same bug as bug 828535. Anyway, there's a fair few debugging tips in that bug. Also, missing emerge --info.
Created attachment 783182 [details] first hang
Created attachment 783185 [details] emerge --info
It starts to hang at 412/417 0:02:46 load avg: 10.51 [412/417] test_zipfile failed (2 failures) 0:02:48 load avg: 10.51 [413/417] test_weakref failed (1 failure) 0:02:56 load avg: 9.20 [414/417] test_venv passed 0:03:27 load avg: 5.88 [415/417] test_multiprocessing_spawn failed (1 failure) ERROR: [Errno 2] No such file or directory: 'container-exception-logger' 0:03:42 load avg: 4.72 [416/417] test_concurrent_futures passed ERROR: [Errno 2] No such file or directory: 'container-exception-logger' It also kinda hangs on some of the other ones and keeps repeating this error between tests... ERROR: [Errno 2] No such file or directory: 'container-exception-logger' ERROR: [Errno 2] No such file or directory: 'container-exception-logger' ERROR: [Errno 2] No such file or directory: 'container-exception-logger' ERROR: [Errno 2] No such file or directory: 'container-exception-logger' ERROR: [Errno 2] No such file or directory: 'container-exception-logger' ERROR: [Errno 2] No such file or directory: 'container-exception-logger' ERROR: [Errno 2] No such file or directory: 'container-exception-logger' ERROR: [Errno 2] No such file or directory: 'container-exception-logger'
This might be related to bug 849305 then.
I suppose that could make sense.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82692290c64f6dd2f11f25625489dab7f7749fab commit 82692290c64f6dd2f11f25625489dab7f7749fab Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-05 23:53:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-06 00:31:47 +0000 dev-lang/python: add timeout for PGO task for >= 3.10 Add a timeout matching the upstream default PROFILE_TASK given how often we've seen hangs here. Bug: https://bugs.gentoo.org/828535 Bug: https://bugs.gentoo.org/850154 Bug: https://bugs.gentoo.org/900429 Bug: https://bugs.gentoo.org/903890 Thanks-to: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> dev-lang/python/python-3.10.11.ebuild | 7 ++++++- dev-lang/python/python-3.11.3.ebuild | 7 ++++++- dev-lang/python/python-3.12.0_alpha7.ebuild | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33f6f605fb2bb432134103d3de13d8ebe9f5b146 commit 33f6f605fb2bb432134103d3de13d8ebe9f5b146 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-05 23:45:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-06 00:31:46 +0000 dev-lang/python: skip test_tools for PGO Skip the 'test_tools' test when running PGO for now to avoid hanging the build (and also kind of fork-bombing the system with recursive cpython build attempts). Interestingly, not seen this when running the actual regular testsuite, but I suppose far fewer people actually run that, so could just be a frequency thing. Bug: https://bugs.gentoo.org/828535 Bug: https://bugs.gentoo.org/850154 Bug: https://bugs.gentoo.org/903890 Closes: https://bugs.gentoo.org/900429 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/python/python-3.10.11.ebuild | 4 ++++ dev-lang/python/python-3.11.3.ebuild | 4 ++++ dev-lang/python/python-3.12.0_alpha7.ebuild | 4 ++++ dev-lang/python/python-3.9.16_p3.ebuild | 4 ++++ 4 files changed, 16 insertions(+)