2024-06-17 12:38.13: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (macos-x86_64:macos-homebrew-4.14_opam-2.1) Base: macos-homebrew-ocaml-4.14 Opam project build To reproduce locally: git clone --recursive "https://github.com/mirage/Zarith.git" -b "zarith-1.13" && cd "Zarith" && git reset --hard 9de5ec36 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM macos-homebrew-ocaml-4.14 # macos-homebrew-4.14_opam-2.1 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN ln -f ~/local/bin/opam-2.1 ~/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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 zarith.opam ./src/./ RUN opam pin add -yn zarith.dev './src/./' ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.16.0 gmp.6.2.1-5 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.1 --depext-only -y zarith.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 2024-06-17 12:38.13: Using cache hint "mirage/Zarith-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.1-2bc96c1301561bc80f3ebf8f69b0b9b8" 2024-06-17 12:38.13: Using OBuilder spec: ((from macos-homebrew-ocaml-4.14) (comment macos-homebrew-4.14_opam-2.1) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "ln -f ~/local/bin/opam-2.1 ~/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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src zarith.opam) (dst ./src/./)) (run (network host) (shell "opam pin add -yn zarith.dev './src/./'")) (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.16.0 gmp.6.2.1-5 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1") (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.1 --depext-only -y zarith.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")) ) 2024-06-17 12:38.13: Waiting for resource in pool OCluster 2024-06-17 12:38.13: Waiting for worker… 2024-06-17 18:22.23: Got resource from pool OCluster Building on i7-worker-03 All commits already cached HEAD is now at 9de5ec3 revert a6ad837b (use ocamlc to test C compiler in configure) (from macos-homebrew-ocaml-4.14) 2024-06-17 18:22.25 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache /: (comment macos-homebrew-4.14_opam-2.1) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam")) 2024-06-17 18:22.25 ---> using "25b9bb92388ede51fae89d4de3a3dbc7bf0716456eef41b1ea8636995a3eeab7" 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. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] no changes from git+file:///Users/mac1000/opam-repository 2024-06-17 18:22.26 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 23.4.0 The OCaml toplevel, version 4.14.2 2.1.5 2024-06-17 18:22.27 ---> using "f4908fd0e5799798bb14c138897a7b0cd12737558237c57b6cfe71feb61d52ba" 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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 0dc68a8b92..e06bf2b8c3 master -> origin/master a6069b9eeb [new release] dune (15 packages) (3.16.0) <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///Users/mac1000/opam-repository default (at git+file:///Users/mac1000/opam-repository): [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html) default (at git+file:///Users/mac1000/opam-repository): [WARNING] please ensure to have GNU patch installed as `patch`. Otherwise update may fail silently (since it can't remove files). Constructing initial basis... The following actions will be performed: - install host-arch-x86_64 1 - install host-system-other 1 - recompile ocaml-options-vanilla 1 [upstream or system changes] - recompile ocaml-base-compiler 4.14.2 [upstream or system changes] - recompile ocaml-config 2 [upstream or system changes] - recompile ocaml 4.14.2 [uses ocaml-base-compiler, ocaml-config] ===== 2 to install | 4 to recompile ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.2 (cached) -> removed ocaml-options-vanilla.1 -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.2 (cached) -> removed ocaml.4.14.2 -> removed ocaml-config.2 -> removed ocaml-base-compiler.4.14.2 -> installed ocaml-base-compiler.4.14.2 -> installed ocaml-config.2 -> installed ocaml.4.14.2 Done. # Run eval $(opam env) to update the current shell environment 2024-06-17 18:22.27 ---> using "c8892a8dc034757fd755e78fd8a062509867cd46b19d740b1eea9f67853d4a1b" from cache /: (copy (src zarith.opam) (dst ./src/./)) 2024-06-17 18:22.29 ---> saved as "1ee6fd805fb1d925ac8741573c0888e06840240d85d4c701b1117020bfb1080c" /: (run (network host) (shell "opam pin add -yn zarith.dev './src/./'")) [zarith.dev] synchronised (file:///Users/mac1000/src) zarith is now pinned to file:///Users/mac1000/src (version dev) 2024-06-17 18:22.55 ---> saved as "ca967dfb70b74d02349b9470dc9de92df3a94936f41783bec32a65915e1ea896" /: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.16.0 gmp.6.2.1-5 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1") /: (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.1 --depext-only -y zarith.dev $DEPS")) + /usr/local/bin/brew "update" - ==> Updating Homebrew... - Already up-to-date. <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [zarith.dev] synchronised (no changes) [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 host-system-other is already installed (current version is 1). [NOTE] Package host-arch-x86_64 is already installed (current version is 1). [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). Constructing initial basis... Number of 0-1 knapsack inequalities = 19 Constructing conflict graph... Conflict graph has 13 + 6 = 19 vertices The following system packages will first need to be installed: xz <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/local/bin/brew "install" "xz" - ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.4.6 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/b2cc4077807c100af6e0253f51d186f187ff55165638cbe3a4aa16d1c4762660--xz-5.4.6.bottle_manifest.json - ==> Fetching xz - ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:139fcf6d46fb85d3693f5d7452a37ec5f50f17b5ef044ac96a2c7deccb7983b4 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/43f3e389ca6041ad27899272abc383096ddb15ec4c51b83d5873dbc44829cabe--xz--5.4.6.sonoma.bottle.tar.gz - ==> Pouring xz--5.4.6.sonoma.bottle.tar.gz - 🍺 /usr/local/Cellar/xz/5.4.6: 164 files, 2.5MB - ==> Running `brew cleanup xz`... - Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. - Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). 2024-06-17 18:23.33 ---> saved as "7b18785ad1bc5febbc0f87d88321b126898fc573a6a5e25cd2b6ebc1da4acec5" /: (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 host-system-other is already installed (current version is 1). [NOTE] Package host-arch-x86_64 is already installed (current version is 1). [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). Constructing initial basis... Number of 0-1 knapsack inequalities = 13 Constructing conflict graph... Conflict graph has 9 + 5 = 14 vertices The following actions will be performed: - install conf-m4 1 - install dune 3.16.0 - install gmp 6.2.1-5 ===== 3 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved gmp.6.2.1-5 (cached) -> retrieved dune.3.16.0 (cached) [ERROR] The compilation of conf-m4.1 failed at "sh -exc echo | m4". -> installed dune.3.16.0 #=== ERROR while compiling conf-m4.1 ==========================================# # context 2.1.5 | macos/x86_64 | ocaml-base-compiler.4.14.2 | git+file:///Users/mac1000/opam-repository # path ~/.opam/4.14.2/.opam-switch/build/conf-m4.1 # command ~/.opam/opam-init/hooks/sandbox.sh build sh -exc echo | m4 # exit-code 72 # env-file ~/.opam/log/conf-m4-72455-98b242.env # output-file ~/.opam/log/conf-m4-72455-98b242.out ### output ### # + echo # + m4 # xcode-select: Failed to locate 'm4', and no install could be requested (perhaps no UI is present). Please install manually from 'developer.apple.com'. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build conf-m4 1 +- +- The following changes have been performed (the rest was aborted) | - install dune 3.16.0 +- # Run eval $(opam env) to update the current shell environment The former state can be restored with: /usr/local/bin/opam switch import "/Users/mac1000/.opam/4.14.2/.opam-switch/backup/state-20240617182336.export" "/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31 2024-06-17 18:25.00: Job failed: Failed: Build failed