Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/vnc-reflector.spec'], chrootPath='/var/lib/mock/f42-build-56836086-6546522/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iq0jdgy4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iq0jdgy4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '40d1d144dd364567ace1958b7c60280a', '-D', '/var/lib/mock/f42-build-56836086-6546522/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iq0jdgy4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/vnc-reflector.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=1721433600 Wrote: /builddir/build/SRPMS/vnc-reflector-1.2.4-38.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/vnc-reflector.spec'], chrootPath='/var/lib/mock/f42-build-56836086-6546522/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iq0jdgy4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iq0jdgy4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '36d3535356fd4d4f8c95ae5343865a4c', '-D', '/var/lib/mock/f42-build-56836086-6546522/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iq0jdgy4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/vnc-reflector.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=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.lB6rOh + umask 022 + cd /builddir/build/BUILD/vnc-reflector-1.2.4-build + test -d /builddir/build/BUILD/vnc-reflector-1.2.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/vnc-reflector-1.2.4-build + /usr/bin/rm -rf /builddir/build/BUILD/vnc-reflector-1.2.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/vnc-reflector-1.2.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/vnc-reflector-1.2.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BfWfNP + umask 022 + cd /builddir/build/BUILD/vnc-reflector-1.2.4-build + cd /builddir/build/BUILD/vnc-reflector-1.2.4-build + rm -rf vnc_reflector + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/vnc_reflector-1.2.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd vnc_reflector + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (vnc-reflector-1.2.4-loggingfix.patch): + echo 'Patch #0 (vnc-reflector-1.2.4-loggingfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file logging.c Patch #1 (vnc-reflector-1.2.4-rfb_format_buffer_overflow.patch): + echo 'Patch #1 (vnc-reflector-1.2.4-rfb_format_buffer_overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file host_connect.c Hunk #1 succeeded at 232 (offset -5 lines). Patch #2 (vnc-reflector-1.2.4-unionfix.patch): + echo 'Patch #2 (vnc-reflector-1.2.4-unionfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file main.c Patch #3 (vnc-reflector-1.2.4-Respect-external-CFLAGS-and-LDFLAGS.patch): + echo 'Patch #3 (vnc-reflector-1.2.4-Respect-external-CFLAGS-and-LDFLAGS.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MxcCQh + umask 022 + cd /builddir/build/BUILD/vnc-reflector-1.2.4-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 vnc_reflector + make -j6 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 ' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -DUSE_POLL -c main.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -DUSE_POLL -c logging.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -DUSE_POLL -c active.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -DUSE_POLL -c actions.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -DUSE_POLL -c host_connect.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -DUSE_POLL -c d3des.c d3des.c: In function ‘deskey’: d3des.c:58:6: warning: old-style function definition [-Wold-style-definition] 58 | void deskey(key, edf) /* Thanks to James Gillogly & Phil Karn! */ | ^~~~~~ d3des.c: In function ‘cookey’: d3des.c:95:13: warning: old-style function definition [-Wold-style-definition] 95 | static void cookey(raw1) | ^~~~~~ d3des.c: In function ‘cpkey’: d3des.c:118:6: warning: old-style function definition [-Wold-style-definition] 118 | void cpkey(into) | ^~~~~ d3des.c: In function ‘usekey’: d3des.c:128:6: warning: old-style function definition [-Wold-style-definition] 128 | void usekey(from) | ^~~~~~ d3des.c: In function ‘des’: d3des.c:138:6: warning: old-style function definition [-Wold-style-definition] 138 | void des(inblock, outblock) | ^~~ d3des.c: In function ‘scrunch’: d3des.c:149:13: warning: old-style function definition [-Wold-style-definition] 149 | static void scrunch(outof, into) | ^~~~~~~ d3des.c: In function ‘unscrun’: d3des.c:164:13: warning: old-style function definition [-Wold-style-definition] 164 | static void unscrun(outof, into) | ^~~~~~~ d3des.c: In function ‘desfunc’: d3des.c:323:13: warning: old-style function definition [-Wold-style-definition] 323 | static void desfunc(block, keys) | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -DUSE_POLL -c rfblib.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -DUSE_POLL -c async_io.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -DUSE_POLL -c host_io.c rfblib.c: In function ‘rfb_crypt’: rfblib.c:60:3: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation] 60 | strncpy((char *)key, (char *)password, 8); | ^ async_io.c: In function ‘aio_walk_slots’: async_io.c:233:8: error: too many arguments to function ‘fn’; expected 0, have 1 233 | (*fn)(slot); | ~^~~~ ~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -DUSE_POLL -c client_io.c host_io.c: In function ‘host_really_activate’: host_io.c:160:18: error: passing argument 1 of ‘aio_walk_slots’ from incompatible pointer type [-Wincompatible-pointer-types] 160 | aio_walk_slots(fn_host_pass_newfbsize, TYPE_CL_SLOT); | ^~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(AIO_SLOT *) {aka void (*)(struct _AIO_SLOT *)} In file included from host_io.c:26: async_io.h:92:32: note: expected ‘AIO_FUNCPTR’ {aka ‘void (*)(void)’} but argument is of type ‘void (*)(AIO_SLOT *)’ {aka ‘void (*)(struct _AIO_SLOT *)’} 92 | int aio_walk_slots(AIO_FUNCPTR fn, int type); | ~~~~~~~~~~~~^~ host_io.c:35:13: note: ‘fn_host_pass_newfbsize’ declared here 35 | static void fn_host_pass_newfbsize(AIO_SLOT *slot); | ^~~~~~~~~~~~~~~~~~~~~~ async_io.h:25:16: note: ‘AIO_FUNCPTR’ declared here 25 | typedef void (*AIO_FUNCPTR)(); | ^~~~~~~~~~~ host_io.c: In function ‘fbupdate_rect_done’: host_io.c:449:20: error: passing argument 1 of ‘aio_walk_slots’ from incompatible pointer type [-Wincompatible-pointer-types] 449 | aio_walk_slots(fn_host_add_client_rect, TYPE_CL_SLOT); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(AIO_SLOT *) {aka void (*)(struct _AIO_SLOT *)} async_io.h:92:32: note: expected ‘AIO_FUNCPTR’ {aka ‘void (*)(void)’} but argument is of type ‘void (*)(AIO_SLOT *)’ {aka ‘void (*)(struct _AIO_SLOT *)’} 92 | int aio_walk_slots(AIO_FUNCPTR fn, int type); | ~~~~~~~~~~~~^~ host_io.c:44:13: note: ‘fn_host_add_client_rect’ declared here 44 | static void fn_host_add_client_rect(AIO_SLOT *slot); | ^~~~~~~~~~~~~~~~~~~~~~~ async_io.h:25:16: note: ‘AIO_FUNCPTR’ declared here 25 | typedef void (*AIO_FUNCPTR)(); | ^~~~~~~~~~~ host_io.c:456:20: error: passing argument 1 of ‘aio_walk_slots’ from incompatible pointer type [-Wincompatible-pointer-types] 456 | aio_walk_slots(fn_client_send_rects, TYPE_CL_SLOT); | ^~~~~~~~~~~~~~~~~~~~ | | | void (*)(AIO_SLOT *) {aka void (*)(struct _AIO_SLOT *)} async_io.h:92:32: note: expected ‘AIO_FUNCPTR’ {aka ‘void (*)(void)’} but argument is of type ‘void (*)(AIO_SLOT *)’ {aka ‘void (*)(struct _AIO_SLOT *)’} 92 | int aio_walk_slots(AIO_FUNCPTR fn, int type); | ~~~~~~~~~~~~^~ In file included from host_io.c:29: client_io.h:67:6: note: ‘fn_client_send_rects’ declared here 67 | void fn_client_send_rects(AIO_SLOT *slot); | ^~~~~~~~~~~~~~~~~~~~ async_io.h:25:16: note: ‘AIO_FUNCPTR’ declared here 25 | typedef void (*AIO_FUNCPTR)(); | ^~~~~~~~~~~ host_io.c: In function ‘rf_host_cuttext_data’: host_io.c:515:18: error: passing argument 1 of ‘aio_walk_slots’ from incompatible pointer type [-Wincompatible-pointer-types] 515 | aio_walk_slots(fn_host_pass_cuttext, TYPE_CL_SLOT); | ^~~~~~~~~~~~~~~~~~~~ | | | void (*)(AIO_SLOT *) {aka void (*)(struct _AIO_SLOT *)} async_io.h:92:32: note: expected ‘AIO_FUNCPTR’ {aka ‘void (*)(void)’} but argument is of type ‘void (*)(AIO_SLOT *)’ {aka ‘void (*)(struct _AIO_SLOT *)’} 92 | int aio_walk_slots(AIO_FUNCPTR fn, int type); | ~~~~~~~~~~~~^~ host_io.c:51:13: note: ‘fn_host_pass_cuttext’ declared here 51 | static void fn_host_pass_cuttext(AIO_SLOT *slot); | ^~~~~~~~~~~~~~~~~~~~ async_io.h:25:16: note: ‘AIO_FUNCPTR’ declared here 25 | typedef void (*AIO_FUNCPTR)(); | ^~~~~~~~~~~ make: *** [Makefile:63: async_io.o] Error 1 make: *** Waiting for unfinished jobs.... host_io.c: In function ‘reset_framebuffer’: host_io.c:583:18: error: passing argument 1 of ‘aio_walk_slots’ from incompatible pointer type [-Wincompatible-pointer-types] 583 | aio_walk_slots(fn_host_add_client_rect, TYPE_CL_SLOT); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(AIO_SLOT *) {aka void (*)(struct _AIO_SLOT *)} async_io.h:92:32: note: expected ‘AIO_FUNCPTR’ {aka ‘void (*)(void)’} but argument is of type ‘void (*)(AIO_SLOT *)’ {aka ‘void (*)(struct _AIO_SLOT *)’} 92 | int aio_walk_slots(AIO_FUNCPTR fn, int type); | ~~~~~~~~~~~~^~ host_io.c:463:13: note: ‘fn_host_add_client_rect’ declared here 463 | static void fn_host_add_client_rect(AIO_SLOT *slot) | ^~~~~~~~~~~~~~~~~~~~~~~ async_io.h:25:16: note: ‘AIO_FUNCPTR’ declared here 25 | typedef void (*AIO_FUNCPTR)(); | ^~~~~~~~~~~ make: *** [Makefile:63: host_io.o] Error 1 In file included from client_io.h:20, from client_io.c:29: client_io.c: In function ‘rf_client_updatereq’: client_io.c:423:32: warning: the address of ‘rect’ will always evaluate as ‘true’ [-Waddress] 423 | REGION_INIT(&tmp_region, &rect, 1); | ^ region.h:204:9: note: in definition of macro ‘REGION_INIT’ 204 | if (_rect) \ | ^~~~~ client_io.c: In function ‘fn_client_add_rect’: client_io.c:552:28: warning: the address of ‘add_rect’ will always evaluate as ‘true’ [-Waddress] 552 | REGION_INIT(&add_region, &add_rect, 4); | ^ region.h:204:9: note: in definition of macro ‘REGION_INIT’ 204 | if (_rect) \ | ^~~~~ client_io.c: In function ‘send_update’: client_io.c:729:29: warning: the address of ‘fb_rect’ will always evaluate as ‘true’ [-Waddress] 729 | REGION_INIT(&fb_region, &fb_rect, 1); | ^ region.h:204:9: note: in definition of macro ‘REGION_INIT’ 204 | if (_rect) \ | ^~~~~ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.MxcCQh (%build) Bad exit status from /var/tmp/rpm-tmp.MxcCQh (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 36d3535356fd4d4f8c95ae5343865a4c -D /var/lib/mock/f42-build-56836086-6546522/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.iq0jdgy4:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/vnc-reflector.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 36d3535356fd4d4f8c95ae5343865a4c -D /var/lib/mock/f42-build-56836086-6546522/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.iq0jdgy4:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/vnc-reflector.spec'