Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-netdev.spec'], chrootPath='/var/lib/mock/v8.1-base-1738-1210/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.utf8'}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/ocaml-netdev.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.utf8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ocaml-netdev-1.3.0-1.xcpng8.1.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/ocaml-netdev.spec'], chrootPath='/var/lib/mock/v8.1-base-1738-1210/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.utf8'}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/ocaml-netdev.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.utf8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ySOjSd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-netdev-1.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/netdev-1.3.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-netdev-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JmeMa1 + umask 022 + cd /builddir/build/BUILD + cd ocaml-netdev-1.3.0 + make dune build @install --profile=release + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xBOUGP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64 ++ dirname /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64 + '[' '!' -d /usr/lib/opamroot ']' + cd ocaml-netdev-1.3.0 + make DESTDIR=/builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64 install dune install -p xapi-netdev Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/META Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/dune-package Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/libxapi_netdev_stubs.a Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/netdev.cmi Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/netdev.cmt Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/netdev.cmti Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/netdev.cmx Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/netdev.h Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/netdev.ml Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/netdev.mli Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/opam Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/sockios_compat.h Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/xapi_netdev.a Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/xapi_netdev.cma Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/xapi_netdev.cmxa Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/xapi-netdev/xapi_netdev.cmxs Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/doc/xapi-netdev/LICENSE Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/doc/xapi-netdev/README.md Installing /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib64/opamroot/ocaml-system/lib/stublibs/dllxapi_netdev_stubs.so + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 Processing files: ocaml-netdev-1.3.0-1.xcpng8.1.x86_64 error: File not found: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev warning: File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.a warning: File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.cmxa warning: File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.cmxs warning: File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.cmx warning: File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.cmt warning: File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.cmti warning: File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.mli error: File not found: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/stublibs/dllxapi_netdev_stubs.so Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iLhLQE + umask 022 + cd /builddir/build/BUILD + cd ocaml-netdev-1.3.0 + DOCDIR=/builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/share/doc/ocaml-netdev-1.3.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/share/doc/ocaml-netdev-1.3.0 + cp -pr ChangeLog /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/share/doc/ocaml-netdev-1.3.0 + cp -pr LICENSE /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/share/doc/ocaml-netdev-1.3.0 + cp -pr MAINTAINERS /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/share/doc/ocaml-netdev-1.3.0 + cp -pr README.md /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/share/doc/ocaml-netdev-1.3.0 + exit 0 RPM build errors: File not found: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.a File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.cmxa File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.cmxs File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.cmx File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.cmt File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.cmti File not found by glob: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/xapi-netdev/*.mli File not found: /builddir/build/BUILDROOT/ocaml-netdev-1.3.0-1.xcpng8.1.x86_64/usr/lib/opamroot/ocaml-system/lib/stublibs/dllxapi_netdev_stubs.so Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 x86_64 --nodeps /builddir/build/SPECS/ocaml-netdev.spec