+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/vzctl.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.b6owdU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vzctl-4.8 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/vzctl-4.8.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd vzctl-4.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Set-default-values-of-LOCAL_-ID-to-zero-until-userns.patch):' Patch #0 (0001-Set-default-values-of-LOCAL_-ID-to-zero-until-userns.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file etc/vz.conf.in Hunk #1 succeeded at 45 (offset 2 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uV2xLj + umask 022 + cd /builddir/build/BUILD + cd vzctl-4.8 + 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 ' + 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 ' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info vzdir=/var/lib/vz --enable-bashcomp --enable-logrotate --without-ploop --disable-static checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for dlopen in -ldl... yes checking for openpty in -lutil... yes checking for rint in -lm... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for inline... inline checking for struct stat.st_rdev... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for working alloca.h... yes checking for alloca... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for working strnlen... yes checking for alarm... yes checking for bzero... yes checking for dup2... yes checking for endgrent... yes checking for endpwent... yes checking for memset... yes checking for mkdir... yes checking for mkfifo... yes checking for realpath... yes checking for rmdir... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for uname... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for CGROUP... yes checking for setns... yes checking if current architecture supported by OpenVZ... no configure: creating ./config.status config.status: creating bin/Makefile config.status: creating etc/bash_completion.d/Makefile config.status: creating etc/conf/Makefile config.status: creating etc/dists/Makefile config.status: creating etc/init.d/Makefile config.status: creating etc/logrotate.d/Makefile config.status: creating etc/network/if-up.d/Makefile config.status: creating etc/network-scripts/Makefile config.status: creating etc/udev/Makefile config.status: creating etc/Makefile config.status: creating include/version.h config.status: creating man/Makefile config.status: creating scripts/Makefile config.status: creating src/lib/Makefile config.status: creating src/Makefile config.status: creating Makefile config.status: executing depfiles commands config.status: executing libtool commands configure: vzctl 4.8 configured successfully: CC: gcc (gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)) 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 -Wall -Wpointer-arith -Wcast-qual -Winline -Wextra -Wcast-align -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64' build: riscv64-redhat-linux-gnu host: riscv64-redhat-linux-gnu target: riscv64-redhat-linux-gnu prefix: /usr sysconfdir: /etc localstatedir: /var libdir: /usr/lib64 vzdir: /var/lib/vz features: +bashcomp +logrotate +udev -ploop +cgroup -vz + make -j4 Making all in bin make[1]: Entering directory '/builddir/build/BUILD/vzctl-4.8/bin' GEN vzmigrate GEN vzcpucheck GEN vznetcfg GEN vzpid GEN vztmpl-dl GEN vzifup-post GEN vznetaddbr GEN vzoversell GEN vzubc make[1]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/bin' Making all in etc make[1]: Entering directory '/builddir/build/BUILD/vzctl-4.8/etc' Making all in bash_completion.d make[2]: Entering directory '/builddir/build/BUILD/vzctl-4.8/etc/bash_completion.d' GEN vzctl.sh make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/etc/bash_completion.d' Making all in conf make[2]: Entering directory '/builddir/build/BUILD/vzctl-4.8/etc/conf' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/etc/conf' Making all in dists make[2]: Entering directory '/builddir/build/BUILD/vzctl-4.8/etc/dists' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/etc/dists' Making all in init.d make[2]: Entering directory '/builddir/build/BUILD/vzctl-4.8/etc/init.d' GEN initd-functions make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/etc/init.d' Making all in logrotate.d make[2]: Entering directory '/builddir/build/BUILD/vzctl-4.8/etc/logrotate.d' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/etc/logrotate.d' Making all in network/if-up.d make[2]: Entering directory '/builddir/build/BUILD/vzctl-4.8/etc/network/if-up.d' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/etc/network/if-up.d' Making all in network-scripts make[2]: Entering directory '/builddir/build/BUILD/vzctl-4.8/etc/network-scripts' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/etc/network-scripts' Making all in udev make[2]: Entering directory '/builddir/build/BUILD/vzctl-4.8/etc/udev' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/etc/udev' make[2]: Entering directory '/builddir/build/BUILD/vzctl-4.8/etc' GEN vz.conf make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/etc' make[1]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/etc' Making all in man make[1]: Entering directory '/builddir/build/BUILD/vzctl-4.8/man' GEN vzctl.8 GEN vzlist.8 GEN vzcpucheck.8 GEN vzmemcheck.8 GEN vzcfgvalidate.8 GEN vzcalc.8 GEN vzsplit.8 GEN vzubc.8 GEN vzmigrate.8 GEN vzcptcheck.8 GEN vzfsync.8 GEN vznnc.8 GEN vztmpl-dl.8 GEN arpsend.8 GEN ndsend.8 GEN vzpid.8 GEN vzifup-post.8 GEN vzeventd.8 GEN vz.conf.5 GEN ctid.conf.5 make[1]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/man' Making all in scripts make[1]: Entering directory '/builddir/build/BUILD/vzctl-4.8/scripts' GEN vps-net_add GEN vps-create GEN vps-functions GEN vps-netns_dev_add GEN vps-net_del GEN vps-netns_dev_del GEN vzevent-stop GEN vzevent-reboot GEN vps-pci GEN vps-cpt GEN vps-rst GEN vps-rst-env GEN vz-postinstall make[1]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/scripts' Making all in src make[1]: Entering directory '/builddir/build/BUILD/vzctl-4.8/src' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/vzctl-4.8/src/lib' CC bitmap.lo /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"vzctl\" -DPACKAGE_TARNAME=\"vzctl\" -DPACKAGE_VERSION=\"4.8\" -DPACKAGE_STRING=\"vzctl\ 4.8\" -DPACKAGE_BUGREPORT=\"devel@openvz.org\" -DPACKAGE=\"vzctl\" -DVERSION=\"4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=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 -Wall -Wpointer-arith -Wcast-qual -Winline -Wextra -Wcast-align -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -c -o bitmap.lo bitmap.c CC cap.lo /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"vzctl\" -DPACKAGE_TARNAME=\"vzctl\" -DPACKAGE_VERSION=\"4.8\" -DPACKAGE_STRING=\"vzctl\ 4.8\" -DPACKAGE_BUGREPORT=\"devel@openvz.org\" -DPACKAGE=\"vzctl\" -DVERSION=\"4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=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 -Wall -Wpointer-arith -Wcast-qual -Winline -Wextra -Wcast-align -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -c -o cap.lo cap.c CC cleanup.lo CC config.lo /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"vzctl\" -DPACKAGE_TARNAME=\"vzctl\" -DPACKAGE_VERSION=\"4.8\" -DPACKAGE_STRING=\"vzctl\ 4.8\" -DPACKAGE_BUGREPORT=\"devel@openvz.org\" -DPACKAGE=\"vzctl\" -DVERSION=\"4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=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 -Wall -Wpointer-arith -Wcast-qual -Winline -Wextra -Wcast-align -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -c -o cleanup.lo cleanup.c /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"vzctl\" -DPACKAGE_TARNAME=\"vzctl\" -DPACKAGE_VERSION=\"4.8\" -DPACKAGE_STRING=\"vzctl\ 4.8\" -DPACKAGE_BUGREPORT=\"devel@openvz.org\" -DPACKAGE=\"vzctl\" -DVERSION=\"4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=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 -Wall -Wpointer-arith -Wcast-qual -Winline -Wextra -Wcast-align -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -c -o config.lo config.c CC cpt.lo /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"vzctl\" -DPACKAGE_TARNAME=\"vzctl\" -DPACKAGE_VERSION=\"4.8\" -DPACKAGE_STRING=\"vzctl\ 4.8\" -DPACKAGE_BUGREPORT=\"devel@openvz.org\" -DPACKAGE=\"vzctl\" -DVERSION=\"4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=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 -Wall -Wpointer-arith -Wcast-qual -Winline -Wextra -Wcast-align -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -c -o cpt.lo cpt.c config.c: In function 'parse_devices_str': config.c:1198:14: warning: implicit declaration of function 'makedev'; did you mean 'make_dir'? [-Wimplicit-function-declaration] dev->dev = makedev(major, 0); ^~~~~~~ make_dir config.c: In function 'store_dev': config.c:1252:11: error: called object 'major' is not a function or function pointer major = major(res->dev); ^~~~~ config.c:1244:7: note: declared here int major, minor; ^~~~~ config.c:1253:11: error: called object 'minor' is not a function or function pointer minor = minor(res->dev); ^~~~~ config.c:1244:14: note: declared here int major, minor; ^~~~~ config.c: In function 'parse_devnodes_str': config.c:1312:23: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] if (dev_major_denied(major(st.st_rdev))) { ^~~~~ CC cpu.lo /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"vzctl\" -DPACKAGE_TARNAME=\"vzctl\" -DPACKAGE_VERSION=\"4.8\" -DPACKAGE_STRING=\"vzctl\ 4.8\" -DPACKAGE_BUGREPORT=\"devel@openvz.org\" -DPACKAGE=\"vzctl\" -DVERSION=\"4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=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 -Wall -Wpointer-arith -Wcast-qual -Winline -Wextra -Wcast-align -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -c -o cpu.lo cpu.c CC create.lo /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"vzctl\" -DPACKAGE_TARNAME=\"vzctl\" -DPACKAGE_VERSION=\"4.8\" -DPACKAGE_STRING=\"vzctl\ 4.8\" -DPACKAGE_BUGREPORT=\"devel@openvz.org\" -DPACKAGE=\"vzctl\" -DVERSION=\"4.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=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 -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 make[2]: *** [Makefile:477: config.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/src/lib' make[1]: *** [Makefile:565: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/vzctl-4.8/src' make: *** [Makefile:372: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.uV2xLj (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.uV2xLj (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff