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

openbsd-77-amd64-4.14_opam-2.4

Link Copied
Code Copied

Logs

2026-01-05 18:17.49: New job: test sanette/bogue https://github.com/sanette/bogue.git#refs/heads/master (ae01b571c710869d79c93f4515d4846fc6556b60) (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/sanette/bogue.git" -b "master" && cd "bogue" && git reset --hard ae01b571
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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bogue.opam /home/opam/src/./
RUN opam pin add -yn bogue.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.1.1 tsdl.1.2.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.20.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y bogue.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-05 18:17.49: Using cache hint "sanette/bogue-openbsd-77-amd64-ocaml-4.14-openbsd-77-amd64-4.14_opam-2.4-54d6695b8c2274fe3506169daebf02cf"
2026-01-05 18:17.49: 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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src bogue.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn bogue.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.1.1 tsdl.1.2.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.20.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.4 --depext-only -y bogue.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-05 18:17.49: Waiting for resource in pool OCluster
2026-01-05 18:17.49: Waiting for worker…
2026-01-05 18:18.06: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at ae01b57 fix install


(from openbsd-77-amd64-ocaml-4.14)
2026-01-05 18:18.07 ---> 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"))
2026-01-05 18:18.07 ---> 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
2026-01-05 18:18.07 ---> 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
2026-01-05 18:18.07 ---> using "b0cd4eee5840b9ccd2075fddbf7c93660c8c159436f71f3bf2f9c12998bdaf67" 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"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f6368c68f9..c65fcb1165  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> 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.4.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)
2026-01-05 18:18.07 ---> using "c1b8f36a93970f207eedf49fc3cd9ba6c9a3b2b42c878fe6e99d478dcf16e1c5" from cache


/: (copy (src bogue.opam) (dst /home/opam/src/./))
2026-01-05 18:19.04 ---> saved as "4f85d6d6e544d8958122ce4b14a587a96f55a18708517851e970571fb042d4f6"


/: (run (network host)
(shell "opam pin add -yn bogue.dev '/home/opam/src/./'"))
[bogue.dev] synchronised (file:///home/opam/src)
bogue is now pinned to file:///home/opam/src (version dev)
2026-01-05 18:19.58 ---> saved as "3e0ab1e376d321b29dd2526508d1bbd38614945845bdebd7ba2f7745ed434360"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-01-05 18:20.40 ---> saved as "3dd94a66eef5dbc6531f8678bf7199ccc798bcff1d40fe2370b6c33eaf8350bc"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.1.1 tsdl.1.2.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.20.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.4 --depext-only -y bogue.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bogue.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).
[NOTE] It seems you have not updated your repositories for a while. Consider updating them with:
opam update


The following system packages will first need to be installed:
sdl2 sdl2-ttf


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


+ /usr/bin/doas "pkg_add" "-I" "sdl2" "sdl2-ttf"
- quirks-7.103 signed on 2025-10-13T22:55:16Z
- New and changed readme(s):
- 	/usr/local/share/doc/pkg-readmes/sdl2
2026-01-05 18:21.35 ---> saved as "8d260594ccaf5a34e2ec0f18e3ea9b2c09219c1a5691b0e6f5778c59a0f4fc80"


/: (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).
[NOTE] It seems you have not updated your repositories for a while. Consider updating them with:
opam update


The following actions will be performed:
=== install 19 packages
- install conf-libffi       2.0.0
- install conf-pkg-config   4
- install conf-sdl2         1
- install conf-sdl2-image   1
- install conf-sdl2-ttf     1
- 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 ocamlbuild        0.16.1
- install ocamlfind         1.9.8
- install stdlib-shims      0.3.0
- install topkg             1.1.1
- install tsdl              1.2.0
- install tsdl-image        0.6
- install tsdl-ttf          0.6
- install xdg               3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
[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)
-> installed conf-sdl2.1
[ERROR] The compilation of conf-sdl2-image.1 failed at "pkg-config SDL2_image".
-> retrieved integers.0.7.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-sdl2-ttf.1
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved tsdl.1.2.0  (cached)
-> retrieved tsdl-image.0.6  (cached)
-> retrieved tsdl-ttf.0.6  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2, xdg.3.20.2  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ocamlbuild.0.16.1
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.20.2
-> installed integers.0.7.0
-> installed topkg.1.1.1
-> installed ctypes.0.24.0
-> installed xdg.3.20.2


#=== ERROR while compiling conf-sdl2-image.1 ==================================#
# 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-sdl2-image.1
# command     /usr/bin/pkg-config SDL2_image
# exit-code   1
# env-file    ~/.opam/log/conf-sdl2-image-67069-d50b6b.env
# output-file ~/.opam/log/conf-sdl2-image-67069-d50b6b.out


#=== ERROR while compiling conf-libffi.2.0.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/conf-libffi.2.0.0
# command     /usr/bin/pkg-config libffi
# exit-code   1
# env-file    ~/.opam/log/conf-libffi-67069-53a671.env
# output-file ~/.opam/log/conf-libffi-67069-53a671.out


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-libffi     2.0.0
| - build conf-sdl2-image 1
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-pkg-config   4
| - install conf-sdl2         1
| - install conf-sdl2-ttf     1
| - 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 ocamlbuild        0.16.1
| - install ocamlfind         1.9.8
| - install stdlib-shims      0.3.0
| - install topkg             1.1.1
| - install xdg               3.20.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-20260105182204.export"
"opam install $DEPS" failed with exit status 31
2026-01-05 18:29.35: Job failed: Failed: Build failed