Build:
- 0
2026-07-24 13:30.01: New job: build posix-getopt.2.0.0 (c5562eb1880a) 2026-07-24 13:30.01: Waiting for resource in pool day11-builds 2026-07-24 13:59.18: Got resource from pool day11-builds 2026-07-24 13:59.18: [profile full] build posix-getopt.2.0.0 2026-07-24 13:59.18: build posix-getopt.2.0.0 (c5562eb1880a) === DEPENDENCIES (15 transitive) === base-threads.base afe16a8e71c3 base-unix.base 73c0a5fdd34a compiler-cloning.enabled 22a431860256 csexp.1.5.2 9b58e29a8bf1 ctypes.0.24.0 7b5a58116582 dune.3.24.1 0d2a3ba8bfb9 dune-configurator.3.24.1 29a4528f5159 integers.0.8.0 62aece7f10dd ocaml.5.5.0 af24caade1d3 ocaml-base-compiler.5.5.0 5f93989ce6d7 ocaml-compiler.5.5.0 15edcf5138e5 posix-base.2.0.0 b4c6357dea1f result.1.5 cbfc8099a702 stdlib-shims.0.3.0 4bbd4a6c7a07 unix-errno.0.6.2 bd876c89ea8b === STDOUT === Processing: [default: loading data] [posix-getopt.2.0.0: extract] -> retrieved posix-getopt.2.0.0 (cached) [posix-getopt: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "posix-getopt" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/posix-getopt.2.0.0) - File "posix-getopt/src/dune", line 12, characters 9-37: - 12 | (names posix_getopt_generated_stubs)) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/posix-getopt/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/posix-base -I /home/opam/.opam/default/lib/result -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/unix-errno -I /home/opam/.opam/default/lib/unix-errno/errno_bindings -I /home/opam/.opam/default/lib/unix-errno/errno_types -I /home/opam/.opam/default/lib/unix-errno/errno_types_detected -I /home/opam/.opam/default/lib/unix-errno/unix -I stubs -I types -o posix_getopt_generated_stubs.o -c posix_getopt_generated_stubs.c) - posix_getopt_generated_stubs.c: In function 'posix_getopt_1_getopt': - posix_getopt_generated_stubs.c:82:24: error: passing argument 2 of 'getopt' from incompatible pointer type [-Wincompatible-pointer-types] - 82 | int x9 = getopt(x4, x7, x8); - | ^~ - | | - | const char ** - In file included from /usr/include/x86_64-linux-gnu/bits/getopt_posix.h:27, - from /usr/include/unistd.h:903, - from posix_getopt_generated_stubs.c:2: - /usr/include/x86_64-linux-gnu/bits/getopt_core.h:91:46: note: expected 'char * const*' but argument is of type 'const char **' - 91 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) - | ~~~~~~~~~~~~~^~~~~~~ - posix_getopt_generated_stubs.c: In function 'posix_getopt_3_getopt_long': - posix_getopt_generated_stubs.c:106:31: error: passing argument 2 of 'getopt_long' from incompatible pointer type [-Wincompatible-pointer-types] - 106 | int x30 = getopt_long(x23, x26, x27, x28, x29); - | ^~~ - | | - | const char ** - In file included from /usr/include/getopt.h:36, - from posix_getopt_generated_stubs.c:9: - /usr/include/x86_64-linux-gnu/bits/getopt_ext.h:66:65: note: expected 'char * const*' but argument is of type 'const char **' - 66 | extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ - posix_getopt_generated_stubs.c: In function 'posix_getopt_5_getopt_long_only': - posix_getopt_generated_stubs.c:130:36: error: passing argument 2 of 'getopt_long_only' from incompatible pointer type [-Wincompatible-pointer-types] - 130 | int x51 = getopt_long_only(x44, x47, x48, x49, x50); - | ^~~ - | | - | const char ** - /usr/include/x86_64-linux-gnu/bits/getopt_ext.h:70:70: note: expected 'char * const*' but argument is of type 'const char **' - 70 | extern int getopt_long_only (int ___argc, char *__getopt_argv_const *___argv, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ [ERROR] The compilation of posix-getopt.2.0.0 failed at "dune build -p posix-getopt -j 39 @install". build failed... === STDERR === 2026-07-24 13:59.34: FAILED: build posix-getopt.2.0.0 2026-07-24 13:59.34: Job failed: build failed: posix-getopt.2.0.0