Organisationssanettetsdl27bac3 ()macos-homebrew-4.14_opam-2.5

macos-homebrew-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-04-11 10:26.06: New job: test sanette/tsdl https://github.com/sanette/tsdl.git#refs/heads/master (27bac32c5580cb7c900fca9936e28e37541fd43d) (macos-x86_64:macos-homebrew-4.14_opam-2.5)
Base: macos-homebrew-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/tsdl.git" -b "master" && cd "tsdl" && git reset --hard 27bac32c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.5 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 7858b18273d5f598f5c8a4929102b580a091fc4f || git fetch origin master) && git reset -q --hard 7858b18273d5f598f5c8a4929102b580a091fc4f && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tsdl.opam ./src/./
RUN opam pin add -yn tsdl.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.22.1 dune-configurator.3.22.1 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y tsdl.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-04-11 10:26.06: Using cache hint "sanette/tsdl-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.5-1e786dc7be3821ae8eedc046c0068302"
2026-04-11 10:26.06: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 7858b18273d5f598f5c8a4929102b580a091fc4f || git fetch origin master) && git reset -q --hard 7858b18273d5f598f5c8a4929102b580a091fc4f && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src tsdl.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn tsdl.dev './src/./'"))
(run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.22.1 dune-configurator.3.22.1 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y tsdl.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-04-11 10:26.06: Waiting for resource in pool OCluster
2026-04-11 10:26.07: Waiting for worker…
2026-04-11 10:26.07: Got resource from pool OCluster
Building on i7-worker-02
HEAD is now at 30b3936 check pref path
HEAD is now at 27bac32 factorize foreign


(from macos-homebrew-ocaml-4.14)
2026-04-11 10:26.08 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
2026-04-11 10:26.09 ---> using "75b1629629d7f21c50a7e1e39b2ef83e2edb8ace81aab34254c0c8782b814749" 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.


This version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2026-04-11 10:26.09 ---> using "a61e945ab7671a6fff400f946e3fe88df4d67a783ea1f56fa59dc21595ef1b19" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 4.14.2
2.5.0
2026-04-11 10:26.09 ---> using "11a9923a4c4f0ab256d15330129e4c4938459d2e6239eb4f7bdf0f2620300e09" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 7858b18273d5f598f5c8a4929102b580a091fc4f || git fetch origin master) && git reset -q --hard 7858b18273d5f598f5c8a4929102b580a091fc4f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
4c9d80b731..4d62a12e26  master     -> origin/master
7858b18273 Merge pull request #29691 from punchagan/fix-conf-libffi


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository


Everything as up-to-date as possible


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.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)
2026-04-11 10:26.10 ---> using "9b8e44461fdd065764f8181bbdbc4f2ec34ef3c89a78a6b85b71fa58292d6554" from cache


/: (copy (src tsdl.opam) (dst ./src/./))
2026-04-11 10:26.10 ---> using "e80f11314d30b6111813787f47365af9ec6366eba2f114eb02e64c3f1d462846" from cache


