Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-cppo.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22939-1159/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-cppo.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/ocaml-cppo-1.6.8-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-cppo.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22939-1159/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-cppo.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.ElUrKs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cppo-1.6.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cppo-1.6.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cppo-1.6.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KKN2wI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cppo-1.6.8 + dune build -j16 --verbose --profile release Shared cache: disabled Workspace root: /builddir/build/BUILD/cppo-1.6.8 Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; for_host = None ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; ocaml_bin = External "/usr/bin" ; ocaml = Ok External "/usr/bin/ocaml" ; ocamlc = External "/usr/bin/ocamlc.opt" ; ocamlopt = Ok External "/usr/bin/ocamlopt.opt" ; ocamldep = Ok External "/usr/bin/ocamldep.opt" ; ocamlmklib = Ok External "/usr/bin/ocamlmklib.opt" ; env = map { "CAML_LD_LIBRARY_PATH" : "/builddir/build/BUILD/cppo-1.6.8/_build/install/default/lib/stublibs" ; "DUNE_OCAML_HARDCODED" : "/usr/lib64/ocaml:/usr/lib64/ocaml" ; "DUNE_OCAML_STDLIB" : "/usr/lib64/ocaml" ; "DUNE_SOURCEROOT" : "/builddir/build/BUILD/cppo-1.6.8" ; "INSIDE_DUNE" : "/builddir/build/BUILD/cppo-1.6.8/_build/default" ; "MANPATH" : "/builddir/build/BUILD/cppo-1.6.8/_build/install/default/man" ; "OCAMLFIND_IGNORE_DUPS_IN" : "/builddir/build/BUILD/cppo-1.6.8/_build/install/default/lib" ; "OCAMLPATH" : "/builddir/build/BUILD/cppo-1.6.8/_build/install/default/lib" ; "OCAMLTOP_INCLUDE_PATH" : "/builddir/build/BUILD/cppo-1.6.8/_build/install/default/lib/toplevel" } ; findlib_paths = [ External "/usr/lib64/ocaml"; External "/usr/lib64/ocaml" ] ; natdynlink_supported = true ; supports_shared_libraries = true ; ocaml_config = { version = "5.0.1+dev0-2022-12-15" ; standard_library_default = "/usr/lib64/ocaml" ; standard_library = "/usr/lib64/ocaml" ; standard_runtime = "the_standard_runtime_variable_was_deleted" ; ccomp_type = "cc" ; c_compiler = "gcc" ; ocamlc_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ] ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; ocamlopt_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ] ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld" ; "-Wl,--build-id=sha1" ; "-lm" ; "-lpthread" ] ; native_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-D_FILE_OFFSET_BITS=64" ] ; native_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld" ; "-Wl,--build-id=sha1" ; "-lm" ; "-lpthread" ] ; native_pack_linker = [ "ld"; "-r"; "-o" ] ; cc_profile = [] ; architecture = "amd64" ; model = "default" ; int_size = 63 ; word_size = 64 ; system = "linux" ; asm = [ "as" ] ; asm_cfi_supported = true ; with_frame_pointers = false ; ext_exe = "" ; ext_obj = ".o" ; ext_asm = ".s" ; ext_lib = ".a" ; ext_dll = ".so" ; os_type = "Unix" ; default_executable_name = "a.out" ; systhread_supported = true ; host = "x86_64-pc-linux-gnu" ; target = "x86_64-pc-linux-gnu" ; profiling = false ; flambda = true ; spacetime = false ; safe_string = true ; exec_magic_number = "Caml1999X032" ; cmi_magic_number = "Caml1999I032" ; cmo_magic_number = "Caml1999O032" ; cma_magic_number = "Caml1999A032" ; cmx_magic_number = "Caml1999y032" ; cmxa_magic_number = "Caml1999z032" ; ast_impl_magic_number = "Caml1999M032" ; ast_intf_magic_number = "Caml1999N032" ; cmxs_magic_number = "Caml1999D032" ; cmt_magic_number = "Caml1999T032" ; natdynlink_supported = true ; supports_shared_libraries = true ; windows_unicode = false } } Actual targets: - alias @@default File "ocamlbuild_plugin/dune", line 6, characters 12-22: 6 | (libraries ocamlbuild)) ^^^^^^^^^^ Error: Library "ocamlbuild" not found. -> required by library "cppo_ocamlbuild" in _build/default/ocamlbuild_plugin -> required by _build/default/META.cppo_ocamlbuild -> required by _build/install/default/lib/cppo_ocamlbuild/META -> required by _build/default/cppo_ocamlbuild.install -> required by alias install -> required by alias default Running[1]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_main.ml) > _build/default/src/.cppo_main.eobjs/cppo_main.impl.d Running[2]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cppo_command.mli) > _build/default/src/.cppo_main.eobjs/cppo_command.intf.d Running[3]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cppo_types.mli) > _build/default/src/.cppo_main.eobjs/cppo_types.intf.d Running[4]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cppo_version.mli) > _build/default/src/.cppo_main.eobjs/cppo_version.intf.d Running[5]: (cd _build/default && /usr/bin/ocaml src/compat.ml src/cppo_eval.mli) > _build/default/src/cppo_eval.pp.mli Running[6]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cppo_eval.pp.mli) > _build/default/src/.cppo_main.eobjs/cppo_eval.intf.d Running[7]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_command.ml) > _build/default/src/.cppo_main.eobjs/cppo_command.impl.d Running[8]: (cd _build/default && /usr/bin/ocaml src/compat.ml src/cppo_eval.ml) > _build/default/src/cppo_eval.pp.ml Running[9]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_eval.pp.ml) > _build/default/src/.cppo_main.eobjs/cppo_eval.impl.d Running[10]: (cd _build/default && /usr/bin/ocamllex -q -o src/cppo_lexer.ml src/cppo_lexer.mll) Running[11]: (cd _build/default && /usr/bin/ocamlyacc src/cppo_parser.mly) Running[12]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/cppo_parser.mli) > _build/default/src/.cppo_main.eobjs/cppo_parser.intf.d Running[13]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_lexer.ml) > _build/default/src/.cppo_main.eobjs/cppo_lexer.impl.d Running[14]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_parser.ml) > _build/default/src/.cppo_main.eobjs/cppo_parser.impl.d Running[15]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_types.ml) > _build/default/src/.cppo_main.eobjs/cppo_types.impl.d Running[16]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/cppo_version.ml) > _build/default/src/.cppo_main.eobjs/cppo_version.impl.d Running[17]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -o src/.cppo_main.eobjs/byte/cppo_command.cmi -c -intf src/cppo_command.mli) Running[18]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -o src/.cppo_main.eobjs/byte/cppo_types.cmi -c -intf src/cppo_types.mli) Running[19]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -o src/.cppo_main.eobjs/byte/cppo_version.cmi -c -intf src/cppo_version.mli) Running[20]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o src/.cppo_main.eobjs/native/cppo_command.cmx -c -impl src/cppo_command.ml) Running[21]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o src/.cppo_main.eobjs/native/cppo_version.cmx -c -impl src/cppo_version.ml) Running[22]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o src/.cppo_main.eobjs/native/cppo_types.cmx -c -impl src/cppo_types.ml) Running[23]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -o src/.cppo_main.eobjs/byte/cppo_eval.cmi -c -intf src/cppo_eval.pp.mli) Running[24]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -o src/.cppo_main.eobjs/byte/cppo_parser.cmi -c -intf src/cppo_parser.mli) Running[25]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -o src/.cppo_main.eobjs/byte/cppo_lexer.cmo -c -impl src/cppo_lexer.ml) Running[26]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.cppo_main.eobjs/byte -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -no-alias-deps -o src/.cppo_main.eobjs/byte/cppo_main.cmo -c -impl src/cppo_main.ml) Running[27]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o src/.cppo_main.eobjs/native/cppo_parser.cmx -c -impl src/cppo_parser.ml) Running[28]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o src/.cppo_main.eobjs/native/cppo_lexer.cmx -c -impl src/cppo_lexer.ml) Running[29]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o src/.cppo_main.eobjs/native/cppo_eval.cmx -c -impl src/cppo_eval.pp.ml) Running[30]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I src/.cppo_main.eobjs/byte -I src/.cppo_main.eobjs/native -I /usr/lib64/ocaml/str -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o src/.cppo_main.eobjs/native/cppo_main.cmx -c -impl src/cppo_main.ml) Running[31]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o src/cppo_main.exe /usr/lib64/ocaml/unix/unix.cmxa /usr/lib64/ocaml/str/str.cmxa src/.cppo_main.eobjs/native/cppo_command.cmx src/.cppo_main.eobjs/native/cppo_types.cmx src/.cppo_main.eobjs/native/cppo_parser.cmx src/.cppo_main.eobjs/native/cppo_lexer.cmx src/.cppo_main.eobjs/native/cppo_eval.cmx src/.cppo_main.eobjs/native/cppo_version.cmx src/.cppo_main.eobjs/native/cppo_main.cmx) error: Bad exit status from /var/tmp/rpm-tmp.KKN2wI (%build) Bad exit status from /var/tmp/rpm-tmp.KKN2wI (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-cppo.spec\n', 1)] 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 597, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-cppo.spec