D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/toppler-1.3-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TRGp8s + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf toppler-v1.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/toppler-v1.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd toppler-v1.3 + rm -rf /home/pterjan/rpmbuild/BUILD/toppler-v1.3-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/toppler-v1.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/toppler-1.3-fix_makefile.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/toppler-1.3-format_security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.q0sLgF + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd toppler-v1.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' PKGDATADIR=/usr/share/games/toppler STATEDIR=/var/lib/games toppler translation g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//points.cc.o src/points.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//elevators.cc.o src/elevators.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//decl.cc.o src/decl.cc src/decl.cc: In function 'std::vector > alpha_scandir(const std::string&, std::function&)>)': src/decl.cc:253:10: error: 'sort' is not a member of 'std'; did you mean 'sqrt'? 253 | std::sort(entries.begin(), entries.end()); | ^~~~ | sqrt make: *** [Makefile:84: _build//decl.cc.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//configuration.cc.o src/configuration.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//snowball.cc.o src/snowball.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//robots.cc.o src/robots.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//bonus.cc.o src/bonus.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//archi.cc.o src/archi.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//keyb.cc.o src/keyb.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//menusys.cc.o src/menusys.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//sound.cc.o src/sound.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//level.cc.o src/level.cc src/level.cc: In function 'void add_mission(std::string, bool)': src/level.cc:198:17: error: 'find_if' is not a member of 'std' 198 | auto i = std::find_if(missions.begin(), missions.end(), [prio](auto & m) { return m.prio > prio; }); | ^~~~~~~ make: *** [Makefile:83: _build//level.cc.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//highscore.cc.o src/highscore.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//screen.cc.o src/screen.cc src/screen.cc: In function 'void putthings(long int, long int, long int)': src/screen.cc:1800:22: error: 'clamp' is not a member of 'std' 1800 | int depth = std::clamp(400-2*(sintab[(a+TOWER_ANGLES/4) % TOWER_ANGLES]+TOWER_RADIUS+SPR_STEPWID/2+1), 0, 205); | ^~~~~ src/screen.cc:1825:24: error: 'clamp' is not a member of 'std' 1825 | int depth = std::clamp(400-2*(sintab[(rob_a+TOWER_ANGLES/4) % TOWER_ANGLES]+TOWER_RADIUS+SPR_STEPWID/2+1), 0, 205); | ^~~~~ src/screen.cc: In function 'void putthings_editor(long int, long int, long int, int)': src/screen.cc:1900:22: error: 'clamp' is not a member of 'std' 1900 | int depth = std::clamp(400-2*(sintab[(a+TOWER_ANGLES/4) % TOWER_ANGLES]+TOWER_RADIUS+SPR_STEPWID/2+1), 0, 205); | ^~~~~ make: *** [Makefile:83: _build//screen.cc.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//leveledit.cc.o src/leveledit.cc src/leveledit.cc: In function 'void le_edit()': src/leveledit.cc:423:29: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 423 | snprintf(tabbuf1, 11, "%3i", maxkeylen + FONTWID); | ^ In file included from /usr/include/stdio.h:980, from /usr/include/c++/14/cstdio:42, from /usr/include/c++/14/ext/string_conversions.h:45, from /usr/include/c++/14/bits/basic_string.h:4154, from /usr/include/c++/14/string:54, from src/decl.h:22, from src/leveledit.cc:21: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'void le_showkeyhelp()' at src/leveledit.cc:423:11, inlined from 'void le_edit()' at src/leveledit.cc:918:23: /usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 4 and 12 bytes into a destination of size 11 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//main.cc.o src/main.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//menu.cc.o src/menu.cc g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full $(pkg-config --cflags SDL2_mixer sdl2 zlib) -DVERSION='"1.3"' -DTOP_DATADIR='"/usr/share/games/toppler"' -DHISCOREDIR='"/var/lib/games"' -DENABLE_NLS=1 -DLOCALEDIR='"/usr/share/locale"' -c -o _build//game.cc.o src/game.cc error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.q0sLgF (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.q0sLgF (%build) I: [iurt_root_command] ERROR: chroot