Organisationsahrefsdevkit824312 (ahrefs/lwt-exceptions)openbsd-76-amd64-4.14_opam-2.3

openbsd-76-amd64-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-01-11 17:57.09: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/ahrefs/lwt-exceptions (824312f7bd09dc958031d3925d0c43d57ad6e677) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "ahrefs/lwt-exceptions" && cd "devkit" && git reset --hard 824312f7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 84f0fe59c54c014ec00b31a1f0699ac6371b3498 || git fetch origin master) && git reset -q --hard 84f0fe59c54c014ec00b31a1f0699ac6371b3498 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam /home/opam/src/./
RUN opam pin add -yn devkit.dev '/home/opam/src/./'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.3 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 extlib.1.8.0 extunix.0.4.3 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.2 ppx_derivers.1.2.1 ppxlib.0.34.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.8 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-01-11 17:57.09: Using cache hint "ahrefs/devkit-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-f89103381b53ee89fc6a38ef706494f5"
2025-01-11 17:57.09: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 84f0fe59c54c014ec00b31a1f0699ac6371b3498 || git fetch origin master) && git reset -q --hard 84f0fe59c54c014ec00b31a1f0699ac6371b3498 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src devkit.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn devkit.dev '/home/opam/src/./'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.3 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 extlib.1.8.0 extunix.0.4.3 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.2 ppx_derivers.1.2.1 ppxlib.0.34.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.8 yojson.2.2.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-01-11 17:57.09: Waiting for resource in pool OCluster
2025-01-11 17:57.10: Waiting for worker…
2025-01-11 18:50.35: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 824312f use Stdlib.raise and Lwt.reraise instead of Lwt.fail for better backtraces


(from openbsd-76-amd64-ocaml-4.14)
2025-01-11 18:50.35 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache


/: (comment openbsd-76-amd64-4.14_opam-2.3)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-01-11 18:50.35 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-11 18:50.35 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-11 18:50.35 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 84f0fe59c54c014ec00b31a1f0699ac6371b3498 || git fetch origin master) && git reset -q --hard 84f0fe59c54c014ec00b31a1f0699ac6371b3498 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
727427c1e7..84f0fe59c5  master     -> origin/master
84f0fe59c5 Merge pull request #27222 from mmottl/release-pcre-8.0.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-01-11 18:50.35 ---> using "0e5e1d43f4c85e8acf5aaf24b4ebed5c0268d491f51dcc32cf41c4fdfc1dc49a" from cache


/: (copy (src devkit.opam) (dst /home/opam/src/./))
2025-01-11 18:50.35 ---> using "2edc9f246e4aa2283fd141db6f1a3a4c87f207836d6065c4a90c0997b3ce03e3" from cache


