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/unison240.spec'], chrootPath='/var/lib/mock/f31-build-93009-32388/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/unison240.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=1564185600 Wrote: /builddir/build/SRPMS/unison240-2.40.128-14.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/unison240.spec'], chrootPath='/var/lib/mock/f31-build-93009-32388/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/unison240.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=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WN6MKH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unison-2.40.128 + /usr/bin/gzip -dc /builddir/build/SOURCES/unison-2.40.128.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd unison-2.40.128 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (unison-2.40.128-ocaml-4.04.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (unison240-gtk.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (unison240-ocaml408.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + cat + cp -a /builddir/build/SOURCES/unison-2.40.128-manual.html unison-manual.html + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (unison-2.40.128-ocaml-4.04.patch): patching file fs.ml patching file system/system_intf.ml Patch #2 (unison240-gtk.patch): patching file uigtk2.ml Patch #3 (unison240-ocaml408.patch): patching file files.ml patching file Makefile.OCaml patching file pty.c patching file recon.ml patching file system/system_intf.ml patching file uicommon.ml patching file uigtk2.ml Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6GSDvI + umask 022 + cd /builddir/build/BUILD + cd unison-2.40.128 + unset MAKEFLAGS + make NATIVE=true UISTYLE=gtk2 THREADS=true 'OCAMLOPT=ocamlopt -unsafe-string -g' BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/unicode.ml", line 25, characters 16-33: BUILDSTDERR: Warning 3: deprecated: String.unsafe_set BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/unicode.ml", line 933, characters 11-24: BUILDSTDERR: Warning 3: deprecated: String.create BUILDSTDERR: Use Bytes.create instead. BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/unicode.ml", line 941, characters 4-20: BUILDSTDERR: Warning 3: deprecated: String.lowercase BUILDSTDERR: Use String.lowercase_ascii instead. BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/unicode.ml", line 1030, characters 11-24: BUILDSTDERR: Warning 3: deprecated: String.create BUILDSTDERR: Use Bytes.create instead. BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/unicode.ml", line 1587, characters 19-30: BUILDSTDERR: Warning 3: deprecated: String.copy BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/unicode.ml", line 1756, characters 11-24: BUILDSTDERR: Warning 3: deprecated: String.create BUILDSTDERR: Use Bytes.create instead. BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/unicode.ml", line 1816, characters 11-24: BUILDSTDERR: Warning 3: deprecated: String.create BUILDSTDERR: Use Bytes.create instead. BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/bytearray.ml", line 38, characters 0-118: BUILDSTDERR: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/bytearray.ml", line 41, characters 0-116: BUILDSTDERR: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/bytearray.ml", line 47, characters 10-23: BUILDSTDERR: Warning 3: deprecated: String.create BUILDSTDERR: Use Bytes.create instead. BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/bytearray.ml", line 63, characters 12-25: BUILDSTDERR: Warning 3: deprecated: String.create BUILDSTDERR: Use Bytes.create instead. BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/system.ml", line 1: BUILDSTDERR: Error: The implementation /builddir/build/BUILD/unison-2.40.128/system.ml BUILDSTDERR: does not match the interface system.cmi: BUILDSTDERR: Values do not match: BUILDSTDERR: val link : string -> string -> unit BUILDSTDERR: is not included in BUILDSTDERR: val link : ?follow:bool -> fspath -> fspath -> unit BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/system/system_intf.ml", line 70, characters 0-51: BUILDSTDERR: Expected declaration BUILDSTDERR: File "/builddir/build/BUILD/unison-2.40.128/system/system_generic.ml", line 50, characters 4-8: BUILDSTDERR: Actual declaration ocamlc -o mkProjectInfo unix.cma str.cma mkProjectInfo.ml ./mkProjectInfo > Makefile.ProjectInfo UISTYLE = gtk2 Building for Unix NATIVE = true THREADS = true STATIC = false OSTYPE = OSARCH = ocamlopt -unsafe-string -g: ubase/rx.mli ---> ubase/rx.cmi ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/ubase/rx.mli ocamlopt -unsafe-string -g: ubase/rx.ml ---> ubase/rx.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/ubase/rx.ml ocamlopt -unsafe-string -g: unicode_tables.ml ---> unicode_tables.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/unicode_tables.ml ocamlopt -unsafe-string -g: unicode.mli ---> unicode.cmi ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/unicode.mli ocamlopt -unsafe-string -g: unicode.ml ---> unicode.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/unicode.ml ocamlopt -unsafe-string -g: bytearray.mli ---> bytearray.cmi ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/bytearray.mli ocamlopt -unsafe-string -g: bytearray.ml ---> bytearray.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/bytearray.ml ocamlopt -unsafe-string -g: system/system_generic.ml ---> system/system_generic.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/system/system_generic.ml ocamlopt -unsafe-string -g: system/generic/system_impl.ml ---> system/generic/system_impl.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/system/generic/system_impl.ml ocamlc: system/system_intf.ml ---> system/system_intf.cmo ocamlc -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/system/system_intf.ml ocamlopt -unsafe-string -g: system.mli ---> system.cmi ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/system.mli ocamlopt -unsafe-string -g: system.ml ---> system.cmx ocamlopt -unsafe-string -g -I lwt -I ubase -I system -I system/generic -I lwt/generic -I +lablgtk2 -c /builddir/build/BUILD/unison-2.40.128/system.ml RPM build errors: BUILDSTDERR: make: *** [Makefile.OCaml:411: system.cmx] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.6GSDvI (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.6GSDvI (%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/unison240.spec