Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jbuilder.spec'], chrootPath='/var/lib/mock/f31-build-55474-28123/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.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jbuilder.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.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548979200 Wrote: /builddir/build/SRPMS/jbuilder-1.0.1-2.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jbuilder.spec'], chrootPath='/var/lib/mock/f31-build-55474-28123/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.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jbuilder.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.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548979200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xFQBwJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dune-1.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/jbuilder-1.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dune-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/1113.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gIdnDL + umask 022 + cd /builddir/build/BUILD + cd dune-1.0.1 + /usr/bin/make -O -j4 V=1 VERBOSE=1 release BUILDSTDERR: File "src/stdune/caml/result.ml", line 4, characters 7-17: BUILDSTDERR: Alert deprecated: module Stdlib.Pervasives BUILDSTDERR: Use Stdlib instead. BUILDSTDERR: If you need to stay compatible with OCaml < 4.07, you can use the BUILDSTDERR: stdlib-shims library: https://github.com/ocaml/stdlib-shims BUILDSTDERR: File "src/stdune/caml/result.mli", line 6, characters 7-17: BUILDSTDERR: Alert deprecated: module Stdlib.Pervasives BUILDSTDERR: Use Stdlib instead. BUILDSTDERR: If you need to stay compatible with OCaml < 4.07, you can use the BUILDSTDERR: stdlib-shims library: https://github.com/ocaml/stdlib-shims BUILDSTDERR: File "src/usexp/usexp.ml", line 97, characters 15-52: BUILDSTDERR: Alert deprecated: Stdlib.Format.pp_get_formatter_tag_functions BUILDSTDERR: Use Format.pp_get_formatter_stag_functions. BUILDSTDERR: File "src/usexp/usexp.ml", line 98, characters 2-39: BUILDSTDERR: Alert deprecated: Stdlib.Format.pp_set_formatter_tag_functions BUILDSTDERR: This function will erase non-string tag formatting functions. Use Format.pp_set_formatter_stag_functions. BUILDSTDERR: File "src/stdune/list.ml", line 3, characters 0-18: BUILDSTDERR: Error: Multiple definition of the type name t. BUILDSTDERR: Names must be unique in a given structure or signature. BUILDSTDERR: make: *** [Makefile:13: boot.exe] Error 2 ocaml bootstrap.ml '/usr/bin/ocamllex.opt' -q src/usexp/dune_lexer.mll '/usr/bin/ocamllex.opt' -q src/meta_lexer.mll '/usr/bin/ocamllex.opt' -q src/dune_lexer.mll '/usr/bin/ocamldep.opt' -modules src/action.ml src/action_intf.ml src/arg_spec.ml src/artifacts.ml src/bin.ml src/binary_kind.ml src/build.ml src/build_interpret.ml src/build_system.ml src/clflags.ml src/cm_kind.ml src/colors.ml src/compilation_context.ml src/config.ml src/context.ml src/dep_path.ml src/dune_lexer.ml src/dune_project.ml src/env.ml src/errors.ml src/exe.ml src/file_tree.ml src/findlib.ml src/gen_meta.ml src/gen_rules.ml src/glob_lexer.boot.ml src/import.ml src/inline_tests.boot.ml src/install.ml src/install_rules.ml src/installed_dune_file.ml src/jbuild.ml src/jbuild_load.ml src/js_of_ocaml_rules.boot.ml src/lib.ml src/loc.ml src/log.ml src/main.ml src/menhir.boot.ml src/merlin.ml src/meta.ml src/meta_lexer.ml src/ml_kind.ml src/mode.ml src/module.ml src/module_compilation.ml src/modules_partitioner.ml src/ocaml_flags.ml src/ocamldep.ml src/odoc.boot.ml vendor/boot/opamBaseParser.ml vendor/boot/opamLexer.ml vendor/boot/opamParserTypes.ml src/opam_file.ml src/ordered_set_lang.ml src/package.ml src/per_item.ml src/pform.ml src/preprocessing.ml src/print_diff.ml src/process.ml vendor/boot/re.ml src/report_error.ml src/scheduler.ml src/scope.ml src/setup.boot.ml src/stanza.ml src/string_with_vars.ml src/sub_system.ml src/sub_system_intf.ml src/sub_system_name.ml src/super_context.ml src/syntax.ml src/top_closure.ml src/utils.ml src/utop.ml src/value.ml src/variant.ml src/versioned_file.ml src/vfile_kind.ml src/watermarks.ml src/workspace.ml > boot-depends.txt '/usr/bin/ocamldep.opt' -modules src/stdune/caml/caml.ml src/stdune/caml/result.ml src/stdune/caml/result_compat.ml > boot-depends.txt '/usr/bin/ocamldep.opt' -modules src/fiber/fiber.ml > boot-depends.txt '/usr/bin/ocamldep.opt' -modules src/ocaml-config/ocaml_config.ml > boot-depends.txt '/usr/bin/ocamldep.opt' -modules src/stdune/stdune.ml src/stdune/ansi_color.ml src/stdune/array.ml src/stdune/char.ml src/stdune/common.ml src/stdune/comparable.ml src/stdune/either.ml src/stdune/exn.ml src/stdune/filename.ml src/stdune/fmt.ml src/stdune/hashable.ml src/stdune/hashtbl.ml src/stdune/hashtbl_intf.ml src/stdune/import.ml src/stdune/int.ml src/stdune/interned.ml src/stdune/io.ml src/stdune/list.ml src/stdune/map.ml src/stdune/map_intf.ml src/stdune/option.ml src/stdune/or_exn.ml src/stdune/ordering.ml src/stdune/path.ml src/stdune/pp.ml src/stdune/result.ml src/stdune/set.ml src/stdune/set_intf.ml src/stdune/sexp.ml src/stdune/staged.ml src/stdune/string.ml src/stdune/univ_map.ml > boot-depends.txt '/usr/bin/ocamldep.opt' -modules src/usexp/usexp.ml src/usexp/atom.ml src/usexp/dune_lexer.ml src/usexp/escape.ml src/usexp/import.ml src/usexp/jbuild_lexer.boot.ml src/usexp/lexer.ml src/usexp/lexer_shared.ml src/usexp/loc.ml src/usexp/sexp.ml src/usexp/template.ml src/usexp/types.ml > boot-depends.txt '/usr/bin/ocamldep.opt' -modules src/which_program/which_program.boot.ml > boot-depends.txt '/usr/bin/ocamldep.opt' -modules src/xdg/xdg.ml > boot-depends.txt '/usr/bin/ocamlc.opt' -g -w -40 -o boot.exe unix.cma boot.ml RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.gIdnDL (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.gIdnDL (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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 riscv64 --nodeps /builddir/build/SPECS/jbuilder.spec