Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/xkeycaps.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1148981-30475/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Wrote: /builddir/build/SRPMS/xkeycaps-2.46-33.fc38.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/f38-build-side-42-init-devel-1148981-30475/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XA9Yiq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KcqshX + umask 022 + cd /builddir/build/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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -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 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 -O -I./kbds -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o xkeycaps.o xkeycaps.c gcc -O -I./kbds -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o KbdWidget.o KbdWidget.c gcc -O -I./kbds -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o KeyWidget.o KeyWidget.c gcc -O -I./kbds -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o info.o info.c gcc -O -I./kbds -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o actions.o actions.c gcc -O -I./kbds -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o commands.o commands.c gcc -O -I./kbds -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o guess.o guess.c gcc -O -I./kbds -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o all-kbds.o all-kbds.c In file included from /usr/include/unistd.h:25, from commands.c:14: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from KbdWidget.c:13: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from info.c:13: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/Intrinsic.h:53, from KeyWidget.c:14: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xkeycaps.c:15: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from actions.c:13: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from guess.c:22: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from kbddef.h:20, from all-kbds.c:65: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:1687:15: note: declared here 1687 | 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': commands.c:1755:36: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 1755 | XawListChange (box->keysym_list, keysym_name_buffer, 0, 0, True); | ^~~~~~~~~~~~~~~~~~ | | | char ** In file included from commands.c:46: /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **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); | ^~~ KeyWidget.c: In function 'KeyRealize': KeyWidget.c:182:7: warning: '__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: '__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: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: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 2529 | XawListChange (box->keymap_list, (char **) box->set->maps, 0, 0, True); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **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: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 2600 | XawListChange (box->keyboard_list, list, 0, 0, True); | ^~~~ | | | char ** /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **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:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ commands.c:3278:31: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 3278 | ? XKeycodeToKeysym (dpy, code2, column) | ^ /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ gcc: warning: LinuxMachineDefines: linker input file unused because linking not done gcc: error: LinuxMachineDefines: linker input file not found: No such file or directory make: *** [: xkeycaps.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:906: In function 'sprintf', inlined from 'describe_key' at info.c:469:5: /usr/include/bits/stdio2.h:30:10: note: '__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 ()); | ~~~~~~~~~~~~~~~~~ gcc: warning: LinuxMachineDefines: linker input file unused because linking not done gcc: error: LinuxMachineDefines: linker input file not found: No such file or directory make: *** [: guess.o] Error 1 gcc: warning: LinuxMachineDefines: linker input file unused because linking not done gcc: error: LinuxMachineDefines: linker input file not found: No such file or directory make: *** [: KeyWidget.o] Error 1 gcc: warning: LinuxMachineDefines: linker input file unused because linking not done gcc: error: LinuxMachineDefines: linker input file not found: No such file or directory make: *** [: info.o] Error 1 gcc: warning: LinuxMachineDefines: linker input file unused because linking not done gcc: error: LinuxMachineDefines: linker input file not found: No such file or directory make: *** [: KbdWidget.o] Error 1 gcc: warning: LinuxMachineDefines: linker input file unused because linking not done gcc: error: LinuxMachineDefines: linker input file not found: No such file or directory make: *** [: actions.o] Error 1 commands.c: In function 'restore_key_default': commands.c:1102:65: warning: '%s' directive writing up to 254 bytes into a region of size 215 [-Wformat-overflow=] 1102 | sprintf (buf2, "KeyCode 0x%02X restored to default state (%s)", | ^~ 1103 | key->key.keycode, buf); | ~~~ In file included from /usr/include/stdio.h:906, from commands.c:17: In function 'sprintf', inlined from 'restore_key_default' at commands.c:1102:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 42 and 296 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 ()); | ~~~~~~~~~~~~~~~~~ gcc: warning: LinuxMachineDefines: linker input file unused because linking not done gcc: error: LinuxMachineDefines: linker input file not found: No such file or directory make: *** [: all-kbds.o] Error 1 gcc: warning: LinuxMachineDefines: linker input file unused because linking not done gcc: error: LinuxMachineDefines: linker input file not found: No such file or directory make: *** [: commands.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.KcqshX (%build) Bad exit status from /var/tmp/rpm-tmp.KcqshX (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # 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.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/xkeycaps.spec