#=== ERROR while compiling capnp-rpc-lwt.1.2.3 ================================#
# context 2.1.5 | linux/x86_32 | ocaml-base-compiler.4.14.1 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/capnp-rpc-lwt.1.2.3
# command ~/.opam/4.14/bin/dune build -p capnp-rpc-lwt -j 71
# exit-code 1
# env-file ~/.opam/log/capnp-rpc-lwt-7-e72851.env
# output-file ~/.opam/log/capnp-rpc-lwt-7-e72851.out
### output ###
# File "capnp-rpc-lwt/dune", line 8, characters 0-132:
# 8 | (rule
# 9 | (targets rpc_schema.ml rpc_schema.mli)
# 10 | (deps rpc_schema.capnp)
# 11 | (action (run capnp compile -o %{bin:capnpc-ocaml} %{deps})))
# (cd _build/default/capnp-rpc-lwt && /usr/bin/capnp compile -o /home/opam/.opam/4.14/bin/capnpc-ocaml rpc_schema.capnp)
# kj/filesystem-disk-unix.c++:1697: warning: PWD environment variable seems invalid; pwd = /src; *e = kj/filesystem-disk-unix.c++:1693: failed: lstat(result.toString(true).cStr(), &pwdStat): Value too large for defined data type; result = src
# stack: f7d309ec
# *** Uncaught exception ***
# kj/filesystem-disk-unix.c++:305: failed: ::fstat(fd, &stats): Value too large for defined data type
# stack: f7d2cb7f 565daa7b 565db0cc 565e6419 565e67c8 f7d3e945 f7d3f912 f7d40217
# File "capnp-rpc-lwt/dune", line 13, characters 0-132:
# 13 | (rule
# 14 | (targets persistent.ml persistent.mli)
# 15 | (deps persistent.capnp)
# 16 | (action (run capnp compile -o %{bin:capnpc-ocaml} %{deps})))
# (cd _build/default/capnp-rpc-lwt && /usr/bin/capnp compile -o /home/opam/.opam/4.14/bin/capnpc-ocaml persistent.capnp)
# kj/filesystem-disk-unix.c++:1697: warning: PWD environment variable seems invalid; pwd = /src; *e = kj/filesystem-disk-unix.c++:1693: failed: lstat(result.toString(true).cStr(), &pwdStat): Value too large for defined data type; result = src
# stack: f7d669ec
# *** Uncaught exception ***
# kj/filesystem-disk-unix.c++:305: failed: ::fstat(fd, &stats): Value too large for defined data type
# stack: f7d62b7f 565cea7b 565cf0cc 565da419 565da7c8 f7d74945 f7d75912 f7d76217
I haven't had much opportunity to investigate further
original logs at https://ocaml.ci.dev/github/ocurrent/ocaml-docs-ci/commit/0f917b96efc6af5be2c60ad95071033f35021927/variant/debian-12-4.14_x86_32_opam-2.1