Organisationssanettebogue-cairo6135ed (main)openbsd-77-amd64-4.14_opam-2.4

openbsd-77-amd64-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-16 10:13.03: New job: test sanette/bogue-cairo https://github.com/sanette/bogue-cairo.git#refs/heads/main (6135ed8853d81f84436179006a113cab1846b647) (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-cairo.git" -b "main" && cd "bogue-cairo" && git reset --hard 6135ed88
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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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-threads.base base-unix.base bigarray-compat.1.1.0 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.23.0 ctypes-foreign.0.23.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.0 tsdl.1.1.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-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-09-16 10:13.03: Using cache hint "sanette/bogue-cairo-openbsd-77-amd64-ocaml-4.14-openbsd-77-amd64-4.14_opam-2.4-e8316b66056dc76c5fd6545bd6bc0d1c"
2025-09-16 10:13.03: 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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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-threads.base base-unix.base bigarray-compat.1.1.0 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.23.0 ctypes-foreign.0.23.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.0 tsdl.1.1.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-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-09-16 10:13.03: Waiting for resource in pool OCluster
2025-09-16 22:04.03: Waiting for worker…
2025-09-17 04:03.11: 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-4.14)
2025-09-17 04:03.11 ---> 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-09-17 04:03.11 ---> 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-09-17 04:03.11 ---> 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-09-17 04:03.11 ---> using "b0cd4eee5840b9ccd2075fddbf7c93660c8c159436f71f3bf2f9c12998bdaf67" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f6368c68f9..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> 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-09-17 04:03.11 ---> using "e4e1c4decce7d53697f4f6091c56041d20c86dfb4927859059ea98d18c3361d2" from cache


/: (copy (src bogue-cairo.opam) (dst /home/opam/src/./))
2025-09-17 04:04.08 ---> saved as "642dce602def15b036ffd48830694cd7200af9f494624464910f6d8e5e66c3a3"


/: (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)
2025-09-17 04:05.02 ---> saved as "2e6afea5196539c01f479e509d219257d74df0116281f139e163bb5e3abf078e"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-09-17 04:05.59 ---> saved as "54a77e4c588caac836cf90c43fab0548a5a663fcd01669689363bd2efe573fd4"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 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.23.0 ctypes-foreign.0.23.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.0 tsdl.1.1.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-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 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:
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-09-15T15:20:43Z
- New and changed readme(s):
- 	/usr/local/share/doc/pkg-readmes/glib2
- 	/usr/local/share/doc/pkg-readmes/sdl2
2025-09-17 04:07.18 ---> saved as "74c4f069f68803b649c42f866b01f6ad71e30075a97528db358e0bf89ad21886"


/: (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 23 packages
- install bigarray-compat   1.1.0
- 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.23.0
- install ctypes-foreign    0.23.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.0
- install tsdl              1.1.0
- install tsdl-image        0.6
- install tsdl-ttf          0.6
- install xdg               3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cairo2.0.6.5  (cached)
-> installed conf-pkg-config.4
-> retrieved bogue.20250815  (cached)
-> installed conf-cairo.1
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libffi.2.0.0
-> installed conf-sdl2.1
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
[ERROR] The compilation of conf-sdl2-image.1 failed at "pkg-config SDL2_image".
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved integers.0.7.0  (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.0  (cached)
-> retrieved tsdl.1.1.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 bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.20.2
-> installed integers.0.7.0
-> installed cairo2.0.6.5
-> installed ctypes.0.23.0
-> installed topkg.1.1.0
-> installed ctypes-foreign.0.23.0
-> installed xdg.3.20.2
-> installed tsdl.1.1.0
-> installed tsdl-ttf.0.6


#=== 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-45241-1ee966.env
# output-file ~/.opam/log/conf-sdl2-image-45241-1ee966.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.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.0
| - install tsdl              1.1.0
| - install tsdl-ttf          0.6
| - 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-20250917040747.export"
"opam install $DEPS" failed with exit status 31
2025-09-17 04:15.48: Job failed: Failed: Build failed