Source: pyside2 Version: 5.15.16-3.1 Severity: serious User: cm...@packages.debian.org Usertags: cmake-4 Tags: ftbfs, forky, sid
Dear maintainer, During a test rebuild for CMake 4, pyside2 failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) License :: Other/Proprietary License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() ***** Exception while trying to prepare bdist_wheel override class: cannot import name 'safer_name' from 'wheel.bdist_wheel' (/usr/lib/python3/dist-packages/wheel/bdist_wheel.py). Skipping wheel overriding. running config /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) License :: Other/Proprietary License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() ***** Exception while trying to prepare bdist_wheel override class: cannot import name 'safer_name' from 'wheel.bdist_wheel' (/usr/lib/python3/dist-packages/wheel/bdist_wheel.py). Skipping wheel overriding. running config /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) License :: Other/Proprietary License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() ***** Exception while trying to prepare bdist_wheel override class: cannot import name 'safer_name' from 'wheel.bdist_wheel' (/usr/lib/python3/dist-packages/wheel/bdist_wheel.py). Skipping wheel overriding. running config ***** Exception while trying to prepare bdist_wheel override class: cannot import name 'safer_name' from 'wheel.bdist_wheel' (/usr/lib/python3/dist-packages/wheel/bdist_wheel.py). Skipping wheel overriding. dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3 setup.py build --relwithdebinfo --verbose-build --no-examples --build-tests --doc-build-online --ignore-git --parallel=8 /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) License :: Other/Proprietary License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() ***** Exception while trying to prepare bdist_wheel override class: cannot import name 'safer_name' from 'wheel.bdist_wheel' (/usr/lib/python3/dist-packages/wheel/bdist_wheel.py). Skipping wheel overriding. running build Python architecture is 64bit ============================== Package version: 5.15.16 Build type: RelWithDebInfo Build tests: 1 --- Make path: /usr/bin/make Make generator: Unix Makefiles Make jobs: -j8 --- setup.py directory: /build/reproducible-path/pyside2-5.15.16 Build scripts directory: /build/reproducible-path/pyside2-5.15.16/build_scripts Sources directory: /build/reproducible-path/pyside2-5.15.16/sources Building shiboken2 will create and touch directories in the following order: make build directory (py*_build/*/*) -> make install directory (py*_install/*/*) -> setuptools build directory (build/*/*) -> setuptools install directory (usually path-installed-python/lib/python*/site-packages/*) make build directory: /build/reproducible-path/pyside2-5.15.16/pyside3_build/py3.13-qt5.15.15-64bit-relwithdebinfo make install directory: /build/reproducible-path/pyside2-5.15.16/pyside3_install/py3.13-qt5.15.15-64bit-relwithdebinfo setuptools build directory: /build/reproducible-path/pyside2-5.15.16/.pybuild/cpython3_3.13_pyside2/build setuptools install directory: /usr/lib/python3/dist-packages make-installed site-packages directory: /build/reproducible-path/pyside2-5.15.16/pyside3_install/py3.13-qt5.15.15-64bit-relwithdebinfo/lib/python3.13/site-packages (only relevant for copying files from 'make install directory' to 'setuptools build directory' --- Python executable: /usr/bin/python3 Python includes: /usr/include/python3.13 Python library: /usr/lib/aarch64-linux-gnu/libpython3.13.so Python prefix: /usr Python scripts: /usr/bin --- Qt qmake: /usr/bin/qmake -qt=5 Qt version: 5.15.15 Qt bins: /usr/lib/qt5/bin Qt docs: /usr/share/qt5/doc Qt plugins: /usr/lib/aarch64-linux-gnu/qt5/plugins --- ============================== Creating build folder /build/reproducible-path/pyside2-5.15.16/pyside3_build/py3.13-qt5.15.15-64bit-relwithdebinfo... Creating install folder /build/reproducible-path/pyside2-5.15.16/pyside3_install/py3.13-qt5.15.15-64bit-relwithdebinfo... Building module shiboken2... Creating module build folder /build/reproducible-path/pyside2-5.15.16/pyside3_build/py3.13-qt5.15.15-64bit-relwithdebinfo/shiboken2... Qt Source dir: /Src/qtbase Output format will be HTML Configuring module shiboken2 (/build/reproducible-path/pyside2-5.15.16/sources/shiboken2)... In directory /build/reproducible-path/pyside2-5.15.16/pyside3_build/py3.13-qt5.15.15-64bit-relwithdebinfo/shiboken2: Running command: /usr/bin/cmake -G "Unix Makefiles" -DBUILD_TESTS=1 -DQt5Help_DIR=/usr/share/qt5/doc -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/build/reproducible-path/pyside2-5.15.16/pyside3_install/py3.13-qt5.15.15-64bit-relwithdebinfo /build/reproducible-path/pyside2-5.15.16/sources/shiboken2 -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.13 -DPYTHON_LIBRARY=/usr/lib/aarch64-linux-gnu/libpython3.13.so -DQT_SRC_DIR=/Src/qtbase -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DPACKAGE_SETUP_PY_PACKAGE_VERSION=5.15.16 -DPACKAGE_SETUP_PY_PACKAGE_TIMESTAMP= -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=yes -DUSE_PYTHON_VERSION=3.3 -DFULLDOCSBUILD=1 -DDOC_OUTPUT_FORMAT=html CMake Error at CMakeLists.txt:3 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. -- Configuring incomplete, errors occurred! error: Error configuring shiboken2 ***** Exception while trying to prepare bdist_wheel override class: cannot import name 'safer_name' from 'wheel.bdist_wheel' (/usr/lib/python3/dist-packages/wheel/bdist_wheel.py). Skipping wheel overriding. Traceback (most recent call last): File "/build/reproducible-path/pyside2-5.15.16/setup.py", line 296, in <module> setup_runner.run_setup() ~~~~~~~~~~~~~~~~~~~~~~^^ File "/build/reproducible-path/pyside2-5.15.16/build_scripts/setup_runner.py", line 168, in run_setup raise RuntimeError(msg) RuntimeError: setup.py invocation failed with exit code: 1. setup.py invocation was: /usr/bin/python3 setup.py build --relwithdebinfo --verbose-build --no-examples --build-tests --doc-build-online --ignore-git --parallel=8 --internal-build-type=shiboken2 E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build --relwithdebinfo --verbose-build --no-examples --build-tests --doc-build-online --ignore-git --parallel=8 dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:30: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2025-08-30T15:04:34Z ------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/2408128/ The most likely cause of build failures is the removed backwards compatibility for CMake versions earlier than 3.5. You can find additional information in my debian-devel announcement: https://lists.debian.org/debian-devel/2025/04/msg00310.html About the archive rebuild: The build was made on debusine.debian.net, using sbuild. You can find the build task here: https://debusine.debian.net/work-request/154581/ If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks, Timo