Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/njam.spec'], chrootPath='/var/lib/mock/f41-build-843738-162060/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh0rjscv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh0rjscv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e3bd2002f5c542e683087be17252621e', '-D', '/var/lib/mock/f41-build-843738-162060/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh0rjscv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/njam.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 warning: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/njam-1.25-45.fc41.src.rpm RPM build warnings: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/njam.spec'], chrootPath='/var/lib/mock/f41-build-843738-162060/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh0rjscv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh0rjscv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b7424b6aa4d448f59c5b69170ffcbb2b', '-D', '/var/lib/mock/f41-build-843738-162060/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh0rjscv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/njam.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 warning: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.TQFVPm + umask 022 + cd /builddir/build/BUILD/njam-1.25-build + test -d /builddir/build/BUILD/njam-1.25-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/njam-1.25-build + /usr/bin/rm -rf /builddir/build/BUILD/njam-1.25-build + /usr/bin/mkdir -p /builddir/build/BUILD/njam-1.25-build + /usr/bin/mkdir -p /builddir/build/BUILD/njam-1.25-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tOhgqx + umask 022 + cd /builddir/build/BUILD/njam-1.25-build + cd /builddir/build/BUILD/njam-1.25-build + rm -rf njam-1.25-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/njam-1.25-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd njam-1.25-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (njam-1.25-drop-setgid.patch):' Patch #0 (njam-1.25-drop-setgid.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .setgid --fuzz=0 patching file src/njam.cpp Patch #1 (njam-1.25-html.patch): + echo 'Patch #1 (njam-1.25-html.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file html/doc-editor.html Patch #2 (njam-1.25-leveledit.patch): + echo 'Patch #2 (njam-1.25-leveledit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .leveledit --fuzz=0 patching file src/njamutils.h patching file src/njam.cpp Hunk #1 succeeded at 348 (offset -2 lines). Hunk #2 succeeded at 628 (offset -2 lines). patching file src/njam.h patching file src/njamedit.cpp patching file src/njamutils.cpp Patch #3 (njam-1.25-gcc45.patch): + echo 'Patch #3 (njam-1.25-gcc45.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/njamedit.cpp Patch #4 (njam-1.25-rhbz767015.patch): + echo 'Patch #4 (njam-1.25-rhbz767015.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/njam.cpp patching file src/njam.h Patch #5 (njam-1.25-format-security.patch): + echo 'Patch #5 (njam-1.25-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/njamgame.cpp Patch #6 (njam-configure-c99.patch): + echo 'Patch #6 (njam-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.On7s8A + umask 022 + cd /builddir/build/BUILD/njam-1.25-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd njam-1.25-src + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... missing checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for riscv64-redhat-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for sdl-config... yes checking for SDL_Init in -lSDL... yes checking SDL/SDL.h usability... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking for IMG_Load in -lSDL_image... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for SDLNet_TCP_Open in -lSDL_net... yes njam version 0.1.25 configured successfully. Using '/usr' for installation. Using '/usr/share' for installation libraries. Using 'g++' for C++ compiler. Building with '-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' for C++ compiler flags. Building with '-lSDL -lSDL_image -lSDL_mixer -lSDL_net' for linker flags. configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing default-1 commands + make -j64 make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make all-recursive make[1]: Entering directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src' make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. Making all in src make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src/src' make[2]: Circular defaults.h <- Makefile dependency dropped. echo '// This file is generated from makefile. Do not edit!' > defaults.h echo '#define DEFAULT_PREFIX "/usr"' >> defaults.h echo '#define DEFAULT_LIBDIR "/usr/share"' >> defaults.h echo '#define PACKAGE "njam"' >> defaults.h cd .. \ && CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating src/Makefile config.status: executing default-1 commands make[2]: Circular defaults.h <- Makefile dependency dropped. g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njam.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamgame.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamfont.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamedit.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njammap.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamnet.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamutils.cpp njamutils.cpp:88: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 88 | #pragma warn -ccc njamutils.cpp:89: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 89 | #pragma warn -rch njamutils.cpp:94: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 94 | #pragma warn +ccc njamutils.cpp:95: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 95 | #pragma warn +rch njamutils.cpp:114: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 114 | #pragma warn -ccc njamutils.cpp:115: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 115 | #pragma warn -rch njamutils.cpp:126: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 126 | #pragma warn +ccc njamutils.cpp:127: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 127 | #pragma warn +rch njamfont.cpp: In member function ‘bool NjamFont::WriteTextXY(SDL_Surface*, int, int, const char*)’: njamfont.cpp:113:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | if (dest.x > Destination->w) // outside | ^~ njamfont.cpp:116:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 116 | if (Text[i] == ' ' || Text[i] == 10 || Text[i] == 13) // SPACE, NL, CR | ^~ njamfont.cpp:120:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 120 | for (int j=0; j < (sizeof(FontMap)/sizeof(char)); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njammap.cpp: In member function ‘void NjamMap::SetCurrentMap(int)’: njammap.cpp:141:13: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 141 | for (int i=0; i -1 && (m_GameType != gtOnePlayer && m_GameType != gtTwoPlayer)) | ^~ njamnet.cpp:140:24: warning: enumeration value ‘SDLK_MODE’ not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value ‘SDLK_COMPOSE’ not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value ‘SDLK_HELP’ not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value ‘SDLK_PRINT’ not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value ‘SDLK_SYSREQ’ not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value ‘SDLK_BREAK’ not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value ‘SDLK_MENU’ not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value ‘SDLK_POWER’ not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value ‘SDLK_EURO’ not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value ‘SDLK_UNDO’ not handled in switch [-Wswitch] njamnet.cpp:140:24: warning: enumeration value ‘SDLK_LAST’ not handled in switch [-Wswitch] njamnet.cpp: In member function ‘void NjamEngine::RenderNetworkScreen(bool)’: njamnet.cpp:236:9: warning: statement has no effect [-Wunused-value] 236 | m_NetLobbyImage; | ^~~~~~~~~~~~~~~ njamedit.cpp: In member function ‘void NjamEngine::LevelEditor()’: njamedit.cpp:67:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 67 | if (key == SDLK_ESCAPE && (!changed || Query("ARE YOU SURE YOU WISH TO EXIT? (Y/N)"))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamgame.cpp: In member function ‘int NjamEngine::PlayMap(bool)’: njamgame.cpp:282:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 282 | for (int i=0; i 260) // map packed with cookies, add extra bonus time | ^~ njamedit.cpp:153:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 153 | Message("LEVEL IS NOT MARKED AS PLAYABLE. PRESS P TO CHANGE."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamedit.cpp:155:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 155 | Message("THERE MUST BE EXACTLY ONE DOOR ON LEVEL!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamedit.cpp:157:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 157 | Message("THERE MUST BE EXACTLY ONE PENTAGRAM ON LEVEL!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamnet.cpp: In member function ‘bool NjamEngine::EnterServerIP(bool)’: njamnet.cpp:330:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 330 | if (key >= '0' && key <= '9' || key == '.') | ~~~~~~~~~~~^~~~~~~~~~~~~ njamgame.cpp:320:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 320 | if (m_CookiesLeft == 0) | ^~ njamgame.cpp:323:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 323 | bool FrameCounts = true; | ^~~~ njamedit.cpp:198:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 198 | Message("LEVELS SWAPPED"); | ^~~~~~~~~~~~~~~~ njamedit.cpp: In member function ‘void NjamEngine::RenderEditor(bool, int, int, int)’: njamedit.cpp:274:35: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 274 | sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); | ^~ njamutils.cpp: In function ‘bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)’: njamutils.cpp:159:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 159 | if ( SDL_MUSTLOCK(surface) ) | ^~ njamutils.cpp:162:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 162 | return true; | ^~~~~~ njamutils.cpp:135:9: warning: unused variable ‘x’ [-Wunused-variable] 135 | int x, y; | ^ njamutils.cpp:135:12: warning: unused variable ‘y’ [-Wunused-variable] 135 | int x, y; | ^ njamedit.cpp:306:34: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 306 | sprintf(buff, "%d\0", i); | ^~ njamgame.cpp: In member function ‘void NjamEngine::RenderGameScreen()’: njamgame.cpp:529:34: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 529 | sprintf(buff, "%d\0", p->GamePoints); | ^~ njamgame.cpp:583:30: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 583 | sprintf(buff, "%d\0", p->Juice / 20); | ^~ njamgame.cpp:600:35: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 600 | sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); | ^~ njamgame.cpp:606:32: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 606 | sprintf(buff, "PTS: %4d\0", m_Player[0].GamePoints); | ^~ njamgame.cpp:610:29: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 610 | sprintf(buff, "%2.0f FPS\0", m_fps); | ^~ njamedit.cpp: In member function ‘bool NjamEngine::CheckForSave()’: njamedit.cpp:387:85: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 387 | sprintf(message, "THERE MUST BE EXACTLY ONE DOOR ON LEVEL %d\0", i+1); | ^~ njamgame.cpp:505:14: warning: unused variable ‘src’ [-Wunused-variable] 505 | SDL_Rect src, dest; // render background (use part of main menu image) | ^~~ njamedit.cpp:395:90: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 395 | sprintf(message, "THERE MUST BE EXACTLY ONE PENTAGRAM ON LEVEL %d\0", i+1); | ^~ njamedit.cpp:402:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 402 | return Query("ARE YOU SURE (Y/N) ?"); | ^~~~~~~~~~~~~~~~~~~~~~ njamedit.cpp: In member function ‘bool NjamEngine::EnterFileName(char*)’: njamedit.cpp:463:47: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 463 | sprintf(file_name, "%s\0", filename); | ^~ njamgame.cpp: In member function ‘void NjamEngine::MoveGhosts()’: njamgame.cpp:770:68: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 770 | if (s->xo==0 && s->yo==0 && (i%3==gtSTUPID || i%3==gtSMART && s->special==0)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ njamgame.cpp:773:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 773 | if (Paths > 1 && i%3==gtSMART || Paths > 2) | ~~~~~~~~~~^~~~~~~~~~~~~~~ njamgame.cpp: In member function ‘void NjamEngine::MovePlayers()’: njamgame.cpp:1043:20: warning: enumeration value ‘ttEmpty’ not handled in switch [-Wswitch] 1043 | switch (t) | ^ njamgame.cpp:1043:20: warning: enumeration value ‘ttGHouse’ not handled in switch [-Wswitch] njamgame.cpp:1043:20: warning: enumeration value ‘ttDoor’ not handled in switch [-Wswitch] njamgame.cpp:1043:20: warning: enumeration value ‘ttTeleport’ not handled in switch [-Wswitch] njamgame.cpp:1043:20: warning: enumeration value ‘ttGHouseActive’ not handled in switch [-Wswitch] njamgame.cpp: In member function ‘void NjamEngine::DrawGameStats()’: njamgame.cpp:1544:41: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 1544 | sprintf(points, " (%3d)\0", m_Player[i].MapPoints); | ^~ njamgame.cpp:1546:44: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 1546 | sprintf(points, "%01d (%3d)\0", m_Player[i].GamePoints, m_Player[i].MapPoints); | ^~ njamgame.cpp:1551:33: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 1551 | sprintf(points, "%4d\0", m_Player[i].stats.data[j]); | ^~ njamgame.cpp:1558:44: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 1558 | sprintf(points, "POINTS: %d\0", m_Player[0].GamePoints); | ^~ njamutils.cpp:155:33: warning: ‘color’ may be used uninitialized [-Wmaybe-uninitialized] 155 | PutPixel(surface, x, y, color); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ njamutils.cpp:149:32: note: ‘color’ was declared here 149 | Uint32 color; | ^~~~~ njamedit.cpp: In member function ‘int NjamEngine::SelectMap(char, char*, int)’: njamedit.cpp:525:28: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 50 [-Wformat-truncation=] 525 | "%s", ent->d_name); | ^~ In file included from /usr/include/stdio.h:970, from /usr/include/SDL/SDL_stdinc.h:33, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from njamedit.cpp:33: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘int NjamEngine::SelectMap(char, char*, int)’ at njamedit.cpp:524:12: /usr/include/bits/stdio2.h:68:35: note: ‘__builtin_snprintf’ output between 1 and 256 bytes into a destination of size 50 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ njam.cpp: In destructor ‘NjamEngine::~NjamEngine()’: njam.cpp:229:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 229 | if (home) | ^~ njam.cpp:231:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 231 | FILE *fp = fopen(njamconf.c_str(), "w+"); | ^~~~ njam.cpp: In member function ‘void NjamEngine::DoScript()’: njam.cpp:277:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 277 | for (int i=0; i<80; i++) // empty buffer | ^~~ njam.cpp:281:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 281 | int Row = 175 / m_FontBlue->GetCharHeight(); | ^~~ njam.cpp: In member function ‘bool NjamEngine::Init(bool, bool)’: njam.cpp:565:54: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 565 | sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); | ^~ njam.cpp:580:54: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 580 | sprintf(Filename, "skins/Back%03d.bmp\0", i); | ^~ njam.cpp:611:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 611 | if (home) | ^~ njam.cpp:613:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 613 | FILE *fp = fopen(njamconf.c_str(), "r"); | ^~~~ njam.cpp:659:50: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 659 | sprintf(TopTenScores[i].name, "%s\0", DefaultNames[i]); | ^~ njam.cpp:726:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 726 | if(!m_MainMenuMusic) | ^~ njam.cpp:729:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 729 | printf("Loading song: data/ritam.s3m...\n"); | ^~~~~~ njam.cpp:731:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 731 | if(!m_GameMusic1) | ^~ njam.cpp:734:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 734 | printf("Loading song: data/dali.xm...\n"); | ^~~~~~ njam.cpp: In member function ‘void NjamEngine::Start()’: njam.cpp:952:53: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 952 | sprintf(text, "%-11s %2d %5d\0", TopTenScores[i].name, TopTenScores[i].level, TopTenScores[i].points); | ^~ njam.cpp: In function ‘int main(int, char**)’: njam.cpp:113:14: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 113 | chdir(path); | ~~~~~^~~~~~ njam.cpp: In member function ‘void NjamEngine::DoScript()’: njam.cpp:286:14: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 286 | fgets(buffer, 79, script_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ njam.cpp: In member function ‘bool NjamEngine::Init(bool, bool)’: njam.cpp:620:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 620 | fgets(buff, 20, fp); | ~~~~~^~~~~~~~~~~~~~ njam.cpp:671:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 671 | fgets(buff, 40, highscore_fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ njam.cpp:565:46: warning: ‘%03d’ directive writing between 3 and 11 bytes into a region of size 8 [-Wformat-overflow=] 565 | sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); | ^~~~ njam.cpp:565:35: note: directive argument in the range [-2147483647, 2147483647] 565 | sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, 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 njam.cpp:39: In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘bool NjamEngine::Init(bool, bool)’ at njam.cpp:565:10: /usr/include/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 18 and 26 bytes into a destination of size 18 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ njam.cpp: In member function ‘bool NjamEngine::Init(bool, bool)’: njam.cpp:580:46: warning: ‘%03d’ directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] 580 | sprintf(Filename, "skins/Back%03d.bmp\0", i); | ^~~~ njam.cpp:580:35: note: directive argument in the range [0, 2147483646] 580 | sprintf(Filename, "skins/Back%03d.bmp\0", i); | ^~~~~~~~~~~~~~~~~~~~~~ In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘bool NjamEngine::Init(bool, bool)’ at njam.cpp:580:10: /usr/include/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 18 and 25 bytes into a destination of size 18 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ njam.cpp: In member function ‘bool NjamEngine::Init(bool, bool)’: njam.cpp:659:48: warning: ‘%s’ directive writing up to 99 bytes into a region of size 10 [-Wformat-overflow=] 659 | sprintf(TopTenScores[i].name, "%s\0", DefaultNames[i]); | ^~ In function ‘int sprintf(char*, const char*, ...)’, inlined from ‘bool NjamEngine::Init(bool, bool)’ at njam.cpp:659:10: /usr/include/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 1 and 100 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o njam njam.o njamgame.o njamfont.o njamedit.o njammap.o njamnet.o njamutils.o -lSDL_net -lSDL_mixer -lSDL_image -lSDL -lSDL_image -lSDL_mixer -lSDL_net make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src/src' make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src' make[2]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src' + convert -transparent black njamicon.ico njam.png WARNING: The convert command is deprecated in IMv7, use "magick" + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XrbYcG + umask 022 + cd /builddir/build/BUILD/njam-1.25-build + '[' /builddir/build/BUILD/njam-1.25-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/njam-1.25-build/BUILDROOT ++ dirname /builddir/build/BUILD/njam-1.25-build/BUILDROOT + mkdir -p /builddir/build/BUILD/njam-1.25-build + mkdir /builddir/build/BUILD/njam-1.25-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd njam-1.25-src + /usr/bin/make install DESTDIR=/builddir/build/BUILD/njam-1.25-build/BUILDROOT 'INSTALL=/usr/bin/install -p' make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. Making install in src make[1]: Entering directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src/src' make[1]: Circular defaults.h <- Makefile dependency dropped. make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src/src' make[2]: Circular defaults.h <- Makefile dependency dropped. /bin/sh ../mkinstalldirs /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/bin mkdir /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr mkdir /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/bin /usr/bin/install -p njam /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/bin/njam make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src/src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src/src' make[1]: Entering directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src' make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. /bin/sh ./mkinstalldirs /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam; \ /bin/sh ./mkinstalldirs /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/data; \ /bin/sh ./mkinstalldirs /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/skins; \ /bin/sh ./mkinstalldirs /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/html; \ /bin/sh ./mkinstalldirs /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/levels; \ /usr/bin/install -p -m 644 ./njam.conf /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam; \ /usr/bin/install -p -m 644 ./njamicon.ico /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam; \ /usr/bin/install -p -m 644 ./njam.iss /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam; \ /usr/bin/install -p -m 644 ./njam.rc /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam; \ /usr/bin/install -p -m 644 ./hiscore.dat /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam; \ chmod 660 /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/hiscore.dat; \ chgrp games /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/hiscore.dat; \ /usr/bin/install -p -m 644 ./README /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam; \ for file in ./data/*; do \ if test -f $file; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/data; \ fi \ done mkdir /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share mkdir /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam mkdir /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/data mkdir /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/skins mkdir /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/html mkdir /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/levels chgrp: changing group of '/builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/hiscore.dat': Operation not permitted for file in ./skins/*; do \ if test -f $file; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/skins; \ fi \ done for file in ./html/*; do \ if test -f $file; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/html; \ fi \ done for file in ./levels/*; do \ if test -f "$file"; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/levels; \ fi \ done make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-build/njam-1.25-src' + rm /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/README + rm /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/levels/readme.txt + rm -fr /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/html + rm /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/njam.conf /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/njam.iss /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/njam.rc + rm /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/njamicon.ico + mkdir -p /builddir/build/BUILD/njam-1.25-build/BUILDROOT/var/lib/games + mv /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/njam/hiscore.dat /builddir/build/BUILD/njam-1.25-build/BUILDROOT/var/lib/games/njam.hs + mkdir -p /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/man/man6 + install -m 644 /builddir/build/SOURCES/njam.6 /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/man/man6 + mkdir -p /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/applications + desktop-file-install --dir /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/applications /builddir/build/SOURCES/njam.desktop + mkdir -p /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/icons/hicolor/32x32/apps + install -p -m 644 njam.png /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/icons/hicolor/32x32/apps + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 1.25-45.fc41 --unique-debug-suffix -1.25-45.fc41.riscv64 --unique-debug-src-base njam-1.25-45.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/njam-1.25-build/njam-1.25-src find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/njam-1.25-45.fc41.riscv64 282 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j64 /builddir/build/BUILD/njam-1.25-build/BUILDROOT Scanned 26 directories and 89 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/njam-1.25-build/SPECPARTS/rpm-debuginfo.specpart Processing files: njam-1.25-45.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xl64x2 + umask 022 + cd /builddir/build/BUILD/njam-1.25-build + cd njam-1.25-src + DOCDIR=/builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/doc/njam + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/doc/njam + cp -pr /builddir/build/BUILD/njam-1.25-build/njam-1.25-src/COPYING /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/doc/njam + cp -pr /builddir/build/BUILD/njam-1.25-build/njam-1.25-src/ChangeLog /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/doc/njam + cp -pr /builddir/build/BUILD/njam-1.25-build/njam-1.25-src/NEWS /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/doc/njam + cp -pr /builddir/build/BUILD/njam-1.25-build/njam-1.25-src/README /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/doc/njam + cp -pr /builddir/build/BUILD/njam-1.25-build/njam-1.25-src/TODO /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/doc/njam + cp -pr /builddir/build/BUILD/njam-1.25-build/njam-1.25-src/levels/readme.txt /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/doc/njam + cp -pr /builddir/build/BUILD/njam-1.25-build/njam-1.25-src/html /builddir/build/BUILD/njam-1.25-build/BUILDROOT/usr/share/doc/njam + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(njam.desktop) config(njam) = 1.25-45.fc41 njam = 1.25-45.fc41 njam(riscv-64) = 1.25-45.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libSDL_net-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Recommends: group(games) Processing files: njam-debugsource-1.25-45.fc41.riscv64 Provides: njam-debugsource = 1.25-45.fc41 njam-debugsource(riscv-64) = 1.25-45.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: njam-debuginfo-1.25-45.fc41.riscv64 Provides: debuginfo(build-id) = fa2fb05bce2ae2e3739bb1e05eaba1069c660206 njam-debuginfo = 1.25-45.fc41 njam-debuginfo(riscv-64) = 1.25-45.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: njam-debugsource(riscv-64) = 1.25-45.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/njam-1.25-build/BUILDROOT Wrote: /builddir/build/RPMS/njam-debugsource-1.25-45.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/njam-debuginfo-1.25-45.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/njam-1.25-45.fc41.riscv64.rpm RPM build warnings: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz Child return code was: 0