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.
This is a mass-posted update. Sorry if it is not 100% accurate to this bugzilla. The Python 3.10 rebuild is in progress in a Koji side tag. If you manage to fix the problem, please commit the fix in the rawhide branch, but don't build the package in regular rawhide. You can either build the package in the side tag, with: $ fedpkg build --target=f35-python Or you can the build and we will eventually build it for you. Note that the rebuild is still in progress, so not all (build) dependencies of this package might be available right away. Thanks. See also https://fedoraproject.org/wiki/Changes/Python3.10 If you have general questions about the rebuild, please use this mailing list thread: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/G47SGOYIQLRDTWGOSLSWERZSSHXDEDH5/
This blocks freeipa-server. package freeipa-server-4.9.4-1.fc35.1.x86_64 requires python3-mod_wsgi, but none of the providers can be installed
The f35-python side tag has been merged to Rawhide. From now on, build as you would normally build.
*** Bug 1968842 has been marked as a duplicate of this bug. ***
Here's a proposed patch, which I smoke-tested in a container: https://github.com/GrahamDumpleton/mod_wsgi/pull/688 Beware: before I started this patch, I didn't know anything about Apache internals and how to test them. Don't put this in production.
Proposed as a Blocker for 35-beta by Fedora user abbra using the blocker tracking app because: Prevents FreeIPA server from being installed, thus violating Fedora Server criteria: https://fedoraproject.org/wiki/Basic_Release_Criteria#FreeIPA_server_requirements
Hello, This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs). If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.
I'm marking this ASSIGNED because it is being looked at upstream and FreeIPA depends on this so we don't want to package to be retired. Either I or one of the FreeIPA team will likely follow the upstream progress on this and merge it when it's ready.
We don't want this retired, but we might want to get it orphaned.
Anyway, there is a PR in https://src.fedoraproject.org/rpms/mod_wsgi/pull-request/9
FreeIPA on Fedora rawhide now installs and runs fine, so mod_wsgi is generally working fine. Thanks!
Yeah, we can close this, I think. The remaining issue discusssed in the PR isn't breaking FreeIPA and isn't release blocking AFAICS.