Organisationsbacktrackingocamlgraph5dcb7a ()macos-homebrew-5.3_arm64_opam-2.3

macos-homebrew-5.3_arm64_opam-2.3

Logs

Show full logs
2025-04-08 08:41.15: New job: test backtracking/ocamlgraph https://github.com/backtracking/ocamlgraph.git#refs/heads/master (5dcb7a4d845ada86feb48b38bd9d573f494930bb) (macos-arm64:macos-homebrew-5.3_arm64_opam-2.3)
Base: macos-homebrew-ocaml-5.3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/backtracking/ocamlgraph.git" -b "master" && cd "ocamlgraph" && git reset --hard 5dcb7a4d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.3
# macos-homebrew-5.3_arm64_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocamlgraph_gtk.opam ocamlgraph.opam ./src/./
RUN opam pin add -yn ocamlgraph_gtk.dev './src/./' && \
    opam pin add -yn ocamlgraph.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 camlp-streams.5.0.1 conf-gnomecanvas.2 conf-gtk2.1 conf-libX11.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 graphics.5.1.2 lablgtk.2.18.14 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocamlgraph_gtk.dev ocamlgraph.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

2025-04-08 08:41.15: Using cache hint "backtracking/ocamlgraph-macos-homebrew-ocaml-5.3-macos-homebrew-5.3_arm64_opam-2.3-c1279c79e9c7351b024a47a473fd7f18"
2025-04-08 08:41.15: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
 (comment macos-homebrew-5.3_arm64_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.3 ~/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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ocamlgraph_gtk.opam ocamlgraph.opam) (dst ./src/./))
 (run (network host)
      (shell  "opam pin add -yn ocamlgraph_gtk.dev './src/./' && \
             \nopam pin add -yn ocamlgraph.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 camlp-streams.5.0.1 conf-gnomecanvas.2 conf-gtk2.1 conf-libX11.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 graphics.5.1.2 lablgtk.2.18.14 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8")
 (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.3 --depext-only -y ocamlgraph_gtk.dev ocamlgraph.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"))
)

2025-04-08 08:41.15: Waiting for resource in pool OCluster
2025-04-08 08:41.15: Waiting for worker…
2025-04-08 08:41.15: Got resource from pool OCluster
Building on m1-worker-02
HEAD is now at 1b052ff Merge pull request #153 from kit-ty-kate/ocaml-4.08
HEAD is now at 5dcb7a4 Merge pull request #152 from backtracking/bfs01

(from macos-homebrew-ocaml-5.3)
2025-04-08 08:41.16 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache

/: (comment macos-homebrew-5.3_arm64_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-04-08 08:41.16 ---> using "8efc335cb5004a650aab29e72b9849a2b2e2f0853bc55d3a74763c7cceed5d74" 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
2025-04-08 08:41.16 ---> using "e29fa6de89fe919799ac81fd4a1c768d8341cedf873c17042854467d2aebeceb" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.3.0
2.3.0
2025-04-08 08:41.17 ---> using "a268524b45b0c90a951719c2a6c8c78c0b8a0fec90c9f437befd49b0008dc673" 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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   67e940587b..1b767795a4  master     -> origin/master
1b767795a4 Merge pull request #27704 from maiste/release-dune-3.18.0

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

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.4.0
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-04-08 08:41.17 ---> using "46480ef44783440aee7d14bfd9a83b1c157389b39eb64d6462a6a880afa41512" from cache

/: (copy (src ocamlgraph_gtk.opam ocamlgraph.opam) (dst ./src/./))
2025-04-08 08:41.17 ---> using "3c1cab5718a931943bd8da9b1cf5702aaec47ef4251168b9ed69a69b924e6853" from cache

/: (run (network host)
        (shell  "opam pin add -yn ocamlgraph_gtk.dev './src/./' && \
               \nopam pin add -yn ocamlgraph.dev './src/./'"))
[ocamlgraph_gtk.dev] synchronised (file:///Users/mac1000/src)
ocamlgraph_gtk is now pinned to file:///Users/mac1000/src (version dev)
[ocamlgraph.dev] synchronised (file:///Users/mac1000/src)
ocamlgraph is now pinned to file:///Users/mac1000/src (version dev)
2025-04-08 08:41.17 ---> using "0026812f276b0c49affa89cffced6c85d2bd8f9e756a2cdda2b2669643f336ea" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-04-08 08:41.17 ---> using "5c58fd94592702d060745a35796f228affe609be7e47b162059d2485206ad77f" from cache

/: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 conf-gnomecanvas.2 conf-gtk2.1 conf-libX11.1 conf-pkg-config.4 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 graphics.5.1.2 lablgtk.2.18.14 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8")

/: (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.3 --depext-only -y ocamlgraph_gtk.dev ocamlgraph.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocamlgraph.dev] synchronised (file:///Users/mac1000/src)
[ocamlgraph_gtk.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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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:
    expat gtk+ libgnomecanvas pkgconf xquartz

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

+ /opt/homebrew/bin/brew "install" "expat" "gtk+" "libgnomecanvas" "pkgconf" "xquartz"
- Warning: No available formula with the name "libgnomecanvas". Did you mean libgetdata?
- ==> Searching for similarly named formulae and casks...
- ==> Formulae
- libgetdata
- 
- To install libgetdata, run:
-   brew install libgetdata
[ERROR] System package install failed with exit code 1 at command:
            brew install expat gtk+ libgnomecanvas pkgconf xquartz
[ERROR] These packages are still missing: expat gtk+ libgnomecanvas pkgconf xquartz

[NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages.

"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.3 --depext-only -y ocamlgraph_gtk.dev ocamlgraph.dev $DEPS" failed with exit status 10
2025-04-08 08:41.55: Job failed: Failed: Build failed