[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1113433: marked as done (pyside2: FTBFS with CMake 4)



Your message dated Fri, 03 Oct 2025 15:50:02 +0000
with message-id <E1v4i2k-002TvN-2v@fasolo.debian.org>
and subject line Bug#1113433: fixed in pyside2 5.15.16-4
has caused the Debian Bug report #1113433,
regarding pyside2: FTBFS with CMake 4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1113433: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113433
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: pyside2
Version: 5.15.16-3.1
Severity: serious
User: cmake@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

--- End Message ---
--- Begin Message ---
Source: pyside2
Source-Version: 5.15.16-4
Done: Gianfranco Costamagna <locutusofborg@debian.org>

We believe that the bug you reported is fixed in the latest version of
pyside2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1113433@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofborg@debian.org> (supplier of updated pyside2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 03 Oct 2025 17:43:00 +0200
Source: pyside2
Built-For-Profiles: noudeb
Architecture: source
Version: 5.15.16-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Gianfranco Costamagna <locutusofborg@debian.org>
Closes: 1113433
Changes:
 pyside2 (5.15.16-4) unstable; urgency=medium
 .
   [ Dmitry Shachnev ]
   * Revert making tests non-fatal on ppc64el.
 .
   [ Gianfranco Costamagna ]
   * Add two upstream patches for cmake 4.0 (Closes: #1113433)
     - a17f4a90b1af174b38b839fc1b5bc0e933ad1725.patch
     - ea351c5d53e34d3d1daf71de5eb73ba6e03e552a.patch
Checksums-Sha1:
 91848d3b52dd33645bc89833b3b04b15e5f51d91 5364 pyside2_5.15.16-4.dsc
 d4362927492e3f385e2e279057fb27e3729a7522 29584 pyside2_5.15.16-4.debian.tar.xz
 8d1700335767e5498d1e23acef046104acc61f7c 10826 pyside2_5.15.16-4_source.buildinfo
Checksums-Sha256:
 4b8d58b30ee6948f4813ac0f9e5261b06a23c00b20a8f4c04b79bdcf67467e78 5364 pyside2_5.15.16-4.dsc
 883cb9c16dd69d0bca1a9b2efff571fff2fe73ae715c71c846fc82c5617b9efd 29584 pyside2_5.15.16-4.debian.tar.xz
 0123140db12a83186ce3efe97a7120b79dcd08c4dd4b57b4b57b6501ba1fc5e7 10826 pyside2_5.15.16-4_source.buildinfo
Files:
 c4fdc700e758853e14fc0e0b84cd981a 5364 python optional pyside2_5.15.16-4.dsc
 24034ef7601b0d4cb27d51d9305eddc6 29584 python optional pyside2_5.15.16-4.debian.tar.xz
 2212a74c75ba722cfd65fba31ff19017 10826 python optional pyside2_5.15.16-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmjf7zoACgkQ808JdE6f
XdknAhAAkcCVqp+jU5giQm1SgHTg3fJKGG5j4+opz3Dq/lP5x1K8cbwWiYMxRGF1
eeiWiaBXwy9PyN7IZ4cIG+KFkjvHrpWbJnVnNAN13dhX6lODcu4kRY7dyNBdOW6c
/BaLetFOqTzebGMC0uVJh3tqVMAja5RhwgxR9P7PdDrMdBGcarpt7xzdV+tJ/D4S
PazpKA8/N2c+jX2N5I3GOjzmFO3z878RYFgf6sY7U6f7qc+GnFKsewKmsPkX5znp
oPQxTtvHQb/wyR2zkvOXM/cBUtbXtSbCA57YgHGGTrBhT4NvmQelHj8pQoUwMbLx
ZYjPtvR2gQYNMNEWBDdwLd3SKuO3ak4Hsi06E9xBoCuKIkYB3PyUMIlhdMzOy5l2
Xlf8XQJakZ/KRF0NPI0R1wIXi6WjTpOL9rWTdNdS6KdwoUkkABpYLpxylnKj1nsY
CXzw2eUbI7A/qcz7QM90/GW5VZVyJloP+MbzvWoApK76eQPg64DaMFt5NGeYEzzg
98wCBTDbtpIKVcGf+LQyfQCyoC0EcbwwMjhSj8g7as2QZxuAJjN4+SnBBLc9SZiD
Q/Y7/qAIWuh9aQop6Bs7NPAhpQq43PrhR1yRXbOLSMczKEDfNYxkzeOyOg4QJPpx
0Fu07HzXruaxjiDRMEuAjAdvlsbPDgrHTmUD7MQ30EgV9RjcROE=
=Kudp
-----END PGP SIGNATURE-----

Attachment: pgp023sYgmkAH.pgp
Description: PGP signature


--- End Message ---

Reply to: