Processing: [default: loading data] [polka.2.71.15: dl] [polka.2.71.15: extract] -> retrieved polka.2.71.15 (https://opam.ocaml.org/cache) [polka: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "polka" "-j" "32" (CWD=/home/opam/.opam/default/.opam-switch/build/polka.2.71.15) - (cd _build/default/lib/polka && /usr/bin/make) - echo "\ - s/vector__t/t/g; \ - s/matrix__t/t/g; \ - s/poly__t/t/g; \ - s/dimsup_t/dimsup/g; \ - s/equation_t/equation/g; \ - s/external vector_/external /g; \ - s/external matrix_/external /g; \ - s/external poly_/external /g; \ - s/Tbool_bottom/Bottom/; \ - s/Tbool_true/True/; \ - s/Tbool_false/False/; \ - s/Tbool_top/Top/; \ - " >sedscript - mkdir -p tmp - cp vector.idl tmp - camlidl -nocpp -I . tmp/vector.idl - cp tmp/vector_stubs.c vector_caml.c - sed -f sedscript tmp/vector.ml >vector.ml - sed -f sedscript tmp/vector.mli >vector.mli - mkdir -p tmp - cp matrix.idl tmp - camlidl -nocpp -I . tmp/matrix.idl - cp tmp/matrix_stubs.c matrix_caml.c - sed -f sedscript tmp/matrix.ml >matrix.ml - sed -f sedscript tmp/matrix.mli >matrix.mli - mkdir -p tmp - cp poly.idl tmp - camlidl -nocpp -I . tmp/poly.idl - cp tmp/poly_stubs.c poly_caml.c - sed -f sedscript tmp/poly.ml >poly.ml - sed -f sedscript tmp/poly.mli >poly.mli - File "lib/polka/dune", line 9, characters 37-46: - 9 | vector_caml matrix_caml poly_caml polka_caml) - ^^^^^^^^^ - (cd _build/default/lib/polka && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O3 -fPIC -DPOLKA_NUM=3 -I$pkg_camlidl -I/usr/local/include/ -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/camlidl -I /home/opam/.opam/default/lib/gmp -I /home/opam/.opam/default/lib/num -o poly_caml.o -c poly_caml.c) - poly_caml.c: In function 'camlidl_poly_poly_inter_array': - poly_caml.c:756:32: error: passing argument 1 of 'poly_intersection_array' from incompatible pointer type [-Wincompatible-pointer-types] - 756 | _res = poly_intersection_array(po,size); - | ^~ - | | - | poly_t ** - In file included from poly_caml.c:17: - poly.h:91:55: note: expected 'const poly_t * const*' but argument is of type 'poly_t **' - 91 | poly_t* poly_intersection_array(const poly_t* const *po, int size); - | ~~~~~~~~~~~~~~~~~~~~~^~ - poly_caml.c: In function 'camlidl_poly_poly_union_array': - poly_caml.c:848:31: error: passing argument 1 of 'poly_convex_hull_array' from incompatible pointer type [-Wincompatible-pointer-types] - 848 | _res = poly_convex_hull_array(po,size); - | ^~ - | | - | poly_t ** - poly.h:96:54: note: expected 'const poly_t * const*' but argument is of type 'poly_t **' - 96 | poly_t* poly_convex_hull_array(const poly_t* const *po, int size); - | ~~~~~~~~~~~~~~~~~~~~~^~ - poly_caml.c: In function 'camlidl_poly_poly_inter_array_lazy': - poly_caml.c:940:37: error: passing argument 1 of 'poly_intersection_array_lazy' from incompatible pointer type [-Wincompatible-pointer-types] - 940 | _res = poly_intersection_array_lazy(po,size); - | ^~ - | | - | poly_t ** - poly.h:101:60: note: expected 'const poly_t * const*' but argument is of type 'poly_t **' - 101 | poly_t* poly_intersection_array_lazy(const poly_t* const *po, int size); - | ~~~~~~~~~~~~~~~~~~~~~^~ - poly_caml.c: In function 'camlidl_poly_poly_union_array_lazy': - poly_caml.c:1032:36: error: passing argument 1 of 'poly_convex_hull_array_lazy' from incompatible pointer type [-Wincompatible-pointer-types] - 1032 | _res = poly_convex_hull_array_lazy(po,size); - | ^~ - | | - | poly_t ** - poly.h:106:59: note: expected 'const poly_t * const*' but argument is of type 'poly_t **' - 106 | poly_t* poly_convex_hull_array_lazy(const poly_t* const *po, int size); - | ~~~~~~~~~~~~~~~~~~~~~^~ [ERROR] The compilation of polka.2.71.15 failed at "dune build -p polka -j 32". #=== ERROR while compiling polka.2.71.15 ======================================# # context 2.4.1 | linux/x86_64 | ocaml-compiler.5.4.1 | file:///home/opam/opam-repository # path ~/.opam/default/.opam-switch/build/polka.2.71.15 # command ~/.opam/default/bin/dune build -p polka -j 32 # exit-code 1 # env-file /tmp/opam-root-7/polka-7-0b1131.env # output-file /tmp/opam-root-7/polka-7-0b1131.out ### output ### # (cd _build/default/lib/polka && /usr/bin/make) # echo "\ # s/vector__t/t/g; \ # s/matrix__t/t/g; \ # s/poly__t/t/g; \ # s/dimsup_t/dimsup/g; \ # s/equation_t/equation/g; \ # s/external vector_/external /g; \ # s/external matrix_/external /g; \ # s/external poly_/external /g; \ # s/Tbool_bottom/Bottom/; \ # s/Tbool_true/True/; \ # s/Tbool_false/False/; \ # s/Tbool_top/Top/; \ # " >sedscript # mkdir -p tmp # cp vector.idl tmp # camlidl -nocpp -I . tmp/vector.idl # cp tmp/vector_stubs.c vector_caml.c # sed -f sedscript tmp/vector.ml >vector.ml # sed -f sedscript tmp/vector.mli >vector.mli # mkdir -p tmp # cp matrix.idl tmp # camlidl -nocpp -I . tmp/matrix.idl # cp tmp/matrix_stubs.c matrix_caml.c # sed -f sedscript tmp/matrix.ml >matrix.ml # sed -f sedscript tmp/matrix.mli >matrix.mli # mkdir -p tmp # cp poly.idl tmp # camlidl -nocpp -I . tmp/poly.idl # cp tmp/poly_stubs.c poly_caml.c # sed -f sedscript tmp/poly.ml >poly.ml # sed -f sedscript tmp/poly.mli >poly.mli # File "lib/polka/dune", line 9, characters 37-46: # 9 | vector_caml matrix_caml poly_caml polka_caml) # ^^^^^^^^^ # (cd _build/default/lib/polka && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O3 -fPIC -DPOLKA_NUM=3 -I$pkg_camlidl -I/usr/local/include/ -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/camlidl -I /home/opam/.opam/default/lib/gmp -I /home/opam/.opam/default/lib/num -o poly_caml.o -c poly_caml.c) # poly_caml.c: In function 'camlidl_poly_poly_inter_array': # poly_caml.c:756:32: error: passing argument 1 of 'poly_intersection_array' from incompatible pointer type [-Wincompatible-pointer-types] # 756 | _res = poly_intersection_array(po,size); # | ^~ # | | # | poly_t ** # In file included from poly_caml.c:17: # poly.h:91:55: note: expected 'const poly_t * const*' but argument is of type 'poly_t **' # 91 | poly_t* poly_intersection_array(const poly_t* const *po, int size); # | ~~~~~~~~~~~~~~~~~~~~~^~ # poly_caml.c: In function 'camlidl_poly_poly_union_array': # poly_caml.c:848:31: error: passing argument 1 of 'poly_convex_hull_array' from incompatible pointer type [-Wincompatible-pointer-types] # 848 | _res = poly_convex_hull_array(po,size); # | ^~ # | | # | poly_t ** # poly.h:96:54: note: expected 'const poly_t * const*' but argument is of type 'poly_t **' # 96 | poly_t* poly_convex_hull_array(const poly_t* const *po, int size); # | ~~~~~~~~~~~~~~~~~~~~~^~ # poly_caml.c: In function 'camlidl_poly_poly_inter_array_lazy': # poly_caml.c:940:37: error: passing argument 1 of 'poly_intersection_array_lazy' from incompatible pointer type [-Wincompatible-pointer-types] # 940 | _res = poly_intersection_array_lazy(po,size); # | ^~ # | | # | poly_t ** # poly.h:101:60: note: expected 'const poly_t * const*' but argument is of type 'poly_t **' # 101 | poly_t* poly_intersection_array_lazy(const poly_t* const *po, int size); # | ~~~~~~~~~~~~~~~~~~~~~^~ # poly_caml.c: In function 'camlidl_poly_poly_union_array_lazy': # poly_caml.c:1032:36: error: passing argument 1 of 'poly_convex_hull_array_lazy' from incompatible pointer type [-Wincompatible-pointer-types] # 1032 | _res = poly_convex_hull_array_lazy(po,size); # | ^~ # | | # | poly_t ** # poly.h:106:59: note: expected 'const poly_t * const*' but argument is of type 'poly_t **' # 106 | poly_t* poly_convex_hull_array_lazy(const poly_t* const *po, int size); # | ~~~~~~~~~~~~~~~~~~~~~^~