Created attachment 790046 [details] build log Got this when upgrading world to python 3.10: >>> Configuring source in /var/tmp/portage/dev-python/aiohttp-3.8.1-r1/work/aiohttp-3.8.1 ... * Checking whether python3_11 is suitable ... * >=dev-lang/python-3.11.0_beta3:3.11 ... [ ok ] * python_check_deps ... [ ok ] * Using python3.11 in global scope * python3_11: running distutils-r1_run_phase python_configure_all make -j9 requirements/.hash/cython.txt.hash make: command: Command not found /bin/sh: line 1: ./tools/check_sum.py: No such file or directory make: *** [Makefile:43: requirements/.hash/cython.txt.hash] Error 127
Created attachment 790049 [details] emerge --info
Hmm, this failure looks weird. This failure occurs in line 83 of ebuild, in line "emake requirements/.hash/cython.txt.hash" The build.log confirms it just calls simply "make -j9 requirements/.hash/cython.txt.hash", which one again confirms to the implementation of "emake". As a result I suspect there is a bigger breakage in your system, AKA something with "make". Please check if "sys-devel/make" is installed. Do you have "make" in your system PATH (run `command -v make`)?
(In reply to Arthur Zamarin from comment #2) > Hmm, this failure looks weird. > This failure occurs in line 83 of ebuild, in line "emake > requirements/.hash/cython.txt.hash" > > The build.log confirms it just calls simply "make -j9 > requirements/.hash/cython.txt.hash", which one again confirms to the > implementation of "emake". > > As a result I suspect there is a bigger breakage in your system, AKA > something with "make". > > Please check if "sys-devel/make" is installed. > Do you have "make" in your system PATH (run `command -v make`)? Of course i have `make`, and 2000 other packages, lots of these depend on make being operational. I also checked that `make` works fine on my own C projects.
(In reply to Arthur Zamarin from comment #2) > Hmm, this failure looks weird. > This failure occurs in line 83 of ebuild, in line "emake > requirements/.hash/cython.txt.hash" > > The build.log confirms it just calls simply "make -j9 > requirements/.hash/cython.txt.hash", which one again confirms to the ∞ ls /var/tmp/portage/dev-python/aiohttp-3.8.1-r1/work/aiohttp-3.8.1/requirements cython.txt
Created attachment 792983 [details, diff] workaround /etc/portage/patches/dev-python/aiohttp/856382.patch
I'd blame your $SHELL but zsh seems to have 'command' builtin.
Couldn't reproduce on 3.11.16-r1.
GNU Make has an optimization where it will attempt to analyze the command line for any subshells, and figure out if it can do a "fast path" without running inside of a shell at all. In that case it will directly execvp() / posix_spawn() the command list. GNU Make 4.3 updated its internal list of "known shell builtins" to include "command", but the reporter used sys-devel/make: 4.2.1-r4::gentoo so as a result, this Makefile line: ifneq (, $(shell command -v sha256sum)) attempted to run {"command", "-v", "sha256sum"} as an argument list to execvp() -- searching for a disk file such as /usr/bin/command to invoke -- which obviously Does Not Work™. "Fixed by upgrading GNU Make" --> bug 738316