Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/njam.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672008879.653743/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s55cq4t_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s55cq4t_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'da5458b6685741f0b4288a419b31e994', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672008879.653743/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s55cq4t_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target ppc64le --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 warning: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1669507200 Wrote: /builddir/build/SRPMS/njam-1.25-40.fc38.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 --target ppc64le --nodeps /builddir/build/SPECS/njam.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672008879.653743/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s55cq4t_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s55cq4t_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'd8513f7b19174defab1f5cbb59598c61', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672008879.653743/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s55cq4t_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target ppc64le --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 warning: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1669507200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PaNGck + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 + echo 'Patch #1 (njam-1.25-html.patch):' 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.YCfbn1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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.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' + 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' + '[' 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=powerpc64le-redhat-linux-gnu --host=powerpc64le-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 powerpc64le-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 powerpc64le-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 -j5 make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make all-recursive make[1]: Entering directory '/builddir/build/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-src/src' echo '// This file is generated from makefile. Do not edit!' > defaults.h make[2]: Circular defaults.h <- Makefile dependency dropped. 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njam.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamfont.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamgame.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamedit.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njammap.cpp 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++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamgame.cpp: In member function 'void NjamEngine::StartGame(GameType)': njamgame.cpp:104:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 104 | else // select random map for duel | ^~~~ njamgame.cpp:107:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 107 | if (m_GameType != gtJoinDuel) | ^~ njamgame.cpp:124:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 124 | if (Winner == etLevelWon && m_CurrentMap == m_Levels - 1) // all levels passed | ^~ njamgame.cpp:127:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 127 | if (Winner > -1 && (m_GameType != gtOnePlayer && m_GameType != gtTwoPlayer)) | ^~ 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 | ^~ 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; | ^~~~ 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); | ^~ njamgame.cpp:505:14: warning: unused variable 'src' [-Wunused-variable] 505 | SDL_Rect src, dest; // render background (use part of main menu image) | ^~~ 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) | ~~~~~~~~~~^~~~~~~~~~~~~~~ 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)"))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~ 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::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] 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); | ^~ 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::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); | ^~ 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= '0' && key <= '9' || key == '.') | ~~~~~~~~~~~^~~~~~~~~~~~~ njamedit.cpp: In member function '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:906, 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 '*__snprintfieee128', inlined from 'NjamEngine::SelectMap(char, char*, int)' at njamedit.cpp:524:12: /usr/include/bits/stdio2.h:54:35: note: '*__snprintfieee128' output between 1 and 256 bytes into a destination of size 50 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamutils.cpp 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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 | 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; | ^ 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; | ^~~~~ 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:906, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4072, from /usr/include/c++/13/string:54, from njam.cpp:39: In function '*__sprintfieee128', inlined from 'NjamEngine::Init(bool, bool)' at njam.cpp:565:10: /usr/include/bits/stdio2.h:30:34: note: '*__sprintf_chkieee128' 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 '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 '*__sprintfieee128', inlined from 'NjamEngine::Init(bool, bool)' at njam.cpp:580:10: /usr/include/bits/stdio2.h:30:34: note: '*__sprintf_chkieee128' 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 '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 '*__sprintfieee128', inlined from 'NjamEngine::Init(bool, bool)' at njam.cpp:659:10: /usr/include/bits/stdio2.h:30:34: note: '*__sprintf_chkieee128' 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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-src/src' make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-src' make[2]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' + convert -transparent black njamicon.ico njam.png + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kmJWk6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/BUILDROOT/njam-1.25-40.fc38.ppc64le '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-src/src' make[1]: Circular defaults.h <- Makefile dependency dropped. make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-src/src' make[2]: Circular defaults.h <- Makefile dependency dropped. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/bin mkdir /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr mkdir /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/bin /usr/bin/install -p njam /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/bin/njam make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src/src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-src/src' make[1]: Entering directory '/builddir/build/BUILD/njam-1.25-src' make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Entering directory '/builddir/build/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/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/data; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/skins; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/html; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/levels; \ /usr/bin/install -p -m 644 ./njam.conf /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam; \ /usr/bin/install -p -m 644 ./njamicon.ico /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam; \ /usr/bin/install -p -m 644 ./njam.iss /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam; \ /usr/bin/install -p -m 644 ./njam.rc /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam; \ /usr/bin/install -p -m 644 ./hiscore.dat /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam; \ chmod 660 /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/hiscore.dat; \ chgrp games /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/hiscore.dat; \ /usr/bin/install -p -m 644 ./README /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam; \ for file in ./data/*; do \ if test -f $file; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/data; \ fi \ done mkdir /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share mkdir /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam mkdir /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/data mkdir /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/skins mkdir /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/html mkdir /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/levels chgrp: changing group of '/builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/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/BUILDROOT/njam-1.25-40.fc38.ppc64le/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/BUILDROOT/njam-1.25-40.fc38.ppc64le/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/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/levels; \ fi \ done make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' + rm /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/README + rm /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/levels/readme.txt + rm -fr /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/html + rm /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/njam.conf /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/njam.iss /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/njam.rc + rm /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/njamicon.ico + mkdir -p /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/var/lib/games + mv /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/njam/hiscore.dat /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/var/lib/games/njam.hs + mkdir -p /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/man/man6 + install -m 644 /builddir/build/SOURCES/njam.6 /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/man/man6 + mkdir -p /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/applications /builddir/build/SOURCES/njam.desktop + mkdir -p /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/icons/hicolor/32x32/apps + install -p -m 644 njam.png /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/icons/hicolor/32x32/apps + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 1.25-40.fc38 --unique-debug-suffix -1.25-40.fc38.ppc64le --unique-debug-src-base njam-1.25-40.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/njam-1.25-src extracting debug info from /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/bin/njam original debug info size: 384kB, size after compression: 320kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 282 blocks + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: njam-1.25-40.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NXktJ8 + umask 022 + cd /builddir/build/BUILD + cd njam-1.25-src + DOCDIR=/builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/doc/njam + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/doc/njam + cp -pr COPYING /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/doc/njam + cp -pr ChangeLog /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/doc/njam + cp -pr NEWS /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/doc/njam + cp -pr README /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/doc/njam + cp -pr TODO /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/doc/njam + cp -pr levels/readme.txt /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/doc/njam + cp -pr html /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le/usr/share/doc/njam + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(njam.desktop) config(njam) = 1.25-40.fc38 njam = 1.25-40.fc38 njam(ppc-64) = 1.25-40.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(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) Processing files: njam-debugsource-1.25-40.fc38.ppc64le Provides: njam-debugsource = 1.25-40.fc38 njam-debugsource(ppc-64) = 1.25-40.fc38 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-40.fc38.ppc64le Provides: debuginfo(build-id) = 7e7e08e4d53de08db354121c94d606ca1191cc13 njam-debuginfo = 1.25-40.fc38 njam-debuginfo(ppc-64) = 1.25-40.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: njam-debugsource(ppc-64) = 1.25-40.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le Wrote: /builddir/build/RPMS/njam-debugsource-1.25-40.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/njam-debuginfo-1.25-40.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/njam-1.25-40.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uOcoRb + umask 022 + cd /builddir/build/BUILD + cd njam-1.25-src + /usr/bin/rm -rf /builddir/build/BUILDROOT/njam-1.25-40.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.X0pixl + umask 022 + cd /builddir/build/BUILD + rm -rf njam-1.25-src njam-1.25-src.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Macro expanded in comment on line 8: %{name}/%{name}-%{version}-src.tar.gz Child return code was: 0