Hide Forgot
mod_wsgi fails to build with Python 3.10.0a2. + /usr/bin/make -O -j2 V=1 VERBOSE=1 /usr/lib64/httpd/build/vendor-apxs -Wl,-export-symbols-regex -Wl,wsgi_module -c -I/usr/include/python3.10 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -Wc,-O2 -Wc,-flto=auto -Wc,-ffat-lto-objects -Wc,-fexceptions -Wc,-g -Wc,-grecord-gcc-switches -Wc,-pipe -Wc,-Wall -Wc,-Werror=format-security -Wc,-Wp,-D_FORTIFY_SOURCE=2 -Wc,-Wp,-D_GLIBCXX_ASSERTIONS -Wc,-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wc,-fstack-protector-strong -Wc,-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wc,-m64 -Wc,-mtune=generic -Wc,-fasynchronous-unwind-tables -Wc,-fstack-clash-protection -Wc,-fcf-protection -Wc,-fno-strict-aliasing src/server/mod_wsgi.c src/server/wsgi_*.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -L/usr/lib64 -L/usr/lib64/python3.10/config -lpython3.10 -lcrypt -lpthread -ldl -lutil -lm -lm /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -I/usr/include/python3.10 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE -c -o src/server/mod_wsgi.lo src/server/mod_wsgi.c && touch src/server/mod_wsgi.slo In file included from src/server/mod_wsgi.c:22: src/server/wsgi_python.h:44:10: fatal error: node.h: No such file or directory 44 | #include "node.h" | ^~~~~~~~ compilation terminated. For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01757168-mod_wsgi/ For all our attempts to build mod_wsgi with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/mod_wsgi/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
This seem to be related to the removal of the old parser: https://bugs.python.org/issue40939
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.