Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-PyQt6 for openSUSE:Factory checked in at 2026-06-04 18:53:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyQt6 (Old) and /work/SRC/openSUSE:Factory/.python-PyQt6.new.2375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyQt6" Thu Jun 4 18:53:24 2026 rev:34 rq:1356887 version:6.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyQt6/python-PyQt6.changes 2026-05-04 21:17:20.572145369 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyQt6.new.2375/python-PyQt6.changes 2026-06-04 18:55:13.143111116 +0200 @@ -1,0 +2,5 @@ +Tue Jun 2 15:08:25 UTC 2026 - Josef Melcr <[email protected]> + +- Force -std=gnu++17 to fix the broken build with GCC 16 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyQt6.spec ++++++ --- /var/tmp/diff_new_pack.p5Br6M/_old 2026-06-04 18:55:14.467165730 +0200 +++ /var/tmp/diff_new_pack.p5Br6M/_new 2026-06-04 18:55:14.467165730 +0200 @@ -208,12 +208,20 @@ %build +%define gcc_version %(gcc -dumpversion 2>/dev/null || echo 0) + +%if %{gcc_version} >= 16 +%global flags %{optflags} -std=gnu++17 +%else +%global flags %{optflags} +%endif + # -DQT_NO_INT128 is required to build with Qt 6.6.0. %{pyqt_build -v \ -s %{quote:--pep484-pyi \ --confirm-license \ --qt-shared \ - --qmake-setting 'QMAKE_CXXFLAGS_RELEASE=%{optflags} -DQT_NO_INT128'\ + --qmake-setting 'QMAKE_CXXFLAGS_RELEASE=%{flags} -DQT_NO_INT128'\ %if %{with qt6pdf} --enable QtPdf \ %endif
