Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/xkeycaps.spec'], chrootPath='/var/lib/mock/f41-build-859285-168584/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=604800uid=992gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gqk_k2xy:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gqk_k2xy:/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', 'c832b75236684ac6b78a66ed4eb10bba', '-D', '/var/lib/mock/f41-build-859285-168584/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gqk_k2xy:/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 riscv64 --nodeps /builddir/build/SPECS/xkeycaps.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706918400 Wrote: /builddir/build/SRPMS/xkeycaps-2.46-36.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/xkeycaps.spec'], chrootPath='/var/lib/mock/f41-build-859285-168584/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=604800uid=992gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gqk_k2xy:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gqk_k2xy:/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', 'f65190923be643f7880e0f0a247d9db4', '-D', '/var/lib/mock/f41-build-859285-168584/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gqk_k2xy:/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 riscv64 --nodeps /builddir/build/SPECS/xkeycaps.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706918400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.FopYia + umask 022 + cd /builddir/build/BUILD/xkeycaps-2.46-build + test -d /builddir/build/BUILD/xkeycaps-2.46-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/xkeycaps-2.46-build + /usr/bin/rm -rf /builddir/build/BUILD/xkeycaps-2.46-build + /usr/bin/mkdir -p /builddir/build/BUILD/xkeycaps-2.46-build + /usr/bin/mkdir -p /builddir/build/BUILD/xkeycaps-2.46-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NqWbcw + umask 022 + cd /builddir/build/BUILD/xkeycaps-2.46-build + cd /builddir/build/BUILD/xkeycaps-2.46-build + rm -rf xkeycaps-2.46 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xkeycaps-2.46.tar.Z + STATUS=0 + '[' 0 -ne 0 ']' + cd xkeycaps-2.46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xkeycaps-2.46-fix-casts.patch):' Patch #0 (xkeycaps-2.46-fix-casts.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-casts --fuzz=0 patching file commands.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HOMpWI + umask 022 + cd /builddir/build/BUILD/xkeycaps-2.46-build + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -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,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 xkeycaps-2.46 + xmkmf imake -DUseInstalled -I/usr/share/X11/config + sed -i -e 's/^\(\s*CFLAGS\s*=.*\)/\1 $(RPM_OPT_FLAGS)/' Makefile + make -j8 gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D__riscv_xlen=64 -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xkeycaps.o xkeycaps.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D__riscv_xlen=64 -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o KbdWidget.o KbdWidget.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D__riscv_xlen=64 -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o KeyWidget.o KeyWidget.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D__riscv_xlen=64 -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o info.o info.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D__riscv_xlen=64 -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o actions.o actions.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D__riscv_xlen=64 -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o commands.o commands.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D__riscv_xlen=64 -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o guess.o guess.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -D__riscv_xlen=64 -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o all-kbds.o all-kbds.c commands.c: In function ‘open_output_file’: commands.c:329:7: warning: the comparison will always evaluate as ‘true’ for the address of ‘nodename’ will never be NULL [-Waddress] 329 | if (uts.nodename) | ^~~ In file included from commands.c:25: /usr/include/sys/utsname.h:54:10: note: ‘nodename’ declared here 54 | char nodename[_UTSNAME_NODENAME_LENGTH]; | ^~~~~~~~ commands.c: In function ‘button_write’: commands.c:709:15: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] 709 | ks = XKeycodeToKeysym (XtDisplay (widget), added [i][j], 0); | ^~ In file included from commands.c:30: /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ commands.c: In function ‘button_pick_window’: commands.c:797:7: warning: variable ‘once’ set but not used [-Wunused-but-set-variable] 797 | int once = 0; | ^~~~ commands.c: In function ‘keyset_list_cb’: KeyWidget.c: In function ‘KeyRealize’: KeyWidget.c:182:7: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 182 | strncpy (buf, k1, i+1); | ^ KeyWidget.c:181:15: note: length computed here 181 | int i = strlen (k1); | ^~~~~~~~~~~ KeyWidget.c:193:7: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 193 | strncpy (b, k2, i+1); | ^ KeyWidget.c:192:15: note: length computed here 192 | int i = strlen (k2); | ^~~~~~~~~~~ KeyWidget.c:193:7: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 193 | strncpy (b, k2, i+1); | ^ KeyWidget.c:192:15: note: length computed here 192 | int i = strlen (k2); | ^~~~~~~~~~~ KeyWidget.c:193:7: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 193 | strncpy (b, k2, i+1); | ^ KeyWidget.c:192:15: note: length computed here 192 | int i = strlen (k2); | ^~~~~~~~~~~ commands.c:1755:36: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type [-Wincompatible-pointer-types] 1755 | XawListChange (box->keysym_list, (const char **) keysym_name_buffer, 0, 0, True); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char ** In file included from commands.c:46: /usr/include/X11/Xaw/List.h:170:26: note: expected ‘char **’ but argument is of type ‘const char **’ 170 | String *list, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ commands.c: In function ‘keysym_list_cb’: commands.c:1770:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1770 | int i = (int) XawToggleGetCurrent (box->keysym_buttons [0]); | ^ commands.c:1782:7: warning: missing sentinel in function call [-Wformat=] 1782 | XtVaSetValues (button, XtNlabel, lr->string, 0); | ^~~~~~~~~~~~~ commands.c: In function ‘make_edit_key_dbox’: commands.c:2141:6: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2141 | else \ | ^~~~ commands.c:2145:3: note: in expansion of macro ‘TOG’ 2145 | TOG (box->keysym_buttons [0], "keysym1", 1); | ^~~ commands.c:2144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2144 | prev_tog = prev = var; } | ^~~~~~~~ commands.c:2145:3: note: in expansion of macro ‘TOG’ 2145 | TOG (box->keysym_buttons [0], "keysym1", 1); | ^~~ commands.c:2141:6: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2141 | else \ | ^~~~ commands.c:2146:3: note: in expansion of macro ‘TOG’ 2146 | TOG (box->keysym_buttons [1], "keysym2", 2); | ^~~ commands.c:2144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2144 | prev_tog = prev = var; } | ^~~~~~~~ commands.c:2146:3: note: in expansion of macro ‘TOG’ 2146 | TOG (box->keysym_buttons [1], "keysym2", 2); | ^~~ commands.c:2141:6: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2141 | else \ | ^~~~ commands.c:2147:3: note: in expansion of macro ‘TOG’ 2147 | TOG (box->keysym_buttons [2], "keysym3", 3); | ^~~ commands.c:2144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2144 | prev_tog = prev = var; } | ^~~~~~~~ commands.c:2147:3: note: in expansion of macro ‘TOG’ 2147 | TOG (box->keysym_buttons [2], "keysym3", 3); | ^~~ commands.c:2141:6: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2141 | else \ | ^~~~ commands.c:2148:3: note: in expansion of macro ‘TOG’ 2148 | TOG (box->keysym_buttons [3], "keysym4", 4); | ^~~ commands.c:2144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2144 | prev_tog = prev = var; } | ^~~~~~~~ commands.c:2148:3: note: in expansion of macro ‘TOG’ 2148 | TOG (box->keysym_buttons [3], "keysym4", 4); | ^~~ commands.c:2141:6: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2141 | else \ | ^~~~ commands.c:2149:3: note: in expansion of macro ‘TOG’ 2149 | TOG (box->keysym_buttons [4], "keysym5", 5); | ^~~ commands.c:2144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2144 | prev_tog = prev = var; } | ^~~~~~~~ commands.c:2149:3: note: in expansion of macro ‘TOG’ 2149 | TOG (box->keysym_buttons [4], "keysym5", 5); | ^~~ commands.c:2141:6: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2141 | else \ | ^~~~ commands.c:2150:3: note: in expansion of macro ‘TOG’ 2150 | TOG (box->keysym_buttons [5], "keysym6", 6); | ^~~ commands.c:2144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2144 | prev_tog = prev = var; } | ^~~~~~~~ commands.c:2150:3: note: in expansion of macro ‘TOG’ 2150 | TOG (box->keysym_buttons [5], "keysym6", 6); | ^~~ commands.c:2141:6: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2141 | else \ | ^~~~ commands.c:2151:3: note: in expansion of macro ‘TOG’ 2151 | TOG (box->keysym_buttons [6], "keysym7", 7); | ^~~ commands.c:2144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2144 | prev_tog = prev = var; } | ^~~~~~~~ commands.c:2151:3: note: in expansion of macro ‘TOG’ 2151 | TOG (box->keysym_buttons [6], "keysym7", 7); | ^~~ commands.c:2141:6: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2141 | else \ | ^~~~ commands.c:2152:3: note: in expansion of macro ‘TOG’ 2152 | TOG (box->keysym_buttons [7], "keysym8", 8); | ^~~ commands.c:2144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2144 | prev_tog = prev = var; } | ^~~~~~~~ commands.c:2152:3: note: in expansion of macro ‘TOG’ 2152 | TOG (box->keysym_buttons [7], "keysym8", 8); | ^~~ commands.c:2141:6: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2141 | else \ | ^~~~ commands.c:2155:3: note: in expansion of macro ‘TOG’ 2155 | TOG (box->autorepeat_widget, "autoRepeat", 0); | ^~~ commands.c:2144:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2144 | prev_tog = prev = var; } | ^~~~~~~~ commands.c:2155:3: note: in expansion of macro ‘TOG’ 2155 | TOG (box->autorepeat_widget, "autoRepeat", 0); | ^~~ commands.c:2202:3: warning: missing sentinel in function call [-Wformat=] 2202 | XtVaSetValues (set_list, XtNwidth, set_list->core.width + 20, 0); | ^~~~~~~~~~~~~ commands.c:2231:3: warning: missing sentinel in function call [-Wformat=] 2231 | XtVaSetValues (sym_list, XtNwidth, sym_list->core.width + 20, 0); | ^~~~~~~~~~~~~ commands.c: In function ‘keyboard_list_cb’: commands.c:2529:36: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type [-Wincompatible-pointer-types] 2529 | XawListChange (box->keymap_list, (const char **) box->set->maps, 0, 0, True); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char ** /usr/include/X11/Xaw/List.h:170:26: note: expected ‘char **’ but argument is of type ‘const char **’ 170 | String *list, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ commands.c:2551:5: warning: missing sentinel in function call [-Wformat=] 2551 | XtVaSetValues (box->icon, XtNbitmap, p, XtNheight, h, 0); | ^~~~~~~~~~~~~ commands.c: In function ‘vendor_list_cb’: commands.c:2600:38: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type [-Wincompatible-pointer-types] 2600 | XawListChange (box->keyboard_list, (const char **) list, 0, 0, True); | ^~~~~~~~~~~~~~~~~~~~ | | | const char ** /usr/include/X11/Xaw/List.h:170:26: note: expected ‘char **’ but argument is of type ‘const char **’ 170 | String *list, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ commands.c: In function ‘make_select_kbd_dbox’: commands.c:2656:3: warning: missing sentinel in function call [-Wformat=] 2656 | XtVaSetValues (vendor_list, XtNwidth, vendor_list->core.width + 20, 0); | ^~~~~~~~~~~~~ commands.c:2684:5: warning: missing sentinel in function call [-Wformat=] 2684 | XtVaSetValues (kbd_list, XtNwidth, kbd_list->core.width + 20, 0); | ^~~~~~~~~~~~~ commands.c:2710:5: warning: missing sentinel in function call [-Wformat=] 2710 | XtVaSetValues (map_list, XtNwidth, map_list->core.width + 20, 0); | ^~~~~~~~~~~~~ commands.c: In function ‘pop_up_kbd_dbox’: commands.c:2747:3: warning: missing sentinel in function call [-Wformat=] 2747 | XtVaSetValues (select_kbd_box->label2, XtNlabel, choose_kbd_message, 0); | ^~~~~~~~~~~~~ commands.c: In function ‘stop_the_insanity’: commands.c:3212:31: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] 3212 | ? XKeycodeToKeysym (dpy, code2, column) | ^ /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ commands.c:3278:31: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] 3278 | ? XKeycodeToKeysym (dpy, code2, column) | ^ /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ make: *** [: commands.o] Error 1 make: *** Waiting for unfinished jobs.... info.c: In function ‘describe_key’: info.c:469:22: warning: ‘ 0x’ directive writing 4 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 469 | sprintf (buf, "%s 0x%02X %u 0%02o", buf2, ascii, ascii, ascii); | ^~~~ info.c:469:19: note: directive argument in the range [1, 255] 469 | sprintf (buf, "%s 0x%02X %u 0%02o", buf2, ascii, ascii, ascii); | ^~~~~~~~~~~~~~~~~~~~~~~ info.c:469:19: note: directive argument in the range [1, 255] info.c:469:19: note: directive argument in the range [1, 255] In file included from /usr/include/stdio.h:970, from info.c:13: In function ‘sprintf’, inlined from ‘describe_key’ at info.c:469:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 15 and 272 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ error: Bad exit status from /var/tmp/rpm-tmp.HOMpWI (%build) Bad exit status from /var/tmp/rpm-tmp.HOMpWI (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f65190923be643f7880e0f0a247d9db4 -D /var/lib/mock/f41-build-859285-168584/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.gqk_k2xy:/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 riscv64 --nodeps /builddir/build/SPECS/xkeycaps.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 612, 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 f65190923be643f7880e0f0a247d9db4 -D /var/lib/mock/f41-build-859285-168584/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.gqk_k2xy:/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 riscv64 --nodeps /builddir/build/SPECS/xkeycaps.spec'