Created attachment 830167 [details] Build environment Getting this during build: >>> Emerging (1 of 3) dev-python/aiohttp-3.8.3-r1::gentoo * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log * aiohttp-3.8.3.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking aiohttp-3.8.3.tar.gz to /var/tmp/portage/dev-python/aiohttp-3.8.3-r1/work >>> Source unpacked in /var/tmp/portage/dev-python/aiohttp-3.8.3-r1/work >>> Preparing source in /var/tmp/portage/dev-python/aiohttp-3.8.3-r1/work/aiohttp-3.8.3 ... * Build system packages: * dev-python/gpep517 : 9 * dev-python/installer : 0.5.1-r1 * dev-python/setuptools : 65.5.1 * dev-python/setuptools_scm : 7.0.5 * dev-python/wheel : 0.37.1-r1 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/aiohttp-3.8.3-r1/work/aiohttp-3.8.3 ... * Checking whether python3_11 is suitable ... * >=dev-lang/python-3.11.0_beta4:3.11 ... [ !! ] * Checking whether python3_10 is suitable ... * >=dev-lang/python-3.10.4:3.10 ... [ ok ] * python_check_deps ... [ ok ] * Using python3.10 in global scope * python3_10: 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 * ERROR: dev-python/aiohttp-3.8.3-r1::gentoo failed (configure phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-python/aiohttp-3.8.3-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/aiohttp-3.8.3-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/aiohttp-3.8.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/aiohttp-3.8.3-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/aiohttp-3.8.3-r1/work/aiohttp-3.8.3' * S: '/var/tmp/portage/dev-python/aiohttp-3.8.3-r1/work/aiohttp-3.8.3' I allready reported the solution to upstream: https://github.com/aio-libs/aiohttp/issues/7073 but Gentoo workaround is adding: # shell in makefile sed -i -e "12a\SHELL:=/bin/bash" Makefile || die in src_prepare()
1. Please include emerge --info. 2. Please attach the full build.log (it has additional information). 3. What's your shell? What's /bin/sh too?
Created attachment 830287 [details] emerge --info
Created attachment 830289 [details] complete build log
Please update sys-devel/make to 4.3 or 4.4 and try again.
1. Please include emerge --info. 2. Please attach the full build.log (it has additional information). Both are attached now - I was looking for what I should attach in the instructions on https://wiki.gentoo.org/wiki/Bugzilla/Guide#doc_chap6 but it doesn't say it. It would be good to find this information over there. 3. What's your shell? What's /bin/sh too? My shell is /bin/bash and my environment variable (outside of Make) SHELL also points to /bin/bash. So I'm very confused as to what's happening here (as I explained in the Github Issue linked). I just did a emerge @world and this is the only package that's giving this kind of issue. I am able to re-create the error with a simple Makefile (attached). It says my shell is /bin/sh, which is a symlink to /bin/bash. If I uncomment the SHELL line, then it just works (because it's bash).
Created attachment 830291 [details] Sample minimal Makefile
(In reply to Michał Górny from comment #4) > Please update sys-devel/make to 4.3 or 4.4 and try again. Ok, my bad. My make was held at 4.2 because of: # grep make /etc/portage/package.* /etc/portage/package.mask:=sys-devel/make-4.3 Upgrading make to 4.3 solved the problem! Thanks all. Cengiz