Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-re.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-357645-41331/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=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-re.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: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/ocaml-re-1.10.4-5.ocs23.rva23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/ocaml-re.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-357645-41331/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=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/ocaml-re.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: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NWotIs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-re-1.10.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ocaml-re-1.10.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-re-1.10.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ocaml-re-remove-seq.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i s/oUnit/ounit2/ lib_test/fort_unit/dune + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZmhYp5 + 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 -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-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 -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-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 -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-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 -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-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 ocaml-re-1.10.4 + dune build --verbose --release -j16 Shared cache: disabled Shared cache location: /builddir/.cache/dune/db Workspace root: /builddir/build/BUILD/ocaml-re-1.10.4 Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } Actual targets: - recursive alias @install Running[1]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -49 -nopervasives -nostdlib -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -o lib/.re.objs/byte/re__.cmo -c -impl lib/re__.ml-gen) Running[2]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/str.ml) > _build/default/lib/.re.objs/re__Str.impl.d Running[3]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -49 -nopervasives -nostdlib -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml-gen -no-alias-deps -o lib/.re.objs/native/re__.cmx -c -impl lib/re__.ml-gen) Running[4]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/re.ml) > _build/default/lib/.re.objs/re.impl.d Running[5]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/automata.ml) > _build/default/lib/.re.objs/re__Automata.impl.d Running[6]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/category.ml) > _build/default/lib/.re.objs/re__Category.impl.d Running[7]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/color_map.ml) > _build/default/lib/.re.objs/re__Color_map.impl.d Running[8]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/core.ml) > _build/default/lib/.re.objs/re__Core.impl.d Running[9]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/cset.ml) > _build/default/lib/.re.objs/re__Cset.impl.d Running[10]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/emacs.ml) > _build/default/lib/.re.objs/re__Emacs.impl.d Running[11]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/fmt.ml) > _build/default/lib/.re.objs/re__Fmt.impl.d Running[12]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/glob.ml) > _build/default/lib/.re.objs/re__Glob.impl.d Running[13]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/group.ml) > _build/default/lib/.re.objs/re__Group.impl.d Running[14]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/pcre.ml) > _build/default/lib/.re.objs/re__Pcre.impl.d Running[15]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/perl.ml) > _build/default/lib/.re.objs/re__Perl.impl.d Running[16]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/pmark.ml) > _build/default/lib/.re.objs/re__Pmark.impl.d Running[17]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl lib/posix.ml) > _build/default/lib/.re.objs/re__Posix.impl.d Running[18]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/automata.mli) > _build/default/lib/.re.objs/re__Automata.intf.d Running[19]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/category.mli) > _build/default/lib/.re.objs/re__Category.intf.d Running[20]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/color_map.mli) > _build/default/lib/.re.objs/re__Color_map.intf.d Running[21]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/core.mli) > _build/default/lib/.re.objs/re__Core.intf.d Running[22]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/cset.mli) > _build/default/lib/.re.objs/re__Cset.intf.d Running[23]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/emacs.mli) > _build/default/lib/.re.objs/re__Emacs.intf.d Running[24]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/glob.mli) > _build/default/lib/.re.objs/re__Glob.intf.d Running[25]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/group.mli) > _build/default/lib/.re.objs/re__Group.intf.d Running[26]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/pcre.mli) > _build/default/lib/.re.objs/re__Pcre.intf.d Running[27]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/perl.mli) > _build/default/lib/.re.objs/re__Perl.intf.d Running[28]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/pmark.mli) > _build/default/lib/.re.objs/re__Pmark.intf.d Running[29]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/posix.mli) > _build/default/lib/.re.objs/re__Posix.intf.d Running[30]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf lib/str.mli) > _build/default/lib/.re.objs/re__Str.intf.d Running[31]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Fmt.cmo -c -impl lib/fmt.ml) Running[32]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Category.cmi -c -intf lib/category.mli) Running[33]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Cset.cmi -c -intf lib/cset.mli) Running[34]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Pmark.cmi -c -intf lib/pmark.mli) Running[35]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Str.cmi -c -intf lib/str.mli) Running[36]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Category.cmx -c -impl lib/category.ml) Running[37]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Category.cmo -c -impl lib/category.ml) Running[38]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Pmark.cmx -c -impl lib/pmark.ml) Running[39]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Pmark.cmo -c -impl lib/pmark.ml) Running[40]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Color_map.cmi -c -intf lib/color_map.mli) Running[41]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Automata.cmi -c -intf lib/automata.mli) Running[42]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Color_map.cmo -c -impl lib/color_map.ml) Running[43]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Fmt.cmx -c -impl lib/fmt.ml) Running[44]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Cset.cmo -c -impl lib/cset.ml) Running[45]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Automata.cmo -c -impl lib/automata.ml) Running[46]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Core.cmi -c -intf lib/core.mli) Running[47]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Group.cmi -c -intf lib/group.mli) Running[48]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Group.cmo -c -impl lib/group.ml) Running[49]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Core.cmo -c -impl lib/core.ml) Running[50]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Emacs.cmi -c -intf lib/emacs.mli) Running[51]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Glob.cmi -c -intf lib/glob.mli) Running[52]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Perl.cmi -c -intf lib/perl.mli) Running[53]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Pcre.cmi -c -intf lib/pcre.mli) Running[54]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Posix.cmi -c -intf lib/posix.mli) Running[55]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Emacs.cmo -c -impl lib/emacs.ml) Running[56]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Str.cmo -c -impl lib/str.ml) Running[57]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Perl.cmo -c -impl lib/perl.ml) Running[58]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Glob.cmo -c -impl lib/glob.ml) Running[59]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Posix.cmo -c -impl lib/posix.ml) Running[60]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/byte/re__Pcre.cmo -c -impl lib/pcre.ml) Running[61]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I lib/.re.objs/byte -no-alias-deps -open Re__ -o lib/.re.objs/byte/re.cmo -c -impl lib/re.ml) Running[62]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I deprecated/.re_emacs.objs/byte -I lib/.re.objs/byte -no-alias-deps -o deprecated/.re_emacs.objs/byte/re_emacs.cmo -c -impl deprecated/re_emacs.ml) Running[63]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I deprecated/.re_glob.objs/byte -I lib/.re.objs/byte -no-alias-deps -o deprecated/.re_glob.objs/byte/re_glob.cmo -c -impl deprecated/re_glob.ml) Running[64]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I deprecated/.re_pcre.objs/byte -I lib/.re.objs/byte -no-alias-deps -o deprecated/.re_pcre.objs/byte/re_pcre.cmo -c -impl deprecated/re_pcre.ml) Running[65]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I deprecated/.re_perl.objs/byte -I lib/.re.objs/byte -no-alias-deps -o deprecated/.re_perl.objs/byte/re_perl.cmo -c -impl deprecated/re_perl.ml) Running[66]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I deprecated/.re_posix.objs/byte -I lib/.re.objs/byte -no-alias-deps -o deprecated/.re_posix.objs/byte/re_posix.cmo -c -impl deprecated/re_posix.ml) Running[67]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -bin-annot -bin-annot-occurrences -I deprecated/.re_str.objs/byte -I lib/.re.objs/byte -no-alias-deps -o deprecated/.re_str.objs/byte/re_str.cmo -c -impl deprecated/re_str.ml) Running[68]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Cset.cmx -c -impl lib/cset.ml) Output[62]: File "deprecated/re_emacs.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Emacs"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[69]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -a -o deprecated/re_emacs.cma deprecated/.re_emacs.objs/byte/re_emacs.cmo) Output[63]: File "deprecated/re_glob.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Glob"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[70]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -a -o deprecated/re_glob.cma deprecated/.re_glob.objs/byte/re_glob.cmo) Output[65]: File "deprecated/re_perl.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Perl"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[71]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -a -o deprecated/re_perl.cma deprecated/.re_perl.objs/byte/re_perl.cmo) Output[66]: File "deprecated/re_posix.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Posix"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[72]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -a -o deprecated/re_posix.cma deprecated/.re_posix.objs/byte/re_posix.cmo) Output[64]: File "deprecated/re_pcre.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Pcre"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[73]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -a -o deprecated/re_pcre.cma deprecated/.re_pcre.objs/byte/re_pcre.cmo) Output[67]: File "deprecated/re_str.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Str"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[74]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -a -o deprecated/re_str.cma deprecated/.re_str.objs/byte/re_str.cmo) Running[75]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -50 -g -a -o lib/re.cma lib/.re.objs/byte/re__.cmo lib/.re.objs/byte/re__Category.cmo lib/.re.objs/byte/re__Fmt.cmo lib/.re.objs/byte/re__Cset.cmo lib/.re.objs/byte/re__Pmark.cmo lib/.re.objs/byte/re__Automata.cmo lib/.re.objs/byte/re__Color_map.cmo lib/.re.objs/byte/re__Group.cmo lib/.re.objs/byte/re__Core.cmo lib/.re.objs/byte/re__Emacs.cmo lib/.re.objs/byte/re__Str.cmo lib/.re.objs/byte/re__Glob.cmo lib/.re.objs/byte/re__Perl.cmo lib/.re.objs/byte/re__Pcre.cmo lib/.re.objs/byte/re__Posix.cmo lib/.re.objs/byte/re.cmo) Running[76]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Color_map.cmx -c -impl lib/color_map.ml) Running[77]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Automata.cmx -c -impl lib/automata.ml) Running[78]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Group.cmx -c -impl lib/group.ml) Running[79]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Core.cmx -c -impl lib/core.ml) Running[80]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Emacs.cmx -c -impl lib/emacs.ml) Running[81]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Posix.cmx -c -impl lib/posix.ml) Running[82]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Perl.cmx -c -impl lib/perl.ml) Running[83]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Glob.cmx -c -impl lib/glob.ml) Running[84]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Str.cmx -c -impl lib/str.ml) Running[85]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re__Pcre.cmx -c -impl lib/pcre.ml) Running[86]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -open Re__ -o lib/.re.objs/native/re.cmx -c -impl lib/re.ml) Running[87]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_emacs.objs/byte -I deprecated/.re_emacs.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_emacs.objs/native/re_emacs.cmx -c -impl deprecated/re_emacs.ml) Running[88]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -a -o lib/re.cmxa lib/.re.objs/native/re__.cmx lib/.re.objs/native/re__Category.cmx lib/.re.objs/native/re__Fmt.cmx lib/.re.objs/native/re__Cset.cmx lib/.re.objs/native/re__Pmark.cmx lib/.re.objs/native/re__Automata.cmx lib/.re.objs/native/re__Color_map.cmx lib/.re.objs/native/re__Group.cmx lib/.re.objs/native/re__Core.cmx lib/.re.objs/native/re__Emacs.cmx lib/.re.objs/native/re__Str.cmx lib/.re.objs/native/re__Glob.cmx lib/.re.objs/native/re__Perl.cmx lib/.re.objs/native/re__Pcre.cmx lib/.re.objs/native/re__Posix.cmx lib/.re.objs/native/re.cmx) Running[89]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_glob.objs/byte -I deprecated/.re_glob.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_glob.objs/native/re_glob.cmx -c -impl deprecated/re_glob.ml) Running[90]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_pcre.objs/byte -I deprecated/.re_pcre.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_pcre.objs/native/re_pcre.cmx -c -impl deprecated/re_pcre.ml) Running[91]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_perl.objs/byte -I deprecated/.re_perl.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_perl.objs/native/re_perl.cmx -c -impl deprecated/re_perl.ml) Running[92]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_posix.objs/byte -I deprecated/.re_posix.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_posix.objs/native/re_posix.cmx -c -impl deprecated/re_posix.ml) Running[93]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_str.objs/byte -I deprecated/.re_str.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_str.objs/native/re_str.cmx -c -impl deprecated/re_str.ml) Output[89]: File "deprecated/re_glob.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Glob"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[94]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -a -o deprecated/re_glob.cmxa deprecated/.re_glob.objs/native/re_glob.cmx) Output[92]: File "deprecated/re_posix.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Posix"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[95]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -a -o deprecated/re_posix.cmxa deprecated/.re_posix.objs/native/re_posix.cmx) Output[87]: File "deprecated/re_emacs.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Emacs"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[96]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -a -o deprecated/re_emacs.cmxa deprecated/.re_emacs.objs/native/re_emacs.cmx) Output[90]: File "deprecated/re_pcre.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Pcre"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[97]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -a -o deprecated/re_pcre.cmxa deprecated/.re_pcre.objs/native/re_pcre.cmx) Output[91]: File "deprecated/re_perl.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Perl"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[98]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -a -o deprecated/re_perl.cmxa deprecated/.re_perl.objs/native/re_perl.cmx) Output[93]: File "deprecated/re_str.ml", line 1, characters 4-14: 1 | [@@@deprecated "Use Re.Str"] ^^^^^^^^^^ Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context Running[99]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -a -o deprecated/re_str.cmxa deprecated/.re_str.objs/native/re_str.cmx) Running[100]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I lib -o lib/re.cmxs lib/re.cmxa) Running[101]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_emacs.cmxs deprecated/re_emacs.cmxa) Running[102]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_glob.cmxs deprecated/re_glob.cmxa) Running[103]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_posix.cmxs deprecated/re_posix.cmxa) Running[104]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_pcre.cmxs deprecated/re_pcre.cmxa) Running[105]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_perl.cmxs deprecated/re_perl.cmxa) Running[106]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_str.cmxs deprecated/re_str.cmxa) File "deprecated/dune", lines 33-39, characters 0-142: 33 | (library 34 | (name re_emacs) 35 | (public_name re.emacs) 36 | (wrapped false) 37 | (modules re_emacs) 38 | (synopsis "Deprecated. Use Re.Emacs") 39 | (libraries re)) Command [101] exited with code 2: $ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_emacs.cmxs deprecated/re_emacs.cmxa) gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. File "caml_startup", line 1: Error: Error during linking (exit code 1) File "deprecated/dune", lines 25-31, characters 0-142: 25 | (library 26 | (name re_posix) 27 | (public_name re.posix) 28 | (wrapped false) 29 | (modules re_posix) 30 | (synopsis "Deprecated. Use Re.Posix") 31 | (libraries re)) Command [103] exited with code 2: $ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_posix.cmxs deprecated/re_posix.cmxa) gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. File "caml_startup", line 1: Error: Error during linking (exit code 1) File "deprecated/dune", lines 41-47, characters 0-138: 41 | (library 42 | (name re_glob) 43 | (public_name re.glob) 44 | (wrapped false) 45 | (modules re_glob) 46 | (synopsis "Deprecated. Use Re.Glob") 47 | (libraries re)) Command [102] exited with code 2: $ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_glob.cmxs deprecated/re_glob.cmxa) gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. File "caml_startup", line 1: Error: Error during linking (exit code 1) File "deprecated/dune", lines 9-15, characters 0-138: 9 | (library 10 | (name re_pcre) 11 | (public_name re.pcre) 12 | (wrapped false) 13 | (modules re_pcre) 14 | (synopsis "Deprecated. Use Re.Pcre") 15 | (libraries re)) Command [104] exited with code 2: $ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_pcre.cmxs deprecated/re_pcre.cmxa) gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. File "caml_startup", line 1: Error: Error during linking (exit code 1) File "deprecated/dune", lines 17-23, characters 0-138: 17 | (library 18 | (name re_perl) 19 | (public_name re.perl) 20 | (wrapped false) 21 | (modules re_perl) 22 | (synopsis "Deprecated. Use Re.Perl") 23 | (libraries re)) Command [105] exited with code 2: $ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_perl.cmxs deprecated/re_perl.cmxa) gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. File "caml_startup", line 1: Error: Error during linking (exit code 1) File "deprecated/dune", lines 1-7, characters 0-134: 1 | (library 2 | (name re_str) 3 | (public_name re.str) 4 | (wrapped false) 5 | (modules re_str) 6 | (synopsis "Deprecated. Use Re.Str") 7 | (libraries re)) Command [106] exited with code 2: $ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I deprecated -o deprecated/re_str.cmxs deprecated/re_str.cmxa) gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. File "caml_startup", line 1: Error: Error during linking (exit code 1) File "lib/dune", lines 1-4, characters 0-90: 1 | (library 2 | (name re) 3 | (synopsis "Pure OCaml regular expression library") 4 | (public_name re)) Command [100] exited with code 2: $ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -50 -g -shared -linkall -I lib -o lib/re.cmxs lib/re.cmxa) gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. File "caml_startup", line 1: Error: Error during linking (exit code 1) error: Bad exit status from /var/tmp/rpm-tmp.ZmhYp5 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ZmhYp5 (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/ocaml-re.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/ocaml-re.spec'