Organisationssanettebogue-cairo6135ed (main)openbsd-76-amd64-5.3_opam-2.3

openbsd-76-amd64-5.3_opam-2.3

Logs

Show full logs
2025-06-12 14:20.55: New job: test sanette/bogue-cairo https://github.com/sanette/bogue-cairo.git#refs/heads/main (6135ed8853d81f84436179006a113cab1846b647) (openbsd-amd64:openbsd-76-amd64-5.3_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.3
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-76-amd64-ocaml-5.3
# openbsd-76-amd64-5.3_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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 bigarray-compat.1.1.0 bogue.20250224 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.23.0 ctypes-foreign.0.23.0 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.0.8 tsdl.1.1.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.19.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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

2025-06-12 14:20.55: Using cache hint "sanette/bogue-cairo-openbsd-76-amd64-ocaml-5.3-openbsd-76-amd64-5.3_opam-2.3-a20f30a43c8f2df0c88eff99974674c7"
2025-06-12 14:20.55: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.3)
 (comment openbsd-76-amd64-5.3_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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 bigarray-compat.1.1.0 bogue.20250224 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.23.0 ctypes-foreign.0.23.0 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.0.8 tsdl.1.1.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.19.1")
 (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 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"))
)

2025-06-12 14:20.55: Waiting for resource in pool OCluster
2025-06-13 09:56.56: Waiting for worker…
2025-06-13 15:32.42: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at 6135ed8 version 0.1.0

(from openbsd-76-amd64-ocaml-5.3)
2025-06-13 15:32.42 ---> using "753f998be4709b35e38a93b7272dee818f697255d5b48fadd1c23cb92a82f244" from cache

/: (comment openbsd-76-amd64-5.3_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-06-13 15:32.42 ---> using "b8621e22ceef6e45a2b70edd0350b6ec56c4cb2588ea75f8c24bf97f9bb8e3c1" 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-06-13 15:32.42 ---> using "caa4033b0f51d691107e536d025405bc96e59134e192afef776a8bfd43aac5e1" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-13 15:32.42 ---> using "7116693f695a70fbcc11fcbf90bc7fd32f30a6c20aabff3b1e1c926faaad9b01" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f93eb7cb02..a28eb8a148  master     -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1

<><> 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-06-13 15:32.42 ---> using "f8be2f6759d53a01d4f06f9dfcffa05d8df278bee2569c88876c1cd943d0e522" from cache

/: (copy (src bogue-cairo.opam) (dst /home/opam/src/./))
2025-06-13 15:33.40 ---> saved as "086e34626b5356399850bd5fd98a0c980c177e16130925b40d37758cd607d60f"

/: (run (network host)
        (shell "opam pin add -yn bogue-cairo.dev '/home/opam/src/./'"))
Package bogue-cairo does not exist, create as a NEW package? [y/n] y
[bogue-cairo.dev] synchronised (file:///home/opam/src)
bogue-cairo is now pinned to file:///home/opam/src (version dev)
2025-06-13 15:34.34 ---> saved as "9c3e557771500b94e8ada936d0cc1b87efa9870419e3b23b2d2ed944f761e0ee"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-06-13 15:35.31 ---> saved as "6e23cc3f4f7ada832c7f717d8cb5e8de75b4288581c1689f364e1863b583661f"

/: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bogue.20250224 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.23.0 ctypes-foreign.0.23.0 dune.3.19.1 dune-configurator.3.19.1 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.0.8 tsdl.1.1.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.19.1")

/: (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 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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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.50 signed on 2025-04-20T09:56:12Z
- New and changed readme(s):
- 	/usr/local/share/doc/pkg-readmes/glib2
- 	/usr/local/share/doc/pkg-readmes/sdl2
2025-06-13 15:36.58 ---> saved as "8b01744086e9641c3838cd4b34fdfb26e50637383f4d59322b303f6f9a8f6be3"

/: (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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 23 packages
  - install bigarray-compat   1.1.0
  - install bogue             20250224
  - 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.23.0
  - install ctypes-foreign    0.23.0
  - install dune              3.19.1
  - install dune-configurator 3.19.1
  - install integers          0.7.0
  - install ocamlbuild        0.16.1
  - install ocamlfind         1.9.8
  - install stdlib-shims      0.3.0
  - install topkg             1.0.8
  - install tsdl              1.1.0
  - install tsdl-image        0.6
  - install tsdl-ttf          0.6
  - install xdg               3.19.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved cairo2.0.6.5  (cached)
-> installed conf-cairo.1
-> retrieved bogue.20250224  (cached)
-> installed conf-libffi.2.0.0
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
-> installed conf-sdl2.1
-> retrieved integers.0.7.0  (cached)
[ERROR] The compilation of conf-sdl2-image.1 failed at "pkg-config SDL2_image".
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed conf-sdl2-ttf.1
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved tsdl.1.1.0  (cached)
-> retrieved tsdl-image.0.6  (cached)
-> retrieved tsdl-ttf.0.6  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1, xdg.3.19.1  (cached)
-> installed ocamlbuild.0.16.1
-> installed dune.3.19.1
-> installed ocamlfind.1.9.8
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.19.1
-> installed integers.0.7.0
-> installed cairo2.0.6.5
-> installed ctypes.0.23.0
-> installed topkg.1.0.8
-> installed ctypes-foreign.0.23.0
-> installed xdg.3.19.1
-> installed tsdl.1.1.0
-> installed tsdl-ttf.0.6

#=== ERROR while compiling conf-sdl2-image.1 ==================================#
# context     2.3.0 | openbsd/x86_64 | ocaml-base-compiler.5.3.0 | file:///home/opam/opam-repository
# path        ~/.opam/5.3.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-55974-9906c3.env
# output-file ~/.opam/log/conf-sdl2-image-55974-9906c3.out



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-sdl2-image 1
+- 
+- The following changes have been performed (the rest was aborted)
| - install bigarray-compat   1.1.0
| - 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-ttf     1
| - install csexp             1.5.2
| - install ctypes            0.23.0
| - install ctypes-foreign    0.23.0
| - install dune              3.19.1
| - install dune-configurator 3.19.1
| - install integers          0.7.0
| - install ocamlbuild        0.16.1
| - install ocamlfind         1.9.8
| - install stdlib-shims      0.3.0
| - install topkg             1.0.8
| - install tsdl              1.1.0
| - install tsdl-ttf          0.6
| - install xdg               3.19.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.3.0/.opam-switch/backup/state-20250613153727.export"
"opam install $DEPS" failed with exit status 31
2025-06-13 15:46.25: Job failed: Failed: Build failed