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/xapi.spec'], chrootPath='/var/lib/mock/v8.3-u-ydi1-7824-22454/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/xapi.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/xapi-24.39.1-1.0.ydi.2.dbg.1.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/xapi.spec'], chrootPath='/var/lib/mock/v8.3-u-ydi1-7824-22454/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/xapi.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.KunUtH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xapi-24.39.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/xen-api-24.39.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xapi-24.39.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/xapi-24.11.0-update-xapi-conf.XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xenopsd-22.20.0-use-xcp-clipboardd.XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xapi-24.39.0-open-openflow-port.XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xapi-24.39.0-update-db-tunnel-protocol-from-other_config.XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xapi-24.19.2-fix-ipv6-import.XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xapi-24.19.2-more-fingerprint-field-updates-fixes.XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xen-api-24.39.1-test-disable-cancellable-sleep.patch + /usr/bin/patch -p1 -s + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/debug-component.patch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HBSMkc + umask 022 + cd /builddir/build/BUILD + cd xapi-24.39.1 + ./configure --xenopsd_libexecdir /usr/libexec/xenopsd --qemu_wrapper_dir=/usr/lib64/xen/bin --sbindir=/usr/sbin --mandir=/usr/share/man --bindir=/usr/bin --xapi_version=24.39.1 --prefix /usr --libdir /usr/lib64/opamroot/ocaml-system/lib --xapi_api_version_major=2 --xapi_api_version_minor=21 # Warning - this file is autogenerated by the configure script # Do not edit export INVENTORY=/etc/xensource-inventory export MANDIR=/usr/share/man export PREFIX=/usr export SDKDIR=/usr/share/xapi/sdk export XENOPSD_LIBEXECDIR=/usr/libexec/xenopsd export YUMPLUGINCONFDIR=/etc/yum/pluginconf.d export OPTDIR=/opt/xensource export EXTENSIONDIR=/etc/xapi.d/extensions export BINDIR=/usr/bin export PLUGINDIR=/etc/xapi.d/plugins export VARPATCHDIR=/var/patch export XAPI_VERSION=24.39.1 export XAPI_API_VERSION_MAJOR=2 export LIBDIR=/usr/lib64/opamroot/ocaml-system/lib export CLUSTER_STACK_ROOT=/usr/libexec/xapi/cluster-stack export SBINDIR=/usr/sbin export SCRIPTSDIR=/etc/xensource/scripts export XAPICONF=/etc/xapi.conf export WEBDIR=/opt/xensource/www export ETCDIR=/etc export HOOKSDIR=/etc/xapi.d export LIBEXECDIR=/opt/xensource/libexec export QEMU_WRAPPER_DIR=/usr/lib64/xen/bin export SHAREDIR=/opt/xensource export UDEVDIR=/etc/udev export ETCXENDIR=/etc/xensource export DOCDIR=/usr/share/xapi/doc export YUMPLUGINDIR=/usr/lib/yum-plugins export XAPI_API_VERSION_MINOR=21 + export OCAMLPATH=/usr/lib64/ocaml + OCAMLPATH=/usr/lib64/ocaml + ulimit -s 16384 + COMPILE_JAVA=no + /usr/bin/make [ -z "24.39.1" ] || (sed -i '/(version.*)/d' dune-project && echo "(version 24.39.1)" >> dune-project) if test -f /opt/xensource/sm/XE_SR_ERRORCODES.xml; then cp /opt/xensource/sm/XE_SR_ERRORCODES.xml ocaml/sdk-gen/csharp/XE_SR_ERRORCODES.xml; fi dune build @ocaml/idl/update-dm-lifecycle -j 8 --profile=release --auto-promote || dune build @ocaml/idl/update-dm-lifecycle -j 8 --profile=release --auto-promote dune build -j 8 --profile=release @install @ocaml/xapi-storage/python/xapi/storage/api/v5/python @ocaml/xapi-doc @ocaml/sdk-gen/sdkgen File "ocaml/xapi/xapi_observer_components.ml", line 95, characters 12-21: 95 | component (Printexc.to_string e); ^^^^^^^^^ Error: This expression has type t but an expression was expected of type string make: *** [build] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.HBSMkc (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HBSMkc (%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 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 x86_64 --nodeps /builddir/build/SPECS/xapi.spec