>>> Emerging (1 of 1) dev-python/installer-0.7.0::gentoo * installer-0.7.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * installer-0.7.0-py3-none-any.whl.zip BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking installer-0.7.0.tar.gz to /auto/vestec1-elixir/projects/biocev/gentoo/var/tmp/portage/dev-python/installer-0.7.0/work >>> Unpacking installer-0.7.0-py3-none-any.whl.zip to /auto/vestec1-elixir/projects/biocev/gentoo/var/tmp/portage/dev-python/installer-0.7.0/work >>> Source unpacked in /auto/vestec1-elixir/projects/biocev/gentoo/var/tmp/portage/dev-python/installer-0.7.0/work >>> Preparing source in /auto/vestec1-elixir/projects/biocev/gentoo/var/tmp/portage/dev-python/installer-0.7.0/work/installer-0.7.0 ... >>> Source prepared. >>> Configuring source in /auto/vestec1-elixir/projects/biocev/gentoo/var/tmp/portage/dev-python/installer-0.7.0/work/installer-0.7.0 ... >>> Source configured. >>> Compiling source in /auto/vestec1-elixir/projects/biocev/gentoo/var/tmp/portage/dev-python/installer-0.7.0/work/installer-0.7.0 ... * python3_11: running distutils-r1_run_phase python_compile * python3_12: running distutils-r1_run_phase python_compile * python3_13: running distutils-r1_run_phase python_compile >>> Source compiled. * Skipping make test/check due to ebuild restriction. >>> Test phase [disabled because of RESTRICT=test]: dev-python/installer-0.7.0 >>> Install dev-python/installer-0.7.0 into /auto/vestec1-elixir/projects/biocev/gentoo/var/tmp/portage/dev-python/installer-0.7.0/image * python3_11: running distutils-r1_run_phase python_install * Optimize Python modules for * Optimize Python modules for * python3_12: running distutils-r1_run_phase python_install * Optimize Python modules for Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/compileall.py", line 468, in <module> exit_status = int(not main()) ^^^^^^ File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/compileall.py", line 445, in main if not compile_dir(dest, maxlevels, args.ddir, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/compileall.py", line 109, in compile_dir results = executor.map(partial(compile_file, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/concurrent/futures/process.py", line 859, in map results = super().map(partial(_process_chunk, fn), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/concurrent/futures/_base.py", line 608, in map fs = [self.submit(fn, *args) for args in zip(*iterables)] ^^^^^^^^^^^^^^^^^^^^^^ File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/concurrent/futures/process.py", line 830, in submit self._adjust_process_count() File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/concurrent/futures/process.py", line 789, in _adjust_process_count self._spawn_process() File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/concurrent/futures/process.py", line 807, in _spawn_process p.start() File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/multiprocessing/process.py", line 121, in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/multiprocessing/context.py", line 301, in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/multiprocessing/popen_forkserver.py", line 35, in __init__ super().__init__(process_obj) File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/multiprocessing/popen_fork.py", line 19, in __init__ self._launch(process_obj) File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/multiprocessing/popen_forkserver.py", line 51, in _launch self.sentinel, w = forkserver.connect_to_new_process(self._fds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/multiprocessing/forkserver.py", line 84, in connect_to_new_process self.ensure_running() File "/auto/vestec1-elixir/projects/biocev/gentoo/usr/lib/python3.12/multiprocessing/forkserver.py", line 138, in ensure_running listener.bind(address) OSError: AF_UNIX path too long * Optimize Python modules for
Created attachment 928898 [details] build.log Full build log grabbed from terminal.
I think you will need to set PORTAGE_TMPDIR to a shorter path.
(In reply to Mike Gilbert from comment #2) > I think you will need to set PORTAGE_TMPDIR to a shorter path. Weird that it does not happen for otehr packages AFAICT. But yes, changing PORTAGE_TMPDIR has helped to get around. Thank you.
It's kind of strange that happens during python_optimize. This looks like the same problem as bug 941956, actually (forkserver defect).