Build:
- 0
2026-10-07 22:24.01: New job: build mmdb.0.3.0 (45857b186a08) 2026-10-07 22:24.01: Waiting for resource in pool day11-builds 2026-10-07 22:25.24: Got resource from pool day11-builds 2026-10-07 22:25.24: [profile oxcaml-odoc-master] build mmdb.0.3.0 2026-10-07 22:25.24: build mmdb.0.3.0 (45857b186a08) === DEPENDENCIES (45 transitive) === base.v0.18~preview.130.83+317 9d35b30f6157 base-threads.base 464810371b96 base-unix.base 4596d20d2cf7 basement.v0.18~preview.130.83+317 fd9c48ddc186 capsule0.v0.18~preview.130.83+317 3d1efd5b4012 conf-autoconf.1 8ee1e3913008 conf-libffi.2.0.0 3b04165a8510 conf-libmaxminddb.1 746c8f77f610 conf-pkg-config.5 e39f7209b38f conf-which.1 65c43ca119c3 cppo.1.8.0 cf83b4cbb849 csexp.1.5.2 388a0f161b43 ctypes.0.24.0+ox df4d7e3c5c0c ctypes-foreign.0.24.0+ox 210d393377ae dune.3.22.2+ox 32ff52c6657f dune-configurator.3.22.2+ox ff0f95dfc767 integers.0.8.0 f3997f4d97e0 ocaml.5.2.0 af0590f41c06 ocaml-compiler-libs.v0.17.0+ox b65c7a1ffa7d ocaml-config.3 652553152315 ocaml-variants.5.2.0+ox cb60d024b20c ocaml_intrinsics_kernel.v0.18~preview.130.83+317 1a69a7740305 ocamlfind.1.9.8+ox 252ac26d02be oxcaml-compiler.5.2.0minus25 1356a22c5761 ppx_array_base.v0.18~preview.130.83+317 b801fec98657 ppx_base.v0.18~preview.130.83+317 16b30b65ad1f ppx_cold.v0.18~preview.130.83+317 d2ee8aec553e ppx_compare.v0.18~preview.130.83+317 617e9368d46c ppx_derivers.1.2.1 91b7c666f6fd ppx_deriving.6.1.1+ox 5149c6e52592 ppx_enumerate.v0.18~preview.130.83+317 86b9cb393d03 ppx_globalize.v0.18~preview.130.83+317 da9e2819134d ppx_hash.v0.18~preview.130.83+317 69f598a0172a ppx_helpers.v0.18~preview.130.83+317 5dbce1ab0bca ppx_here.v0.18~preview.130.83+317 45198b2bc5e0 ppx_let.v0.18~preview.130.83+317 8fb16d8bb86b ppx_sexp_conv.v0.18~preview.130.83+317 df76435894ca ppx_shorthand.v0.18~preview.130.83+317 72f22e3c90d0 ppx_template.v0.18~preview.130.83+317 96a070b82ff1 ppxlib.0.33.0+ox 5a44f0664338 ppxlib_ast.0.33.0+ox c27d0426e5a8 ppxlib_jane.v0.18~preview.130.83+317 0bcd9248dbfd sexp_type.v0.18~preview.130.83+317 9468879d684c sexplib0.v0.18~preview.130.83+317 022cce933120 stdlib-shims.0.3.0 e6cbb74541c0 === STDOUT === Processing: [default: loading data] [mmdb.0.3.0: dl] [mmdb.0.3.0: extract] -> retrieved mmdb.0.3.0 (https://opam.ocaml.org/cache) [mmdb: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "mmdb" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/mmdb.0.3.0) - File "src/ffi/dune", line 23, characters 25-37: - 23 | (c_names mmdb_ffi_stubs mmdb_helpers) - ^^^^^^^^^^^^ - (cd _build/default/src/ffi && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wno-incompatible-pointer-types-discards-qualifiers -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/stdlib-shims -I bindings -I ../types -I ../types/bindings -o mmdb_helpers.o -c mmdb_helpers.c) - mmdb_helpers.c: In function 'mmdb_ml_language_names': - mmdb_helpers.c:25:36: error: returning 'const char **' from a function with incompatible return type 'char **' [-Wincompatible-pointer-types] - 25 | return mmdb->metadata.languages.names; - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ - At top level: - cc1: note: unrecognized command-line option '-Wno-incompatible-pointer-types-discards-qualifiers' may have been intended to silence earlier diagnostics - (cd _build/default/src/types/stubgen && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread mmdb_ml_types_stubgen.c -lmaxminddb -I /home/opam/.opam/default/lib/ocaml/../ctypes -I /home/opam/.opam/default/lib/ocaml -o mmdb_ml_types_stubgen.exe) - In file included from /home/opam/.opam/default/lib/ocaml/../ctypes/ctypes_primitives.h:16, - from /home/opam/.opam/default/lib/ocaml/../ctypes/ctypes_cstubs_internals.h:13, - from mmdb_ml_types_stubgen.c:10: - /home/opam/.opam/default/lib/ocaml/../ctypes/ocaml_integers.h:37:9: warning: "Int8_val" redefined - 37 | #define Int8_val(V) ((int8_t)(Int_val(V))) - | ^~~~~~~~ - In file included from /home/opam/.opam/default/lib/ocaml/../ctypes/ocaml_integers.h:11: - /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:154:9: note: this is the location of the previous definition - 154 | #define Int8_val(x) ((int8_t) Long_val(x)) - | ^~~~~~~~ - /home/opam/.opam/default/lib/ocaml/../ctypes/ocaml_integers.h:38:9: warning: "Int16_val" redefined - 38 | #define Int16_val(V) ((int16_t)(Int_val(V))) - | ^~~~~~~~~ - /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:153:9: note: this is the location of the previous definition - 153 | #define Int16_val(x) ((int16_t) Long_val(x)) - | ^~~~~~~~~ - File "src/ffi/dune", line 23, characters 10-24: - 23 | (c_names mmdb_ffi_stubs mmdb_helpers) - ^^^^^^^^^^^^^^ - (cd _build/default/src/ffi && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wno-incompatible-pointer-types-discards-qualifiers -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/stdlib-shims -I bindings -I ../types -I ../types/bindings -o mmdb_ffi_stubs.o -c mmdb_ffi_stubs.c) - In file included from /home/opam/.opam/default/lib/ctypes/ctypes_primitives.h:16, - from /home/opam/.opam/default/lib/ctypes/ctypes_cstubs_internals.h:13, - from mmdb_ffi_stubs.c:9: - /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:37:9: warning: "Int8_val" redefined - 37 | #define Int8_val(V) ((int8_t)(Int_val(V))) - | ^~~~~~~~ - In file included from /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:11: - /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:154:9: note: this is the location of the previous definition - 154 | #define Int8_val(x) ((int8_t) Long_val(x)) - | ^~~~~~~~ - /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:38:9: warning: "Int16_val" redefined - 38 | #define Int16_val(V) ((int16_t)(Int_val(V))) - | ^~~~~~~~~ - /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:153:9: note: this is the location of the previous definition - 153 | #define Int16_val(x) ((int16_t) Long_val(x)) - | ^~~~~~~~~ - mmdb_ffi_stubs.c: In function 'mmdb_stub_4_MMDB_aget_value': - mmdb_ffi_stubs.c:39:40: error: passing argument 3 of 'MMDB_aget_value' from incompatible pointer type [-Wincompatible-pointer-types] - 39 | int x28 = MMDB_aget_value(x25, x26, x27); - | ^~~ - | | - | char ** - In file included from mmdb_ffi_stubs.c:6: - /usr/include/x86_64-linux-gnu/maxminddb.h:223:53: note: expected 'const char * const* const' but argument is of type 'char **' - 223 | const char *const *const path); - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ - mmdb_ffi_stubs.c: In function 'mmdb_stub_5_MMDB_strerror': - mmdb_ffi_stubs.c:45:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 45 | char* x33 = MMDB_strerror(x30); - | ^~~~~~~~~~~~~ - mmdb_ffi_stubs.c: In function 'mmdb_stub_6_MMDB_lib_version': - mmdb_ffi_stubs.c:50:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 50 | char* x35 = MMDB_lib_version(); - | ^~~~~~~~~~~~~~~~ - mmdb_ffi_stubs.c: In function 'mmdb_stub_18_mmdb_ml_get_entry_data_utf8_string_value': - mmdb_ffi_stubs.c:118:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 118 | char* x67 = mmdb_ml_get_entry_data_utf8_string_value(x66); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - mmdb_ffi_stubs.c: In function 'mmdb_stub_20_mmdb_ml_get_entry_data_bytes_value': - mmdb_ffi_stubs.c:130:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 130 | uint8_t* x73 = mmdb_ml_get_entry_data_bytes_value(x72); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - At top level: - cc1: note: unrecognized command-line option '-Wno-incompatible-pointer-types-discards-qualifiers' may have been intended to silence earlier diagnostics [ERROR] The compilation of mmdb.0.3.0 failed at "dune build -p mmdb -j 39". build failed... === STDERR === 2026-10-07 22:26.11: FAILED: build mmdb.0.3.0 2026-10-07 22:26.11: Job failed: build failed: mmdb.0.3.0