volume_key fails to build with Python 3.13.0a3. checking for /usr/bin/python3 script directory... Traceback (most recent call last): File "<string>", line 1, in <module> import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0, 0, prefix='${prefix}')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'distutils' checking for /usr/bin/python3 extension module directory... Traceback (most recent call last): File "<string>", line 1, in <module> import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1, 0, prefix='${exec_prefix}')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'distutils' and further: libtool: error: only absolute run-paths are allowed https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06924342-volume_key/ For all our attempts to build volume_key with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/volume_key/ 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.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. 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.
Looking at https://koschei.fedoraproject.org/package/volume_key The distutils part is pre-exisitng: checking for /usr/bin/python3 script directory... Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'distutils' checking for /usr/bin/python3 extension module directory... Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'distutils' That makes sense because the distutils module was already removed from Python 3.12. The "libtool: error: only absolute run-paths are allowed" part is new, but not Python 3.13 related. Probably GCC 14 or a similar change, see https://koschei.fedoraproject.org/build/17076077
FTR I belive this is the difference: https://src.fedoraproject.org/rpms/glib2/c/770dc4fc14abb429580937b7fad7157030dd7627?branch=rawhide
PR: https://src.fedoraproject.org/rpms/volume_key/pull-request/5
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.