Mock Version: 1.1.32 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/ocaml-libvirt.spec'], False, '/srv/build/3/workerI/mock-root/c7.00.02-i686/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/ocaml-libvirt.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Tue Mar 20 2008 Richard W.M. Jones - 0.4.1.1-1 warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/ocaml-libvirt-0.6.1.2-8.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/ocaml-libvirt.spec'], False, '/srv/build/3/workerI/mock-root/c7.00.02-i686/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/ocaml-libvirt.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Tue Mar 20 2008 Richard W.M. Jones - 0.4.1.1-1 Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NfbiS7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-libvirt-0.6.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/ocaml-libvirt-0.6.1.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-libvirt-0.6.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-remove-parameter-nr_pcpus-of-Libvirt.Domain.get_cpu_.patch): + echo 'Patch #1 (0001-remove-parameter-nr_pcpus-of-Libvirt.Domain.get_cpu_.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-remove-parameter-nr_pcpus-of-Libvirt.Domain.get_cpu_.patch + /usr/bin/patch -p1 --fuzz=0 patching file examples/.depend patching file examples/get_cpu_stats.ml patching file libvirt/.depend patching file libvirt/libvirt.ml patching file libvirt/libvirt.mli patching file libvirt/libvirt_c_oneoffs.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yiIv20 + umask 022 + cd /builddir/build/BUILD + cd ocaml-libvirt-0.6.1.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS ++ find . -name config.guess -o -name config.sub + for i in '$(find . -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' + for i in '$(find . -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' + ./configure --build=i386-redhat-linux-gnu --host=i386-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for i386-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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... i386-redhat-linux-gnu checking host system type... i386-redhat-linux-gnu checking for virConnectOpen in -lvirt... yes 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 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 virDomainBlockPeek... yes checking for virDomainMemoryPeek... yes checking for virDomainGetCPUStats... yes checking for virStoragePoolPtr... yes checking for virStorageVolPtr... yes checking for ocamlc... ocamlc OCaml version is 4.00.1 OCaml library path is /usr/lib/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 ------------------------------------------------------------ Thanks for downloading ocaml-libvirt 0.6.1.2 ------------------------------------------------------------ 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 config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make all doc for d in libvirt examples; do \ make -C $d all; \ if [ $? -ne 0 ]; then exit 1; fi; \ done make[1]: Entering directory `/builddir/build/BUILD/ocaml-libvirt-0.6.1.2/libvirt' rm -f .depend ocamlfind ocamldep -package unix libvirt_version.mli libvirt.mli libvirt_version.ml libvirt.ml > .depend make[1]: Leaving directory `/builddir/build/BUILD/ocaml-libvirt-0.6.1.2/libvirt' make[1]: Entering directory `/builddir/build/BUILD/ocaml-libvirt-0.6.1.2/libvirt' perl -w generator.pl generator.pl: written libvirt_c.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I.. -I"/usr/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c.o libvirt_c.c ocamlfind ocamlc -g -package unix -c libvirt.mli ocamlfind ocamlc -g -package unix -c libvirt.ml ocamlfind ocamlc -g -package unix -c libvirt_version.mli ocamlfind ocamlc -g -package unix -c libvirt_version.ml ocamlmklib -o mllibvirt libvirt_c.o libvirt.cmo libvirt_version.cmo -Wl,-z,relro -lvirt Unknown option -Wl,-z,relro make[1]: Leaving directory `/builddir/build/BUILD/ocaml-libvirt-0.6.1.2/libvirt' make[1]: Entering directory `/builddir/build/BUILD/ocaml-libvirt-0.6.1.2/examples' ocamlfind ocamlc -g -package unix -I ../libvirt -c list_domains.ml ocamlfind ocamlc \ -package unix -I ../libvirt -g -linkpkg \ ../libvirt/mllibvirt.cma -o list_domains list_domains.cmo ocamlc.opt got signal and exited make[1]: *** [list_domains] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/ocaml-libvirt-0.6.1.2/examples' make: *** [all] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.yiIv20 (%build) bogus date in %changelog: Tue Mar 20 2008 Richard W.M. Jones - 0.4.1.1-1 Bad exit status from /var/tmp/rpm-tmp.yiIv20 (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/ocaml-libvirt.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 359, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/ocaml-libvirt.spec'] LEAVE do --> EXCEPTION RAISED