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/xvkbd.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-782496-27936/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/xvkbd.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/xvkbd-4.1-7.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/xvkbd.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-782496-27936/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/xvkbd.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.RmZgyk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xvkbd-4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xvkbd-4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xvkbd-4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's|: findwidget.o] Error 1 make: *** Waiting for unfinished jobs.... rm -f xvkbd.o gcc -c -O -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/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 -DXAW3D -DUSE_XTEST -DUSE_I18N -DHAVE_SETLOCALE -DSHAREDIR=\"/usr/share/X11\" xvkbd.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xvkbd.c:18: /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" | ^~~~~~~ xvkbd.c: In function 'PropsItemToggled': xvkbd.c:2357:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2357 | appres.key_click_duration = (int)XawToggleGetCurrent(click_buttons); | ^ xvkbd.c:2358:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2358 | appres.autoclick_delay = (int)XawToggleGetCurrent(autoclick_buttons); | ^ xvkbd.c: In function 'PropsSetState': xvkbd.c:2400:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2400 | XawToggleSetCurrent(click_buttons, (XtPointer)appres.key_click_duration); | ^ xvkbd.c:2401:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2401 | XawToggleSetCurrent(autoclick_buttons, (XtPointer)appres.autoclick_delay); | ^ xvkbd.c: In function 'PopupPropsPanel': xvkbd.c:2458:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2458 | XtNradioData, (XtPointer)val, | ^ xvkbd.c:2480:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2480 | XtNradioData, (XtPointer)val, | ^ xvkbd.c:2484:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2484 | (XtPointer)val); | ^ xvkbd.c: In function 'KeyPressed': xvkbd.c:2804:27: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2804 | if (!appres.secure) system(value + 1); | ^~~~~~~~~~~~~~~~~ xvkbd.c:2984:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2984 | if (!appres.secure) system("xvidtune -next"); | ^~~~~~~~~~~~~~~~~~~~~~~~ xvkbd.c:2986:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2986 | if (!appres.secure) system("xvidtune -prev"); | ^~~~~~~~~~~~~~~~~~~~~~~~ xvkbd.c: In function 'MenuSelected': xvkbd.c:2606:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2606 | if (!appres.secure) system(appres.show_manual_command); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xvkbd.c: In function 'main': xvkbd.c:3524:56: warning: '%s' directive output may be truncated writing up to 4094 bytes into a region of size between 1 and 4095 [-Wformat-truncation=] 3524 | snprintf(fkey_filename, sizeof(fkey_filename), "%s/%s", home, appres.key_file); | ^~ In file included from /usr/include/stdio.h:906: In function 'snprintf', inlined from 'ReadProperty' at xvkbd.c:3524:5, inlined from 'main' at xvkbd.c:4087:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 8190 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ xvkbd.c: In function 'main': xvkbd.c:3543:9: warning: 'strncpy' output may be truncated copying 19 bytes from a string of length 199 [-Wstringop-truncation] 3543 | strncpy(private_dict_weight_value, key, sizeof(private_dict_weight_value) - 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: *** [Makefile:1056: xvkbd.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.qYEQ9E (%build) Bad exit status from /var/tmp/rpm-tmp.qYEQ9E (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/xvkbd.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/xvkbd.spec