Organisationssanettetsdla79d4a ()macos-homebrew-5.4_arm64_opam-2.5

macos-homebrew-5.4_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-5.4_arm64_opam-2.5)
Base: macos-homebrew-ocaml-5.4
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-5.4
# macos-homebrew-5.4_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-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 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 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-5.4-macos-homebrew-5.4_arm64_opam-2.5-a73b445bfe14a2bc484cb9321ae7b607"
2026-01-10 08:10.17: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
(comment macos-homebrew-5.4_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-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 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 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:36.42: Waiting for worker…
2026-01-10 10:29.10: Got resource from pool OCluster
Building on m1-worker-04
HEAD is now at eb2ad0e final ? version checks
HEAD is now at a79d4a1 readme


(from macos-homebrew-ocaml-5.4)
2026-01-10 10:29.11 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache


/: (comment macos-homebrew-5.4_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.11 ---> using "0e9d0f8ed44ab1f77ef30c8d8456629e6c63f869a24319cbb64657a84e315111" 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.11 ---> using "06effe220fa63e5f9fae9bf4643255961d59bf292a94931a0e1dd6d81a9fa7c6" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-10 10:29.11 ---> using "78e99acc02a52806060d0075d40f6ea681e9ef77eb60ecbbaff6e5155272646b" 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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-10 10:29.12 ---> using "f96cf515d8973c54744251670085c592fc8c035aff0eb4a88827daf59fcb4ea9" from cache


/: (copy (src tsdl.opam) (dst ./src/./))
2026-01-10 10:29.12 ---> using "41f4f05a2529d5a6ee07deec4813a508ebf4f61e9854efcfbafd48ab8aecbd67" 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.12 ---> using "e6db13836c91d4c1eb90b0725f5e9f6292b37958079b868995cf5443b38d9986" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-01-10 10:29.12 ---> using "5596ae67372984286eaf096e5fcc1d8ef7391cc43f70badb15861ac85f0c7950" from cache


/: (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 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 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 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:
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.12 ---> using "8cee34939d27169228074deca6212f06e4ef8c1f28c66ae63128a1ad45e3c825" 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 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 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.12 ---> using "880cc2e8e75fa9454a07b41b9239ed9c019418f97020356cb306bf03f8d7ef50" from cache


/: (copy (src .) (dst ./src))
2026-01-10 10:29.13 ---> saved as "463dba2ff796bfd4c9df3d336b16e069d80fd28eecbc75836055167b6c45fa71"


/: (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:16.036 test_tsdl.exe[38550:4403648] INFO: Init error: The video driver did not add any displays
2026-01-10 10:29.16 ---> saved as "d898d50cb30142ac4435ca9c51c8e3eba8a8068b7767dd70283fad0b3059e323"
Job succeeded
2026-01-10 10:29.22: Job succeeded