LOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_ALARM=1 -DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_ENDGRENT=1 -DHAVE_ENDPWENT=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MKFIFO=1 -DHAVE_REALPATH=1 -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -DHAVE_UNAME=1 -DHAVE_UPSTREAM=1 -DHAVE_SETNS=1 -I. -I../../include -DSBINDIR=\"/usr/sbin\" -DPKGCONFDIR=\"/etc/vz\" -DVPSCONFDIR=\"/etc/vz/conf\" -DSCRIPTDIR=\"/usr/libexec/vzctl/scripts\" -DVZDIR=\"/var/lib/vz\" -DVEPIDDIR=\"/var/lib/vzctl/vepid\" -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 -Wall -Wpointer-arith -Wcast-qual -Winline -Wextra -Wcast-align -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -c -o create.lo create.c BUILDSTDERR: make[2]: *** [Makefile:477: config.lo] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: create.c: In function 'vps_create': BUILDSTDERR: create.c:251:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 239 [-Wformat-truncation=] BUILDSTDERR: snprintf(buf, sizeof(buf), "PRIVATE_TEMPLATE=%s", tarball); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from create.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 18 and 273 bytes into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: create.c:254:38: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 248 [-Wformat-truncation=] BUILDSTDERR: create.c:193:8: BUILDSTDERR: dst = tmp_dir; BUILDSTDERR: ~~~~~~~ BUILDSTDERR: create.c:254:38: BUILDSTDERR: snprintf(buf, sizeof(buf), "VE_PRVT=%s", dst); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from create.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 264 bytes into a destination of size 256 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/src/lib' BUILDSTDERR: make[1]: *** [Makefile:565: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/src' BUILDSTDERR: make: *** [Makefile:372: all-recursive] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ViEsFx (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ViEsFx (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/vzctl.spec