Bug#1075402: pushover: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:40:44 BST 2024


Package: src:pushover
Version: 1.1-3
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/pushover_1.1-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

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-14/porting_to.html

[...]
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-52c87907-95fb-404d-b679-ba1b7a934e4b
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package pushover
dpkg-buildpackage: info: source version 1.1-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Alexandre Detiste <tchet at debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   dh_auto_clean
	make -j8 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f domino-chain *-domino-chain *-domino-chain.exe Domino-Chain*.zip _tmp/dominoes/assembler
rm -rf data/ public/ _tmp/domino-chain/ _tmp/*-domino-chain/
Hint: Refusing to remove rendered dominoes and MXE. To remove everything, please use "make clean-all".
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make BINDIR=/usr/games DATADIR=/usr/share/games CXX=x86_64-linux-gnu-g++ CXXFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17' LDFLAGS='-Wl,-z,relro -Wl,-z,now' PKG_CONFIG=x86_64-linux-gnu-pkgconf PKG_LUA=lua-5.4
make[2]: Entering directory '/<<PKGBUILDDIR>>'
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/check.cpp.o src/domino-chain/check.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/decompress.cpp.o src/domino-chain/decompress.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/editor.cpp.o src/domino-chain/editor.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/figure.cpp.o src/domino-chain/figure.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/graphicsn.cpp.o src/domino-chain/graphicsn.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/leveldata.cpp.o src/domino-chain/leveldata.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/leveldata_oldsave.cpp.o src/domino-chain/leveldata_oldsave.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/levelplayer.cpp.o src/domino-chain/levelplayer.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/levelset.cpp.o src/domino-chain/levelset.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/luaclass.cpp.o src/domino-chain/luaclass.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/main.cpp.o src/domino-chain/main.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/pngloader.cpp.o src/domino-chain/pngloader.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/recorder.cpp.o src/domino-chain/recorder.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/screen.cpp.o src/domino-chain/screen.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/solvedmap.cpp.o src/domino-chain/solvedmap.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/soundsys.cpp.o src/domino-chain/soundsys.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/textsections.cpp.o src/domino-chain/textsections.cpp
x86_64-linux-gnu-g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g -O2 -std=c++17 $(x86_64-linux-gnu-pkgconf --cflags lua-5.4 SDL2_mixer SDL2_ttf fribidi libpng sdl2 zlib) -DVERSION='"1.1"' -DDATADIR='"/usr/share/games"' -c -o _tmp/domino-chain/tools.cpp.o src/domino-chain/tools.cpp
src/domino-chain/tools.cpp: In function ‘std::vector<std::__cxx11::basic_string<char> > sortedDirectoryEntries(const std::string&)’:
src/domino-chain/tools.cpp:156:8: error: ‘sort’ is not a member of ‘std’; did you mean ‘qsort’?
  156 |   std::sort(entries.begin(), entries.end());
      |        ^~~~
      |        qsort
make[2]: *** [Makefile:73: _tmp/domino-chain/tools.cpp.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list