Organisationssanettetsdla79d4a ()macos-homebrew-4.14_arm64_opam-2.5

macos-homebrew-4.14_arm64_opam-2.5

Link Copied
Code Copied

Logs

2026-01-10 08:10.17: New job: test sanette/tsdl https://github.com/sanette/tsdl.git#refs/heads/master (a79d4a19e894e4dbebecf7c5ca65bb3c5229f18c) (macos-arm64:macos-homebrew-4.14_arm64_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 a79d4a19
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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.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 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-01-10 08:10.17: Using cache hint "sanette/tsdl-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.5-8a26471451d0c382ee7b1e09703f4ea6"
2026-01-10 08:10.17: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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 (network host)
(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.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 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-01-10 08:10.17: Waiting for resource in pool OCluster
2026-01-10 08:37.04: Waiting for worker…
2026-01-10 10:29.22: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
HEAD is now at a79d4a1 readme


(from macos-homebrew-ocaml-4.14)
2026-01-10 10:29.22 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_arm64_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-01-10 10:29.22 ---> 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-01-10 10:29.22 ---> 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-01-10 10:29.23 ---> 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 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
95f7875db7..a6b2f19780  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> 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.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.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-01-10 10:29.23 ---> using "1422a48a7117e08540b85a462762b060a36860903a3e2258570feccb9f676725" from cache


/: (copy (src tsdl.opam) (dst ./src/./))
2026-01-10 10:29.23 ---> using "b91072ba14301326f71e77e8bbef442ec55cf97c79ac477f6a65b7b1765e5ce6" 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-01-10 10:29.23 ---> using "546d42c10da77d4fed67a596dcf8f9de1a762af9f86c8f5326a575a85a9c0ef3" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-01-10 10:29.23 ---> using "167e25e764fa5a8b4331eb1529dcca6d1dbe28baf4882cdb09edfd78e339370a" 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.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 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"))
+ /opt/homebrew/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 <><><><><><><><><><><><><><><><><><><><><><>


+ /opt/homebrew/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.arm64_sequoia.bottle.tar.gz
- ==> Caveats
- libffi is keg-only, which means it was not symlinked into /opt/homebrew,
- 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/opt/homebrew/opt/libffi/lib"
-   export CPPFLAGS="-I/opt/homebrew/opt/libffi/include"
- ==> Summary
- 🍺  /opt/homebrew/Cellar/libffi/3.5.2: 18 files, 830.3KB
- ==> 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.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/pkgconf/2.5.1: 28 files, 531.1KB
- ==> Running `brew cleanup pkgconf`...
- ==> Pouring sdl2--2.32.10.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/sdl2/2.32.10: 94 files, 6.7MB
- ==> Running `brew cleanup sdl2`...
- ==> Caveats
- ==> libffi
- libffi is keg-only, which means it was not symlinked into /opt/homebrew,
- 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/opt/homebrew/opt/libffi/lib"
-   export CPPFLAGS="-I/opt/homebrew/opt/libffi/include"
# To update the current shell environment, run: eval $(opam env)
2026-01-10 10:29.23 ---> using "605abaeadc55854c6e0934909627e9b8e78e9a23f224937e6fa4ce9eb200d4f1" 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.20.2
- install dune-configurator 3.20.2
- 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
-> installed conf-libffi.2.0.0
-> retrieved csexp.1.5.2  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.24.0
-> installed ctypes-foreign.0.24.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-10 10:29.24 ---> using "768be4928bced9abe9a307272a20ef6840e10203e6d22babc9cee75cd28d759e" from cache


/: (copy (src .) (dst ./src))
2026-01-10 10:29.25 ---> saved as "092f44f380a0ea5300e7d18895b4ec85a9011b8032d93becde4ec692e7d90777"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_tsdl.exe)
2026-01-10 10:29:26.952 test_tsdl.exe[39030:4405058] INFO: Init error: The video driver did not add any displays
2026-01-10 10:29.27 ---> saved as "dadc25f09e30cb51a4b6f8b73666ea4d836fe04a9634cb59e69bac90afd2c0a5"
Job succeeded
2026-01-10 10:29.33: Job succeeded