[This bug is NOT targeted to the upcoming trixie release] Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The severity of this report will be raised before the forky release. The full build log can be found at: http://qa-logs.debian.net/2025/02/16/amd64exp/peg-e_1.3.2-1_unstable_gccexp.log.gz The last lines of the build log are at the end of this report. To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS. Other Common build failures are new warnings resulting in build failures with -Werror turned on, or new/dropped symbols in Debian symbols files. For other C/C++ related build failures see the porting guide at http://gcc.gnu.org/gcc-15/porting_to.html [...] 116 | for (const QPoint& start_hole : qAsConst(pegs)) { | ~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/qt6/QtCore/qttypetraits.h:33:45: note: declared here 33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; } | ^~~~~~~~ [ 90%] Building CXX object CMakeFiles/peg-e.dir/src/window.cpp.o /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -I/build/reproducible-path/peg-e-1.3.2/obj-x86_64-linux-gnu/peg-e_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -g -O2 -ffile-prefix-map=/build/reproducible-path/peg-e-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++17 -MD -MT CMakeFiles/peg-e.dir/src/window.cpp.o -MF CMakeFiles/peg-e.dir/src/window.cpp.o.d -o CMakeFiles/peg-e.dir/src/window.cpp.o -c /build/reproducible-path/peg-e-1.3.2/src/window.cpp [ 93%] Building CXX object CMakeFiles/peg-e.dir/peg-e_autogen/2SEMU33LXP/qrc_icon.cpp.o /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -I/build/reproducible-path/peg-e-1.3.2/obj-x86_64-linux-gnu/peg-e_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -g -O2 -ffile-prefix-map=/build/reproducible-path/peg-e-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++17 -MD -MT CMakeFiles/peg-e.dir/peg-e_autogen/2SEMU33LXP/qrc_icon.cpp.o -MF CMakeFiles/peg-e.dir/peg-e_autogen/2SEMU33LXP/qrc_icon.cpp.o.d -o CMakeFiles/peg-e.dir/peg-e_autogen/2SEMU33LXP/qrc_icon.cpp.o -c /build/reproducible-path/peg-e-1.3.2/obj-x86_64-linux-gnu/peg-e_autogen/2SEMU33LXP/qrc_icon.cpp /build/reproducible-path/peg-e-1.3.2/src/board.cpp: In member function ‘bool Board::checkFinished()’: /build/reproducible-path/peg-e-1.3.2/src/board.cpp:214:35: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QHash<QPoint, Hole*>; typename std::add_const<_Tp>::type = const QHash<QPoint, Hole*>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations] 214 | for (Hole* hole : qAsConst(m_holes)) { | ~~~~~~~~^~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qforeach.h:11, from /usr/include/x86_64-linux-gnu/qt6/QtCore/qglobal.h:57, from /usr/include/x86_64-linux-gnu/qt6/QtGui/qtguiglobal.h:7, from /usr/include/x86_64-linux-gnu/qt6/QtGui/qcolor.h:7, from /usr/include/x86_64-linux-gnu/qt6/QtGui/QColor:1, from /build/reproducible-path/peg-e-1.3.2/src/board.h:13, from /build/reproducible-path/peg-e-1.3.2/src/board.cpp:7: /usr/include/x86_64-linux-gnu/qt6/QtCore/qttypetraits.h:33:45: note: declared here 33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; } | ^~~~~~~~ /build/reproducible-path/peg-e-1.3.2/src/locale_dialog.cpp: In static member function ‘static QString LocaleDialog::languageName(const QString&)’: /build/reproducible-path/peg-e-1.3.2/src/locale_dialog.cpp:108:93: warning: ‘QString QLocale::nativeCountryName() const’ is deprecated: Use nativeTerritoryName() instead [-Wdeprecated-declarations] 108 | name = locale.nativeLanguageName() + " (" + locale.nativeCountryName() + ")"; | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/x86_64-linux-gnu/qt6/QtWidgets/qstyleoption.h:8, from /usr/include/x86_64-linux-gnu/qt6/QtWidgets/qabstractitemdelegate.h:9, from /usr/include/x86_64-linux-gnu/qt6/QtWidgets/qcombobox.h:9, from /usr/include/x86_64-linux-gnu/qt6/QtWidgets/QComboBox:1, from /build/reproducible-path/peg-e-1.3.2/src/locale_dialog.cpp:9: /usr/include/x86_64-linux-gnu/qt6/QtCore/qlocale.h:948:13: note: declared here 948 | QString nativeCountryName() const; | ^~~~~~~~~~~~~~~~~ /build/reproducible-path/peg-e-1.3.2/src/window.cpp: In member function ‘void Window::loadGame()’: /build/reproducible-path/peg-e-1.3.2/src/window.cpp:276:44: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<QString>; typename std::add_const<_Tp>::type = const QList<QString>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations] 276 | for (const QString& move : qAsConst(moves)) { | ~~~~~~~~^~~~~~~ In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qforeach.h:11, from /usr/include/x86_64-linux-gnu/qt6/QtCore/qglobal.h:57, from /usr/include/x86_64-linux-gnu/qt6/QtGui/qtguiglobal.h:7, from /usr/include/x86_64-linux-gnu/qt6/QtWidgets/qtwidgetsglobal.h:7, from /usr/include/x86_64-linux-gnu/qt6/QtWidgets/qmainwindow.h:7, from /usr/include/x86_64-linux-gnu/qt6/QtWidgets/QMainWindow:1, from /build/reproducible-path/peg-e-1.3.2/src/window.h:12, from /build/reproducible-path/peg-e-1.3.2/src/window.cpp:7: /usr/include/x86_64-linux-gnu/qt6/QtCore/qttypetraits.h:33:45: note: declared here 33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; } | ^~~~~~~~ [ 96%] Linking CXX executable peg-e /usr/bin/cmake -E cmake_link_script CMakeFiles/peg-e.dir/link.txt --verbose=1 /usr/bin/ld: CMakeFiles/peg-e.dir/src/board.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/peg-e.dir/peg-e_autogen/mocs_compilation.cpp.o:(.rodata+0x330): first defined here /usr/bin/ld: CMakeFiles/peg-e.dir/src/hole.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/peg-e.dir/peg-e_autogen/mocs_compilation.cpp.o:(.rodata+0x330): first defined here /usr/bin/ld: CMakeFiles/peg-e.dir/src/locale_dialog.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/peg-e.dir/peg-e_autogen/mocs_compilation.cpp.o:(.rodata+0x330): first defined here /usr/bin/ld: CMakeFiles/peg-e.dir/src/main.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/peg-e.dir/peg-e_autogen/mocs_compilation.cpp.o:(.rodata+0x330): first defined here /usr/bin/ld: CMakeFiles/peg-e.dir/src/movement.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/peg-e.dir/peg-e_autogen/mocs_compilation.cpp.o:(.rodata+0x330): first defined here /usr/bin/ld: CMakeFiles/peg-e.dir/src/peg.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/peg-e.dir/peg-e_autogen/mocs_compilation.cpp.o:(.rodata+0x330): first defined here /usr/bin/ld: CMakeFiles/peg-e.dir/src/window.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/peg-e.dir/peg-e_autogen/mocs_compilation.cpp.o:(.rodata+0x330): first defined here collect2: error: ld returned 1 exit status /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/peg-e-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=CMakeFiles/peg-e.dir/link.d "CMakeFiles/peg-e.dir/peg-e_autogen/mocs_compilation.cpp.o" "CMakeFiles/peg-e.dir/src/board.cpp.o" "CMakeFiles/peg-e.dir/src/hole.cpp.o" "CMakeFiles/peg-e.dir/src/locale_dialog.cpp.o" "CMakeFiles/peg-e.dir/src/main.cpp.o" "CMakeFiles/peg-e.dir/src/movement.cpp.o" "CMakeFiles/peg-e.dir/src/peg.cpp.o" "CMakeFiles/peg-e.dir/src/puzzle.cpp.o" "CMakeFiles/peg-e.dir/src/window.cpp.o" "CMakeFiles/peg-e.dir/peg-e_autogen/2SEMU33LXP/qrc_icon.cpp.o" -o peg-e /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.7.2 /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.7.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.7.2 make[3]: *** [CMakeFiles/peg-e.dir/build.make:343: peg-e] Error 1 make[3]: Leaving directory '/build/reproducible-path/peg-e-1.3.2/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:126: CMakeFiles/peg-e.dir/all] Error 2 make[2]: Leaving directory '/build/reproducible-path/peg-e-1.3.2/obj-x86_64-linux-gnu' make[1]: *** [Makefile:139: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/peg-e-1.3.2/obj-x86_64-linux-gnu' dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2 make: *** [debian/rules:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2