Organisationssanettebogue6078fc ()openbsd-77-amd64-5.4_opam-2.4

openbsd-77-amd64-5.4_opam-2.4

Logs

Show full logs
2025-12-15 14:42.24: New job: test sanette/bogue https://github.com/sanette/bogue.git#refs/heads/master (6078fc1ffbeca5b5ef528d4da17fc866beda77bd) (openbsd-amd64:openbsd-77-amd64-5.4_opam-2.4)
Base: openbsd-77-amd64-ocaml-5.4
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/sanette/bogue.git" -b "master" && cd "bogue" && git reset --hard 6078fc1f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-77-amd64-ocaml-5.4
# openbsd-77-amd64-5.4_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-domains.base base-effects.base base-nnp.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.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.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

2025-12-15 14:42.24: Using cache hint "sanette/bogue-openbsd-77-amd64-ocaml-5.4-openbsd-77-amd64-5.4_opam-2.4-98a9d951f093a65158f774ee6e7ee402"
2025-12-15 14:42.24: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-5.4)
 (comment openbsd-77-amd64-5.4_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-domains.base base-effects.base base-nnp.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.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.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"))
)

2025-12-15 14:42.24: Waiting for resource in pool OCluster
2025-12-15 17:09.05: Waiting for worker…
2025-12-15 22:00.40: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at 6078fc1 fix changelog

(from openbsd-77-amd64-ocaml-5.4)
2025-12-15 22:00.40 ---> using "8424522d1f78b81b26ba463ba357c8ca122e0f74070b621aa84fc80c68430631" from cache

/: (comment openbsd-77-amd64-5.4_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-12-15 22:00.40 ---> using "c9c9d20b21285c86d832e721a23e6d7df92b8c156184c48d4f8227c52c533e04" 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-12-15 22:00.40 ---> using "4fe223850f63b3570d56a2e9a2f2955ccada1b654ec00cbaced22f9e9f923ca0" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 5.4.0
2.4.1
2025-12-15 22:00.40 ---> using "8d299a54fbfd348a915878f15036df1470bbbf7d8b30158a99fe7f714d061672" 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
   5bf570252b..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

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 22:00.40 ---> using "c2576702cf109641c902b809f113c94031fca52c4e5b5000dc279bf9a2be3f54" from cache

/: (copy (src bogue.opam) (dst /home/opam/src/./))
2025-12-15 22:01.37 ---> saved as "2e41e03a68be0c026d2f9bca73d0c4d5cd163dc9aa158addcde118d10a4e5707"

/: (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-12-15 22:02.32 ---> saved as "791289ac9d0608a4e4e45c82a5a5ca50e342fa124b652af43fec8f4d6666e953"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-12-15 22:03.30 ---> saved as "1c8adaccc50ca1bf5b45c11b36a3d1caefdd602aaefc6c0df055f3acc1ad7d02"

/: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.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.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.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 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:
    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
2025-12-15 22:04.42 ---> saved as "c69734240099560b5601cb426e013e3bd208ba410ab962e4a2584ebf05a0c186"

/: (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 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.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-82414-2329b4.env
# output-file ~/.opam/log/conf-sdl2-image-82414-2329b4.out


#=== ERROR while compiling conf-libffi.2.0.0 ==================================#
# context     2.4.1 | openbsd/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path        ~/.opam/5.4.0/.opam-switch/build/conf-libffi.2.0.0
# command     /usr/bin/pkg-config libffi
# exit-code   1
# env-file    ~/.opam/log/conf-libffi-82414-fb3ce5.env
# output-file ~/.opam/log/conf-libffi-82414-fb3ce5.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/5.4.0/.opam-switch/backup/state-20251215220512.export"
"opam install $DEPS" failed with exit status 31
2025-12-15 22:14.08: Job failed: Failed: Build failed