>>> ocaml-zarith: Building testing/ocaml-zarith 1.12-r3 (using abuild 3.11.20-r0) started Mon, 10 Jul 2023 04:31:10 +0000 >>> ocaml-zarith: Checking sanity of /home/buildozer/aports/testing/ocaml-zarith/APKBUILD... >>> ocaml-zarith: Analyzing dependencies... >>> ocaml-zarith: Installing for build: build-base gmp-dev ocaml ocaml-findlib ocaml-compiler-libs ocaml-ocamldoc (1/8) Installing libgmpxx (6.2.1-r3) (2/8) Installing gmp-dev (6.2.1-r3) (3/8) Installing ocaml-runtime (4.14.1-r1) (4/8) Installing ocaml (4.14.1-r1) (5/8) Installing ocaml-findlib (1.9.6-r1) (6/8) Installing ocaml-compiler-libs (4.14.1-r1) (7/8) Installing ocaml-ocamldoc (4.14.1-r1) (8/8) Installing .makedepends-ocaml-zarith (20230710.043112) Executing busybox-1.36.1-r3.trigger OK: 579 MiB in 118 packages >>> ocaml-zarith: Cleaning up srcdir >>> ocaml-zarith: Cleaning up pkgdir >>> ocaml-zarith: Cleaning up tmpdir >>> ocaml-zarith: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ocaml-zarith-1.12.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 93695 100 93695 0 0 279k 0 --:--:-- --:--:-- --:--:-- 278k >>> ocaml-zarith: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ocaml-zarith-1.12.tar.gz >>> ocaml-zarith: Checking sha512sums... ocaml-zarith-1.12.tar.gz: OK >>> ocaml-zarith: Unpacking /var/cache/distfiles/edge/ocaml-zarith-1.12.tar.gz... binary ocaml: found in /usr/bin binary ocamlc: found in /usr/bin binary ocamldep: found in /usr/bin binary ocamlmklib: found in /usr/bin binary ocamldoc: found in /usr/bin binary gcc: found in /usr/bin binary ocamlopt: found in /usr/bin checking compilation with gcc -Os -fstack-clash-protection -Wformat -Werror=format-security: working include caml/mlvalues.h: found library dynlink.cmxa: found binary ocamlfind: found in /usr/bin OCaml's word size is 32 binary uname: found in /bin include gmp.h: found library gmp: found OCaml supports -bin-annot to produce documentation detected configuration: native-code: yes dynamic linking: yes defines: -DHAS_GMP libraries: -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lgmp C options: -Os -fstack-clash-protection -Wformat -Werror=format-security installation path: /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml installation method findlib configuration successful! now type "make" to build then type "make install" or "sudo make install" to install (echo "let"; grep "version" META | head -1) > zarith_version.ml ocamldep -native zarith_version.ml z.ml q.ml big_int_Z.ml z.mli q.mli big_int_Z.mli > depend ocamlc -I +compiler-libs -bin-annot -c zarith_version.ml ocamlc -I +compiler-libs -bin-annot -c z.mli ocamlc -ccopt "-I/usr/lib/ocaml -DHAS_GMP -Os -fstack-clash-protection -Wformat -Werror=format-security" -c caml_z.c ocamlc -I +compiler-libs -bin-annot -c zarith_top.ml ocamlopt -I +compiler-libs -c zarith_version.ml ocamlc -I +compiler-libs -bin-annot -c z.ml ocamlc -I +compiler-libs -bin-annot -c q.mli ocamlc -I +compiler-libs -bin-annot -c big_int_Z.mli ocamlopt -I +compiler-libs -c z.ml ocamlc -o zarith_top.cma -a zarith_top.cmo ocamlc -I +compiler-libs -bin-annot -c big_int_Z.ml ocamlc -I +compiler-libs -bin-annot -c q.ml File "q.ml", line 537, characters 9-23: 537 | (Z.of_substring s 0 i) ^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. File "q.ml", line 538, characters 9-23: 538 | (Z.of_substring s (i+1) (String.length s-i-1)) ^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. ocamlmklib -failsafe -o zarith zarith_version.cmo z.cmo q.cmo big_int_Z.cmo -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lgmp Unknown option -Wl,--as-needed,-O1,--sort-common Unknown option -Wl,-z,pack-relative-relocs ocamlopt -I +compiler-libs -c q.ml ocamlopt -I +compiler-libs -c big_int_Z.ml File "q.ml", line 537, characters 9-23: 537 | (Z.of_substring s 0 i) ^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. File "q.ml", line 538, characters 9-23: 538 | (Z.of_substring s (i+1) (String.length s-i-1)) ^^^^^^^^^^^^^^ Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. ocamlmklib -failsafe -o zarith zarith_version.cmx z.cmx q.cmx big_int_Z.cmx -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lgmp Unknown option -Wl,--as-needed,-O1,--sort-common Unknown option -Wl,-z,pack-relative-relocs ocamlmklib -failsafe -o zarith caml_z.o -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lgmp Unknown option -Wl,--as-needed,-O1,--sort-common Unknown option -Wl,-z,pack-relative-relocs ocamlopt -shared -o zarith.cmxs -I . zarith.cmxa -linkall mkdir -p html ocamldoc -html -d html -charset utf8 z.mli q.mli big_int_Z.mli make -C tests test make[1]: Entering directory '/home/buildozer/aports/testing/ocaml-zarith/src/Zarith-release-1.12/tests' ocamlopt -I .. -ccopt "-L.." zarith.cmxa -o zq.exe zq.ml Testing zq (native)... zq: passed ocamlc -I .. -ccopt "-L.." zarith.cma -o zq.byt zq.ml Testing zq (bytecode)... zq: passed ocamlopt -I .. -ccopt "-L.." zarith.cmxa -o pi.exe pi.ml Testing pi... pi: passed ocamlc -c setround.c ocamlopt -I .. -ccopt "-L.." zarith.cmxa -o tofloat.exe \ setround.o tofloat.ml Testing tofloat... Default rounding mode (Z) (100000 tests)... passed Default rounding mode (Q) (100000 tests)... -5485617076556202 * 2^295 / 5227039116503069 * 2^435 : expected -0x1.0caa051ca2168p-140, got -0x1.0caa051ca2167p-140 -3742844497026466 * 2^452 / 483801888595696 * 2^204 : expected -0x1.ef1fceecdc32cp+250, got -0x1.ef1fceecdc32bp+250 6183031516450255 * 2^435 / 4614208955209419 * 2^205 : expected 0x1.570a1e980e828p+230, got 0x1.570a1e980e827p+230 7698867734835328 * 2^259 / 5311787166641642 * 2^492 : expected 0x1.730b6d519713ep-233, got 0x1.730b6d519713dp-233 6407899370421576 * 2^304 / 2510523543305124 * 2^326 : expected 0x1.46b58da29cadcp-21, got 0x1.46b58da29caddp-21 7699033132150861 * 2^359 / 7770550349573760 * 2^252 : expected 0x1.fb49a9a6c25a6p+106, got 0x1.fb49a9a6c25a7p+106 -5589171058216857 * 2^247 / 3480586514808400 * 2^383 : expected -0x1.9b168f7c1f07ep-136, got -0x1.9b168f7c1f07fp-136 -1558856543870636 * 2^321 / 1517156645123793 * 2^93 : expected -0x1.07094b29c482cp+228, got -0x1.07094b29c482bp+228 1092774673262610 * 2^182 / 3465680816256236 * 2^228 : expected 0x1.42e1721a9d852p-48, got 0x1.42e1721a9d853p-48 -5934823633249463 * 2^5 / 4828618435970186 * 2^463 : expected -0x1.3aa5df7ad5b94p-458, got -0x1.3aa5df7ad5b95p-458 -6263576279761892 * 2^195 / 8518745391178966 * 2^161 : expected -0x1.787548bdb6014p+33, got -0x1.787548bdb6015p+33 2604192442463684 * 2^350 / 6639887447262062 * 2^142 : expected 0x1.919e015fb693p+206, got 0x1.919e015fb692fp+206 -6226602006734487 * 2^466 / 569497954497702 * 2^160 : expected -0x1.5ddf2d1bcdc6ap+309, got -0x1.5ddf2d1bcdc69p+309 -3884440569247570 * 2^478 / 327263068080127 * 2^144 : expected -0x1.7bd2bbb97633ep+337, got -0x1.7bd2bbb97633fp+337 8235968448526172 * 2^184 / 6476739877526818 * 2^52 : expected 0x1.45890e1d10ba6p+132, got 0x1.45890e1d10ba5p+132 993960929682166 * 2^231 / 6445039941422887 * 2^147 : expected 0x1.3bd84113f242ap+81, got 0x1.3bd84113f2429p+81 -2985015286735043 * 2^477 / 2804181893228899 * 2^276 : expected -0x1.108239055091cp+201, got -0x1.108239055091dp+201 -6075838555930040 * 2^458 / 5422110324251409 * 2^231 : expected -0x1.1edd7ca1c7374p+227, got -0x1.1edd7ca1c7375p+227 -6444813460086048 * 2^256 / 4891025082145211 * 2^497 : expected -0x1.515393cecb2bcp-241, got -0x1.515393cecb2bbp-241 -6994323624202143 * 2^430 / 2889985401570397 * 2^96 : expected -0x1.35c8e5cd36cc6p+335, got -0x1.35c8e5cd36cc7p+335 8936008279240061 * 2^376 / 4884668155325780 * 2^252 : expected 0x1.d453826f1fde6p+124, got 0x1.d453826f1fde5p+124 -4040146563611311 * 2^24 / 8676870462908222 * 2^248 : expected -0x1.dccc287b2bec4p-226, got -0x1.dccc287b2bec5p-226 8610873795443564 * 2^338 / 7181655025853274 * 2^353 : expected 0x1.32f24c27fee16p-15, got 0x1.32f24c27fee15p-15 -6924762247841873 * 2^117 / 7545289742896426 * 2^47 : expected -0x1.d5e496c3acbdap+69, got -0x1.d5e496c3acbd9p+69 4434308804727593 * 2^39 / 3523620141282896 * 2^83 : expected 0x1.4229f2820d804p-44, got 0x1.4229f2820d803p-44 FAILED (25 errors) Round toward zero (Z) (100000 tests)... passed Round toward zero (Q) (100000 tests)... passed Round downward (Z) (100000 tests)... passed Round downward (Q) (100000 tests)... passed Round upward (Z) (100000 tests)... passed Round upward (Q) (100000 tests)... passed Round to nearest (Z) (100000 tests)... passed Round to nearest (Q) (100000 tests)... -500439617581659 * 2^135 / 5601880965728924 * 2^271 : expected -0x1.6de9b5bb9fa7p-140, got -0x1.6de9b5bb9fa6fp-140 4526589037466452 * 2^425 / 8023322701622410 * 2^24 : expected 0x1.20dc0d1e96bdp+400, got 0x1.20dc0d1e96bd1p+400 -1128482661175684 * 2^301 / 291603956074258 * 2^16 : expected -0x1.ef5963e249552p+286, got -0x1.ef5963e249551p+286 7352052093693804 * 2^88 / 4815379990516544 * 2^389 : expected 0x1.86db693d03412p-301, got 0x1.86db693d03413p-301 592136726021763 * 2^101 / 8233561904118942 * 2^212 : expected 0x1.2692e7d65ed8cp-115, got 0x1.2692e7d65ed8dp-115 -1543099481238846 * 2^16 / 619455243419944 * 2^432 : expected -0x1.3edb04665e7cp-415, got -0x1.3edb04665e7c1p-415 -1621512083615120 * 2^48 / 4729968235923714 * 2^370 : expected -0x1.5f0b570a3e4f8p-324, got -0x1.5f0b570a3e4f7p-324 -4815373252970254 * 2^19 / 656767563666657 * 2^258 : expected -0x1.d53e53d047fbep-237, got -0x1.d53e53d047fbdp-237 1713297321728425 * 2^455 / 2226585054710973 * 2^180 : expected 0x1.89f86111ea43p+274, got 0x1.89f86111ea42fp+274 6986983971516746 * 2^349 / 7567346237097809 * 2^98 : expected 0x1.d8bbb2eb5c98ep+250, got 0x1.d8bbb2eb5c98dp+250 -6648860551681920 * 2^261 / 979041466428975 * 2^393 : expected -0x1.b2a2ec3daa56ap-130, got -0x1.b2a2ec3daa569p-130 1647515802129758 * 2^477 / 4119384946228120 * 2^90 : expected 0x1.998a717892838p+385, got 0x1.998a717892839p+385 7771033687683692 * 2^333 / 6703905536499901 * 2^100 : expected 0x1.28c00669ef47cp+233, got 0x1.28c00669ef47bp+233 -79346849727910 * 2^118 / 8694111887113416 * 2^311 : expected -0x1.2b0eaacc647acp-200, got -0x1.2b0eaacc647abp-200 2059394400813602 * 2^246 / 1994044101079618 * 2^486 : expected 0x1.0863cb6de4afp-240, got 0x1.0863cb6de4af1p-240 -5006843518651199 * 2^68 / 4800992219522670 * 2^186 : expected -0x1.0af9f9bd77f2ep-118, got -0x1.0af9f9bd77f2dp-118 3417275338161953 * 2^179 / 1381163773848012 * 2^216 : expected 0x1.3cb2957b580cp-36, got 0x1.3cb2957b580bfp-36 -7746901434049465 * 2^450 / 3712162826437276 * 2^203 : expected -0x1.0b1f70cc132bap+248, got -0x1.0b1f70cc132bbp+248 8903112501697482 * 2^354 / 1885013837033918 * 2^259 : expected 0x1.2e474d56e8fc6p+97, got 0x1.2e474d56e8fc5p+97 -5910535107714245 * 2^442 / 6491040481398267 * 2^448 : expected -0x1.d235ff0f89faep-7, got -0x1.d235ff0f89fafp-7 FAILED (20 errors) ocamlopt -I .. -ccopt "-L.." zarith.cmxa -o ofstring.exe ofstring.ml Testing ofstring... make[1]: Leaving directory '/home/buildozer/aports/testing/ocaml-zarith/src/Zarith-release-1.12/tests' >>> ocaml-zarith: Entering fakeroot... ocamlfind install -destdir "/home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml" zarith META zarith.cma libzarith.a z.cmi q.cmi big_int_Z.cmi zarith_top.cma z.mli zarith.cmxa z.cmx q.cmx big_int_Z.cmx zarith.cmxs zarith.h q.mli big_int_Z.mli zarith.a z.cmti q.cmti big_int_Z.cmti -optional dllzarith.so Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/big_int_Z.cmti Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/q.cmti Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/z.cmti Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/zarith.a Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/big_int_Z.mli Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/q.mli Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/zarith.h Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/zarith.cmxs Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/big_int_Z.cmx Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/q.cmx Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/z.cmx Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/zarith.cmxa Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/z.mli Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/zarith_top.cma Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/big_int_Z.cmi Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/q.cmi Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/z.cmi Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/libzarith.a Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/zarith.cma Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/stublibs/dllzarith.so Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/stublibs/dllzarith.so.owner Installed /home/buildozer/aports/testing/ocaml-zarith/pkg/ocaml-zarith/usr/lib/ocaml/zarith/META >>> ocaml-zarith-doc*: Running split function doc... >>> ocaml-zarith-doc*: Preparing subpackage ocaml-zarith-doc... >>> ocaml-zarith-doc*: Running postcheck for ocaml-zarith-doc >>> ocaml-zarith*: Running postcheck for ocaml-zarith >>> ocaml-zarith*: Preparing package ocaml-zarith... >>> ocaml-zarith*: Stripping binaries >>> ocaml-zarith-doc*: Scanning shared objects >>> ocaml-zarith*: Scanning shared objects >>> ocaml-zarith-doc*: Tracing dependencies... >>> ocaml-zarith-doc*: Package size: 64.0 KB >>> ocaml-zarith-doc*: Compressing data... >>> ocaml-zarith-doc*: Create checksum... >>> ocaml-zarith-doc*: Create ocaml-zarith-doc-1.12-r3.apk >>> ocaml-zarith*: Tracing dependencies... gmp-dev so:libc.musl-x86.so.1 so:libgmp.so.10 >>> ocaml-zarith*: Package size: 648.0 KB >>> ocaml-zarith*: Compressing data... >>> ocaml-zarith*: Create checksum... >>> ocaml-zarith*: Create ocaml-zarith-1.12-r3.apk >>> ocaml-zarith: Build complete at Mon, 10 Jul 2023 04:31:22 +0000 elapsed time 0h 0m 12s >>> ocaml-zarith: Cleaning up srcdir >>> ocaml-zarith: Cleaning up pkgdir >>> ocaml-zarith: Uninstalling dependencies... (1/8) Purging .makedepends-ocaml-zarith (20230710.043112) (2/8) Purging gmp-dev (6.2.1-r3) (3/8) Purging libgmpxx (6.2.1-r3) (4/8) Purging ocaml-findlib (1.9.6-r1) (5/8) Purging ocaml-compiler-libs (4.14.1-r1) (6/8) Purging ocaml-ocamldoc (4.14.1-r1) (7/8) Purging ocaml (4.14.1-r1) (8/8) Purging ocaml-runtime (4.14.1-r1) Executing busybox-1.36.1-r3.trigger OK: 378 MiB in 110 packages >>> ocaml-zarith: Updating the testing/x86 repository index... >>> ocaml-zarith: Signing the index...