Build:
- 0
2026-07-14 21:38.31: New job: build posix-getopt.2.0.0 (7492a5a5b86d) 2026-07-14 21:38.31: Waiting for resource in pool day11-builds 2026-07-14 22:43.34: Got resource from pool day11-builds 2026-07-14 22:43.34: [profile full] build posix-getopt.2.0.0 2026-07-14 22:43.34: build posix-getopt.2.0.0 (7492a5a5b86d) === DEPENDENCIES (15 transitive) === base-threads.base afe16a8e71c3 base-unix.base 73c0a5fdd34a compiler-cloning.enabled 22a431860256 csexp.1.5.2 7401e567af07 ctypes.0.24.0 1c95c3d26a42 dune.3.24.0 e560b9225410 dune-configurator.3.24.0 5d5ba511eb88 integers.0.8.0 7a1b3d239b29 ocaml.5.5.0 7f4ed97746d4 ocaml-base-compiler.5.5.0 90499340edf4 ocaml-compiler.5.5.0 0ffda1968820 posix-base.2.0.0 fac5adc17511 result.1.5 5db217fc6044 stdlib-shims.0.3.0 b1b0d87df8c2 unix-errno.0.6.2 c05437e792f1 === 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-14 22:43.56: FAILED: build posix-getopt.2.0.0 2026-07-14 22:43.56: Job failed: build failed: posix-getopt.2.0.0