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/ocamlmod.spec'], chrootPath='/var/lib/mock/f32-ocaml-119708-36671/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=986gid=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=1578528000 Wrote: /builddir/build/SRPMS/ocamlmod-0.0.9-11.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocamlmod.spec'], chrootPath='/var/lib/mock/f32-ocaml-119708-36671/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=986gid=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=1578528000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZWn1z3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocamlmod-0.0.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/ocamlmod-0.0.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocamlmod-0.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (ocamlmod-setupml.patch): + echo '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 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.woK372 + umask 022 + cd /builddir/build/BUILD + cd ocamlmod-0.0.9 + ocaml setup.ml -configure --destdir /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.riscv64 --prefix /usr --enable-tests BUILDSTDERR: File "./setup.ml", line 1796, characters 22-40: BUILDSTDERR: 1796 | let compare = Pervasives.compare BUILDSTDERR: ^^^^^^^^^^^^^^^^^^ 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 "setup.ml", line 3467, characters 16-34: 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 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.09.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 -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-11.fc32.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 BUILDSTDERR: File "./setup.ml", line 1796, characters 22-40: BUILDSTDERR: 1796 | let compare = Pervasives.compare BUILDSTDERR: ^^^^^^^^^^^^^^^^^^ 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 "setup.ml", line 3467, characters 16-34: 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 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 oUnit -package str -modules test/test.ml > test/test.ml.depends /usr/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package oUnit -package str -I test -o test/test.cmo test/test.ml /usr/bin/ocamlfind ocamlc -g -linkpkg -package oUnit -package str -I test test/test.cmo -o test/test.byte + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.x6IdV1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.riscv64 + cd ocamlmod-0.0.9 + ocaml setup.ml -install BUILDSTDERR: File "./setup.ml", line 1796, characters 22-40: BUILDSTDERR: 1796 | let compare = Pervasives.compare BUILDSTDERR: ^^^^^^^^^^^^^^^^^^ 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 "setup.ml", line 3467, characters 16-34: 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 + mkdir -p /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.riscv64/usr/share/man/man1/ + help2man /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.riscv64/usr/bin/ocamlmod --output /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KgzUB5 + umask 022 + cd /builddir/build/BUILD + cd ocamlmod-0.0.9 + ocaml setup.ml -test BUILDSTDERR: File "./setup.ml", line 1796, characters 22-40: BUILDSTDERR: 1796 | let compare = Pervasives.compare BUILDSTDERR: ^^^^^^^^^^^^^^^^^^ 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 "setup.ml", line 3467, characters 16-34: 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 . Ran: 1 tests in: 0.45 seconds. OK + file /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.riscv64/usr/bin/ocamlmod + grep -vq 'script executable' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Processing files: ocamlmod-0.0.9-11.fc32.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wGej32 + umask 022 + cd /builddir/build/BUILD + cd ocamlmod-0.0.9 + DOCDIR=/builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.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-11.fc32.riscv64/usr/share/doc/ocamlmod + cp -pr README.txt /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.riscv64/usr/share/doc/ocamlmod + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: ocamlmod = 0.0.9-11.fc32 ocamlmod(riscv-64) = 0.0.9-11.fc32 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-11.fc32.riscv64 Wrote: /builddir/build/RPMS/ocamlmod-0.0.9-11.fc32.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SpjAK4 + umask 022 + cd /builddir/build/BUILD + cd ocamlmod-0.0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocamlmod-0.0.9-11.fc32.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0