volk fails to build with Python 3.10.0a5. + /usr/bin/cmake -S . -B x86_64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -- The C compiler identification is GNU 11.0.0 -- The CXX compiler identification is GNU 11.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAVE_CX_LIMITED_RANGE -- Performing Test HAVE_CX_LIMITED_RANGE - Success -- Performing Test HAVE_C_LIMITED_RANGE -- Performing Test HAVE_C_LIMITED_RANGE - Success -- Build type not specified: defaulting to release. -- Build type set to Release. -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Building Volk with cpu_features -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for getauxval -- Looking for getauxval - found -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.10", minimum required is "3") -- -- Python checking for python >= 3.4 -- Python checking for python >= 3.4 - not found -- -- Python checking for mako >= 0.4.2 -- Python checking for mako >= 0.4.2 - found CMake Error at CMakeLists.txt:146 (message): Python 3.4 or greater required to build VOLK cmake wrongly detects Python 3.1 instead of Python 3.10. The problem is in line #160 in CMakeLists.txt VOLK_PYTHON_CHECK_MODULE("python >= 3.4" sys "sys.version.split()[0] >= '3.4'" PYTHON_MIN_VER_FOUND) https://github.com/gnuradio/volk/blob/master/CMakeLists.txt#L160 >>> sys.version.split()[0] '3.10.0a5' >>> sys.version.split()[0] >= '3.4' False For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01959413-volk/ For all our attempts to build volk with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/volk/ 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.
Thanks for analysis, upstream ticket: https://github.com/gnuradio/volk/issues/450
FEDORA-2021-d35822d731 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.