Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/2048-cli.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1671746179.959199/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.xjx7abev:/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.xjx7abev:/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', '2dd346b30a384661997ddb973efb5e67', '-D', '/var/lib/mock/fedora-rawhide-i686-1671746179.959199/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xjx7abev:/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 i686 --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;\\007"', 'PS1': ' \\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: i686 Building for target i686 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 i686 --nodeps /builddir/build/SPECS/2048-cli.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1671746179.959199/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.xjx7abev:/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.xjx7abev:/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', '3f39a65e6fcb44dcad8296ffac664089', '-D', '/var/lib/mock/fedora-rawhide-i686-1671746179.959199/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xjx7abev:/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 i686 --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;\\007"', 'PS1': ' \\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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9RtsN6 + 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.l7iOKJ + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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=i686-redhat-linux-gnu --host=i686-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info /var/tmp/rpm-tmp.l7iOKJ: 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 src/gfx_terminal.c: In function 'gfx_draw': src/gfx_terminal.c:54:28: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'long int' [-Wformat=] 54 | printf("%*zd |", g->print_width, merge_value(g->grid[x][y])); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %*ld At top level: cc1: note: unrecognized command-line option '-Wno-visibility' may have been intended to silence earlier diagnostics + /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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.ofC8Gw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386 ++ dirname /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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.i386/usr/bin /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/usr/share/man/man1 /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/usr/share/doc/2048-cli + /usr/bin/install -pm 0755 2048 2048nc /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/usr/bin + /usr/bin/install -pm 0644 man/2048.1 /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/usr/share/man/man1/2048.1 + /usr/bin/install -pm 0644 man/2048.1 /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/usr/share/man/man1/2048nc.1 + /usr/bin/install -pm 0755 2048sdl /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/usr/bin + /usr/bin/install -pm 0644 man/2048.1 /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/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.i386 --unique-debug-src-base 2048-cli-0.9.1-14.fc38.i386 --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.i386/usr/bin/2048nc extracting debug info from /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/usr/bin/2048 extracting debug info from /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/usr/bin/2048sdl original debug info size: 204kB, size after compression: 196kB /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.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oR0gkX + umask 022 + cd /builddir/build/BUILD + cd 2048-cli-0.9.1 + DOCDIR=/builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/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.i386/usr/share/doc/2048-cli + cp -pr README.md /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/usr/share/doc/2048-cli + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RoJrR9 + umask 022 + cd /builddir/build/BUILD + cd 2048-cli-0.9.1 + LICENSEDIR=/builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/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.i386/usr/share/licenses/2048-cli + cp -pr LICENSE /builddir/build/BUILDROOT/2048-cli-0.9.1-14.fc38.i386/usr/share/licenses/2048-cli + RPM_EC=0 ++ jobs -p + exit 0 Provides: 2048-cli = 0.9.1-14.fc38 2048-cli(x86-32) = 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libncurses.so.6 libtinfo.so.6 rtld(GNU_HASH) Processing files: 2048-cli-nocurses-0.9.1-14.fc38.i686 Provides: 2048-cli-nocurses = 0.9.1-14.fc38 2048-cli-nocurses(x86-32) = 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) rtld(GNU_HASH) Processing files: 2048-cli-sdl-0.9.1-14.fc38.i686 Provides: 2048-cli-sdl = 0.9.1-14.fc38 2048-cli-sdl(x86-32) = 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 libSDL2_ttf-2.0.so.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) rtld(GNU_HASH) Processing files: 2048-cli-debugsource-0.9.1-14.fc38.i686 Provides: 2048-cli-debugsource = 0.9.1-14.fc38 2048-cli-debugsource(x86-32) = 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.i686 Provides: 2048-cli-debuginfo = 0.9.1-14.fc38 2048-cli-debuginfo(x86-32) = 0.9.1-14.fc38 debuginfo(build-id) = 517f4cde2c0e3e1c321e18cf8141dc5ff161e01e Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: 2048-cli-debugsource(x86-32) = 0.9.1-14.fc38 Processing files: 2048-cli-nocurses-debuginfo-0.9.1-14.fc38.i686 Provides: 2048-cli-nocurses-debuginfo = 0.9.1-14.fc38 2048-cli-nocurses-debuginfo(x86-32) = 0.9.1-14.fc38 debuginfo(build-id) = d89e24509aaad48f8a4ba929aa21cfa1483a7851 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: 2048-cli-debugsource(x86-32) = 0.9.1-14.fc38 Processing files: 2048-cli-sdl-debuginfo-0.9.1-14.fc38.i686 Provides: 2048-cli-sdl-debuginfo = 0.9.1-14.fc38 2048-cli-sdl-debuginfo(x86-32) = 0.9.1-14.fc38 debuginfo(build-id) = 0c6e9f428d635d1edae56801ec1e9af241862630 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: 2048-cli-debugsource(x86-32) = 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.i386 Wrote: /builddir/build/RPMS/2048-cli-debuginfo-0.9.1-14.fc38.i686.rpm Wrote: /builddir/build/RPMS/2048-cli-sdl-debuginfo-0.9.1-14.fc38.i686.rpm Wrote: /builddir/build/RPMS/2048-cli-nocurses-debuginfo-0.9.1-14.fc38.i686.rpm Wrote: /builddir/build/RPMS/2048-cli-debugsource-0.9.1-14.fc38.i686.rpm Wrote: /builddir/build/RPMS/2048-cli-sdl-0.9.1-14.fc38.i686.rpm Wrote: /builddir/build/RPMS/2048-cli-0.9.1-14.fc38.i686.rpm Wrote: /builddir/build/RPMS/2048-cli-nocurses-0.9.1-14.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Xi4Sfe + 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.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.t5AGUk + 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