Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocamlmod.spec'], chrootPath='/var/lib/mock/f33-build-289374-54298/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocamlmod.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=1595894400 Wrote: /builddir/build/SRPMS/ocamlmod-0.0.9-19.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocamlmod.spec'], chrootPath='/var/lib/mock/f33-build-289374-54298/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocamlmod.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=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qxgaad + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocamlmod-0.0.9 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ocamlmod-0.0.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocamlmod-0.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ocamlmod-setupml.patch):' Patch #0 (ocamlmod-setupml.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file AUTHORS.txt patching file INSTALL.txt patching file README.txt patching file _oasis patching file _tags patching file myocamlbuild.ml patching file setup.ml Patch #1 (ocamlmod-0.0.9-ounit2.patch): + echo 'Patch #1 (ocamlmod-0.0.9-ounit2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file setup.ml patching file _tags + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UhlgYd + umask 022 + cd /builddir/build/BUILD + cd ocamlmod-0.0.9 + ocaml setup.ml -configure --destdir /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64 --prefix /usr --enable-tests File "./setup.ml", line 1796, characters 22-40: 1796 | let compare = Pervasives.compare ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "setup.ml", line 3467, characters 16-34: Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims Configuration: ocamlfind: ........................................... /usr/bin/ocamlfind ocamlc: .............................................. /usr/bin/ocamlc.opt ocamlopt: ............................................ /usr/bin/ocamlopt.opt ocamlbuild: .......................................... /usr/bin/ocamlbuild Package name: ........................................ ocamlmod Package version: ..................................... 0.0.9 os_type: ............................................. Unix system: .............................................. linux architecture: ........................................ riscv ccomp_type: .......................................... cc ocaml_version: ....................................... 4.11.0 standard_library_default: ............................ /usr/lib64/ocaml standard_library: .................................... /usr/lib64/ocaml bytecomp_c_compiler: ................................. gcc -O2 -fno-strict-aliasing -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT native_c_compiler: ................................... gcc -O2 -fno-strict-aliasing -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT model: ............................................... riscv64 ext_obj: ............................................. .o ext_asm: ............................................. .s ext_lib: ............................................. .a ext_dll: ............................................. .so default_executable_name: ............................. a.out systhread_supported: ................................. true Install architecture-independent files dir: .......... /usr Install architecture-dependent files in dir: ......... $prefix User executables: .................................... $exec_prefix/bin System admin executables: ............................ $exec_prefix/sbin Program executables: ................................. $exec_prefix/libexec Read-only single-machine data: ....................... $prefix/etc Modifiable architecture-independent data: ............ $prefix/com Modifiable single-machine data: ...................... $prefix/var Object code libraries: ............................... $exec_prefix/lib Read-only arch-independent data root: ................ $prefix/share Read-only architecture-independent data: ............. $datarootdir Info documentation: .................................. $datarootdir/info Locale-dependent data: ............................... $datarootdir/locale Man documentation: ................................... $datarootdir/man Documentation root: .................................. $datarootdir/doc/$pkg_name HTML documentation: .................................. $docdir DVI documentation: ................................... $docdir PDF documentation: ................................... $docdir PS documentation: .................................... $docdir Prepend a path when installing package: .............. /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64 findlib_version: ..................................... 1.8.1 is_native: ........................................... true suffix_program: ...................................... Remove a file.: ...................................... rm -f Remove a directory.: ................................. rm -rf Turn ocaml debug flag on: ............................ true Turn ocaml profile flag on: .......................... false Compiler support generation of .cmxs.: ............... true OCamlbuild additional flags: ......................... Create documentations: ............................... true Compile tests executable and library and run them: ... true pkg_str: ............................................. /usr/lib64/ocaml pkg_ounit: ........................................... /usr/lib64/ocaml/ounit + ocaml setup.ml -build File "./setup.ml", line 1796, characters 22-40: 1796 | let compare = Pervasives.compare ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "setup.ml", line 3467, characters 16-34: Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims Warning: Won't be able to compile a native plugin /usr/bin/ocamlc.opt unix.cma -I /usr/lib64/ocaml/ocamlbuild /usr/lib64/ocaml/ocamlbuild/ocamlbuildlib.cma myocamlbuild.ml /usr/lib64/ocaml/ocamlbuild/ocamlbuild.cmo -o myocamlbuild /usr/bin/ocamlfind ocamldep -package str -modules src/ocamlmod.ml > src/ocamlmod.ml.depends /usr/bin/ocamlfind ocamldep -package str -modules src/ocamlmodConf.ml > src/ocamlmodConf.ml.depends /usr/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package str -I src -o src/ocamlmodConf.cmo src/ocamlmodConf.ml /usr/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package str -I src -o src/ocamlmod.cmo src/ocamlmod.ml + /usr/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package str -I src -o src/ocamlmod.cmo src/ocamlmod.ml File "src/ocamlmod.ml", line 52, characters 4-21: 52 | String.capitalize ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "src/ocamlmod.ml", line 29, characters 6-13: 29 | let real_fn = ^^^^^^^ Warning 26: unused variable real_fn. /usr/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package str -I src -o src/ocamlmodConf.cmx src/ocamlmodConf.ml /usr/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package str -I src -o src/ocamlmod.cmx src/ocamlmod.ml + /usr/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package str -I src -o src/ocamlmod.cmx src/ocamlmod.ml File "src/ocamlmod.ml", line 52, characters 4-21: 52 | String.capitalize ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "src/ocamlmod.ml", line 29, characters 6-13: 29 | let real_fn = ^^^^^^^ Warning 26: unused variable real_fn. /usr/bin/ocamlfind ocamlopt -g -linkpkg -package str -I src src/ocamlmodConf.cmx src/ocamlmod.cmx -o src/ocamlmod.native /usr/bin/ocamlfind ocamldep -package ounit2 -package str -modules test/test.ml > test/test.ml.depends /usr/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package ounit2 -package str -I test -o test/test.cmo test/test.ml /usr/bin/ocamlfind ocamlc -g -linkpkg -package ounit2 -package str -I test test/test.cmo -o test/test.byte + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yKzhFe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64 + cd ocamlmod-0.0.9 + ocaml setup.ml -install File "./setup.ml", line 1796, characters 22-40: 1796 | let compare = Pervasives.compare ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "setup.ml", line 3467, characters 16-34: Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims + mkdir -p /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64/usr/share/man/man1/ + help2man /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64/usr/bin/ocamlmod --output /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64/usr/share/man/man1/ocamlmod.1 --name 'Generate OCaml modules from source files' --version-string 0.0.9 --no-info + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IVpuMf + umask 022 + cd /builddir/build/BUILD + cd ocamlmod-0.0.9 + ocaml setup.ml -test File "./setup.ml", line 1796, characters 22-40: 1796 | let compare = Pervasives.compare ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "setup.ml", line 3467, characters 16-34: Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims . Ran: 1 tests in: 0.53 seconds. OK + grep -vq 'script executable' + file /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64/usr/bin/ocamlmod + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ocamlmod-0.0.9-19.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vppy8f + umask 022 + cd /builddir/build/BUILD + cd ocamlmod-0.0.9 + DOCDIR=/builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64/usr/share/doc/ocamlmod + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64/usr/share/doc/ocamlmod + cp -pr README.txt /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64/usr/share/doc/ocamlmod + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocamlmod = 0.0.9-19.fc33 ocamlmod(riscv-64) = 0.0.9-19.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64 Wrote: /builddir/build/RPMS/ocamlmod-0.0.9-19.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QfId0g + umask 022 + cd /builddir/build/BUILD + cd ocamlmod-0.0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocamlmod-0.0.9-19.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0