/: (run (network host)
(shell "opam pin add -yn tsdl.dev './src/./'"))
[tsdl.dev] synchronised (file:///Users/mac1000/src)
tsdl is now pinned to file:///Users/mac1000/src (version dev)
2026-04-11 10:26.11 ---> using "0a7153f1bfee21026433dd510d1c9ba8636cb3e5639ffa1c0739e80c81b84659" from cache


/: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-04-11 10:26.11 ---> using "f661325db094c2557fabb33203ec0c36fdbd4aa8d894abb76bf1c52912166c05" from cache


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.22.1 dune-configurator.3.22.1 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y tsdl.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tsdl.dev] synchronised (file:///Users/mac1000/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:
libffi pkgconf sdl2


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


+ /usr/local/bin/brew "install" "libffi" "pkgconf" "sdl2"
- ==> Fetching downloads for: libffi, pkgconf and sdl2
- ✔︎ Bottle Manifest libffi (3.5.2)
- ✔︎ Bottle Manifest pkgconf (2.5.1)
- ✔︎ Bottle Manifest sdl2 (2.32.10)
- ✔︎ Bottle Manifest sdl2 (2.32.10)
- ✔︎ Bottle libffi (3.5.2)
- ✔︎ Bottle pkgconf (2.5.1)
- ✔︎ Bottle sdl2 (2.32.10)
- ==> Pouring libffi--3.5.2.sonoma.bottle.tar.gz
- ==> Caveats
- libffi is keg-only, which means it was not symlinked into /usr/local,
- because macOS already provides this software and installing another version in
- parallel can cause all kinds of trouble.
- 
- For compilers to find libffi you may need to set:
-   export LDFLAGS="-L/usr/local/opt/libffi/lib"
-   export CPPFLAGS="-I/usr/local/opt/libffi/include"
- ==> Summary
- 🍺  /usr/local/Cellar/libffi/3.5.2: 18 files, 721.4KB
- ==> Running `brew cleanup libffi`...
- Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
- Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
- ==> Pouring pkgconf--2.5.1.sequoia.bottle.tar.gz
- 🍺  /usr/local/Cellar/pkgconf/2.5.1: 28 files, 383.2KB
- ==> Running `brew cleanup pkgconf`...
- ==> Pouring sdl2--2.32.10.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/sdl2/2.32.10: 94 files, 6.7MB
- ==> Running `brew cleanup sdl2`...
- Removing: /Users/mac1000/Library/Caches/Homebrew/sdl2_bottle_manifest--2.32.10... (23.0KB)
- Removing: /Users/mac1000/Library/Caches/Homebrew/sdl2--2.32.10... (1.9MB)
- ==> Caveats
- ==> libffi
- libffi is keg-only, which means it was not symlinked into /usr/local,
- because macOS already provides this software and installing another version in
- parallel can cause all kinds of trouble.
- 
- For compilers to find libffi you may need to set:
-   export LDFLAGS="-L/usr/local/opt/libffi/lib"
-   export CPPFLAGS="-I/usr/local/opt/libffi/include"
# To update the current shell environment, run: eval $(opam env)
2026-04-11 10:26.11 ---> using "1852788ad8491b7c304bcd1a710c2ba1471a68adb5541604e51277b8b6acf5a0" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 10 packages
- install conf-libffi       2.0.0
- install conf-pkg-config   4
- install conf-sdl2         1
- install csexp             1.5.2
- install ctypes            0.24.0
- install ctypes-foreign    0.24.0
- install dune              3.22.1
- install dune-configurator 3.22.1
- install integers          0.7.0
- install stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0  (cached)
-> installed conf-sdl2.1
-> retrieved integers.0.7.0  (cached)
-> installed conf-libffi.2.0.0
-> retrieved csexp.1.5.2  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.22.1, dune-configurator.3.22.1  (cached)
-> installed dune.3.22.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.22.1
-> installed ctypes.0.24.0
-> installed ctypes-foreign.0.24.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 10:26.12 ---> using "4cce6302b6167110510e2fb4a5ef9a47606b919390e584632977abd4f889a28a" from cache


/: (copy (src .) (dst ./src))
2026-04-11 10:26.13 ---> saved as "1ca4839096a0cd29c3fa647d5436fe6c64cf83bbf405579ae570a081311b14de"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/4.14.2/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/.tsdl.objs/byte -I /Users/mac1000/.opam/4.14.2/lib/ctypes -I /Users/mac1000/.opam/4.14.2/lib/ctypes-foreign -I /Users/mac1000/.opam/4.14.2/lib/integers -I /Users/mac1000/.opam/4.14.2/lib/ocaml/threads -I /Users/mac1000/.opam/4.14.2/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -open Tsdl__ -o lib/.tsdl.objs/byte/tsdl.cmo -c -impl lib/tsdl.ml)
File "lib/tsdl.ml", line 349, characters 2-28:
349 |   Tsdl_versions.is_available ~from_version
^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Tsdl_versions
(cd _build/default && /Users/mac1000/.opam/4.14.2/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I lib/.tsdl.objs/byte -I lib/.tsdl.objs/native -I /Users/mac1000/.opam/4.14.2/lib/ctypes -I /Users/mac1000/.opam/4.14.2/lib/ctypes-foreign -I /Users/mac1000/.opam/4.14.2/lib/integers -I /Users/mac1000/.opam/4.14.2/lib/ocaml/threads -I /Users/mac1000/.opam/4.14.2/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -open Tsdl__ -o lib/.tsdl.objs/native/tsdl.cmx -c -impl lib/tsdl.ml)
File "lib/tsdl.ml", line 349, characters 2-28:
349 |   Tsdl_versions.is_available ~from_version
^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Tsdl_versions
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-04-11 10:26.20: Job failed: Failed: Build failed