D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/ocaml-num-1.1-5.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.DrIcgk + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf num-1.1 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/ocaml-num-1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd num-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0001-install-Use-DESTDIR.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0002-toplevel-Add-g-flag.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0003-src-Add-g-flag-to-mklib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.GpTRQj + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd num-1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 V=1 VERBOSE=1 all /usr/bin/make -C src all make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c int_misc.mli make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c arith_flags.mli make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c nat.mli make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c arith_status.mli make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c arith_flags.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c int_misc.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c big_int.mli make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c arith_status.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c ratio.mli make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c nat.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c num.mli make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c ratio.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c big_int.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c num.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlmklib -g -o nums -oc nums -linkall int_misc.cmo nat.cmo big_int.cmo arith_flags.cmo ratio.cmo num.cmo arith_status.cmo make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -g -ccopt -DBNG_ARCH_arm64 -c nat_stubs.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlc -g -ccopt -DBNG_ARCH_arm64 -c bng.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlmklib -g -oc nums bng.o nat_stubs.o make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlopt -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c arith_flags.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlopt -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c int_misc.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlopt -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c arith_status.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlopt -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c nat.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlopt -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c big_int.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlopt -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c ratio.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlopt -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -c num.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlmklib -g -o nums -oc nums -linkall int_misc.cmx nat.cmx big_int.cmx arith_flags.cmx ratio.cmx num.cmx arith_status.cmx make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlopt -w +a-4-9-41-42-44-45-48 -warn-error A -bin-annot -g -safe-string -strict-sequence -strict-formats -I . -shared -o nums.cmxs nums.cmxa make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' /usr/bin/make -C toplevel all make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' ocamlc -g -I ../src -I +compiler-libs -w +a-4-9-41-42-44-45-48 -warn-error A -safe-string -strict-sequence -strict-formats -c num_top.mli make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' ocamlc -g -I ../src -I +compiler-libs -w +a-4-9-41-42-44-45-48 -warn-error A -safe-string -strict-sequence -strict-formats -c num_top_printers.mli make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' ocamlc -g -I ../src -I +compiler-libs -w +a-4-9-41-42-44-45-48 -warn-error A -safe-string -strict-sequence -strict-formats -c num_top.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' ocamlc -g -I ../src -I +compiler-libs -w +a-4-9-41-42-44-45-48 -warn-error A -safe-string -strict-sequence -strict-formats -c num_top_printers.ml make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' ocamlc -g -I ../src -I +compiler-libs -w +a-4-9-41-42-44-45-48 -warn-error A -safe-string -strict-sequence -strict-formats -a -o num_top.cma num_top_printers.cmo num_top.cmo make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6ohYUk + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64 + cd num-1.1 + '[' 1 -eq 1 ']' + export DESTDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64 + DESTDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64 + export OCAMLFIND_DESTDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml + mkdir -p /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml + mkdir -p /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml/stublibs + make install make -C src install make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' ocamlfind install num META Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml/num/META install -m 644 nums.cma libnums.a big_int.cmi nat.cmi num.cmi ratio.cmi arith_status.cmi big_int.mli nat.mli num.mli ratio.mli arith_status.mli big_int.cmti nat.cmti num.cmti ratio.cmti arith_status.cmti nums.cmxa nums.a big_int.cmx nat.cmx num.cmx ratio.cmx arith_status.cmx nums.cmxs /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml install dllnums.so /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml/stublibs make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/src' make -C toplevel install make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' ocamlfind install num-top META num_top.cma num_top.cmi num_top_printers.cmi Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml/num-top/num_top_printers.cmi Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml/num-top/num_top.cmi Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml/num-top/num_top.cma Installed /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml/num-top/META make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/toplevel' + find /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml -name '*.cmti' -delete + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 1.1-5.mga8 --unique-debug-suffix -1.1-5.mga8.aarch64 --unique-debug-src-base ocaml-num-1.1-5.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/num-1.1 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml/stublibs/dllnums.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/lib64/ocaml/stublibs/dllnums.so original debug info size: 92kB, size after compression: 96kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 77 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Hd4dPl + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd num-1.1 + '[' 1 -eq 1 ']' + make -j1 test make -C test all make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/num-1.1/test' ocamlc -I ../src ../src/nums.cma test.ml test_nats.ml test_big_ints.ml test_ratios.ml test_nums.ml test_io.ml end_test.ml -o test.byt File "test.ml", line 83, characters 37-55: 83 | let eq_float (x: float) (y: float) = Pervasives.compare x y = 0;; ^^^^^^^^^^^^^^^^^^ 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 ----- Testing in bytecode... ocamlrun -I ../src ./test.byt num_digits_nat -1... 0... 1... length_nat 1... equal_nat 1... 2... 3... 4... incr_nat 1... 2... 3... 4... decr_nat 1... 2... 3... 4... is_zero_nat 1... 2... 3... 4... string_of_nat 1... 2... string_of_nat && nat_of_string 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... gcd_nat 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... sqrt_nat 1... 2... 3... 4... 5... compare_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... pred_big_int 1... 2... 3... succ_big_int 1... 2... 3... add_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... sub_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... mult_int_big_int 1... 2... 3... 4... mult_big_int 1... 2... 3... 4... 5... quomod_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... 23... 24... 25... gcd_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... 23... 24... 25... 26... 27... 28... int_of_big_int 1... 2... 3... 4... 5... 6... 7... 8... is_int_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... sys_string_of_big_int 1... big_int_of_string 1... 2... 4... 5... 6... 7... 9... 10... 18... 19... 20... 21... power_base_int 1... 2... 3... base_power_big_int 1... 2... 3... power_int_positive_big_int 1... 2... 3... 4... 5... 6... 7... power_big_int_positive_int 1... 2... 3... 4... 5... power_big_int_positive_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... square_big_int 1... 2... 3... 4... big_int_of_nativeint 1... 2... 3... nativeint_of_big_int 1... 2... 2... big_int_of_int32 1... 2... 3... int32_of_big_int 1... 2... 3... 4... 5... 6... 7... 8... big_int_of_int64 1... 2... 3... 4... 5... 6... 7... 8... int64_of_big_int 1... 2... 3... 4... 5... 6... 7... 8... and_big_int 1... 2... 3... 4... 5... 6... or_big_int 1... 2... 3... 4... 5... 6... xor_big_int 1... 2... 3... 4... 5... 6... shift_left_big_int 1... 2... 2... 3... 4... 5... 6... shift_right_big_int 1... 2... 3... 4... 5... 6... shift_right_towards_zero_big_int 1... 2... extract_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... hashing of big integers 1... 2... 3... 4... 5... 6... float_of_big_int 1... 2... 3... 4... 5... 6... 7... 8... create_ratio 1... 2... 3... 4... 5... 6... 7... 8... create_normalized_ratio 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... null_denominator 1... 2... sign_ratio 1... 2... 3... normalize_ratio 1... 2... 3... 4... report_sign_ratio 1... 2... is_integer_ratio 1... 2... add_ratio 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 1... 2... 3... 4... sub_ratio 1... 2... 3... 4... 5... 6... 7... 8... mult_ratio 1... 2... 3... 4... 5... 6... 7... 8... div_ratio 1... 2... 3... 4... 5... 6... 7... 8... integer_ratio 1... 2... 3... 4... 5... floor_ratio 1... 2... 3... 4... 5... round_ratio 1... 2... 3... 4... 5... ceiling_ratio 1... 2... 3... 4... 5... 6... eq_ratio 1... 2... 3... 4... 5... compare_ratio 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... 23... 24... 25... 26... 27... 28... 29... 30... 31... 32... 33... 34... 35... 36... eq_big_int_ratio 1... 2... 3... 4... 5... compare_big_int_ratio 1... 2... 3... 4... 5... 6... 7... 8... 9... int_of_ratio 1... 2... 3... 4... 5... ratio_of_int 1... 2... nat_of_ratio 1... 2... 3... 4... ratio_of_big_int 1... big_int_of_ratio 1... 2... 3... string_of_ratio 1... 2... 3... 4... ratio_of_string 1... 6... 7... 8... round_futur_last_digit 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... 23... 24... approx_ratio_fix 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... approx_ratio_exp 1... 2... 3... 4... 5... 6... 7... 8... 9... float_of_ratio 1... add_num 1... 2... 3... 4... 5... 6... 7... 8... 9... sub_num 1... 2... 3... 4... 5... 7... 8... 9... 10... mult_num 1... 2... 3... 4... 5... 6... 7... 8... 9... div_num 1... 2... 3... 4... 5... 6... 7... 8... 9... is_integer_num 1... 2... 3... 4... num_of_ratio 1... 2... 3... num_of_string 1... 7... 8... 11... 12... 13... 14... 15... output_value/input_value on nats 1... 2... 3... 4... 5... 6... 7... output_value/input_value on big ints 1... 2... 3... 4... 5... output_value/input_value on nums 1... 2... 3... 4... 5... 6... 7... 8... ************* TESTS COMPLETED SUCCESSFULLY **************** ocamlopt -I ../src ../src/nums.cmxa test.ml test_nats.ml test_big_ints.ml test_ratios.ml test_nums.ml test_io.ml end_test.ml -o test.exe File "test.ml", line 83, characters 37-55: 83 | let eq_float (x: float) (y: float) = Pervasives.compare x y = 0;; ^^^^^^^^^^^^^^^^^^ 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 ----- Testing in native code... ./test.exe num_digits_nat -1... 0... 1... length_nat 1... equal_nat 1... 2... 3... 4... incr_nat 1... 2... 3... 4... decr_nat 1... 2... 3... 4... is_zero_nat 1... 2... 3... 4... string_of_nat 1... 2... string_of_nat && nat_of_string 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... gcd_nat 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... sqrt_nat 1... 2... 3... 4... 5... compare_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... pred_big_int 1... 2... 3... succ_big_int 1... 2... 3... add_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... sub_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... mult_int_big_int 1... 2... 3... 4... mult_big_int 1... 2... 3... 4... 5... quomod_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... 23... 24... 25... gcd_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... 23... 24... 25... 26... 27... 28... int_of_big_int 1... 2... 3... 4... 5... 6... 7... 8... is_int_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... sys_string_of_big_int 1... big_int_of_string 1... 2... 4... 5... 6... 7... 9... 10... 18... 19... 20... 21... power_base_int 1... 2... 3... base_power_big_int 1... 2... 3... power_int_positive_big_int 1... 2... 3... 4... 5... 6... 7... power_big_int_positive_int 1... 2... 3... 4... 5... power_big_int_positive_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... square_big_int 1... 2... 3... 4... big_int_of_nativeint 1... 2... 3... nativeint_of_big_int 1... 2... 2... big_int_of_int32 1... 2... 3... int32_of_big_int 1... 2... 3... 4... 5... 6... 7... 8... big_int_of_int64 1... 2... 3... 4... 5... 6... 7... 8... int64_of_big_int 1... 2... 3... 4... 5... 6... 7... 8... and_big_int 1... 2... 3... 4... 5... 6... or_big_int 1... 2... 3... 4... 5... 6... xor_big_int 1... 2... 3... 4... 5... 6... shift_left_big_int 1... 2... 2... 3... 4... 5... 6... shift_right_big_int 1... 2... 3... 4... 5... 6... shift_right_towards_zero_big_int 1... 2... extract_big_int 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... hashing of big integers 1... 2... 3... 4... 5... 6... float_of_big_int 1... 2... 3... 4... 5... 6... 7... 8... create_ratio 1... 2... 3... 4... 5... 6... 7... 8... create_normalized_ratio 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... null_denominator 1... 2... sign_ratio 1... 2... 3... normalize_ratio 1... 2... 3... 4... report_sign_ratio 1... 2... is_integer_ratio 1... 2... add_ratio 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 1... 2... 3... 4... sub_ratio 1... 2... 3... 4... 5... 6... 7... 8... mult_ratio 1... 2... 3... 4... 5... 6... 7... 8... div_ratio 1... 2... 3... 4... 5... 6... 7... 8... integer_ratio 1... 2... 3... 4... 5... floor_ratio 1... 2... 3... 4... 5... round_ratio 1... 2... 3... 4... 5... ceiling_ratio 1... 2... 3... 4... 5... 6... eq_ratio 1... 2... 3... 4... 5... compare_ratio 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... 23... 24... 25... 26... 27... 28... 29... 30... 31... 32... 33... 34... 35... 36... eq_big_int_ratio 1... 2... 3... 4... 5... compare_big_int_ratio 1... 2... 3... 4... 5... 6... 7... 8... 9... int_of_ratio 1... 2... 3... 4... 5... ratio_of_int 1... 2... nat_of_ratio 1... 2... 3... 4... ratio_of_big_int 1... big_int_of_ratio 1... 2... 3... string_of_ratio 1... 2... 3... 4... ratio_of_string 1... 6... 7... 8... round_futur_last_digit 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... 15... 16... 17... 18... 19... 20... 21... 22... 23... 24... approx_ratio_fix 1... 2... 3... 4... 5... 6... 7... 8... 9... 10... 11... 12... 13... 14... approx_ratio_exp 1... 2... 3... 4... 5... 6... 7... 8... 9... float_of_ratio 1... add_num 1... 2... 3... 4... 5... 6... 7... 8... 9... sub_num 1... 2... 3... 4... 5... 7... 8... 9... 10... mult_num 1... 2... 3... 4... 5... 6... 7... 8... 9... div_num 1... 2... 3... 4... 5... 6... 7... 8... 9... is_integer_num 1... 2... 3... 4... num_of_ratio 1... 2... 3... num_of_string 1... 7... 8... 11... 12... 13... 14... 15... output_value/input_value on nats 1... 2... 3... 4... 5... 6... 7... output_value/input_value on big ints 1... 2... 3... 4... 5... output_value/input_value on nums 1... 2... 3... 4... 5... 6... 7... 8... ************* TESTS COMPLETED SUCCESSFULLY **************** make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/num-1.1/test' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ocaml-num-1.1-5.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pT4cGk + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd num-1.1 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/share/doc/ocaml-num + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/share/doc/ocaml-num + cp -pr Changelog /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/share/doc/ocaml-num + cp -pr README.md /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/share/doc/ocaml-num + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FEqcvk + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd num-1.1 + LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/share/licenses/ocaml-num + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/share/licenses/ocaml-num + cp -pr LICENSE /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/share/licenses/ocaml-num + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Arith_flags) = 1fc18a911b0ae861df170b4c9ec391cf ocaml(Arith_status) = 3e63a21a798ab3fdb663484387fd7c4b ocaml(Big_int) = 51989d0957c8c35ee5a7f938ed839058 ocaml(Int_misc) = f12e1b86719ecce6ae1b582957081875 ocaml(Nat) = fbce541aa1c2789a1c8188f69308fd0a ocaml(Num) = 0cc9a7e5ce0180429a4bb6c270582075 ocaml(Num_top) = acba981a6edce7f0e721f888a221b8f1 ocaml(Num_top_printers) = 67ca3acf8708de083e9b1bdfb5284a1b ocaml(Ratio) = f186d6a275fe6fd5dba0e755b9000e9f ocaml-num = 1.1-5.mga8 ocaml-num(aarch-64) = 1.1-5.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) ocaml(Big_int) = 51989d0957c8c35ee5a7f938ed839058 ocaml(CamlinternalFormatBasics) = f562e7b79dbe1bb1591060d6b4e854cf ocaml(Longident) = 6105d99fc70e5d7a3a84628a4bf958e2 ocaml(Nat) = fbce541aa1c2789a1c8188f69308fd0a ocaml(Num) = 0cc9a7e5ce0180429a4bb6c270582075 ocaml(Ratio) = f186d6a275fe6fd5dba0e755b9000e9f ocaml(Stdlib) = aa33af4684579b41817bc194be0a7a26 ocaml(Stdlib__buffer) = 28161e4effde5ea372547815f87193ec ocaml(Stdlib__bytes) = 772b4012f2db40e66e9c581c84cada7e ocaml(Stdlib__char) = 2f2acf8bdbc1a264012f13ea21fa0c4b ocaml(Stdlib__format) = 06b0893cb3ef937aa19861955f132018 ocaml(Stdlib__int32) = aa83c6f44c2474e5227a6c8f103e87cf ocaml(Stdlib__int64) = 4214fced4b9c03c07eae7c7eb29450c4 ocaml(Stdlib__list) = 13989ef6fbcb7235b257d3df9a80253a ocaml(Stdlib__nativeint) = b4e3a7a1158f02cabeb08cb0c21793e7 ocaml(Stdlib__obj) = 4f27fde74c713270e337272301a906e6 ocaml(Stdlib__seq) = c5f4ef3f36de5f47b7041eed1deb9679 ocaml(Stdlib__string) = f06d662544362cc717ad99f2d75ffa1e ocaml(Stdlib__sys) = bb80c4c4a8134d83861bb3ff49d07ce4 ocaml(Stdlib__uchar) = c51d7a295527e9500ba69b459f81d6b3 ocaml(Topdirs) = 9eeca9a6d41fcc44a1f7970ae10a6f9c ocaml(runtime) = 4.10.0 Processing files: ocaml-num-devel-1.1-5.mga8.aarch64 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.bIWNMl + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd num-1.1 + LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/share/licenses/ocaml-num-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/share/licenses/ocaml-num-devel + cp -pr LICENSE /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64/usr/share/licenses/ocaml-num-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml-num-devel = 1.1-5.mga8 ocaml-num-devel(aarch-64) = 1.1-5.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocaml-num-debugsource-1.1-5.mga8.aarch64 Provides: ocaml-num-debugsource = 1.1-5.mga8 ocaml-num-debugsource(aarch-64) = 1.1-5.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocaml-num-debuginfo-1.1-5.mga8.aarch64 Provides: debuginfo(build-id) = 9e9a1bf91c823f37776f0c97382ea349e00725c7 ocaml-num-debuginfo = 1.1-5.mga8 ocaml-num-debuginfo(aarch-64) = 1.1-5.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-num-debugsource(aarch-64) = 1.1-5.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ocaml-num-debugsource-1.1-5.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ocaml-num-debuginfo-1.1-5.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ocaml-num-devel-1.1-5.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/ocaml-num-1.1-5.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.InqFKk + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd num-1.1 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/ocaml-num-1.1-5.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.otqZem + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf num-1.1 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!