Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target s390x --nodeps /builddir/build/SPECS/2048-cli.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1671746192.643132/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3ff7fb07ad0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o5mxpf5v:/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.o5mxpf5v:/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', '28b3fd6a8b514712bf0027cf14c1e482', '-D', '/var/lib/mock/fedora-rawhide-s390x-1671746192.643132/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o5mxpf5v:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target s390x --nodeps /builddir/build/SPECS/2048-cli.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
warning: extra tokens at the end of %endif directive in line 14:  %endif # 0%%{?rel_build}
warning: extra tokens at the end of %else directive in line 22:  %else  # 0%%{?fedora} || 0%%{?rhel} >= 8
warning: extra tokens at the end of %endif directive in line 24:  %endif # 0%%{?fedora} || 0%%{?rhel} >= 8
warning: extra tokens at the end of %else directive in line 36:  %else  # 0%%{?rel_build}
warning: extra tokens at the end of %endif directive in line 39:  %endif # 0%%{?rel_build}
warning: extra tokens at the end of %endif directive in line 67:  %endif # %%{with sdl}
warning: extra tokens at the end of %endif directive in line 82:  %endif # %%{with sdl}
warning: extra tokens at the end of %endif directive in line 97:  %endif # %%{with sdl}
warning: extra tokens at the end of %endif directive in line 123:  %endif # %%{with sdl}
Building target platforms: s390x
Building for target s390x
setting SOURCE_DATE_EPOCH=1658275200
Wrote: /builddir/build/SRPMS/2048-cli-0.9.1-14.fc38.src.rpm
RPM build warnings:
    extra tokens at the end of %endif directive in line 14:  %endif # 0%%{?rel_build}
    extra tokens at the end of %else directive in line 22:  %else  # 0%%{?fedora} || 0%%{?rhel} >= 8
    extra tokens at the end of %endif directive in line 24:  %endif # 0%%{?fedora} || 0%%{?rhel} >= 8
    extra tokens at the end of %else directive in line 36:  %else  # 0%%{?rel_build}
    extra tokens at the end of %endif directive in line 39:  %endif # 0%%{?rel_build}
    extra tokens at the end of %endif directive in line 67:  %endif # %%{with sdl}
    extra tokens at the end of %endif directive in line 82:  %endif # %%{with sdl}
    extra tokens at the end of %endif directive in line 97:  %endif # %%{with sdl}
    extra tokens at the end of %endif directive in line 123:  %endif # %%{with sdl}
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target s390x --nodeps /builddir/build/SPECS/2048-cli.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1671746192.643132/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3ff7fb07ad0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o5mxpf5v:/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.o5mxpf5v:/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', '3d11243ed5614404890ba19729592e75', '-D', '/var/lib/mock/fedora-rawhide-s390x-1671746192.643132/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o5mxpf5v:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target s390x --nodeps /builddir/build/SPECS/2048-cli.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
warning: extra tokens at the end of %endif directive in line 14:  %endif # 0%%{?rel_build}
warning: extra tokens at the end of %else directive in line 22:  %else  # 0%%{?fedora} || 0%%{?rhel} >= 8
warning: extra tokens at the end of %endif directive in line 24:  %endif # 0%%{?fedora} || 0%%{?rhel} >= 8
warning: extra tokens at the end of %else directive in line 36:  %else  # 0%%{?rel_build}
warning: extra tokens at the end of %endif directive in line 39:  %endif # 0%%{?rel_build}
warning: extra tokens at the end of %endif directive in line 67:  %endif # %%{with sdl}
warning: extra tokens at the end of %endif directive in line 82:  %endif # %%{with sdl}
warning: extra tokens at the end of %endif directive in line 97:  %endif # %%{with sdl}
warning: extra tokens at the end of %endif directive in line 123:  %endif # %%{with sdl}
Building target platforms: s390x
Building for target s390x
setting SOURCE_DATE_EPOCH=1658275200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9NTctc
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf 2048-cli-0.9.1
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/2048-cli-0.9.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd 2048-cli-0.9.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.T0wY4N
+ 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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 2048-cli-0.9.1
+ export TTF_FONT_PATH=/usr/share/fonts/liberation/LiberationMono-Regular.ttf
+ TTF_FONT_PATH=/usr/share/fonts/liberation/LiberationMono-Regular.ttf
+ 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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name 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
grep: ./configure: No such file or directory
+ ./configure --build=s390x-redhat-linux-gnu --host=s390x-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
/var/tmp/rpm-tmp.T0wY4N: line 75: ./configure: No such file or directory
+ :
+ /usr/bin/make -j2 terminal
gcc -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 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -DTTF_FONT_PATH="\"/usr/share/fonts/liberation/LiberationMono-Regular.ttf\"" -Wno-visibility -Wno-incompatible-pointer-types -Wall -Wextra -DINVERT_COLORS -DVT100 -O2 src/ai.c src/engine.c src/highscore.c src/main.c src/options.c src/merge_std.c src/gfx_terminal.c -o 2048 -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
+ /usr/bin/mv -f 2048 2048nc
+ /usr/bin/make -j2 sdl
gcc -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 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -DTTF_FONT_PATH="\"/usr/share/fonts/liberation/LiberationMono-Regular.ttf\"" -Wno-visibility -Wno-incompatible-pointer-types -Wall -Wextra -DINVERT_COLORS -DVT100 -O2 src/ai.c src/engine.c src/highscore.c src/main.c src/options.c src/merge_std.c src/gfx_sdl.c -o 2048 -I/usr/include/SDL2 -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 -lSDL2 -lSDL2_ttf
+ /usr/bin/mv -f 2048 2048sdl
+ /usr/bin/make -j2 curses
gcc -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 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -DTTF_FONT_PATH="\"/usr/share/fonts/liberation/LiberationMono-Regular.ttf\"" -Wno-visibility -Wno-incompatible-pointer-types -Wall -Wextra -DINVERT_COLORS -DVT100 -O2 src/ai.c src/engine.c src/highscore.c src/main.c src/options.c src/merge_std.c src/gfx_curses.c -o 2048 -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 -lcurses
src/gfx_curses.c: In function 'gfx_draw':
src/gfx_curses.c:62:45: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
   62 |         mvwprintw(s->window, 0, 0, "Score: %d (+%d)\n", g->score, g->score_last);
      |                                            ~^           ~~~~~~~~
      |                                             |            |
      |                                             int          long int
      |                                            %ld
