Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-cdrom.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2992/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-cdrom.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-796684069 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ocaml-cdrom-0.9.1-3.el7.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-cdrom.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2992/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocaml-cdrom.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MlATtQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cdrom-cdrom-0.9.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/cdrom-0.9.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd cdrom-cdrom-0.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WDdu39 + umask 022 + cd /builddir/build/BUILD + cd cdrom-cdrom-0.9.1 + make obuild --debug+ configure [CMD]: ocamlfind printconf conf Configuring cdrom-0.9.1... configure flag: [] analyzing project [CMD]: /usr/bin/ocamlopt.opt -config [CMD]: /usr/bin/ocamlopt.opt -vnum initializing standard library : package bigarray initializing standard library : package dynlink initializing standard library : package graphics initializing standard library : package nums initializing standard library : package stdlib initializing standard library : package str initializing standard library : package unix internal depends: cdrom getting dependencies for target lib-cdrom getting dependencies for target exe-query library cdrom depends on unix configuration changed, deleting dist Writing new setup auto-generating configuration files obuild --debug+ build [CMD]: /usr/bin/ocamlopt.opt -config [CMD]: ocamlfind printconf conf analyzing project [CMD]: /usr/bin/ocamlopt.opt -config [CMD]: /usr/bin/ocamlopt.opt -vnum initializing standard library : package bigarray initializing standard library : package dynlink initializing standard library : package graphics initializing standard library : package nums initializing standard library : package stdlib initializing standard library : package str initializing standard library : package unix internal depends: cdrom getting dependencies for target lib-cdrom getting dependencies for target exe-query library cdrom depends on unix building target lib-cdrom Building library cdrom preparing compilation for lib-cdrom Analysing Cdrom Cdrom has mtime 1369774086.000000 Cdrom has interface (mtime=1369774086.000000) [CMD]: /usr/bin/ocamldep.opt -I lib -I dist/build/autogen -modules lib/cdrom.ml Cdrom depends on Unix Cdrom internally depends on [CMD]: /usr/bin/gcc -MM lib/cdrom_stubs.c [1 of 3] Compiling C cdrom_stubs.c [CMD]: gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -I lib -I /usr/lib64/ocaml -I dist/build/autogen -o dist/build/lib-cdrom/cdrom_stubs.c.o -c lib/cdrom_stubs.c [2 of 3] Intfing Cdrom [CMD]: /usr/bin/ocamlc.opt -I dist/build/lib-cdrom -I dist/build/autogen -I lib -I /usr/lib64/ocaml -bin-annot -o dist/build/lib-cdrom/cdrom.cmi -c lib/cdrom.mli [3 of 3] Compiling Cdrom [CMD]: /usr/bin/ocamlopt.opt -I dist/build/lib-cdrom -I dist/build/autogen -I lib -I /usr/lib64/ocaml -bin-annot -o dist/build/lib-cdrom/cdrom.cmx -c lib/cdrom.ml [CMD]: /usr/bin/ocamlc.opt -I dist/build/lib-cdrom -I dist/build/autogen -I lib -I /usr/lib64/ocaml -bin-annot -o dist/build/lib-cdrom/cdrom.cmo -c lib/cdrom.ml lib/cdrom_stubs.c: In function 'stub_CDROM_DRIVE_STATUS': lib/cdrom_stubs.c:47:6: warning: variable 'ok' set but not used [-Wunused-but-set-variable] int ok = 0; \ ^ lib/cdrom_stubs.c:81:1: note: in expansion of macro 'make_ioctl_stub' make_ioctl_stub(CDROM_DRIVE_STATUS); ^ lib/cdrom_stubs.c: In function 'stub_CDROM_DISC_STATUS': lib/cdrom_stubs.c:47:6: warning: variable 'ok' set but not used [-Wunused-but-set-variable] int ok = 0; \ ^ lib/cdrom_stubs.c:82:1: note: in expansion of macro 'make_ioctl_stub' make_ioctl_stub(CDROM_DISC_STATUS); ^ schedule finished: #processes=3 max_concurrency=2 compilation order: Cdrom self deps: package deps: [unix] [CMD]: /usr/bin/ocamlmklib -o dist/build/lib-cdrom/stubs_cdrom dist/build/lib-cdrom/cdrom_stubs.c.o Linking library dist/build/lib-cdrom/cdrom.cmxa [CMD]: /usr/bin/ocamlopt.opt -a -o dist/build/lib-cdrom/cdrom.cmxa -I dist/build/lib-cdrom -I /usr/lib64/ocaml -cclib -lstubs_cdrom cdrom.cmx Linking library dist/build/lib-cdrom/cdrom.cma [CMD]: /usr/bin/ocamlc.opt -a -o dist/build/lib-cdrom/cdrom.cma -I dist/build/lib-cdrom -I /usr/lib64/ocaml -dllib -lstubs_cdrom cdrom.cmo building target exe-query Building executable query preparing compilation for exe-query Analysing Query Query has mtime 1369774086.000000 [CMD]: /usr/bin/ocamldep.opt -I query -I dist/build/autogen -modules query/query.ml Query depends on Array,Cdrom,Printf,Sys Query internally depends on [1 of 1] Compiling Query [CMD]: /usr/bin/ocamlopt.opt -I dist/build/query -I dist/build/autogen -I query -I /usr/lib64/ocaml -I dist/build/lib-cdrom -bin-annot -o dist/build/query/query.cmx -c query/query.ml schedule finished: #processes=1 max_concurrency=1 compilation order: Query self deps: cdrom package deps: [unix,cdrom] Linking executable dist/build/query/query [CMD]: /usr/bin/ocamlopt.opt -o dist/build/query/query -I dist/build/query -I /usr/lib64/ocaml -I dist/build/lib-cdrom unix.cmxa cdrom.cmxa -cclib -Ldist/build/lib-cdrom query.cmx + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3GpI2t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64 + cd cdrom-cdrom-0.9.1 + mkdir -p /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/stublibs + export OCAMLFIND_LDCONF=ignore + OCAMLFIND_LDCONF=ignore + make install DESTDIR=/builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml obuild --debug+ configure [CMD]: ocamlfind printconf conf Configuring cdrom-0.9.1... configure flag: [] analyzing project [CMD]: /usr/bin/ocamlopt.opt -config [CMD]: /usr/bin/ocamlopt.opt -vnum initializing standard library : package bigarray initializing standard library : package dynlink initializing standard library : package graphics initializing standard library : package nums initializing standard library : package stdlib initializing standard library : package str initializing standard library : package unix internal depends: cdrom getting dependencies for target lib-cdrom getting dependencies for target exe-query library cdrom depends on unix configuration changed, deleting dist Writing new setup auto-generating configuration files obuild --debug+ build [CMD]: /usr/bin/ocamlopt.opt -config [CMD]: ocamlfind printconf conf analyzing project [CMD]: /usr/bin/ocamlopt.opt -config [CMD]: /usr/bin/ocamlopt.opt -vnum initializing standard library : package bigarray initializing standard library : package dynlink initializing standard library : package graphics initializing standard library : package nums initializing standard library : package stdlib initializing standard library : package str initializing standard library : package unix internal depends: cdrom getting dependencies for target lib-cdrom getting dependencies for target exe-query library cdrom depends on unix building target lib-cdrom Building library cdrom preparing compilation for lib-cdrom Analysing Cdrom Cdrom has mtime 1369774086.000000 Cdrom has interface (mtime=1369774086.000000) [CMD]: /usr/bin/ocamldep.opt -I lib -I dist/build/autogen -modules lib/cdrom.ml Cdrom depends on Unix Cdrom internally depends on [CMD]: /usr/bin/gcc -MM lib/cdrom_stubs.c [1 of 3] Compiling C cdrom_stubs.c [CMD]: gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -I lib -I /usr/lib64/ocaml -I dist/build/autogen -o dist/build/lib-cdrom/cdrom_stubs.c.o -c lib/cdrom_stubs.c [2 of 3] Intfing Cdrom [CMD]: /usr/bin/ocamlc.opt -I dist/build/lib-cdrom -I dist/build/autogen -I lib -I /usr/lib64/ocaml -bin-annot -o dist/build/lib-cdrom/cdrom.cmi -c lib/cdrom.mli [3 of 3] Compiling Cdrom [CMD]: /usr/bin/ocamlopt.opt -I dist/build/lib-cdrom -I dist/build/autogen -I lib -I /usr/lib64/ocaml -bin-annot -o dist/build/lib-cdrom/cdrom.cmx -c lib/cdrom.ml [CMD]: /usr/bin/ocamlc.opt -I dist/build/lib-cdrom -I dist/build/autogen -I lib -I /usr/lib64/ocaml -bin-annot -o dist/build/lib-cdrom/cdrom.cmo -c lib/cdrom.ml lib/cdrom_stubs.c: In function 'stub_CDROM_DRIVE_STATUS': lib/cdrom_stubs.c:47:6: warning: variable 'ok' set but not used [-Wunused-but-set-variable] int ok = 0; \ ^ lib/cdrom_stubs.c:81:1: note: in expansion of macro 'make_ioctl_stub' make_ioctl_stub(CDROM_DRIVE_STATUS); ^ lib/cdrom_stubs.c: In function 'stub_CDROM_DISC_STATUS': lib/cdrom_stubs.c:47:6: warning: variable 'ok' set but not used [-Wunused-but-set-variable] int ok = 0; \ ^ lib/cdrom_stubs.c:82:1: note: in expansion of macro 'make_ioctl_stub' make_ioctl_stub(CDROM_DISC_STATUS); ^ schedule finished: #processes=3 max_concurrency=2 compilation order: Cdrom self deps: package deps: [unix] [CMD]: /usr/bin/ocamlmklib -o dist/build/lib-cdrom/stubs_cdrom dist/build/lib-cdrom/cdrom_stubs.c.o Linking library dist/build/lib-cdrom/cdrom.cmxa [CMD]: /usr/bin/ocamlopt.opt -a -o dist/build/lib-cdrom/cdrom.cmxa -I dist/build/lib-cdrom -I /usr/lib64/ocaml -cclib -lstubs_cdrom cdrom.cmx Linking library dist/build/lib-cdrom/cdrom.cma [CMD]: /usr/bin/ocamlc.opt -a -o dist/build/lib-cdrom/cdrom.cma -I dist/build/lib-cdrom -I /usr/lib64/ocaml -dllib -lstubs_cdrom cdrom.cmo building target exe-query Building executable query preparing compilation for exe-query Analysing Query Query has mtime 1369774086.000000 [CMD]: /usr/bin/ocamldep.opt -I query -I dist/build/autogen -modules query/query.ml Query depends on Array,Cdrom,Printf,Sys Query internally depends on [1 of 1] Compiling Query [CMD]: /usr/bin/ocamlopt.opt -I dist/build/query -I dist/build/autogen -I query -I /usr/lib64/ocaml -I dist/build/lib-cdrom -bin-annot -o dist/build/query/query.cmx -c query/query.ml schedule finished: #processes=1 max_concurrency=1 compilation order: Query self deps: cdrom package deps: [unix,cdrom] Linking executable dist/build/query/query [CMD]: /usr/bin/ocamlopt.opt -o dist/build/query/query -I dist/build/query -I /usr/lib64/ocaml -I dist/build/lib-cdrom unix.cmxa cdrom.cmxa -cclib -Ldist/build/lib-cdrom query.cmx ocamlfind remove cdrom ocamlfind: [WARNING] No such directory: /usr/lib64/ocaml/cdrom ocamlfind install cdrom dist/build/lib-cdrom/cdrom.a dist/build/lib-cdrom/cdrom.cmi dist/build/lib-cdrom/cdrom.cmx dist/build/lib-cdrom/cdrom.o dist/build/lib-cdrom/dllstubs_cdrom.so dist/build/lib-cdrom/cdrom.cma dist/build/lib-cdrom/cdrom.cmo dist/build/lib-cdrom/cdrom.cmxa dist/build/lib-cdrom/cdrom_stubs.c.o dist/build/lib-cdrom/libstubs_cdrom.a lib/META lib/cdrom.mli -destdir /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/cdrom.mli Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/libstubs_cdrom.a Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/cdrom_stubs.c.o Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/cdrom.cmxa Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/cdrom.cmo Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/cdrom.cma Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/cdrom.o Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/cdrom.cmx Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/cdrom.cmi Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/cdrom.a Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/cdrom/META Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/stublibs/dllstubs_cdrom.so Installed /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64//usr/lib64/ocaml/stublibs/dllstubs_cdrom.so.owner + /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-cdrom-0.9.1-3.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.s4ZcxO + umask 022 + cd /builddir/build/BUILD + cd cdrom-cdrom-0.9.1 + DOCDIR=/builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64/usr/share/doc/ocaml-cdrom-0.9.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64/usr/share/doc/ocaml-cdrom-0.9.1 + cp -pr ChangeLog /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64/usr/share/doc/ocaml-cdrom-0.9.1 + cp -pr README.md /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64/usr/share/doc/ocaml-cdrom-0.9.1 + exit 0 Provides: ocaml(Cdrom) = db8a5a7198b9853033e1362d29d54f34 ocaml-cdrom = 0.9.1-3.el7.centos ocaml-cdrom(x86-64) = 0.9.1-3.el7.centos 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.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) ocaml(Pervasives) = 36b5bc8227dc9914c6d9fd9bdcfadb45 ocaml(Unix) = 93736a394d3d85d6d127fe238ddc6092 ocaml(runtime) = 4.01.1 rtld(GNU_HASH) Processing files: ocaml-cdrom-devel-0.9.1-3.el7.centos.x86_64 Provides: ocaml-cdrom-devel = 0.9.1-3.el7.centos ocaml-cdrom-devel(x86-64) = 0.9.1-3.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-796684069 Wrote: /builddir/build/RPMS/ocaml-cdrom-0.9.1-3.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-cdrom-devel-0.9.1-3.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iF1QfQ + umask 022 + cd /builddir/build/BUILD + cd cdrom-cdrom-0.9.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-cdrom-0.9.1-3.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->