Build failure on gevent-25.9.1
Author: cpackhamCreated Nov 30, 2025Updated Dec 1, 2025
gevent version: 25.9.1 source from PyPI
Python version: cPython 3.12
Operating System: Custom Embedded Linux (build machine is Debian 12 "bookworm").
Description:
When building from the source tarball the following error is seen
mips64,python/gevent: building 'gevent._gevent_c_greenlet_primitives' extension
mips64,python/gevent: mips64-unknown-linux-gnu-gcc -fno-strict-overflow -DNDEBUG --sysroot=/usr/src/output/mips64/python/base/staging -O2 -g2 -gz -march=octeon3 -mabi=64 --sysroot=/usr/src/output/mips64/python/gevent/staging -O2 -g2 -gz -march=octeon3 -mabi=64 --sysroot=/usr/src/output/mips64/python/gevent/staging -fPIC -DCYTHON_FAST_THREAD_STATE=0 -I/usr/src/output/mips64/python/gevent/staging/local/python/include/python3.12 -I/usr/src/output/mips64/python/gevent/staging/local/python/include/python3.12 -I/usr/src/output/mips64/python/gevent/work/gevent-25.9.1/deps -Isrc/gevent -Isrc/gevent/libev -Isrc/gevent/resolver -I. -I/usr/src/output/mips64/python/gevent/staging/usr/include/python3.12 -I/usr/src/output/mips64/python/gevent/staging/local/python/include/python3.12 -c src/gevent/_greenlet_primitives.c -o build/temp.linux-x86_64-cpython-312/src/gevent/_greenlet_primitives.o
mips64,python/gevent: cc1: fatal error: src/gevent/_greenlet_primitives.c: No such file or directory
mips64,python/gevent: compilation terminated.armv8,python/gevent: building 'gevent._gevent_c_greenlet_primitives' extension
armv8,python/gevent: aarch64-unknown-linux-gnu-gcc -fno-strict-overflow -DNDEBUG --sysroot=/usr/src/output/armv8/python/base/staging -O2 -g2 -gz -mtune=generic -march=armv8-a -mabi=lp64 --sysroot=/usr/src/output/armv8/python/gevent/staging -O2 -g2 -gz -mtune=generic -march=armv8-a -mabi=lp64 --sysroot=/usr/src/output/armv8/python/gevent/staging -fPIC -DCYTHON_FAST_THREAD_STATE=0 -I/usr/src/output/armv8/python/gevent/staging/local/python/include/python3.12 -I/usr/src/output/armv8/python/gevent/staging/local/python/include/python3.12 -I/usr/src/output/armv8/python/gevent/work/gevent-25.9.1/deps -Isrc/gevent -Isrc/gevent/libev -Isrc/gevent/resolver -I. -I/usr/src/output/armv8/python/gevent/staging/usr/include/python3.12 -I/usr/src/output/armv8/python/gevent/staging/local/python/include/python3.12 -c src/gevent/_greenlet_primitives.c -o build/temp.linux-x86_64-cpython-312/src/gevent/_greenlet_primitives.o
armv8,python/gevent: cc1: fatal error: src/gevent/_greenlet_primitives.c: No such file or directory
armv8,python/gevent: compilation terminated.The same build recipe works fine with gevent-25.8.2.
Source: gevent/gevent