Organisationssanettebogue-cairo6135ed (main)openbsd-77-amd64-5.4_opam-2.5

openbsd-77-amd64-5.4_opam-2.5

Logs

Show full logs
2026-01-16 11:37.26: New job: test sanette/bogue-cairo https://github.com/sanette/bogue-cairo.git#refs/heads/main (6135ed8853d81f84436179006a113cab1846b647) (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/bogue-cairo.git" -b "main" && cd "bogue-cairo" && git reset --hard 6135ed88
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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bogue-cairo.opam /home/opam/src/./
RUN opam pin add -yn bogue-cairo.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 bogue.20250815 cairo2.0.6.5 conf-cairo.1 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.21.0 dune-configurator.3.21.0 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 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.21.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y bogue-cairo.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-16 11:37.26: Using cache hint "sanette/bogue-cairo-openbsd-77-amd64-ocaml-5.4-openbsd-77-amd64-5.4_opam-2.5-3d23f81bea909e190e6e1ac208a1f300"
2026-01-16 11:37.26: 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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src bogue-cairo.opam) (dst /home/opam/src/./))
 (run (network host)
      (shell "opam pin add -yn bogue-cairo.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 bogue.20250815 cairo2.0.6.5 conf-cairo.1 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.21.0 dune-configurator.3.21.0 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 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.21.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 bogue-cairo.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-16 11:37.26: Waiting for resource in pool OCluster
2026-01-16 12:28.51: Waiting for worker…
2026-01-16 14:06.55: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at 6135ed8 version 0.1.0

(from openbsd-77-amd64-ocaml-5.4)
2026-01-16 14:06.55 ---> 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-16 14:06.55 ---> 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-16 14:06.55 ---> 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-16 14:06.55 ---> using "b97072ad387d97fa49b3fc7ece6dbbedda3ad8df05946df9b57bbb8c1e1ea296" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   93a7bce43a..873cb18c37  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0

<><> 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-16 14:06.55 ---> using "601a49b9aa94f566604073ab38c28927502a1caa517b6afaaaf99c574f603ccd" from cache

/: (copy (src bogue-cairo.opam) (dst /home/opam/src/./))
2026-01-16 14:07.53 ---> saved as "b2dab3247d552819622387873aaa06e2a23053fc804a2b7e2eda30c122e68010"

/: (run (network host)
        (shell "opam pin add -yn bogue-cairo.dev '/home/opam/src/./'"))
[NOTE] Package bogue-cairo does not exist in opam repositories registered in the current switch.
[bogue-cairo.dev] synchronised (file:///home/opam/src)
bogue-cairo is now pinned to file:///home/opam/src (version dev)
2026-01-16 14:08.46 ---> saved as "e9241ae17fbb6dacddaf208b2b7830735462bf3474b0b5c4a97130e3c805c667"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-01-16 14:09.43 ---> saved as "1c7c58f23057cae66ffe32553d635c60a7208e7c1df871696cd849778526769c"

/: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bogue.20250815 cairo2.0.6.5 conf-cairo.1 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.21.0 dune-configurator.3.21.0 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 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.21.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 bogue-cairo.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bogue-cairo.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).

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

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

+ /usr/bin/doas "pkg_add" "-I" "graphics/cairo" "sdl2" "sdl2-ttf"
- file:graphics/: empty
- quirks-7.103 signed on 2025-10-13T22:55:16Z
- New and changed readme(s):
- 	/usr/local/share/doc/pkg-readmes/glib2
- 	/usr/local/share/doc/pkg-readmes/sdl2
# To update the current shell environment, run: eval $(opam env)
2026-01-16 14:11.08 ---> saved as "072cd2e2e8fa8d6df2d6bda0711c5d7da2b9d7224057d1c9ff143af715d99b3e"

/: (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 22 packages
  - install bogue             20250815
  - install cairo2            0.6.5
  - install conf-cairo        1
  - 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.21.0
  - install dune-configurator 3.21.0
  - 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.21.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> installed conf-sdl2.1
-> installed conf-libffi.2.0.0
-> installed conf-cairo.1
-> retrieved csexp.1.5.2  (cached)
-> retrieved cairo2.0.6.5  (cached)
-> installed conf-sdl2-ttf.1
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0  (cached)
[ERROR] The compilation of conf-sdl2-image.1 failed at "pkg-config SDL2_image".
-> retrieved bogue.20250815  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved tsdl.1.2.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved tsdl-image.0.6  (cached)
-> retrieved tsdl-ttf.0.6  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0, xdg.3.21.0  (cached)
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
[ERROR] The compilation of dune.3.21.0 failed at "ocaml boot/bootstrap.ml -j 3".
-> installed topkg.1.1.1

#=== ERROR while compiling dune.3.21.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/dune.3.21.0
# command     ~/.opam/5.4.0/bin/ocaml boot/bootstrap.ml -j 3
# exit-code   2
# env-file    ~/.opam/log/dune-1167-b98d2f.env
# output-file ~/.opam/log/dune-1167-b98d2f.out
### output ###
# ocamlc -output-complete-exe -intf-suffix .dummy -g -o .duneboot.exe -I boot -I +unix unix.cma boot/types.ml boot/libs.ml boot/duneboot.ml
# ./.duneboot.exe -j 3
# cd _boot && /home/opam/.opam/5.4.0/bin/ocamlopt.opt -c -g -I +unix -I +threads lmdb_stubs.c -ccopt -I .
# vendor/ocaml-lmdb/lmdb_stubs.c:23:10: fatal error: 'alloca.h' file not found
# #include <alloca.h>
#          ^~~~~~~~~~
# 1 error generated.


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



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-sdl2-image 1
| - build dune            3.21.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-cairo      1
| - install conf-libffi     2.0.0
| - install conf-pkg-config 4
| - install conf-sdl2       1
| - install conf-sdl2-ttf   1
| - install ocamlbuild      0.16.1
| - install ocamlfind       1.9.8
| - install topkg           1.1.1
+- 
# 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-20260116141136.export"
"opam install $DEPS" failed with exit status 31
2026-01-16 14:13.18: Job failed: Failed: Build failed