ig_ints.ml test_ratios.ml test_nums.ml test_io.ml end_test.ml -o test.exe BUILDSTDERR: File "test.ml", line 83, characters 37-55: BUILDSTDERR: 83 | let eq_float (x: float) (y: float) = Pervasives.compare x y = 0;; 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 ----- 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...make[1]: Leaving directory '/builddir/build/BUILD/num-1.1/test' RPM build errors: BUILDSTDERR: >>> Bad result (float_of_big_int, test 5) BUILDSTDERR: make[1]: *** [Makefile:19: all] Error 2 BUILDSTDERR: make: *** [Makefile:6: test] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.6nND4P (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.6nND4P (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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 --target riscv64 --nodeps /builddir/build/SPECS/ocaml-num.spec