Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xkeycaps.spec'], chrootPath='/var/lib/mock/f40-build-750476-115018/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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=1689984000 Wrote: /builddir/build/SRPMS/xkeycaps-2.46-34.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xkeycaps.spec'], chrootPath='/var/lib/mock/f40-build-750476-115018/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TpTR16 + 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 + rm -rf /builddir/build/BUILD/xkeycaps-2.46-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/xkeycaps-2.46-SPECPARTS + /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.tkA5fP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 -fno-omit-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 -fasynchronous-unwind-tables -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 -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 -j4 gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -c -o xkeycaps.o xkeycaps.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -c -o KbdWidget.o KbdWidget.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -c -o KeyWidget.o KeyWidget.c gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -c -o info.o info.c 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:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # 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:28, from KbdWidget.c:13: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # 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:28, from xkeycaps.c:15: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # 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:28, from info.c:13: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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); | ^~~~~~~~~~~ gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -c -o actions.o actions.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from actions.c:13: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:980: 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 -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -c -o commands.o commands.c In file included from /usr/include/unistd.h:25, from commands.c:14: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -c -o guess.o guess.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from guess.c:22: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fno-strict-aliasing -I./kbds -I/usr/include -Dlinux -D__riscv -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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: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; | ^~~~ 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:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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); | ^~~ 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( | ^~~~~~~~~~~~~~~~ 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:980, 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 ()); | ~~~~~~~~~~~~~~~~~ rm -f xkeycaps gcc -o xkeycaps -O2 -fno-strict-aliasing -L/usr/lib64 ./xkeycaps.o ./KbdWidget.o ./KeyWidget.o ./info.o ./actions.o ./commands.o ./guess.o ./all-kbds.o -lXaw -lXt -lSM -lICE -lXmu -lXt -lSM -lICE -lXext -lX11 -lXext -lX11 rm -f xkeycaps._man if test -z "" ; then \ cd `dirname xkeycaps` && \ ln -s `basename xkeycaps.man` `basename xkeycaps._man`; \ else \ cpp -undef -traditional -D__apploaddir__=/usr/share/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \ < xkeycaps.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xkeycaps._man; \ fi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VPM4Hx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 -fno-omit-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 -fasynchronous-unwind-tables -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 -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 + make DESTDIR=/builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64 install 'INSTALL=install -p' + mkdir -p /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/bin install -p -c xkeycaps /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/bin/xkeycaps install in . done + mkdir -p /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/man/man1 + install -m0644 -p xkeycaps.man /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/applications + mkdir -p /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/pixmaps + install -m0644 -p /builddir/build/SOURCES/xkeycaps.png /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/pixmaps + desktop-file-install --dir /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/applications /builddir/build/SOURCES/xkeycaps.desktop /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/applications/xkeycaps.desktop: error: (will be fatal in the future): value "xkeycaps.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.46-34.fc40 --unique-debug-suffix -2.46-34.fc40.riscv64 --unique-debug-src-base xkeycaps-2.46-34.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xkeycaps-2.46 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/xkeycaps-2.46-34.fc40.riscv64 2768 blocks find-debuginfo: done + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: xkeycaps-2.46-34.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DeJv1f + umask 022 + cd /builddir/build/BUILD + cd xkeycaps-2.46 + DOCDIR=/builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/doc/xkeycaps + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/doc/xkeycaps + cp -pr /builddir/build/BUILD/xkeycaps-2.46/README /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/doc/xkeycaps + cp -pr /builddir/build/BUILD/xkeycaps-2.46/sgi-microsoft.txt /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64/usr/share/doc/xkeycaps + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(xkeycaps.desktop) xkeycaps = 2.46-34.fc40 xkeycaps(riscv-64) = 2.46-34.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libICE.so.6()(64bit) libSM.so.6()(64bit) libX11.so.6()(64bit) libXaw.so.7()(64bit) libXext.so.6()(64bit) libXmu.so.6()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: xkeycaps-debugsource-2.46-34.fc40.riscv64 Provides: xkeycaps-debugsource = 2.46-34.fc40 xkeycaps-debugsource(riscv-64) = 2.46-34.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xkeycaps-debuginfo-2.46-34.fc40.riscv64 Provides: debuginfo(build-id) = e8befb99b0b02d8bf06b2f162ab74d489106dc40 xkeycaps-debuginfo = 2.46-34.fc40 xkeycaps-debuginfo(riscv-64) = 2.46-34.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xkeycaps-debugsource(riscv-64) = 2.46-34.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64 Wrote: /builddir/build/RPMS/xkeycaps-debuginfo-2.46-34.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/xkeycaps-2.46-34.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/xkeycaps-debugsource-2.46-34.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.du2U99 + umask 022 + cd /builddir/build/BUILD + cd xkeycaps-2.46 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xkeycaps-2.46-34.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.2I37ue + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/xkeycaps-2.46-SPECPARTS + rm -rf xkeycaps-2.46 xkeycaps-2.46.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0