/: (run (network host)
(shell "opam pin add -yn devkit.dev '/home/opam/src/./'"))
[devkit.dev] synchronised (file:///home/opam/src)
devkit is now pinned to file:///home/opam/src (version dev)
2025-01-11 18:50.35 ---> using "436cb3f7e5930878a22ca5f89dbf221de3096f34b3d9c8f0bb7f8f47bff40fcb" from cache


/: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.3 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 extlib.1.8.0 extunix.0.4.3 host-arch-x86_64.1 host-system-other.1 libevent.0.9.0 lwt.5.9.0 lwt_ppx.5.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.2 ppx_derivers.1.2.1 ppxlib.0.34.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.8 yojson.2.2.2")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[devkit.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
libevent


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/doas "pkg_add" "-I" "libevent"
- quirks-7.50 signed on 2025-01-09T20:54:57Z
2025-01-11 18:50.35 ---> using "0502428ca7599a41b9174e82169f1f0f9d78320651149b2e41057d4ec758e57a" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 29 packages
- install base-bytes          base
- install camlzip             1.13
- install conf-libcurl        2
- install conf-libevent       1
- install conf-libpcre        2
- install conf-pkg-config     3
- install conf-zlib           1
- install cppo                1.8.0
- install csexp               1.5.2
- install dune                3.17.1
- install dune-configurator   3.17.1
- install extlib              1.8.0
- install extunix             0.4.3
- install libevent            0.9.0
- install lwt                 5.9.0
- install lwt_ppx             5.8.0
- install ocaml-compiler-libs v0.12.4
- install ocamlfind           1.9.6
- install ocplib-endian       1.2
- install ocurl               0.9.2
- install ounit2              2.2.7
- install pcre                8.0.2
- install ppx_derivers        1.2.1
- install ppxlib              0.34.0
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0
- install trace               0.8
- install yojson              2.2.2


The following system packages will first need to be installed:
libevent


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


opam believes some required external dependencies are missing. opam can:
> 1. Run pkg_add to install them (may need root/sudo access)
2. Display the recommended pkg_add command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation


[1/2/3/4] 1


+ /usr/bin/doas "pkg_add" "-I" "libevent"
- quirks-7.50 signed on 2025-01-09T20:54:57Z


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-libcurl.2
-> installed conf-pkg-config.3
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-libevent.1
-> retrieved extlib.1.8.0  (cached)
[ERROR] The compilation of conf-libpcre.2 failed at "pkg-config --print-errors --exists libpcre".
-> retrieved camlzip.1.13  (cached)
-> retrieved libevent.0.9.0  (cached)
-> retrieved extunix.0.4.3  (cached)
-> retrieved lwt.5.9.0  (cached)
-> retrieved lwt_ppx.5.8.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> installed conf-zlib.1
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ocurl.0.9.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved pcre.8.0.2  (https://github.com/mmottl/pcre-ocaml/releases/download/8.0.2/pcre-8.0.2.tbz)
-> retrieved seq.base  (cached)
-> retrieved ppxlib.0.34.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved trace.0.8  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed dune.3.17.1
-> installed camlzip.1.13
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed extlib.1.8.0
-> installed dune-configurator.3.17.1
[ERROR] The compilation of libevent.0.9.0 failed at "gmake depend".
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocplib-endian.1.2
-> installed ppx_derivers.1.2.1
-> installed lwt.5.9.0
-> installed seq.base
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed trace.0.8
-> installed ounit2.2.2.7
-> installed ppxlib.0.34.0
-> installed yojson.2.2.2
[ERROR] The compilation of extunix.0.4.3 failed at "dune build -p extunix -j 1 @install".
-> installed lwt_ppx.5.8.0
-> installed ocurl.0.9.2


#=== ERROR while compiling libevent.0.9.0 =====================================#
# context     2.3.0 | openbsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path        ~/.opam/4.14.2/.opam-switch/build/libevent.0.9.0
# command     /usr/local/bin/gmake depend
# exit-code   2
# env-file    ~/.opam/log/libevent-46637-801d40.env
# output-file ~/.opam/log/libevent-46637-801d40.out
### output ###
# gcc -I /home/opam/.opam/4.14.2/lib/ocaml -MM *.c > depend
# /bin/sh: gcc: not found
# Makefile:99: depend: No such file or directory
# gmake: *** [Makefile:37: depend] Error 127


#=== ERROR while compiling extunix.0.4.3 ======================================#
# context     2.3.0 | openbsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path        ~/.opam/4.14.2/.opam-switch/build/extunix.0.4.3
# command     ~/.opam/4.14.2/bin/dune build -p extunix -j 1 @install
# exit-code   1
# env-file    ~/.opam/log/extunix-46637-bd68cd.env
# output-file ~/.opam/log/extunix-46637-bd68cd.out
### output ###
# (cd _build/default/src && ../discover/discover.exe)
# checking EVENTFD.............failed
# checking ATFILE..............ok
# checking RENAMEAT2...........failed
# checking RENAME_WHITEOUT.....failed
# checking DIRFD...............ok
# checking STATVFS.............ok
# checking FSTATVFS............ok
# checking SIOCGIFCONF.........ok
# checking IFADDRS.............ok
# checking INET_NTOA...........ok
# checking INET_NTOP...........ok
# checking UNAME...............ok
# checking FADVISE.............failed
# checking FALLOCATE...........failed
# checking TTY_IOCTL...........ok
# checking TTYNAME.............ok
# checking CTERMID.............ok
# checking GETTID..............failed
# checking PGID................ok
# checking SETREUID............ok
# checking FSYNC...............ok
# checking FDATASYNC...........ok
# checking SYNC................ok
# checking SYNCFS..............failed
# checking REALPATH............ok
# checking SIGNALFD............failed
# checking PTRACE..............failed
# checking RESOURCE............ok
# checking MLOCKALL............ok
# checking STRPTIME............ok
# checking STRTIME.............ok
# checking TIMEZONE............ok
# checking TIMEGM..............ok
# checking PTS.................ok
# checking FCNTL...............ok
# checking TCPGRP..............ok
# checking EXECINFO............ok
# checking SETENV..............ok
# checking CLEARENV............failed
# checking MKDTEMP.............ok
# checking MALLOC_INFO.........failed
# checking MALLOC_STATS........failed
# checking MEMALIGN............ok
# checking ENDIAN..............ok
# checking READ_CREDENTIALS....ok
# checking FEXECVE.............failed
# checking SENDMSG.............ok
# checking PREAD...............ok
# checking PWRITE..............ok
# checking READ................ok
# checking WRITE...............ok
# checking MKSTEMPS............ok
# checking MKOSTEMPS...........ok
# checking SETRESUID...........ok
# checking SYSCONF.............ok
# checking SPLICE..............failed
# checking TEE.................failed
# checking VMSPLICE............failed
# checking SOCKOPT.............ok
# checking TCP_KEEPIDLE........failed
# checking TCP_KEEPCNT.........failed
# checking TCP_KEEPINTVL.......failed
# checking SO_REUSEPORT........ok
# checking POLL................ok
# checking SYSINFO.............failed
# checking MCHECK..............failed
# checking MOUNT...............failed
# checking UNSHARE.............failed
# checking CHROOT..............ok
# checking SYSLOG..............ok
# (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/bytes -o atfile.o -c atfile.c)
# atfile.c:55:52: warning: passing 'const int[7]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#     caml_unix_cst_to_constr(buf->st_mode & S_IFMT, file_kind_table,
#                                                    ^~~~~~~~~~~~~~~
# atfile.c:14:41: note: passing argument to parameter 'tbl' here
# extern value cst_to_constr(int n, int * tbl, int size, int deflt);
#                                         ^
# atfile.c:76:47: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   int flags = caml_convert_flag_list(v_flags, at_flags_table);
#                                               ^~~~~~~~~~~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
# CAMLextern int caml_convert_flag_list (value, int *);
#                                                    ^
# atfile.c:95:47: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   int flags = caml_convert_flag_list(v_flags, at_flags_table);
#                                               ^~~~~~~~~~~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
# CAMLextern int caml_convert_flag_list (value, int *);
#                                                    ^
# atfile.c:141:47: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   int flags = caml_convert_flag_list(v_flags, at_flags_table);
#                                               ^~~~~~~~~~~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
# CAMLextern int caml_convert_flag_list (value, int *);
#                                                    ^
# atfile.c:158:47: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   int flags = caml_convert_flag_list(v_flags, at_flags_table);
#                                               ^~~~~~~~~~~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
# CAMLextern int caml_convert_flag_list (value, int *);
#                                                    ^
# atfile.c:174:47: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   int flags = caml_convert_flag_list(v_flags, at_flags_table);
#                                               ^~~~~~~~~~~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
# CAMLextern int caml_convert_flag_list (value, int *);
#                                                    ^
# 6 warnings generated.
# (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/bytes -o mman.o -c mman.c)
# mman.c:11:47: warning: passing 'const int[2]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   int flags = caml_convert_flag_list(v_flags, mlockall_flags_table);
#                                               ^~~~~~~~~~~~~~~~~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
# CAMLextern int caml_convert_flag_list (value, int *);
#                                                    ^
# 1 warning generated.
# File "src/dune", line 52, characters 3-12:
# 52 |    read_cred
#         ^^^^^^^^^
# (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/bytes -o read_cred.o -c read_cred.c)
# read_cred.c:13:16: error: variable has incomplete type 'struct ucred'
#   struct ucred crd;
#                ^
# read_cred.c:13:10: note: forward declaration of 'struct ucred'
#   struct ucred crd;
#          ^
# 1 error generated.
# File "src/dune", line 55, characters 3-11:
# 55 |    resource
#         ^^^^^^^^
# (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/bytes -o resource.o -c resource.c)
# resource.c:105:5: error: use of undeclared identifier 'RLIMIT_AS'
#     RLIMIT_AS
#     ^
# 1 error generated.
# (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/bytes -o syslog.o -c syslog.c)
# syslog.c:19:42: warning: passing 'const int[8]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   mask = caml_convert_flag_list(v_level, mask_table);
#                                          ^~~~~~~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
# CAMLextern int caml_convert_flag_list (value, int *);
#                                                    ^
# syslog.c:67:45: warning: passing 'const int[5]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
#   option = caml_convert_flag_list(v_option, option_table);
#                                             ^~~~~~~~~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/alloc.h:60:52: note: passing argument to parameter here
# CAMLextern int caml_convert_flag_list (value, int *);
#                                                    ^
# 2 warnings generated.


#=== ERROR while compiling conf-libpcre.2 =====================================#
# context     2.3.0 | openbsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path        ~/.opam/4.14.2/.opam-switch/build/conf-libpcre.2
# command     /usr/bin/pkg-config --print-errors --exists libpcre
# exit-code   1
# env-file    ~/.opam/log/conf-libpcre-46637-4325e4.env
# output-file ~/.opam/log/conf-libpcre-46637-4325e4.out
### output ###
# Package libpcre was not found in the pkg-config search path


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-libpcre 2
| - build extunix      0.4.3
| - build libevent     0.9.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install base-bytes          base
| - install camlzip             1.13
| - install conf-libcurl        2
| - install conf-libevent       1
| - install conf-pkg-config     3
| - install conf-zlib           1
| - install cppo                1.8.0
| - install csexp               1.5.2
| - install dune                3.17.1
| - install dune-configurator   3.17.1
| - install extlib              1.8.0
| - install lwt                 5.9.0
| - install lwt_ppx             5.8.0
| - install ocaml-compiler-libs v0.12.4
| - install ocamlfind           1.9.6
| - install ocplib-endian       1.2
| - install ocurl               0.9.2
| - install ounit2              2.2.7
| - install ppx_derivers        1.2.1
| - install ppxlib              0.34.0
| - install seq                 base
| - install sexplib0            v0.17.0
| - install stdlib-shims        0.3.0
| - install trace               0.8
| - install yojson              2.2.2
+- 
# To update the current shell environment, run: eval $(opam env)


The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20250111185058.export"
"opam install $DEPS" failed with exit status 31
2025-01-11 19:02.35: Job failed: Failed: Build failed