Hi,
pyqt6-webengine fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.
The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/pyqt6-webengine_arm64.build.xz
The last lines of the build log are at the end of this report.
To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html
Please only close this issue after double-checking that the package can be
built correctly with GCC 16.
Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.
[...]
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qmetatype.h:15,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/QMetaType:1,
from sipAPIQtWebEngineCore.h:33,
from sipQtWebEngineCoreQWebEngineGlobalSettings.cpp:24:
/usr/include/aarch64-linux-gnu/qt6/QtCore/qchar.h:48:31: warning: defining ‘QChar’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=]
48 | class QT6_ONLY(Q_CORE_EXPORT) QChar {
| ^~~~~
In file included from /usr/include/c++/16/unordered_map:44,
from /usr/include/c++/16/functional:80,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qcomparehelpers.h:28,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qcompare.h:639,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qnamespace.h:13,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qbytearray.h:10,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qmetatype.h:11:
/usr/include/c++/16/bits/range_access.h:325:24: note: here. Use ‘-Wsfinae-incomplete=2’ for a diagnostic at that point
325 | -> decltype(__cont.data())
| ~~~~~~~^~~~
g++ -c -pipe -g -O2 -ffile-prefix-map=/build/reproducible-path/pyqt6-webengine-6.10.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DPy_LIMITED_API=0x030a0000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_QMLINTEGRATION_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/qt6 -I/usr/include/aarch64-linux-gnu/qt6/QtWebEngineCore -I/usr/include/aarch64-linux-gnu/qt6/QtQuick -I/usr/include/aarch64-linux-gnu/qt6/QtOpenGL -I/usr/include/aarch64-linux-gnu/qt6/QtGui -I/usr/include/aarch64-linux-gnu/qt6/QtQmlMeta -I/usr/include/aarch64-linux-gnu/qt6/QtQmlModels -I/usr/include/aarch64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/aarch64-linux-gnu/qt6/QtWebChannel -I/usr/include/aarch64-linux-gnu/qt6/QtQml -I/usr/include/aarch64-linux-gnu/qt6/QtNetwork -I/usr/include/aarch64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/aarch64-linux-gnu/qt6/QtPositioning -I/usr/include/aarch64-linux-gnu/qt6/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt6/mkspecs/linux-g++ -o sipQtWebEngineCoreQWebEngineFullScreenRequest.o sipQtWebEngineCoreQWebEngineFullScreenRequest.cpp
In file included from /usr/include/aarch64-linux-gnu/qt6/QtCore/qstring.h:15,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qfloat16.h:10,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qmetatype.h:15,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/QMetaType:1,
from sipAPIQtWebEngineCore.h:33,
from sipQtWebEngineCoreQWebEngineFullScreenRequest.cpp:24:
/usr/include/aarch64-linux-gnu/qt6/QtCore/qchar.h:48:31: warning: defining ‘QChar’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=]
48 | class QT6_ONLY(Q_CORE_EXPORT) QChar {
| ^~~~~
In file included from /usr/include/c++/16/unordered_map:44,
from /usr/include/c++/16/functional:80,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qcomparehelpers.h:28,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qcompare.h:639,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qnamespace.h:13,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qbytearray.h:10,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qmetatype.h:11:
/usr/include/c++/16/bits/range_access.h:325:24: note: here. Use ‘-Wsfinae-incomplete=2’ for a diagnostic at that point
325 | -> decltype(__cont.data())
| ~~~~~~~^~~~
g++ -c -pipe -g -O2 -ffile-prefix-map=/build/reproducible-path/pyqt6-webengine-6.10.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DPy_LIMITED_API=0x030a0000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_QMLINTEGRATION_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/python3.13 -I/usr/include/aarch64-linux-gnu/qt6 -I/usr/include/aarch64-linux-gnu/qt6/QtWebEngineCore -I/usr/include/aarch64-linux-gnu/qt6/QtQuick -I/usr/include/aarch64-linux-gnu/qt6/QtOpenGL -I/usr/include/aarch64-linux-gnu/qt6/QtGui -I/usr/include/aarch64-linux-gnu/qt6/QtQmlMeta -I/usr/include/aarch64-linux-gnu/qt6/QtQmlModels -I/usr/include/aarch64-linux-gnu/qt6/QtQmlWorkerScript -I/usr/include/aarch64-linux-gnu/qt6/QtWebChannel -I/usr/include/aarch64-linux-gnu/qt6/QtQml -I/usr/include/aarch64-linux-gnu/qt6/QtNetwork -I/usr/include/aarch64-linux-gnu/qt6/QtQmlIntegration -I/usr/include/aarch64-linux-gnu/qt6/QtPositioning -I/usr/include/aarch64-linux-gnu/qt6/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt6/mkspecs/linux-g++ -o sipQtWebEngineCoreQWebEngineFrame.o sipQtWebEngineCoreQWebEngineFrame.cpp
In file included from /usr/include/aarch64-linux-gnu/qt6/QtCore/qstring.h:15,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qfloat16.h:10,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qmetatype.h:15,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/QMetaType:1,
from sipAPIQtWebEngineCore.h:33,
from sipQtWebEngineCoreQWebEngineFrame.cpp:24:
/usr/include/aarch64-linux-gnu/qt6/QtCore/qchar.h:48:31: warning: defining ‘QChar’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=]
48 | class QT6_ONLY(Q_CORE_EXPORT) QChar {
| ^~~~~
In file included from /usr/include/c++/16/unordered_map:44,
from /usr/include/c++/16/functional:80,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qcomparehelpers.h:28,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qcompare.h:639,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qnamespace.h:13,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qbytearray.h:10,
from /usr/include/aarch64-linux-gnu/qt6/QtCore/qmetatype.h:11:
/usr/include/c++/16/bits/range_access.h:325:24: note: here. Use ‘-Wsfinae-incomplete=2’ for a diagnostic at that point
325 | -> decltype(__cont.data())
| ~~~~~~~^~~~
/build/reproducible-path/pyqt6-webengine-6.10.0/.pybuild/cpython3_3.13/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineFrame.cpp: In function ‘PyObject* slot_QWebEngineFrame___ne__(PyObject*, PyObject*)’:
/build/reproducible-path/pyqt6-webengine-6.10.0/.pybuild/cpython3_3.13/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineFrame.cpp:458:22: error: ‘operator!=’ not defined
458 | sipRes = operator!=((*sipCpp), *a0);
| ^~~~~~~~~~
make[2]: *** [Makefile:847: sipQtWebEngineCoreQWebEngineFrame.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/pyqt6-webengine-6.10.0/.pybuild/cpython3_3.13/build/QtWebEngineCore'
make[1]: *** [Makefile:49: sub-QtWebEngineCore-make_first-ordered] Error 2
make[1]: Leaving directory '/build/reproducible-path/pyqt6-webengine-6.10.0/.pybuild/cpython3_3.13/build'
E: pybuild pybuild:485: build: plugin custom failed with: exit code=2: /usr/bin/make -C /build/reproducible-path/pyqt6-webengine-6.10.0/.pybuild/cpython3_3.13/build
dh_auto_build: error: pybuild --build -i python{version} -p "3.14 3.13" --parallel=128 returned exit code 13
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2