Re: emerge hangs with python 3.14
Adam Carter <[email protected]> Fri, 8 May 2026 14:35:38 +1000
| Newsgroups | gmane.linux.gentoo.user |
|---|---|
| Message-ID | <CAC=wYCHgY9YnR8dxKiHZTJJCsk4YhMQTCnCLt2M9QcaHYyuf7Q@mail.gmail.com> |
To answer my own question - from https://bugs.gentoo.org/969104 the problem goes away if I disable distcc. (network-sandbox is on by default). On Sat, May 2, 2026 at 12:28 PM Adam Carter <[email protected]> wrote: > I'm finding that emerge successfully installs the first package but then > hangs instead of proceeding. > > How do I troubleshoot this? > > Here's an example of the output when i ctrl-c in this situation; > >> Original instance of package unmerged safely. > >>> dev-libs/libgpg-error-1.60 merged. > >>> Regenerating /etc/ld.so.cache... > ^C > > Exiting on signal 2 > Traceback (most recent call last): > Traceback (most recent call last): > File "/usr/lib/portage/python3.14/socks5-server.py", line 226, in > run_socks5_server > await asyncio.get_running_loop().create_future() > asyncio.exceptions.CancelledError > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/usr/lib/portage/python3.14/socks5-server.py", line 226, in > run_socks5_server > await asyncio.get_running_loop().create_future() > asyncio.exceptions.CancelledError > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/usr/lib/portage/python3.14/socks5-server.py", line 238, in > <module> > asyncio.run(run_socks5_server(sys.argv[1])) > ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.14/asyncio/runners.py", line 204, in run > return runner.run(main) > ~~~~~~~~~~^^^^^^ > File "/usr/lib/python3.14/asyncio/runners.py", line 127, in run > return self._loop.run_until_complete(task) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ > File "/usr/lib/python3.14/asyncio/base_events.py", line 719, in > run_until_complete > return future.result() > ~~~~~~~~~~~~~^^ > File "/usr/lib/portage/python3.14/socks5-server.py", line 230, in > run_socks5_server > os.unlink(socket_path) > ~~~~~~~~~^^^^^^^^^^^^^ > FileNotFoundError: [Errno 2] No such file or directory: > '/var/tmp/portage/.portage.2426.net.sock' > File "/usr/lib/portage/python3.14/socks5-server.py", line 238, in > <module> > asyncio.run(run_socks5_server(sys.argv[1])) > ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.14/asyncio/runners.py", line 204, in run > return runner.run(main) > ~~~~~~~~~~^^^^^^ > File "/usr/lib/python3.14/asyncio/runners.py", line 127, in run > return self._loop.run_until_complete(task) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ > File "/usr/lib/python3.14/asyncio/base_events.py", line 719, in > run_until_complete > return future.result() > ~~~~~~~~~~~~~^^ > File "/usr/lib/portage/python3.14/socks5-server.py", line 230, in > run_socks5_server > os.unlink(socket_path) > ~~~~~~~~~^^^^^^^^^^^^^ > FileNotFoundError: [Errno 2] No such file or directory: > '/var/tmp/portage/.portage.8929.net.sock' > > >>> Completed (1 of 9) dev-libs/libgpg-error-1.60::gentoo > zen /home/adam # >