Organisationsbacktrackingocamlgraph710007 ()macos-homebrew-4.14_arm64_opam-2.3

macos-homebrew-4.14_arm64_opam-2.3

Logs

Show full logs
2025-04-17 14:56.25: New job: test backtracking/ocamlgraph https://github.com/backtracking/ocamlgraph.git#refs/heads/master (710007690fb2286f9f2ce10e19fa47a67b634670) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.3)
Base: macos-homebrew-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/backtracking/ocamlgraph.git" -b "master" && cd "ocamlgraph" && git reset --hard 71000769
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && 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-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.1 dune-configurator.3.18.1 graphics.5.1.2 lablgtk.2.18.14 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-17 14:56.25: Using cache hint "backtracking/ocamlgraph-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.3-bf8f8bce3501589fddcfce6590fbae11"
2025-04-17 14:56.25: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && 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-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.1 dune-configurator.3.18.1 graphics.5.1.2 lablgtk.2.18.14 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-17 14:56.25: Waiting for resource in pool OCluster
2025-04-17 14:56.25: Waiting for worker…
2025-04-17 15:22.55: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at 7100076 fix test file

(from macos-homebrew-ocaml-4.14)
2025-04-17 15:22.53 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

/: (comment macos-homebrew-4.14_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-17 15:22.53 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" 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-17 15:22.53 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-17 15:22.53 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" 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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   11bdbee611..442eddb8a3  master     -> origin/master
442eddb8a3 Merge pull request #27761 from maiste/release-dune-3.18.1

<><> 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
  - ocaml-config.3
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-17 15:22.54 ---> using "67f07ecd1986bd28798155a0ae16870b21d96fab304a2fce3699db863a49c5f3" from cache

/: (copy (src ocamlgraph_gtk.opam ocamlgraph.opam) (dst ./src/./))
2025-04-17 15:22.55 ---> saved as "445fc8c25c81f3eef5205f7d320d4c9c4bf3b7a3ac06e0a0ccf537b24e9b5359"

/: (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-17 15:23.03 ---> saved as "60b26dfa4d98d70d454feee1d9945be85ece650cb4afc3e4981f57b2b5ad49c2"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-04-17 15:23.04 ---> saved as "77e5b9306c9b02ce37f2fbbde836ddc3db6322cebc53c707ebf44ecbcaa07415"

/: (env DEPS "base-bigarray.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.1 dune-configurator.3.18.1 graphics.5.1.2 lablgtk.2.18.14 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 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:
    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-17 15:23.34: Job failed: Failed: Build failed