Mock Version: 2.17 Mock Version: 2.17 Mock Version: 2.17 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/varstored.spec'], chrootPath='/var/lib/mock/v8.3-base-4067-3969/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=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/varstored.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/varstored-1.0.0-2.xcpng8.3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/varstored.spec'], chrootPath='/var/lib/mock/v8.3-base-4067-3969/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=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/varstored.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SO18XL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf varstored-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/varstored-1.0.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd varstored-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zhwA5k + umask 022 + cd /builddir/build/BUILD + cd varstored-1.0.0 + make -j8 varstored tools PK.auth create-auth gcc -o guid.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.guid.o.d -MT ./guid.o -c guid.c gcc -o depriv.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.depriv.o.d -MT ./depriv.o -c depriv.c gcc -o handler.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.handler.o.d -MT ./handler.o -c handler.c gcc -o io_port.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.io_port.o.d -MT ./io_port.o -c io_port.c gcc -o varstored.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.varstored.o.d -MT ./varstored.o -c varstored.c gcc -o xapidb.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.xapidb.o.d -MT ./xapidb.o -c xapidb.c gcc -o xapidb-lib.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.xapidb-lib.o.d -MT ./xapidb-lib.o -c xapidb-lib.c gcc -o tools/xapidb-cmdline.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,tools/.xapidb-cmdline.o.d -MT tools/xapidb-cmdline.o -c tools/xapidb-cmdline.c gcc -o tools/tool-lib.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,tools/.tool-lib.o.d -MT tools/tool-lib.o -c tools/tool-lib.c gcc -o tools/varstore-ls.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,tools/.varstore-ls.o.d -MT tools/varstore-ls.o -c tools/varstore-ls.c gcc -o tools/varstore-get.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,tools/.varstore-get.o.d -MT tools/varstore-get.o -c tools/varstore-get.c gcc -o tools/varstore-rm.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,tools/.varstore-rm.o.d -MT tools/varstore-rm.o -c tools/varstore-rm.c gcc -o tools/varstore-set.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,tools/.varstore-set.o.d -MT tools/varstore-set.o -c tools/varstore-set.c gcc -o tools/varstore-sb-state.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,tools/.varstore-sb-state.o.d -MT tools/varstore-sb-state.o -c tools/varstore-sb-state.c gcc -Wall -o create-auth create-auth.c guid.o -Iinclude -lcrypto openssl req -new -x509 -newkey rsa:2048 -subj "/CN=PK/" -keyout PK.key -out PK.pem -days 36500 -nodes -sha256 Generating a 2048 bit RSA private key .......................................+++ .................+++ writing new private key to 'PK.key' ----- ./create-auth -k PK.key -c PK.pem PK PK.auth PK.pem make: `create-auth' is up to date. gcc -o varstored -g guid.o depriv.o handler.o io_port.o varstored.o xapidb.o xapidb-lib.o -lutil -lrt -lxenstore -lxenforeignmemory -lxendevicemodel -lxenevtchn -lxentoolcore -lcrypto -lseccomp $(pkg-config --libs libxml-2.0) gcc -o tools/varstore-ls -g tools/xapidb-cmdline.o tools/tool-lib.o depriv.o guid.o handler.o xapidb-lib.o tools/varstore-ls.o -lcrypto -lseccomp $(pkg-config --libs libxml-2.0) gcc -o tools/varstore-get -g tools/xapidb-cmdline.o tools/tool-lib.o depriv.o guid.o handler.o xapidb-lib.o tools/varstore-get.o -lcrypto -lseccomp $(pkg-config --libs libxml-2.0) gcc -o tools/varstore-rm -g tools/xapidb-cmdline.o tools/tool-lib.o depriv.o guid.o handler.o xapidb-lib.o tools/varstore-rm.o -lcrypto -lseccomp $(pkg-config --libs libxml-2.0) gcc -o tools/varstore-set -g tools/xapidb-cmdline.o tools/tool-lib.o depriv.o guid.o handler.o xapidb-lib.o tools/varstore-set.o -lcrypto -lseccomp $(pkg-config --libs libxml-2.0) gcc -o tools/varstore-sb-state -g tools/xapidb-cmdline.o tools/tool-lib.o depriv.o guid.o handler.o xapidb-lib.o tools/varstore-sb-state.o -lcrypto -lseccomp $(pkg-config --libs libxml-2.0) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aH32zV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64 ++ dirname /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64 + '[' '!' -d /usr/lib/opamroot ']' + cd varstored-1.0.0 + install -m 755 -d /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64//usr/sbin + install -m 755 varstored /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64//usr/sbin/varstored + install -m 755 -d /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64//usr/bin + install -m 755 tools/varstore-ls tools/varstore-get tools/varstore-rm tools/varstore-set tools/varstore-sb-state /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64//usr/bin + install -m 755 -d /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64//usr/share/varstored + install -m 644 PK.auth /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64//usr/share/varstored + mkdir -p /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/opt/xensource/libexec/ + install -m 755 create-auth /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/opt/xensource/libexec/create-auth + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/varstored-1.0.0 extracting debug info from /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/sbin/varstored extracting debug info from /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/bin/varstore-ls extracting debug info from /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/bin/varstore-get extracting debug info from /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/bin/varstore-rm extracting debug info from /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/bin/varstore-set extracting debug info from /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/bin/varstore-sb-state extracting debug info from /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/opt/xensource/libexec/create-auth /usr/lib/rpm/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. 393 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nuSApz + umask 022 + cd /builddir/build/BUILD + cd varstored-1.0.0 + make check gcc -o test.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.test.o.d -MT ./test.o $(pkg-config --cflags glib-2.0) -c test.c gcc -o test -g test.o guid.o -lcrypto $(pkg-config --libs glib-2.0) openssl req -new -x509 -newkey rsa:2048 -subj "/CN=testPK/" -keyout testPK.key -out testPK.pem -days 36500 -nodes -sha256 Generating a 2048 bit RSA private key ...................................................+++ ....................................................+++ writing new private key to 'testPK.key' ----- openssl req -new -x509 -newkey rsa:2048 -subj "/CN=testcertA/" -keyout testcertA.key -out testcertA.pem -days 36500 -nodes -sha256 Generating a 2048 bit RSA private key ..............+++ ...................................................................................+++ writing new private key to 'testcertA.key' ----- openssl req -new -x509 -newkey rsa:2048 -subj "/CN=testcertB/" -keyout testcertB.key -out testcertB.pem -days 36500 -nodes -sha256 Generating a 2048 bit RSA private key .......................................................................+++ .........................................+++ writing new private key to 'testcertB.key' ----- ./test /test/query_variable_info: OK /test/get_variable/no_name: OK /test/get_variable/long_name: OK /test/get_variable/not_found: OK /test/get_variable/found: OK /test/get_variable/too_small: OK /test/get_next_variable/empty: OK /test/get_next_variable/long_name: OK /test/get_next_variable/only_runtime: OK /test/get_next_variable/too_small: OK /test/get_next_variable/no_match: OK /test/get_next_variable/all: OK /test/set_variable/attr: OK /test/set_variable/set: OK /test/set_variable/update: OK /test/set_variable/append: OK /test/set_variable/delete: OK /test/set_variable/resource_limit: OK /test/set_variable/many_vars: OK /test/set_variable/non_volatile: OK /test/set_variable/special_vars: OK /test/secure_set_variable/use_bad_digest: OK /test/secure_set_variable/setupmode: OK /test/secure_set_variable/PK: OK /test/secure_set_variable/usermode: OK /test/secure_set_variable/KEK/setupmode: OK /test/secure_set_variable/KEK/usermode: OK /test/secure_set_variable/DB/setupmode: OK /test/secure_set_variable/DB/usermode: OK /test/secure_set_variable/DBX/setupmode: OK /test/secure_set_variable/DBX/usermode: OK /test/secure_set_variable/DBT/setupmode: OK /test/secure_set_variable/DBT/usermode: OK + exit 0 Processing files: varstored-1.0.0-2.xcpng8.3.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EBZcz7 + umask 022 + cd /builddir/build/BUILD + cd varstored-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/share/licenses/varstored-1.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/share/licenses/varstored-1.0.0 + cp -pr LICENSE /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/share/licenses/varstored-1.0.0 + exit 0 Provides: varstored = 1.0.0-2.xcpng8.3 varstored(x86-64) = 1.0.0-2.xcpng8.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) librt.so.1()(64bit) libseccomp.so.2()(64bit) libutil.so.1()(64bit) libxendevicemodel.so.1()(64bit) libxendevicemodel.so.1(VERS_1.0)(64bit) libxendevicemodel.so.1(VERS_1.4)(64bit) libxenevtchn.so.1()(64bit) libxenevtchn.so.1(VERS_1.0)(64bit) libxenforeignmemory.so.1()(64bit) libxenforeignmemory.so.1(VERS_1.0)(64bit) libxenforeignmemory.so.1(VERS_1.3)(64bit) libxenstore.so.3.0()(64bit) libxentoolcore.so.1()(64bit) libxentoolcore.so.1(VERS_1.0)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) rtld(GNU_HASH) Processing files: varstored-tools-1.0.0-2.xcpng8.3.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HlcyMF + umask 022 + cd /builddir/build/BUILD + cd varstored-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/share/licenses/varstored-tools-1.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/share/licenses/varstored-tools-1.0.0 + cp -pr LICENSE /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64/usr/share/licenses/varstored-tools-1.0.0 + exit 0 Provides: varstored-tools = 1.0.0-2.xcpng8.3 varstored-tools(x86-64) = 1.0.0-2.xcpng8.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libseccomp.so.2()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) rtld(GNU_HASH) Processing files: varstored-debuginfo-1.0.0-2.xcpng8.3.x86_64 Provides: varstored-debuginfo = 1.0.0-2.xcpng8.3 varstored-debuginfo(x86-64) = 1.0.0-2.xcpng8.3 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64 Wrote: /builddir/build/RPMS/varstored-1.0.0-2.xcpng8.3.x86_64.rpm Wrote: /builddir/build/RPMS/varstored-tools-1.0.0-2.xcpng8.3.x86_64.rpm Wrote: /builddir/build/RPMS/varstored-debuginfo-1.0.0-2.xcpng8.3.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3G6i3T + umask 022 + cd /builddir/build/BUILD + cd varstored-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/varstored-1.0.0-2.xcpng8.3.x86_64 + exit 0 Child return code was: 0