Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-tplib.spec'], chrootPath='/var/lib/mock/f39-build-1502421-34913/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=864000uid=996gid=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-tplib.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/ocaml-tplib-1.3-73.fc39.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-tplib.spec'], chrootPath='/var/lib/mock/f39-build-1502421-34913/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-tplib.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l4eK6K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tplib-1.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tplib-1.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tplib-1.3 + rm -rf /builddir/build/BUILD/tplib-1.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/tplib-1.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ocaml-tplib-ocamlbuild.patch):' Patch #0 (ocaml-tplib-ocamlbuild.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile.in Patch #1 (ocaml-tplib-mlgmpidl.patch): + echo 'Patch #1 (ocaml-tplib-mlgmpidl.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/numeric_plugins/mlgmp_plugin.ml + sed -i 's/@OCAMLBUILD@/& -cflag -g -lflag -g/' Makefile.in + sed -i 's/-lasmrun/&_pic/g' Makefile.in configure + sed -i 's/libasmrun\.a/libasmrun_pic.a/' Makefile.in + sed -i 's,CFLAGS += -I\$(OCAML_HOME_DIR),& -fPIC,' Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C9gQLy + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 tplib-1.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-koji-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for riscv64-koji-linux-gnu-ocamlc... no checking for ocamlc... ocamlc OCaml version is 4.14.0 OCaml library path is /usr/lib64/ocaml checking for riscv64-koji-linux-gnu-ocamlopt... no checking for ocamlopt... ocamlopt checking for riscv64-koji-linux-gnu-ocamlc.opt... no checking for ocamlc.opt... ocamlc.opt checking for riscv64-koji-linux-gnu-ocamlopt.opt... no checking for ocamlopt.opt... ocamlopt.opt checking for riscv64-koji-linux-gnu-ocaml... no checking for ocaml... ocaml checking for riscv64-koji-linux-gnu-ocamldep... no checking for ocamldep... ocamldep checking for riscv64-koji-linux-gnu-ocamlmktop... no checking for ocamlmktop... ocamlmktop checking for riscv64-koji-linux-gnu-ocamlmklib... no checking for ocamlmklib... ocamlmklib checking for riscv64-koji-linux-gnu-ocamldoc... no checking for ocamldoc... ocamldoc checking for riscv64-koji-linux-gnu-ocamlbuild... no checking for ocamlbuild... ocamlbuild checking for grep that handles long lines and -e... /usr/bin/grep checking for cat... cat checking for rm... rm checking for cp... cp checking for ar... ar checking for mkdir... mkdir checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for riscv64-koji-linux-gnu-ocamlfind... no checking for ocamlfind... ocamlfind checking for OCaml findlib package dynlink... found checking for OCaml findlib package zarith... found checking for OCaml findlib package gmp... found checking for caml_startup in -lasmrun_pic... yes checking how to run the C preprocessor... gcc -E checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking caml/alloc.h usability... yes checking caml/alloc.h presence... yes checking for caml/alloc.h... yes checking caml/callback.h usability... yes checking caml/callback.h presence... yes checking for caml/callback.h... yes checking caml/memory.h usability... yes checking caml/memory.h presence... yes checking for caml/memory.h... yes checking caml/mlvalues.h usability... yes checking caml/mlvalues.h presence... yes checking for caml/mlvalues.h... yes checking for __gmpz_init in -lgmp... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.ml config.status: creating src/META configure: WARNING: unrecognized options: --disable-dependency-tracking + make ocamlbuild -cflag -g -lflag -g -classic-display -no-links -build-dir _build -use-ocamlfind src/tplib.mllib \ src/numeric.cmi src/semiring.cmi src/vector.cmi src/halfspace.cmi src/hypergraph.cmi src/tplib_core.cmi src/tplib_abstract.cmi \ src/numeric_plugins/zarith_plugin.cmxs src/numeric_plugins/mlgmp_plugin.cmxs \ src/bindings/tplib_double_callback.obj.o src/bindings/tplib_rational_callback.obj.o \ src/compute_ext_rays.native src/compute_ext_rays_polar.native src/compute_halfspaces.native src/compute_tangent_hypergraph.native src/compute_minimal_external_representations.native src/compute_tropical_complex.native ocamlfind ocamlopt unix.cmxa -I /usr/lib64/ocaml/ocamlbuild /usr/lib64/ocaml/ocamlbuild/ocamlbuildlib.cmxa -g -linkpkg myocamlbuild.ml /usr/lib64/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild ocamlfind ocamldep -modules src/numeric.mli > src/numeric.mli.depends ocamlfind ocamldep -modules src/numeric_plugin.mli > src/numeric_plugin.mli.depends ocamlfind ocamlc -c -g -I src -o src/numeric_plugin.cmi src/numeric_plugin.mli ocamlfind ocamlc -c -g -I src -o src/numeric.cmi src/numeric.mli ocamlfind ocamldep -modules src/semiring.mli > src/semiring.mli.depends ocamlfind ocamlc -c -g -I src -o src/semiring.cmi src/semiring.mli ocamlfind ocamldep -modules src/vector.mli > src/vector.mli.depends ocamlfind ocamlc -c -g -I src -o src/vector.cmi src/vector.mli ocamlfind ocamldep -modules src/halfspace.mli > src/halfspace.mli.depends ocamlfind ocamlc -c -g -I src -o src/halfspace.cmi src/halfspace.mli ocamlfind ocamldep -modules src/hypergraph.mli > src/hypergraph.mli.depends ocamlfind ocamlc -c -g -I src -o src/hypergraph.cmi src/hypergraph.mli ocamlfind ocamldep -modules src/tplib_core.mli > src/tplib_core.mli.depends ocamlfind ocamlc -c -g -I src -o src/tplib_core.cmi src/tplib_core.mli ocamlfind ocamldep -modules src/tplib_abstract.mli > src/tplib_abstract.mli.depends ocamlfind ocamlc -c -g -I src -o src/tplib_abstract.cmi src/tplib_abstract.mli ocamlfind ocamldep -package zarith -modules src/numeric_plugins/zarith_plugin.ml > src/numeric_plugins/zarith_plugin.ml.depends ocamlfind ocamldep -package zarith -modules src/numeric_plugins/zarith_plugin.mli > src/numeric_plugins/zarith_plugin.mli.depends ocamlfind ocamlc -c -g -package zarith -I src/numeric_plugins -I src -o src/numeric_plugins/zarith_plugin.cmi src/numeric_plugins/zarith_plugin.mli ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/numeric_plugin.ml > src/numeric_plugin.ml.depends ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/random_generator.ml > src/random_generator.ml.depends ocamlfind ocamldep -modules src/random_generator.mli > src/random_generator.mli.depends ocamlfind ocamlc -c -g -I src -o src/random_generator.cmi src/random_generator.mli ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/numeric_plugin.cmx src/numeric_plugin.ml ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/random_generator.cmx src/random_generator.ml ocamlfind ocamlopt -c -g -package zarith -I src/numeric_plugins -I src -o src/numeric_plugins/zarith_plugin.cmx src/numeric_plugins/zarith_plugin.ml ocamlfind ocamlopt -shared -g -linkpkg -package zarith -I src/numeric_plugins src/numeric_plugins/zarith_plugin.cmx -o src/numeric_plugins/zarith_plugin.cmxs ocamlfind ocamldep -package gmp -modules src/numeric_plugins/mlgmp_plugin.ml > src/numeric_plugins/mlgmp_plugin.ml.depends ocamlfind ocamldep -package gmp -modules src/numeric_plugins/mlgmp_plugin.mli > src/numeric_plugins/mlgmp_plugin.mli.depends ocamlfind ocamlc -c -g -package gmp -I src/numeric_plugins -I src -o src/numeric_plugins/mlgmp_plugin.cmi src/numeric_plugins/mlgmp_plugin.mli ocamlfind ocamlopt -c -g -package gmp -I src/numeric_plugins -I src -o src/numeric_plugins/mlgmp_plugin.cmx src/numeric_plugins/mlgmp_plugin.ml ocamlfind ocamlopt -shared -g -linkpkg -package gmp -I src/numeric_plugins src/numeric_plugins/mlgmp_plugin.cmx -o src/numeric_plugins/mlgmp_plugin.cmxs ocamlfind ocamldep -modules src/bindings/tplib_double_callback.ml > src/bindings/tplib_double_callback.ml.depends ocamlfind ocamldep -modules src/bindings/tplib_double_callback.mli > src/bindings/tplib_double_callback.mli.depends ocamlfind ocamlc -c -g -I src/bindings -I src -o src/bindings/tplib_double_callback.cmi src/bindings/tplib_double_callback.mli ocamlfind ocamldep -modules src/bindings/semiring_double.ml > src/bindings/semiring_double.ml.depends ocamlfind ocamldep -modules src/bindings/semiring_double.mli > src/bindings/semiring_double.mli.depends ocamlfind ocamlc -c -g -I src/bindings -I src -o src/bindings/semiring_double.cmi src/bindings/semiring_double.mli ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/numeric.ml > src/numeric.ml.depends ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/config.ml > src/config.ml.depends ocamlfind ocamldep -modules src/config.mli > src/config.mli.depends ocamlfind ocamlc -c -g -I src -o src/config.cmi src/config.mli ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/config.cmx src/config.ml ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/semiring.ml > src/semiring.ml.depends ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/numeric.cmx src/numeric.ml + ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/numeric.cmx src/numeric.ml File "_none_", line 1: Warning 58 [no-cmx-file]: no cmx file was found in path for module Big_int, and its interface was not compiled with -opaque ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/semiring.cmx src/semiring.ml ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/tplib_abstract.ml > src/tplib_abstract.ml.depends ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/halfspace.ml > src/halfspace.ml.depends ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/vector.ml > src/vector.ml.depends ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/vector.cmx src/vector.ml ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/tplib_core.ml > src/tplib_core.ml.depends ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/halfspace.cmx src/halfspace.ml ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/hypergraph.ml > src/hypergraph.ml.depends ocamlfind ocamldep -package findlib -package dynlink -package num -package unix -modules src/union_find.ml > src/union_find.ml.depends ocamlfind ocamldep -modules src/union_find.mli > src/union_find.mli.depends ocamlfind ocamlc -c -g -I src -o src/union_find.cmi src/union_find.mli ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/union_find.cmx src/union_find.ml ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/hypergraph.cmx src/hypergraph.ml ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/tplib_core.cmx src/tplib_core.ml + ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/tplib_core.cmx src/tplib_core.ml File "src/tplib_core.ml", line 568, characters 12-25: 568 | let sectors_list' = ^^^^^^^^^^^^^ Warning 26 [unused-var]: unused variable sectors_list'. ocamlfind ocamldep -modules src/bindings/vector_array.ml > src/bindings/vector_array.ml.depends ocamlfind ocamldep -modules src/bindings/vector_array.mli > src/bindings/vector_array.mli.depends ocamlfind ocamlc -c -g -I src/bindings -I src -o src/bindings/vector_array.cmi src/bindings/vector_array.mli ocamlfind ocamlopt -c -g -I src/bindings -I src -o src/bindings/semiring_double.cmx src/bindings/semiring_double.ml ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/tplib_abstract.cmx src/tplib_abstract.ml + ocamlfind ocamlopt -c -g -package findlib -package dynlink -package num -package unix -I src -o src/tplib_abstract.cmx src/tplib_abstract.ml File "src/tplib_abstract.ml", line 140, characters 7-10: 140 | let dim = V.size v in ^^^ Warning 26 [unused-var]: unused variable dim. ocamlfind ocamlopt -c -g -I src/bindings -I src -o src/bindings/vector_array.cmx src/bindings/vector_array.ml ocamlfind ocamlopt -c -g -I src/bindings -I src -o src/bindings/tplib_double_callback.cmx src/bindings/tplib_double_callback.ml ocamlfind ocamlopt -a -g -I src src/config.cmx src/random_generator.cmx src/numeric_plugin.cmx src/numeric.cmx src/semiring.cmx src/vector.cmx src/halfspace.cmx src/union_find.cmx src/hypergraph.cmx src/tplib_core.cmx src/tplib_abstract.cmx -o src/tplib.cmxa ocamlfind ocamlopt -g -linkpkg -linkpkg -output-obj -package findlib -package dynlink -package num -I src -I src/bindings src/tplib.cmxa src/bindings/semiring_double.cmx src/bindings/vector_array.cmx src/bindings/tplib_double_callback.cmx -o src/bindings/tplib_double_callback.obj.o + ocamlfind ocamlopt -g -linkpkg -linkpkg -output-obj -package findlib -package dynlink -package num -I src -I src/bindings src/tplib.cmxa src/bindings/semiring_double.cmx src/bindings/vector_array.cmx src/bindings/tplib_double_callback.cmx -o src/bindings/tplib_double_callback.obj.o File "_none_", line 1: Error: Cannot find file /usr/lib64/ocaml/findlib/findlib.cmxa Command exited with code 2. make: *** [Makefile:133: ocaml-all] Error 10 error: Bad exit status from /var/tmp/rpm-tmp.C9gQLy (%build) RPM build warnings: RPM build errors: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.C9gQLy (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-tplib.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 598, in do_with_status 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-tplib.spec