Organisationsahrefsdevkit9b5deb ()openbsd-77-amd64-4.14_opam-2.4

openbsd-77-amd64-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-07-31 07:26.09: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (9b5deb3d4d0e13471d1e7149a1aa06547bd8aa74) (openbsd-amd64:openbsd-77-amd64-4.14_opam-2.4)
Base: openbsd-77-amd64-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard 9b5deb3d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-77-amd64-ocaml-4.14
# openbsd-77-amd64-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.4 /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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && 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/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="astring.0.8.5 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.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.19.1 dune-compiledb.0.6.0 dune-configurator.3.19.1 extlib.1.8.0 extunix.0.4.3 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.16.0 pcre.8.0.5 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 trace.0.10 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-07-31 07:26.09: Using cache hint "ahrefs/devkit-openbsd-77-amd64-ocaml-4.14-openbsd-77-amd64-4.14_opam-2.4-e3caf86fbad7e1bdfaf4440882563f87"
2025-07-31 07:26.09: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-4.14)
(comment openbsd-77-amd64-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.4 /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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && 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/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "astring.0.8.5 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.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.19.1 dune-compiledb.0.6.0 dune-configurator.3.19.1 extlib.1.8.0 extunix.0.4.3 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.16.0 pcre.8.0.5 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 trace.0.10 uutf.1.0.4 yojson.3.0.0")
(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.4 --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-07-31 07:26.09: Waiting for resource in pool OCluster
2025-07-31 09:49.40: Waiting for worker…
2025-07-31 15:22.56: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at 9b5deb3 import command pipe from ahrefskit (#48)


(from openbsd-77-amd64-ocaml-4.14)
2025-07-31 15:22.56 ---> using "00579f8dea230f94ca5972e50ed0dc70167d1c0e96cfe76e645642677774f17f" from cache


/: (comment openbsd-77-amd64-4.14_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "doas ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-07-31 15:22.56 ---> using "8054e5d0929fce63b2e622c1fc2caefa9b5f6e503f9fc7599e0bc40c0bb8a3e7" 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] no changes from file:///home/opam/opam-repository
2025-07-31 15:22.56 ---> using "8a35e9584a9ed6dcc739329957f608077d9c3bd6b56dee5b8d5c3bdd8dab57f7" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 4.14.2
2.4.1
2025-07-31 15:22.56 ---> using "b0cd4eee5840b9ccd2075fddbf7c93660c8c159436f71f3bf2f9c12998bdaf67" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
e77940d8ff Merge pull request #28255 from dbuenzli/b0-publish-fmt.0.11.0


<><> 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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-07-31 15:22.56 ---> using "2a2e84e1211e825cfd1c15da4c8f33892d1fb82f712f483daed4a22e8405ba4c" from cache


/: (copy (src devkit.opam) (dst /home/opam/src/./))
2025-07-31 15:22.56 ---> using "3381cc60d48520bee00437137cceb4201fca42dddbbdf5dcd2b95673a63f621b" 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-07-31 15:22.56 ---> using "83371b9f33ccb309359183cd5227d64244fd2ad6902b1e2dc06a4e7fb6038ca4" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-07-31 15:22.56 ---> using "0a3efddf91c582dafcb1c07ff9d46f32d3510d2e6ca965537286968d3a76ca8c" from cache


/: (env DEPS "astring.0.8.5 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.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.19.1 dune-compiledb.0.6.0 dune-configurator.3.19.1 extlib.1.8.0 extunix.0.4.3 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.16.0 pcre.8.0.5 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 trace.0.10 uutf.1.0.4 yojson.3.0.0")


/: (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.4 --depext-only -y devkit.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[devkit.dev] synchronised (file:///home/opam/src)


[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 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.103 signed on 2025-07-26T22:29:00Z
2025-07-31 15:22.56 ---> using "318e0997f0f00f0fdee8fd199f7331e5531e37f1607fa06845cd6b951809e3aa" 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 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 45 packages
- install astring             0.8.5
- install base-bytes          base
- install camlzip             1.13
- install conf-libcurl        2
- install conf-libevent       1
- install conf-libpcre        2
- install conf-pkg-config     4
- install conf-zlib           1
- install cppo                1.8.0
- install csexp               1.5.2
- install cstruct             6.2.0
- install curl                0.10.0
- install curl_lwt            0.10.0
- install dune                3.19.1
- install dune-compiledb      0.6.0
- install dune-configurator   3.19.1
- install extlib              1.8.0
- install extunix             0.4.3
- install ezjsonm             1.3.0
- install fmt                 0.11.0
- install fpath               0.7.3
- install hex                 1.5.0
- install jsonm               1.0.2
- install libevent            0.9.0
- install lwt                 5.9.1
- install lwt_ppx             5.9.1
- install num                 1.6
- install ocaml-compiler-libs v0.12.4
- install ocamlbuild          0.16.1
- install ocamlfind           1.9.8
- install ocplib-endian       1.2
- install ocurl               transition (deprecated)
- install ounit2              2.2.7
- install parsexp             v0.16.0
- install pcre                8.0.5
- install ppx_derivers        1.2.1
- install ppxlib              0.35.0
- install seq                 base
- install sexplib             v0.16.0
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0
- install topkg               1.1.0
- install trace               0.10
- install uutf                1.0.4
- install yojson              3.0.0


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.103 signed on 2025-07-26T22:29:00Z


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-libcurl.2
-> installed conf-pkg-config.4
-> retrieved cppo.1.8.0  (cached)
-> retrieved camlzip.1.13  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libevent.1
-> retrieved curl.0.10.0, curl_lwt.0.10.0, ocurl.transition  (cached)
[ERROR] The compilation of conf-libpcre.2 failed at "pkg-config --print-errors --exists libpcre".
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-zlib.1
-> retrieved dune-compiledb.0.6.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved extlib.1.8.0  (cached)
-> retrieved extunix.0.4.3  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved libevent.0.9.0  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved lwt.5.9.1, lwt_ppx.5.9.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved pcre.8.0.5  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved trace.0.10  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed num.1.6
-> installed dune.3.19.1
-> installed ocamlbuild.0.16.1
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed extlib.1.8.0
-> installed dune-configurator.3.19.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed curl.0.10.0
-> installed ocamlfind.1.9.8
-> installed ppx_derivers.1.2.1
-> installed seq.base
-> installed base-bytes.base
-> installed sexplib0.v0.16.0
[ERROR] The compilation of libevent.0.9.0 failed at "gmake depend".
-> installed camlzip.1.13
-> installed ocplib-endian.1.2
-> installed parsexp.v0.16.0
-> installed lwt.5.9.1
-> installed sexplib.v0.16.0
-> installed curl_lwt.0.10.0
-> installed ocurl.transition
-> installed stdlib-shims.0.3.0
-> installed topkg.1.1.0
-> installed ounit2.2.2.7
-> installed astring.0.8.5
-> installed fmt.0.11.0
-> installed fpath.0.7.3
-> installed cstruct.6.2.0
-> installed ppxlib.0.35.0
-> installed hex.1.5.0
[ERROR] The compilation of extunix.0.4.3 failed at "dune build -p extunix -j 1 @install".
-> installed lwt_ppx.5.9.1
-> installed trace.0.10
-> installed uutf.1.0.4
-> installed yojson.3.0.0
-> installed jsonm.1.0.2
-> installed ezjsonm.1.3.0
-> installed dune-compiledb.0.6.0


#=== ERROR while compiling libevent.0.9.0 =====================================#
# context     2.4.1 | 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-75029-e925ec.env
# output-file ~/.opam/log/libevent-75029-e925ec.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.4.1 | 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-75029-bc33db.env
# output-file ~/.opam/log/extunix-75029-bc33db.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 -Wall -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:92:23: warning: variable 'dirfd' is uninitialized when used within its own initialization [-Wuninitialized]
#   int dirfd = Int_val(dirfd);
#       ~~~~~           ^~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/mlvalues.h:80:36: note: expanded from macro 'Int_val'
# #define Int_val(x) ((int) Long_val(x))
#                                    ^
# /home/opam/.opam/4.14.2/lib/ocaml/caml/mlvalues.h:76:27: note: expanded from macro 'Long_val'
# #define Long_val(x)     ((x) >> 1)
#                           ^
# atfile.c:109:49: warning: variable 'newfd' is uninitialized when used within its own initialization [-Wuninitialized]
#   int oldfd = Int_val(v_oldfd), newfd = Int_val(newfd);
#                                 ~~~~~           ^~~~~
# /home/opam/.opam/4.14.2/lib/ocaml/caml/mlvalues.h:80:36: note: expanded from macro 'Int_val'
# #define Int_val(x) ((int) Long_val(x))
#                                    ^
# /home/opam/.opam/4.14.2/lib/ocaml/caml/mlvalues.h:76:27: note: expanded from macro 'Long_val'
# #define Long_val(x)     ((x) >> 1)
#                           ^
# 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 *);
#                                                    ^
# 8 warnings generated.
# (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -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 -Wall -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 -Wall -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 -Wall -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.4.1 | 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-75029-65f10c.env
# output-file ~/.opam/log/conf-libpcre-75029-65f10c.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 astring             0.8.5
| - install base-bytes          base
| - install camlzip             1.13
| - install conf-libcurl        2
| - install conf-libevent       1
| - install conf-pkg-config     4
| - install conf-zlib           1
| - install cppo                1.8.0
| - install csexp               1.5.2
| - install cstruct             6.2.0
| - install curl                0.10.0
| - install curl_lwt            0.10.0
| - install dune                3.19.1
| - install dune-compiledb      0.6.0
| - install dune-configurator   3.19.1
| - install extlib              1.8.0
| - install ezjsonm             1.3.0
| - install fmt                 0.11.0
| - install fpath               0.7.3
| - install hex                 1.5.0
| - install jsonm               1.0.2
| - install lwt                 5.9.1
| - install lwt_ppx             5.9.1
| - install num                 1.6
| - install ocaml-compiler-libs v0.12.4
| - install ocamlbuild          0.16.1
| - install ocamlfind           1.9.8
| - install ocplib-endian       1.2
| - install ocurl               transition
| - install ounit2              2.2.7
| - install parsexp             v0.16.0
| - install ppx_derivers        1.2.1
| - install ppxlib              0.35.0
| - install seq                 base
| - install sexplib             v0.16.0
| - install sexplib0            v0.16.0
| - install stdlib-shims        0.3.0
| - install topkg               1.1.0
| - install trace               0.10
| - install uutf                1.0.4
| - install yojson              3.0.0
+- 


<><> ocurl.transition installed successfully ><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> ocurl has been renamed and the ocurl package is now a transition package. Use the curl package instead.
# 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-20250731152219.export"
"opam install $DEPS" failed with exit status 31
2025-07-31 15:33.53: Job failed: Failed: Build failed