Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/vpnc.spec'], chrootPath='/var/lib/mock/f33-build-214594-48431/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/vpnc.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580428800 Wrote: /builddir/build/SRPMS/vpnc-0.5.3-37.svn550.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vpnc.spec'], chrootPath='/var/lib/mock/f33-build-214594-48431/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vpnc.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580428800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ov7UIv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vpnc-0.5.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/vpnc-0.5.3.svn550.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd vpnc-0.5.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/vpnc-0.5.1-dpd.patch + /usr/bin/cat /builddir/build/SOURCES/vpnc-0.5.3-use-autodie.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rKdgou + umask 022 + cd /builddir/build/BUILD + cd vpnc-0.5.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE' + LDFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pie' + make PREFIX=/usr which: no git in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) LC_ALL=C perl -w ./enum2debug.pl isakmp.h >vpnc-debug.c 2>vpnc-debug.h cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o sysdep.o sysdep.c In file included from config.h:27, from sysdep.h:31, from sysdep.c:71: vpnc-debug.h:1:1: error: expected identifier or '(' before '/' token 1 | /bin/sh: perl: command not found | ^ In file included from sysdep.h:31, from sysdep.c:71: config.h:97:27: error: 'LAST_CONFIG' undeclared here (not in a function) 97 | extern const char *config[LAST_CONFIG]; | ^~~~~~~~~~~ config.h:133:83: warning: 'struct debug_strings' declared inside parameter list will not be visible outside of this definition or declaration 133 | extern void hex_dump(const char *str, const void *data, ssize_t len, const struct debug_strings *decode); | ^~~~~~~~~~~~~ sysdep.c: In function 'tun_close': sysdep.c:517:29: warning: parameter 'dev' set but not used [-Wunused-but-set-parameter] 517 | int tun_close(int fd, char *dev) | ~~~~~~^~~ make: *** [: sysdep.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.rKdgou (%build) Bad exit status from /var/tmp/rpm-tmp.rKdgou (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 --target riscv64 --nodeps /builddir/build/SPECS/vpnc.spec