Build:
- 0
2026-06-23 16:46.18: New job: build postgresql.4.5.0 (9ce491ce00d8)
2026-06-23 16:46.18: Waiting for resource in pool day11-builds
2026-06-23 18:10.20: Got resource from pool day11-builds
2026-06-23 18:10.20: [profile full] build postgresql.4.5.0
2026-06-23 18:10.20: build postgresql.4.5.0 (9ce491ce00d8)
=== DEPENDENCIES (16 transitive) ===
base.v0.16.5 fef7130f72df
base-bytes.base ec2393fe4c6d
base-threads.base b7164ff76afe
base-unix.base 839dc585f12d
compiler-cloning.enabled 0d2606125f88
conf-pkg-config.5 4b60827fc174
conf-postgresql.2 f04dda3e8ac1
csexp.1.5.2 315ecef51574
dune.3.23.1 dbfeecb5ca10
dune-configurator.3.23.1 8afe79196456
ocaml.5.5.0 1b4132bddf48
ocaml-base-compiler.5.5.0 1901c3a760c1
ocaml-compiler.5.5.0 5f593a0b4a8c
ocamlfind.1.9.8 5b46f9d92bbd
sexplib0.v0.16.0 2895c46d0477
stdio.v0.16.0 5d2499fa0181
=== STDOUT ===
Processing: [default: loading data]
[postgresql.4.5.0: dl]
[postgresql.4.5.0: extract]
-> retrieved postgresql.4.5.0 (https://opam.ocaml.org/cache)
[postgresql: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "postgresql" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/postgresql.4.5.0)
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/config/.discover.eobjs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/csexp -I /home/opam/.opam/default/lib/dune-configurator -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/discover.cmo -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 50, characters 12-16:
- 50 | Caml.exit 1
- ^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -O3 -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/csexp -I /home/opam/.opam/default/lib/dune-configurator -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -cmi-file src/config/.discover.eobjs/byte/discover.cmi -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 50, characters 12-16:
- 50 | Caml.exit 1
- ^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -I/usr/include/postgresql -DPG_OCAML_MAJOR_VERSION=15 -DPG_OCAML_MINOR_VERSION=18 -g -O2 -fPIC -DPIC -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -o postgresql_stubs.o -c postgresql_stubs.c)
- postgresql_stubs.c: In function 'PQocaml_init':
- postgresql_stubs.c:142:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 142 | v_exc_Oid = caml_named_value("Postgresql.Oid");
- | ^
- postgresql_stubs.c:143:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 143 | v_null_param = caml_named_value("Postgresql.null");
- | ^
- postgresql_stubs.c: In function 'copy_params_shallow':
- postgresql_stubs.c:613:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 613 | params[i] = (v_param == *v_null_param) ? NULL : String_val(v_param);
- | ^
- In file included from postgresql_stubs.c:48:
- postgresql_stubs.c: In function 'PQgetvalue_stub':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:811:12: note: in expansion of macro 'String_val'
- 811 | memcpy(String_val(v_str), str, len);
- | ^~~~~~~~~~
- In file included from postgresql_stubs.c:44:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'unescape_bytea':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:866:12: note: in expansion of macro 'String_val'
- 866 | memcpy(String_val(v_res), buf, res_len);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQgetescval_stub':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 2 of 'decode_bytea_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:912:29: note: in expansion of macro 'String_val'
- 912 | decode_bytea_hex(str, String_val(v_str), n_hex_pairs);
- | ^~~~~~~~~~
- postgresql_stubs.c:882:53: note: expected 'char *' but argument is of type 'const char *'
- 882 | static void decode_bytea_hex(const char *src, char *dst, size_t dst_len)
- | ~~~~~~^~~
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:918:12: note: in expansion of macro 'String_val'
- 918 | memcpy(String_val(v_str), str, len);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQescapeStringConn_stub':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:1132:12: note: in expansion of macro 'String_val'
- 1132 | memcpy(String_val(v_res), buf, n_written);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQescapeByteaConn_stub':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:1155:10: note: in expansion of macro 'String_val'
- 1155 | memcpy(String_val(v_res), buf, res_len);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQunescapeBytea_stub':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 2 of 'decode_bytea_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:1180:46: note: in expansion of macro 'String_val'
- 1180 | decode_bytea_hex(String_val(v_from) + 2, String_val(v_res), res_len);
- | ^~~~~~~~~~
- postgresql_stubs.c:882:53: note: expected 'char *' but argument is of type 'const char *'
- 882 | static void decode_bytea_hex(const char *src, char *dst, size_t dst_len)
- | ~~~~~~^~~
- postgresql_stubs.c: In function 'PQgetCopyData_stub':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:1281:14: note: in expansion of macro 'String_val'
- 1281 | memcpy(String_val(v_buf), buf, res);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQgetline_stub':
- postgresql_stubs.c:1304:28: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1304 | memcpy(String_val(v_buf) + pos, buf, len);
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQgetlineAsync_stub':
- postgresql_stubs.c:1318:61: warning: passing argument 2 of 'PQgetlineAsync' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1318 | return PQgetlineAsync(get_conn(v_conn), String_val(v_buf) + pos, len);
- In file included from postgresql_stubs.c:57:
- /usr/include/postgresql/libpq-fe.h:488:52: note: expected 'char *' but argument is of type 'const char *'
- 488 | extern int PQgetlineAsync(PGconn *conn, char *buffer, int bufsize);
- | ~~~~~~^~~~~~
- postgresql_stubs.c: In function 'lo_read_stub':
- postgresql_stubs.c:1541:28: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1541 | memcpy(String_val(v_buf) + pos, buf, len);
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
-> compiled postgresql.4.5.0
-> installed postgresql.4.5.0
[WARNING] Opam package conf-postgresql.2 depends on the following system package that can no longer be found: libpq-dev
=== STDERR ===
2026-06-23 18:10.45: OK: build postgresql.4.5.0 (runc: 6.1s, disk: 17KB)
2026-06-23 18:10.45: Job succeeded