Bug#1113434: pyside6: FTBFS with CMake 4
Source: pyside6
Version: 6.8.2.1-4
Severity: serious
User: cmake@packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, pyside6 failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
Qt5Help_DIR
-- Build files have been written to: /build/reproducible-path/pyside6-6.8.2.1/build/qfp-py3.13-qt6.8.2-64bit-release/build/pyside-tools
[INFO]: -- Compiling module pyside-tools...
ninja: no work to do.
[INFO]: Installing module pyside-tools...
[0/1] Install the project...
-- Install configuration: "Release"
[INFO]: Created /build/reproducible-path/pyside6-6.8.2.1/build_history
[INFO]: Skipped preparing and building packages.
[INFO]: --- Build completed (215s)
debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/pyside6-6.8.2.1'
# Record build in build index for test runner
TODAY=`date -Id`; \
mkdir -p build_history/$TODAY; \
echo $PWD > build_history/$TODAY/build_dir.txt; \
py3versions -d >> build_history/$TODAY/build_dir.txt \
make[1]: Leaving directory '/build/reproducible-path/pyside6-6.8.2.1'
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/reproducible-path/pyside6-6.8.2.1'
PIP_BREAK_SYSTEM_PACKAGES=1 \
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu --no-sandbox" \
xvfb-run -a dh_auto_test -- --system=custom \
--test-args '{interpreter} testrunner.py test --buildno=-1'
I: pybuild base:311: python3.13 testrunner.py test --buildno=-1
System:
Platform=linux
Executable=/usr/bin/python3.13
Version=3.13.7 (main, Aug 20 2025, 22:17:40) [GCC 14.3.0]
API version=1013
Environment:
APT_CONFIG=/var/lib/sbuild/apt.conf
ASFLAGS=
ASFLAGS_FOR_BUILD=
CCACHE_DIR=/build/reproducible-path/pyside6-6.8.2.1/.pybuild/ccache
CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard
CFLAGS_FOR_BUILD=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard
CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
CPPFLAGS_FOR_BUILD=-Wdate-time -D_FORTIFY_SOURCE=2
CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2
CXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard
DEB_BUILD_ARCH=arm64
DEB_BUILD_ARCH_ABI=base
DEB_BUILD_ARCH_BITS=64
DEB_BUILD_ARCH_CPU=arm64
DEB_BUILD_ARCH_ENDIAN=little
DEB_BUILD_ARCH_LIBC=gnu
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_GNU_CPU=aarch64
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=aarch64-linux-gnu
DEB_BUILD_MAINT_OPTIONS=hardening=+all
DEB_BUILD_MULTIARCH=aarch64-linux-gnu
DEB_BUILD_OPTIONS=parallel=16
DEB_HOST_ARCH=arm64
DEB_HOST_ARCH_ABI=base
DEB_HOST_ARCH_BITS=64
DEB_HOST_ARCH_CPU=arm64
DEB_HOST_ARCH_ENDIAN=little
DEB_HOST_ARCH_LIBC=gnu
DEB_HOST_ARCH_OS=linux
DEB_HOST_GNU_CPU=aarch64
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=aarch64-linux-gnu
DEB_HOST_MULTIARCH=aarch64-linux-gnu
DEB_PYTHON_INSTALL_LAYOUT=deb
DEB_RULES_REQUIRES_ROOT=no
DEB_TARGET_ARCH=arm64
DEB_TARGET_ARCH_ABI=base
DEB_TARGET_ARCH_BITS=64
DEB_TARGET_ARCH_CPU=arm64
DEB_TARGET_ARCH_ENDIAN=little
DEB_TARGET_ARCH_LIBC=gnu
DEB_TARGET_ARCH_OS=linux
DEB_TARGET_GNU_CPU=aarch64
DEB_TARGET_GNU_SYSTEM=linux-gnu
DEB_TARGET_GNU_TYPE=aarch64-linux-gnu
DEB_TARGET_MULTIARCH=aarch64-linux-gnu
DFLAGS=-frelease
DFLAGS_FOR_BUILD=-frelease
DH_INTERNAL_BUILDFLAGS=1
DH_INTERNAL_OPTIONS=-O--buildsystem=pybuild
DH_INTERNAL_OVERRIDE=dh_auto_test
DH_OVERIDDEN_COMMAND=@echo 'error: The variable is spelled DH_OVERRIDDEN_COMMAND' >&2 ; exit 1
DH_OVERIDEN_COMMAND=@echo 'error: The variable is spelled DH_OVERRIDDEN_COMMAND' >&2 ; exit 1
DH_OVERRIDDEN_COMMAND=dh_auto_test -O--buildsystem=pybuild
DH_OVERRIDEN_COMMAND=@echo 'error: The variable is spelled DH_OVERRIDDEN_COMMAND' >&2 ; exit 1
DISPLAY=:99
FCFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard
FCFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard
FFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard
FFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard
HOME=/build/reproducible-path/pyside6-6.8.2.1/debian/.debhelper/generated/_source/home
LANG=C.UTF-8
LC_ALL=C.UTF-8
LC_COLLATE=C.UTF-8
LC_CTYPE=C.UTF-8
LDFLAGS=-Wl,-z,relro -Wl,-z,now
LDFLAGS_FOR_BUILD=-Wl,-z,relro -Wl,-z,now
LLVM_INSTALL_DIR=/usr/lib/llvm-19
LOGNAME=sbuild
MAIN_VERSION_UPSTREAM=6.8.2.1
MAKEFLAGS=
MAKELEVEL=2
MFLAGS=
OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard
OBJCFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard
OBJCXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard
OBJCXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/pyside6-6.8.2.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PIP_BREAK_SYSTEM_PACKAGES=1
PWD=/build/reproducible-path/pyside6-6.8.2.1
PYBUILD_BUILD_ARGS=--skip-packaging --verbose-build --parallel=16 --build-tests --build-docs
PYBUILD_INSTALL_ARGS=--reuse-build --verbose-build
PYBUILD_SYSTEM=distutils
PYTHONPATH=/build/reproducible-path/pyside6-6.8.2.1/debian/tmp/usr/lib/python3.13/dist-packages:/build/reproducible-path/pyside6-6.8.2.1/.pybuild/cpython3_3.13/build
QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu --no-sandbox
SHELL=/bin/sh
SOURCE_DATE_EPOCH=1746626359
USER=sbuild
XAUTHORITY=/tmp/xvfb-run.l9NNot/Xauthority
XDG_RUNTIME_DIR=/tmp/dh-xdg-rundir-KoIRc2JF
_PYTHON_HOST_PLATFORM=linux-aarch64
http_proxy=http://127.0.0.1:9/
https_proxy=https://127.0.0.1:9/
no_proxy=localhost
Traceback (most recent call last):
File "/build/reproducible-path/pyside6-6.8.2.1/testrunner.py", line 15, in <module>
testing.main()
~~~~~~~~~~~~^^
File "/build/reproducible-path/pyside6-6.8.2.1/testing/command.py", line 270, in main
res, fatal, runs = test_project(project, args, bl, runs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/reproducible-path/pyside6-6.8.2.1/testing/command.py", line 75, in test_project
runner = TestRunner(builds.selected, project, index)
File "/build/reproducible-path/pyside6-6.8.2.1/testing/runner.py", line 38, in __init__
self._setup()
~~~~~~~~~~~^^
File "/build/reproducible-path/pyside6-6.8.2.1/testing/runner.py", line 125, in _setup
self.ctestCommand = self._find_ctest()
~~~~~~~~~~~~~~~~^^
File "/build/reproducible-path/pyside6-6.8.2.1/testing/runner.py", line 119, in _find_ctest
return self._find_ctest_in_file(path)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/build/reproducible-path/pyside6-6.8.2.1/testing/runner.py", line 98, in _find_ctest_in_file
raise RuntimeError(msg)
RuntimeError:
*******************************************************************************
** ctest is not in 'build/qfp-py3.13-qt6.8.2-64bit-release/build/shiboken6/build.ninja'.
* Did you forget to build the tests with '--build-tests' in setup.py?
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: python3.13 testrunner.py test --buildno=-1
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 --system=custom --test-args "{interpreter} testrunner.py test --buildno=-1" returned exit code 13
make[1]: *** [debian/rules:128: override_dh_auto_test] Error 25
make[1]: Leaving directory '/build/reproducible-path/pyside6-6.8.2.1'
make: *** [debian/rules:64: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T15:13:44Z
-------------------------------------------------------------------------------
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/2408226/
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/154582/
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
Reply to: