Organisationssanettegl-legacyd2f202 ()openbsd-77-amd64-5.4_opam-2.5

openbsd-77-amd64-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-01-12 08:11.48: New job: test sanette/gl-legacy https://github.com/sanette/gl-legacy.git#refs/heads/main (d2f20283f47e5bdbf5dfde96eeb86d179b820f51) (openbsd-amd64:openbsd-77-amd64-5.4_opam-2.5)
Base: openbsd-77-amd64-ocaml-5.4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/gl-legacy.git" -b "main" && cd "gl-legacy" && git reset --hard d2f20283
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-77-amd64-ocaml-5.4
# openbsd-77-amd64-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.5 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gl-legacy.opam /home/opam/src/./
RUN opam pin add -yn gl-legacy.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-libgl.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y gl-legacy.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


2026-01-12 08:11.48: Using cache hint "sanette/gl-legacy-openbsd-77-amd64-ocaml-5.4-openbsd-77-amd64-5.4_opam-2.5-e74946b46fe957058e87657c89c3d412"
2026-01-12 08:11.48: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-5.4)
(comment openbsd-77-amd64-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.5 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gl-legacy.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn gl-legacy.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-libgl.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.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.5 --depext-only -y gl-legacy.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"))
)


2026-01-12 08:11.48: Waiting for resource in pool OCluster
2026-01-12 08:11.48: Waiting for worker…
2026-01-12 08:11.48: Got resource from pool OCluster
Building on oregano
HEAD is now at 34a989a tests
HEAD is now at d2f2028 fmt


(from openbsd-77-amd64-ocaml-5.4)
2026-01-12 08:11.48 ---> using "8424522d1f78b81b26ba463ba357c8ca122e0f74070b621aa84fc80c68430631" from cache


/: (comment openbsd-77-amd64-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "doas ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-12 08:11.48 ---> using "cd72dc3a3c8ea2afd18b1257d8b5421d0f9a4dafb0a258b995fdf62c1e2a67c4" 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
2026-01-12 08:11.48 ---> using "25ee98d58d8c907869f6fd5004c258d71c5033e73edf1fe48b86a48a34773b77" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-12 08:11.48 ---> using "b97072ad387d97fa49b3fc7ece6dbbedda3ad8df05946df9b57bbb8c1e1ea296" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-12 08:11.48 ---> using "d4a10dd5dfb8063f8bf34f59cb5e09a514a1aff4b23a15fa3458a903cd508be4" from cache


/: (copy (src gl-legacy.opam) (dst /home/opam/src/./))
2026-01-12 08:11.48 ---> using "ac514a18aaa177ba112b423ac97c6d5369bb06d6e7322c7a27f95f71b4cee6fe" from cache


/: (run (network host)
(shell "opam pin add -yn gl-legacy.dev '/home/opam/src/./'"))
[gl-legacy.dev] synchronised (file:///home/opam/src)
gl-legacy is now pinned to file:///home/opam/src (version dev)
2026-01-12 08:11.48 ---> using "5ad34fae61308fffb9e2a83f4c43df981d430abceed9eb1eb1f86628adfaa2dd" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-01-12 08:11.48 ---> using "ccb011cbd61a8bfa86aa03a171beb2b426891ca760cb528a1bbdea6b24f20e8d" from cache


/: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-libgl.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.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.5 --depext-only -y gl-legacy.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gl-legacy.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
# To update the current shell environment, run: eval $(opam env)
2026-01-12 08:11.48 ---> using "13035dd99d88557182ee5fbeda89e5b6dc9e680491b99fae40d3be4d0f7df034" 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 10 packages
- install conf-libffi       2.0.0
- install conf-libgl        1
- install conf-pkg-config   4
- install csexp             1.5.2
- install ctypes            0.24.0
- install ctypes-foreign    0.24.0
- install dune              3.20.2
- install dune-configurator 3.20.2
- install integers          0.7.0
- install stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> installed conf-libgl.1
[ERROR] The compilation of conf-libffi.2.0.0 failed at "pkg-config libffi".
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.24.0


#=== ERROR while compiling conf-libffi.2.0.0 ==================================#
# context     2.5.0 | openbsd/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path        ~/.opam/5.4.0/.opam-switch/build/conf-libffi.2.0.0
# command     /usr/bin/pkg-config libffi
# exit-code   1
# env-file    ~/.opam/log/conf-libffi-17300-4defe0.env
# output-file ~/.opam/log/conf-libffi-17300-4defe0.out


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-libffi 2.0.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-libgl        1
| - install conf-pkg-config   4
| - install csexp             1.5.2
| - install ctypes            0.24.0
| - install dune              3.20.2
| - install dune-configurator 3.20.2
| - install integers          0.7.0
| - install stdlib-shims      0.3.0
+- 
# 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/5.4.0/.opam-switch/backup/state-20260112081217.export"
"opam install $DEPS" failed with exit status 31
2026-01-12 08:15.47: Job failed: Failed: Build failed