Build:
- 0
2026-07-24 13:59.12: New job: build posix-time2.2.0.1 (97c5d4fb410f)
2026-07-24 13:59.12: Waiting for resource in pool day11-builds
2026-07-24 14:13.07: Got resource from pool day11-builds
2026-07-24 14:13.07: [profile full] build posix-time2.2.0.1
2026-07-24 14:13.07: build posix-time2.2.0.1 (97c5d4fb410f)
=== DEPENDENCIES (16 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.1 6d4dea31149a
posix-types.2.0.1 1f8662f31bbd
result.1.5 cbfc8099a702
stdlib-shims.0.3.0 4bbd4a6c7a07
unix-errno.0.6.2 bd876c89ea8b
=== STDOUT ===
Processing: [default: loading data]
[posix-time2.2.0.1: extract]
-> retrieved posix-time2.2.0.1 (cached)
[posix-time2: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "posix-time2" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/posix-time2.2.0.1)
- File "posix-time2/src/dune", line 12, characters 9-36:
- 12 | (names posix_time2_generated_stubs))
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- (cd _build/default/posix-time2/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/posix-types -I /home/opam/.opam/default/lib/posix-types/constants -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 constants -I stubs -I types -o posix_time2_generated_stubs.o -c posix_time2_generated_stubs.c)
- posix_time2_generated_stubs.c: In function 'posix_time2_5_ctime':
- posix_time2_generated_stubs.c:71:28: error: passing argument 1 of 'ctime' makes pointer from integer without a cast [-Wint-conversion]
- 71 | char const* x41 = ctime(x38);
- | ^~~
- | |
- | int64_t {aka long int}
- In file included from posix_time2_generated_stubs.c:2:
- /usr/include/time.h:183:35: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'}
- 183 | extern char *ctime (const time_t *__timer) __THROW;
- | ~~~~~~~~~~~~~~^~~~~~~
- posix_time2_generated_stubs.c: In function 'posix_time2_6_gmtime':
- posix_time2_generated_stubs.c:81:28: error: passing argument 1 of 'gmtime' makes pointer from integer without a cast [-Wint-conversion]
- 81 | struct tm* x49 = gmtime(x46);
- | ^~~
- | |
- | int64_t {aka long int}
- /usr/include/time.h:132:41: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'}
- 132 | extern struct tm *gmtime (const time_t *__timer) __THROW;
- | ~~~~~~~~~~~~~~^~~~~~~
- posix_time2_generated_stubs.c: In function 'posix_time2_7_localtime':
- posix_time2_generated_stubs.c:91:31: error: passing argument 1 of 'localtime' makes pointer from integer without a cast [-Wint-conversion]
- 91 | struct tm* x57 = localtime(x54);
- | ^~~
- | |
- | int64_t {aka long int}
- /usr/include/time.h:136:44: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'}
- 136 | extern struct tm *localtime (const time_t *__timer) __THROW;
- | ~~~~~~~~~~~~~~^~~~~~~
[ERROR] The compilation of posix-time2.2.0.1 failed at "dune build -p posix-time2 -j 39 @install".
build failed...
=== STDERR ===
2026-07-24 14:13.23: FAILED: build posix-time2.2.0.1
2026-07-24 14:13.23: Job failed: build failed: posix-time2.2.0.1