Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pmars.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672130300.978029/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nwvkoj1x:/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.nwvkoj1x:/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', '26b955eb7c7c491f8ec9099dfd282660', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672130300.978029/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nwvkoj1x:/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 x86_64 --nodeps /builddir/build/SPECS/pmars.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1671580800 Wrote: /builddir/build/SRPMS/pmars-0.9.2-27.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pmars.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672130300.978029/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nwvkoj1x:/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.nwvkoj1x:/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', 'f6d10075a6334274b4f79d8aeb9a2aff', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672130300.978029/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nwvkoj1x:/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 x86_64 --nodeps /builddir/build/SPECS/pmars.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1671580800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dsMvF3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pmars-0.9.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pmars-0.9.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pmars-0.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (pmars-0.9.2-nostrip.patch): + echo 'Patch #0 (pmars-0.9.2-nostrip.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .nostrip --fuzz=0 patching file src/Makefile Patch #1 (pmars-0.9.2-CCat.patch): + echo 'Patch #1 (pmars-0.9.2-CCat.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .CCat --fuzz=0 patching file src/Makefile Patch #2 (pmars-sfprintf-format.patch): + echo 'Patch #2 (pmars-sfprintf-format.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .printf --fuzz=0 patching file src/asm.c patching file src/cdb.c patching file src/xwindisp.c patching file src/clparse.c + mkdir doc_install + cp -a doc doc_install + rm doc_install/doc/pmars.6 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8R71m6 + 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 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 pmars-0.9.2 + make -C 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89' make: Entering directory '/builddir/build/BUILD/pmars-0.9.2/src' Making pmars with compiler flags -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 Compiling pmars.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c pmars.c Compiling asm.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c asm.c asm.c: In function 'addsym': asm.c:306:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 306 | if ((symgrp = (grp_st *) MALLOC(sizeof(grp_st))) != NULL) | ^ asm.c: In function 'addline': asm.c:370:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 370 | if ((temp = (line_st *) MALLOC(sizeof(line_st))) != NULL) | ^ asm.c: In function 'encode': asm.c:1490:25: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1490 | else if (resultB) | ^ asm.c: In function 'parse': asm.c:2011:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2011 | if (opcode < OPNUM) | ^ Compiling eval.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c eval.c Compiling disasm.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c disasm.c In file included from disasm.c:26: sim.h:92:12: warning: built-in function 'round' declared as non-function [-Wbuiltin-declaration-mismatch] 92 | extern int round; | ^~~~~ Compiling cdb.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c cdb.c In file included from cdb.c:30: sim.h:92:12: warning: built-in function 'round' declared as non-function [-Wbuiltin-declaration-mismatch] 92 | extern int round; | ^~~~~ cdb.c: In function 'cdb': cdb.c:523:11: warning: the address of 'argStr' will always evaluate as 'true' [-Waddress] 523 | if (argStr) { | ^~~~~~ cdb.c: In function 'subst_eval': cdb.c:1550:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1550 | sprintf(outs, "%d", (targetID == QUEUE || targetID == PSP ? | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int | %ld 1551 | 0 : (targetID == WARRIOR ? | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int 1552 | W - warrior : progCnt))); | ~~~~~~~~~~~~~~~~~~~~~~~ cdb.c:1558:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1558 | sprintf(outs, "%d", (targetID == QUEUE || targetID == PSP ? | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int | %ld 1559 | 0 : (targetID == WARRIOR ? | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int 1560 | W - warrior : progCnt))); | ~~~~~~~~~~~~~~~~~~~~~~~ cdb.c:1563:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1563 | sprintf(outs, "%d", (cycle + (warriorsLeft ? warriorsLeft : 1) - 1) / | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld 1564 | (warriorsLeft ? warriorsLeft : 1)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cdb.c:1507:29: warning: unused variable 'tmp' [-Wunused-variable] 1507 | int bi1 = 0, bi2 = 1, tmp, i; | ^~~ cdb.c: In function 'load_macros': cdb.c:2234:47: warning: '%s' directive writing up to 255 bytes into a region of size 244 [-Wformat-overflow=] 2234 | sprintf(buffer1 + j + 1, " echo Macro %s is too long (>= %d chars)~reset", | ^~ 2235 | buffer1, MAXSTR); | ~~~~~~~ In file included from /usr/include/stdio.h:906, from global.h:29, from cdb.c:29: In function 'sprintf', inlined from 'load_macros' at cdb.c:2234:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 46 and 301 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:30:10: warning: '__sprintf_chk' argument 5 may overlap destination object 'buffer1' [-Wrestrict] cdb.c: In function 'load_macros': cdb.c:327:27: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 327 | char outs[MAXSTR + 1], buffer1[MAXSTR + 1], buffer2[MAXSTR + 1]; | ^~~~~~~ cdb.c: In function 'cdb': cdb.c:1002:10: warning: 'returnValue' may be used uninitialized [-Wmaybe-uninitialized] 1002 | return returnValue; | ^~~~~~~~~~~ cdb.c:364:20: note: 'returnValue' was declared here 364 | int argType, returnValue; | ^~~~~~~~~~~ Compiling sim.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c sim.c In file included from sim.c:29: sim.h:92:12: warning: built-in function 'round' declared as non-function [-Wbuiltin-declaration-mismatch] 92 | extern int round; | ^~~~~ In file included from sim.c:92: xwindisp.c: In function 'conv_key': xwindisp.c:713:39: warning: pointer targets in passing argument 2 of 'XLookupString' differ in signedness [-Wpointer-sign] 713 | count = XLookupString(&event->xkey, buffer, 20, &keysym, &compose); | ^~~~~~ | | | unsigned char * In file included from xwindisp.c:40: /usr/include/X11/Xutil.h:536:5: note: expected 'char *' but argument is of type 'unsigned char *' 536 | char* /* buffer_return */, | ^~~~~ xwindisp.c: In function 'xWin_display_cycle': xwindisp.c:1284:9: warning: implicit declaration of function 'sighandler'; did you mean 'sa_handler'? [-Wimplicit-function-declaration] 1284 | sighandler(0); /* ??? debugState = STEP; *//* stepping = | ^~~~~~~~~~ | sa_handler xwindisp.c: In function 'init_xwin': xwindisp.c:1642:29: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 1642 | pmarsicn_bits, pmarsicn_width, pmarsicn_height); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/X11/Xlib.h:47, from xwindisp.c:39: /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ Compiling pos.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c pos.c In file included from pos.c:24: sim.h:92:12: warning: built-in function 'round' declared as non-function [-Wbuiltin-declaration-mismatch] 92 | extern int round; | ^~~~~ Compiling clparse.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c clparse.c clparse.c: In function 'next_input': clparse.c:227:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 227 | fscanf(filep, "%s", inputs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ clparse.c:234:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 234 | fscanf(filep, "%[^\"]%*[\"]", inputs + i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clparse.c:237:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 237 | fgets(inputs, 100, filep); | ^~~~~~~~~~~~~~~~~~~~~~~~~ clparse.c:239:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 239 | fscanf(filep, "%s", inputs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling global.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c global.c Compiling token.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c token.c Compiling str_eng.o 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DEXT94 -DXWINGRAPHX -DPERMUTATE -std=gnu89 -c str_eng.c Linking pmars gcc -o pmars pmars.o asm.o eval.o disasm.o cdb.o sim.o pos.o clparse.o global.o token.o str_eng.o -L/usr/X11R6/lib -lX11 done make: Leaving directory '/builddir/build/BUILD/pmars-0.9.2/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qjGKNQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64 + 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 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 pmars-0.9.2 + rm -rf /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64 + install -D -p -m 755 src/pmars /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/bin/pmars + install -D -p -m 644 doc/pmars.6 /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/man/man6/pmars.6 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.9.2-27.fc38 --unique-debug-suffix -0.9.2-27.fc38.x86_64 --unique-debug-src-base pmars-0.9.2-27.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pmars-0.9.2 extracting debug info from /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/bin/pmars original debug info size: 316kB, size after compression: 296kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 598 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: pmars-0.9.2-27.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.a9qQkE + umask 022 + cd /builddir/build/BUILD + cd pmars-0.9.2 + DOCDIR=/builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/doc/pmars + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/doc/pmars + cp -pr AUTHORS /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/doc/pmars + cp -pr ChangeLog /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/doc/pmars + cp -pr CONTRIB /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/doc/pmars + cp -pr COPYING /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/doc/pmars + cp -pr README /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/doc/pmars + cp -pr config/ /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/doc/pmars + cp -pr doc_install/doc/ /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/doc/pmars + cp -pr warriors/ /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64/usr/share/doc/pmars + RPM_EC=0 ++ jobs -p + exit 0 Provides: pmars = 0.9.2-27.fc38 pmars(x86-64) = 0.9.2-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(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: pmars-debugsource-0.9.2-27.fc38.x86_64 Provides: pmars-debugsource = 0.9.2-27.fc38 pmars-debugsource(x86-64) = 0.9.2-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pmars-debuginfo-0.9.2-27.fc38.x86_64 Provides: debuginfo(build-id) = 41c2182823a5ce3397b3639559c48b7f22d84f2c pmars-debuginfo = 0.9.2-27.fc38 pmars-debuginfo(x86-64) = 0.9.2-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pmars-debugsource(x86-64) = 0.9.2-27.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64 Wrote: /builddir/build/RPMS/pmars-debuginfo-0.9.2-27.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/pmars-debugsource-0.9.2-27.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/pmars-0.9.2-27.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sTcILu + umask 022 + cd /builddir/build/BUILD + cd pmars-0.9.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pmars-0.9.2-27.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.PmTahi + umask 022 + cd /builddir/build/BUILD + rm -rf pmars-0.9.2 pmars-0.9.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0