Bug#1096806: hexalate: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:18:58 GMT 2025
Package: src:hexalate
Version: 1.2.2-1
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15
[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/hexalate_1.2.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
[...]
cd /build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/hexalate-1.2.2 /build/reproducible-path/hexalate-1.2.2 /build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu /build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu /build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/CMakeFiles/hexalate.dir/DependInfo.cmake "--color="
Dependencies file "hexalate_autogen/deps" is newer than depends file "/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/CMakeFiles/hexalate.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target hexalate
make[3]: Leaving directory '/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu'
make -f CMakeFiles/hexalate.dir/build.make CMakeFiles/hexalate.dir/build
make[3]: Entering directory '/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu'
[ 81%] Building CXX object CMakeFiles/hexalate.dir/src/window.cpp.o
[ 81%] Building CXX object CMakeFiles/hexalate.dir/hexalate_autogen/2SEMU33LXP/qrc_icon.cpp.o
[ 84%] Building CXX object CMakeFiles/hexalate.dir/src/board.cpp.o
[ 87%] Building CXX object CMakeFiles/hexalate.dir/src/puzzle.cpp.o
[ 84%] Building CXX object CMakeFiles/hexalate.dir/src/locale_dialog.cpp.o
[ 81%] Building CXX object CMakeFiles/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o
[ 90%] Building CXX object CMakeFiles/hexalate.dir/src/piece.cpp.o
[ 93%] Building CXX object CMakeFiles/hexalate.dir/src/main.cpp.o
/usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -I/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/hexalate_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/hexalate-1.2.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/hexalate.dir/hexalate_autogen/2SEMU33LXP/qrc_icon.cpp.o -MF CMakeFiles/hexalate.dir/hexalate_autogen/2SEMU33LXP/qrc_icon.cpp.o.d -o CMakeFiles/hexalate.dir/hexalate_autogen/2SEMU33LXP/qrc_icon.cpp.o -c /build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/hexalate_autogen/2SEMU33LXP/qrc_icon.cpp
/usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -I/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/hexalate_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/hexalate-1.2.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/hexalate.dir/src/board.cpp.o -MF CMakeFiles/hexalate.dir/src/board.cpp.o.d -o CMakeFiles/hexalate.dir/src/board.cpp.o -c /build/reproducible-path/hexalate-1.2.2/src/board.cpp
/usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -I/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/hexalate_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/hexalate-1.2.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/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o -MF CMakeFiles/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o -c /build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/hexalate_autogen/mocs_compilation.cpp
/usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -I/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/hexalate_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/hexalate-1.2.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/hexalate.dir/src/locale_dialog.cpp.o -MF CMakeFiles/hexalate.dir/src/locale_dialog.cpp.o.d -o CMakeFiles/hexalate.dir/src/locale_dialog.cpp.o -c /build/reproducible-path/hexalate-1.2.2/src/locale_dialog.cpp
/usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -DHEXALATE_DATADIR=\"../share/hexalate\" -DVERSIONSTR=\"1.2.2\" -I/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/hexalate_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/hexalate-1.2.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/hexalate.dir/src/main.cpp.o -MF CMakeFiles/hexalate.dir/src/main.cpp.o.d -o CMakeFiles/hexalate.dir/src/main.cpp.o -c /build/reproducible-path/hexalate-1.2.2/src/main.cpp
/usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -I/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/hexalate_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/hexalate-1.2.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/hexalate.dir/src/piece.cpp.o -MF CMakeFiles/hexalate.dir/src/piece.cpp.o.d -o CMakeFiles/hexalate.dir/src/piece.cpp.o -c /build/reproducible-path/hexalate-1.2.2/src/piece.cpp
/usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -I/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/hexalate_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/hexalate-1.2.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/hexalate.dir/src/puzzle.cpp.o -MF CMakeFiles/hexalate.dir/src/puzzle.cpp.o.d -o CMakeFiles/hexalate.dir/src/puzzle.cpp.o -c /build/reproducible-path/hexalate-1.2.2/src/puzzle.cpp
/usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -I/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu/hexalate_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/hexalate-1.2.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/hexalate.dir/src/window.cpp.o -MF CMakeFiles/hexalate.dir/src/window.cpp.o.d -o CMakeFiles/hexalate.dir/src/window.cpp.o -c /build/reproducible-path/hexalate-1.2.2/src/window.cpp
/build/reproducible-path/hexalate-1.2.2/src/puzzle.cpp: In member function ‘void Puzzle::generate()’:
/build/reproducible-path/hexalate-1.2.2/src/puzzle.cpp:115:37: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Piece*>; typename std::add_const<_Tp>::type = const QList<Piece*>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
115 | for (Piece* piece : qAsConst(m_pieces)) {
| ~~~~~~~~^~~~~~~~~~
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/QtCore/qpair.h:8,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qarraydata.h:8,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qarraydataops.h:8,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qarraydatapointer.h:7,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qlist.h:8,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/QList:1,
from /build/reproducible-path/hexalate-1.2.2/src/puzzle.h:12,
from /build/reproducible-path/hexalate-1.2.2/src/puzzle.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/hexalate-1.2.2/src/locale_dialog.cpp: In static member function ‘static QString LocaleDialog::languageName(const QString&)’:
/build/reproducible-path/hexalate-1.2.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/hexalate-1.2.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;
| ^~~~~~~~~~~~~~~~~
[ 96%] Linking CXX executable hexalate
/usr/bin/cmake -E cmake_link_script CMakeFiles/hexalate.dir/link.txt --verbose=1
/usr/bin/ld: CMakeFiles/hexalate.dir/src/board.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o:(.rodata+0x2c8): first defined here
/usr/bin/ld: CMakeFiles/hexalate.dir/src/locale_dialog.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o:(.rodata+0x2c8): first defined here
/usr/bin/ld: CMakeFiles/hexalate.dir/src/main.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o:(.rodata+0x2c8): first defined here
/usr/bin/ld: CMakeFiles/hexalate.dir/src/piece.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o:(.rodata+0x2c8): first defined here
/usr/bin/ld: CMakeFiles/hexalate.dir/src/puzzle.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o:(.rodata+0x2c8): first defined here
/usr/bin/ld: CMakeFiles/hexalate.dir/src/window.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o:(.rodata+0x2c8): first defined here
collect2: error: ld returned 1 exit status
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hexalate-1.2.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/hexalate.dir/link.d CMakeFiles/hexalate.dir/hexalate_autogen/mocs_compilation.cpp.o CMakeFiles/hexalate.dir/src/board.cpp.o CMakeFiles/hexalate.dir/src/locale_dialog.cpp.o CMakeFiles/hexalate.dir/src/main.cpp.o CMakeFiles/hexalate.dir/src/piece.cpp.o CMakeFiles/hexalate.dir/src/puzzle.cpp.o CMakeFiles/hexalate.dir/src/window.cpp.o CMakeFiles/hexalate.dir/hexalate_autogen/2SEMU33LXP/qrc_icon.cpp.o -o hexalate /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/hexalate.dir/build.make:319: hexalate] Error 1
make[3]: Leaving directory '/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:126: CMakeFiles/hexalate.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/hexalate-1.2.2/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/hexalate-1.2.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:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list