src/gfx_curses.c:62:50: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
   62 |         mvwprintw(s->window, 0, 0, "Score: %d (+%d)\n", g->score, g->score_last);
      |                                                 ~^                ~~~~~~~~~~~~~
      |                                                  |                 |
      |                                                  int               long int
      |                                                 %ld
src/gfx_curses.c:64:45: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
   64 |         mvwprintw(s->window, 0, 0, "Score: %d\n", g->score);
      |                                            ~^     ~~~~~~~~
      |                                             |      |
      |                                             int    long int
      |                                            %ld
src/gfx_curses.c:66:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
   66 |     mvwprintw(s->window, 1, 0, "   Hi: %d\n", g->score_high);
      |                                        ~^     ~~~~~~~~~~~~~
      |                                         |      |
      |                                         int    long int
      |                                        %ld
At top level:
cc1: note: unrecognized command-line option '-Wno-visibility' may have been intended to silence earlier diagnostics
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ziKBL3
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x
++ dirname /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x
+ 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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 -march=z13 -mtune=z14 -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 2048-cli-0.9.1
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/bin /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/man/man1 /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/doc/2048-cli
+ /usr/bin/install -pm 0755 2048 2048nc /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/bin
+ /usr/bin/install -pm 0644 man/2048.1 /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/man/man1/2048.1
+ /usr/bin/install -pm 0644 man/2048.1 /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/man/man1/2048nc.1
+ /usr/bin/install -pm 0755 2048sdl /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/bin
+ /usr/bin/install -pm 0644 man/2048.1 /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/man/man1/2048sdl.1
+ /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.9.1-14.fc38 --unique-debug-suffix -0.9.1-14.fc38.s390x --unique-debug-src-base 2048-cli-0.9.1-14.fc38.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/2048-cli-0.9.1
extracting debug info from /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/bin/2048
extracting debug info from /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/bin/2048nc
extracting debug info from /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/bin/2048sdl
original debug info size: 244kB, size after compression: 220kB
/usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match.
61 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: 2048-cli-0.9.1-14.fc38.s390x
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Wu5RN0
+ umask 022
+ cd /builddir/build/BUILD
+ cd 2048-cli-0.9.1
+ DOCDIR=/builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/doc/2048-cli
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/doc/2048-cli
+ cp -pr README.md /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/doc/2048-cli
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cQYFZd
+ umask 022
+ cd /builddir/build/BUILD
+ cd 2048-cli-0.9.1
+ LICENSEDIR=/builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/licenses/2048-cli
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/licenses/2048-cli
+ cp -pr LICENSE /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x/usr/share/licenses/2048-cli
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: 2048-cli = 0.9.1-14.fc38 2048-cli(s390-64) = 0.9.1-14.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH)
Processing files: 2048-cli-nocurses-0.9.1-14.fc38.s390x
Provides: 2048-cli-nocurses = 0.9.1-14.fc38 2048-cli-nocurses(s390-64) = 0.9.1-14.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH)
Processing files: 2048-cli-sdl-0.9.1-14.fc38.s390x
Provides: 2048-cli-sdl = 0.9.1-14.fc38 2048-cli-sdl(s390-64) = 0.9.1-14.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libSDL2-2.0.so.0()(64bit) libSDL2_ttf-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH)
Processing files: 2048-cli-debugsource-0.9.1-14.fc38.s390x
Provides: 2048-cli-debugsource = 0.9.1-14.fc38 2048-cli-debugsource(s390-64) = 0.9.1-14.fc38
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: 2048-cli-debuginfo-0.9.1-14.fc38.s390x
Provides: 2048-cli-debuginfo = 0.9.1-14.fc38 2048-cli-debuginfo(s390-64) = 0.9.1-14.fc38 debuginfo(build-id) = 055736105e993b71775d328a21e70dd25b537060
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: 2048-cli-debugsource(s390-64) = 0.9.1-14.fc38
Processing files: 2048-cli-nocurses-debuginfo-0.9.1-14.fc38.s390x
Provides: 2048-cli-nocurses-debuginfo = 0.9.1-14.fc38 2048-cli-nocurses-debuginfo(s390-64) = 0.9.1-14.fc38 debuginfo(build-id) = cd9f6ea2f7404337269935eaa1c9d1af0bd69042
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: 2048-cli-debugsource(s390-64) = 0.9.1-14.fc38
Processing files: 2048-cli-sdl-debuginfo-0.9.1-14.fc38.s390x
Provides: 2048-cli-sdl-debuginfo = 0.9.1-14.fc38 2048-cli-sdl-debuginfo(s390-64) = 0.9.1-14.fc38 debuginfo(build-id) = d56d1da59972206da79d35377621a4810b7c5180
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: 2048-cli-debugsource(s390-64) = 0.9.1-14.fc38
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x
Wrote: /builddir/build/RPMS/2048-cli-debuginfo-0.9.1-14.fc38.s390x.rpm
Wrote: /builddir/build/RPMS/2048-cli-sdl-debuginfo-0.9.1-14.fc38.s390x.rpm
Wrote: /builddir/build/RPMS/2048-cli-sdl-0.9.1-14.fc38.s390x.rpm
Wrote: /builddir/build/RPMS/2048-cli-nocurses-debuginfo-0.9.1-14.fc38.s390x.rpm
Wrote: /builddir/build/RPMS/2048-cli-0.9.1-14.fc38.s390x.rpm
Wrote: /builddir/build/RPMS/2048-cli-debugsource-0.9.1-14.fc38.s390x.rpm
Wrote: /builddir/build/RPMS/2048-cli-nocurses-0.9.1-14.fc38.s390x.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.nlqsav
+ umask 022
+ cd /builddir/build/BUILD
+ cd 2048-cli-0.9.1
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.s390x
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.5SqCXZ
+ umask 022
+ cd /builddir/build/BUILD
+ rm -rf 2048-cli-0.9.1 2048-cli-0.9.1.gemspec
+ RPM_EC=0
++ jobs -p
+ exit 0
RPM build warnings:
    extra tokens at the end of %endif directive in line 14:  %endif # 0%%{?rel_build}
    extra tokens at the end of %else directive in line 22:  %else  # 0%%{?fedora} || 0%%{?rhel} >= 8
    extra tokens at the end of %endif directive in line 24:  %endif # 0%%{?fedora} || 0%%{?rhel} >= 8
    extra tokens at the end of %else directive in line 36:  %else  # 0%%{?rel_build}
    extra tokens at the end of %endif directive in line 39:  %endif # 0%%{?rel_build}
    extra tokens at the end of %endif directive in line 67:  %endif # %%{with sdl}
    extra tokens at the end of %endif directive in line 82:  %endif # %%{with sdl}
    extra tokens at the end of %endif directive in line 97:  %endif # %%{with sdl}
    extra tokens at the end of %endif directive in line 123:  %endif # %%{with sdl}
Child return code was: 0