Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-libvirt.spec'], gid=135printOutput=Falselogger=uid=7225shell=Falseuser='mockbuild'timeout=0chrootPath='/scratch/mock/epel-5-x86_64-25386/root'env={'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'CCACHE_DIR': '/tmp/ccache', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'TERM': 'vt100'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-libvirt.spec'] with env {'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'CCACHE_DIR': '/tmp/ccache', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'TERM': 'vt100'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ocaml-libvirt-0.4.1.1-1.el5.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocaml-libvirt.spec '], gid=135private_network=TrueprintOutput=Falselogger=uid=7225shell=FalsechrootPath='/scratch/mock/epel-5-x86_64-25386/root'timeout=0user='mockbuild'env={'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'CCACHE_DIR': '/tmp/ccache', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'TERM': 'vt100'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocaml-libvirt.spec '] with env {'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'CCACHE_DIR': '/tmp/ccache', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'TERM': 'vt100'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.67999 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf ocaml-libvirt-0.4.1.1 + tar -xf - + /bin/gzip -dc /builddir/build/SOURCES/ocaml-libvirt-0.4.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-libvirt-0.4.1.1 ++ /usr/bin/id -u + '[' 7225 = 0 ']' ++ /usr/bin/id -u + '[' 7225 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./configure --libdir=/usr/lib64 --prefix=/usr 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 for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for function prototypes... yes checking whether gcc and cc understand -c and -o together... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for virConnectOpen in -lvirt... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 libvirt/libvirt.h usability... yes checking libvirt/libvirt.h presence... yes checking for libvirt/libvirt.h... yes checking libvirt/virterror.h usability... yes checking libvirt/virterror.h presence... yes checking for libvirt/virterror.h... yes checking for virConnectGetCapabilities... yes checking for virConnectGetHostname... yes checking for virConnectGetURI... yes checking for virDomainBlockStats... yes checking for virDomainGetSchedulerParameters... yes checking for virDomainGetSchedulerType... yes checking for virDomainInterfaceStats... yes checking for virDomainMigrate... yes checking for virDomainSetSchedulerParameters... yes checking for virNodeGetFreeMemory... yes checking for virNodeGetCellsFreeMemory... yes checking for virStoragePoolGetConnect... yes checking for virConnectNumOfStoragePools... yes checking for virConnectListStoragePools... yes checking for virConnectNumOfDefinedStoragePools... yes checking for virConnectListDefinedStoragePools... yes checking for virStoragePoolLookupByName... yes checking for virStoragePoolLookupByUUID... yes checking for virStoragePoolLookupByUUIDString... yes checking for virStoragePoolLookupByVolume... yes checking for virStoragePoolCreateXML... yes checking for virStoragePoolDefineXML... yes checking for virStoragePoolBuild... yes checking for virStoragePoolUndefine... yes checking for virStoragePoolCreate... yes checking for virStoragePoolDestroy... yes checking for virStoragePoolDelete... yes checking for virStoragePoolFree... yes checking for virStoragePoolRefresh... yes checking for virStoragePoolGetName... yes checking for virStoragePoolGetUUID... yes checking for virStoragePoolGetUUIDString... yes checking for virStoragePoolGetInfo... yes checking for virStoragePoolGetXMLDesc... yes checking for virStoragePoolGetAutostart... yes checking for virStoragePoolSetAutostart... yes checking for virStoragePoolNumOfVolumes... yes checking for virStoragePoolListVolumes... yes checking for virStorageVolLookupByName... yes checking for virStorageVolLookupByKey... yes checking for virStorageVolLookupByPath... yes checking for virStorageVolGetName... yes checking for virStorageVolGetKey... yes checking for virStorageVolCreateXML... yes checking for virStorageVolDelete... yes checking for virStorageVolFree... yes checking for virStorageVolGetInfo... yes checking for virStorageVolGetXMLDesc... yes checking for virStorageVolGetPath... yes checking for virJobPtr... no checking for virStoragePoolPtr... yes checking for virStorageVolPtr... yes checking for initscr in -lncurses... yes checking checking for icon /usr/share/icons/gnome/16x16/devices/computer.png... no checking checking for icon /usr/share/icons/gnome/24x24/devices/computer.png... no checking checking for icon /usr/share/icons/gnome/32x32/devices/computer.png... no checking checking for icon /usr/share/icons/gnome/48x48/devices/computer.png... no checking for ocamlc... ocamlc OCaml version is 3.09.3 OCaml library path is /usr/lib64/ocaml checking for ocamlopt... ocamlopt checking for ocamlc.opt... ocamlc.opt checking for ocamlopt.opt... ocamlopt.opt checking for ocamldep... ocamldep checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for ocamldoc... ocamldoc checking for ocamlfind... ocamlfind checking findlib package unix... found checking findlib package extlib... not found checking findlib package lablgtk2... not found checking findlib package curses... not found checking findlib package gettext... not found checking findlib package xml-light... not found checking findlib package csv... not found checking findlib package dbus... not found checking for module calendar... not found checking findlib package calendar... not found checking for perldoc... perldoc checking for gdk-pixbuf-mlsource... no ------------------------------------------------------------ Thanks for downloading ocaml-libvirt 0.4.1.1 subpackages to build : libvirt examples mlvirsh ------------------------------------------------------------ configure: creating ./config.status config.status: creating META config.status: creating libvirt/libvirt_version.ml config.status: creating Makefile config.status: creating Make.rules config.status: creating libvirt/Makefile config.status: creating examples/Makefile config.status: creating mlvirsh/Makefile config.status: creating virt-ctrl/Makefile config.status: creating virt-top/Makefile config.status: creating virt-df/Makefile config.status: creating config.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.73000 + umask 022 + cd /builddir/build/BUILD + cd ocaml-libvirt-0.4.1.1 + LANG=C + export LANG + unset DISPLAY + make all doc for d in libvirt examples mlvirsh; do \ make -C $d all; \ if [ $? -ne 0 ]; then exit 1; fi; \ done make[1]: Entering directory `/builddir/build/BUILD/ocaml-libvirt-0.4.1.1/libvirt' rm -f .depend ocamlfind ocamldep -package unix libvirt.mli libvirt_version.mli libvirt.ml libvirt_version.ml > .depend make[1]: Leaving directory `/builddir/build/BUILD/ocaml-libvirt-0.4.1.1/libvirt' make[1]: Entering directory `/builddir/build/BUILD/ocaml-libvirt-0.4.1.1/libvirt' cc -g -O2 -I.. -I"/usr/lib64/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c.o libvirt_c.c cc1: warnings being treated as errors In file included from libvirt_c.c:3015: libvirt_c_epilogue.c: In function 'Val_virterror': libvirt_c_epilogue.c:181: warning: 'conn' is deprecated (declared at /usr/include/libvirt/virterror.h:100) libvirt_c_epilogue.c:182: warning: 'conn' is deprecated (declared at /usr/include/libvirt/virterror.h:100) libvirt_c_epilogue.c:187: warning: 'dom' is deprecated (declared at /usr/include/libvirt/virterror.h:102) libvirt_c_epilogue.c:189: warning: 'dom' is deprecated (declared at /usr/include/libvirt/virterror.h:102) libvirt_c_epilogue.c:194: warning: 'net' is deprecated (declared at /usr/include/libvirt/virterror.h:109) libvirt_c_epilogue.c:196: warning: 'net' is deprecated (declared at /usr/include/libvirt/virterror.h:109) make[1]: *** [libvirt_c.o] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/ocaml-libvirt-0.4.1.1/libvirt' make: *** [all] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.73000 (%build) Bad exit status from /var/tmp/rpm-tmp.73000 (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocaml-libvirt.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocaml-libvirt.spec LEAVE do --> EXCEPTION RAISED