Organisationssanettebogue24e714 ()openbsd-76-amd64-4.14_opam-2.3

openbsd-76-amd64-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-02-11 15:22.52: New job: test sanette/bogue https://github.com/sanette/bogue.git#refs/heads/master (24e7148dc6585fd218904df0c623a8be5fdc301b) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-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 24e7148d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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 bigarray-compat.1.1.0 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.17.2 dune-configurator.3.17.2 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.0.7 tsdl.1.1.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.17.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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


2025-02-11 15:22.52: Using cache hint "sanette/bogue-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-be4bb6ab4cd34ea4528ded664fd2ac70"
2025-02-11 15:22.52: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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 bigarray-compat.1.1.0 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.17.2 dune-configurator.3.17.2 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.0.7 tsdl.1.1.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.17.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.3 --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"))
)


2025-02-11 15:22.52: Waiting for resource in pool OCluster
2025-02-11 15:22.53: Waiting for worker…
2025-02-11 15:22.53: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 24e7148 add video example28


(from openbsd-76-amd64-ocaml-4.14)
2025-02-11 15:22.54 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache


/: (comment openbsd-76-amd64-4.14_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-02-11 15:22.54 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" 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-02-11 15:22.54 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-11 15:22.54 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
727427c1e7..38fed1a4c7  master     -> origin/master
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8


<><> 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-02-11 15:22.54 ---> using "f4587d66c140483884dd69e0f656f88ba7707fd6bfe52315af778111704c9c55" from cache


/: (copy (src bogue.opam) (dst /home/opam/src/./))
2025-02-11 15:22.54 ---> using "aa0955de3a4e144ea7f3faf79f46b012b7449aa738b7076666d75985839fced7" from cache


/: (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)
2025-02-11 15:22.54 ---> using "b818a8f29e5eb5ef5b26d16fbbf41244b84f3fd58040fe43351db0bae902a08b" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-02-11 15:22.54 ---> using "7679e3d94042481f4685cf886a8ceba157c89f19217d57b2bf2dbacc5476cff4" from cache


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 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.17.2 dune-configurator.3.17.2 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.0.7 tsdl.1.1.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.17.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.3 --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).


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.50 signed on 2025-02-09T19:29:33Z
- New and changed readme(s):
- 	/usr/local/share/doc/pkg-readmes/sdl2
2025-02-11 15:22.54 ---> using "8ee4275f017e8c12500b0d912aca8400bd86b6707e371d36c4df75031c498c0e" 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 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 20 packages
- install bigarray-compat   1.1.0
- 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.17.2
- install dune-configurator 3.17.2
- install integers          0.7.0
- install ocamlbuild        0.15.0
- install ocamlfind         1.9.8
- install stdlib-shims      0.3.0
- install topkg             1.0.7
- install tsdl              1.1.0
- install tsdl-image        0.6
- install tsdl-ttf          0.6
- install xdg               3.17.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
[ERROR] The compilation of conf-libffi.2.0.0 failed at "pkg-config libffi".
-> retrieved integers.0.7.0  (cached)
-> 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 ocamlbuild.0.15.0  (cached)
-> installed conf-sdl2-ttf.1
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved tsdl.1.1.0  (cached)
-> retrieved tsdl-image.0.6  (cached)
-> retrieved tsdl-ttf.0.6  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2, xdg.3.17.2  (cached)
-> installed ocamlbuild.0.15.0
-> installed dune.3.17.2
-> 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.17.2
-> installed integers.0.7.0
-> installed topkg.1.0.7
-> installed ctypes.0.23.0
-> installed xdg.3.17.2


#=== ERROR while compiling conf-sdl2-image.1 ==================================#
# context     2.3.0 | 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-64908-0823f5.env
# output-file ~/.opam/log/conf-sdl2-image-64908-0823f5.out


#=== ERROR while compiling conf-libffi.2.0.0 ==================================#
# context     2.3.0 | 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-64908-546482.env
# output-file ~/.opam/log/conf-libffi-64908-546482.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 bigarray-compat   1.1.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 dune              3.17.2
| - install dune-configurator 3.17.2
| - install integers          0.7.0
| - install ocamlbuild        0.15.0
| - install ocamlfind         1.9.8
| - install stdlib-shims      0.3.0
| - install topkg             1.0.7
| - install xdg               3.17.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-20250211152323.export"
"opam install $DEPS" failed with exit status 31
2025-02-11 15:31.01: Job failed: Failed: Build failed