Organisationsmirageocaml-gmp1d7f5b (main)macos-homebrew-5.1_opam-2.1

macos-homebrew-5.1_opam-2.1

Link Copied
Code Copied

Logs

2024-05-10 09:15.59: New job: test mirage/ocaml-gmp https://github.com/mirage/ocaml-gmp.git#refs/heads/main (1d7f5ba1d5251987e59818239d512355efad1f3b) (macos-x86_64:macos-homebrew-5.1_opam-2.1)
Base: macos-homebrew-ocaml-5.1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-gmp.git" -b "main" && cd "ocaml-gmp" && git reset --hard 1d7f5ba1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.1
# macos-homebrew-5.1_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gmp.opam ./src/./
RUN opam pin add -yn gmp.dev './src/./'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-m4.1 dune.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y gmp.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-05-10 09:15.59: Using cache hint "mirage/ocaml-gmp-macos-macos-homebrew-ocaml-5.1-macos-homebrew-5.1_opam-2.1-89c4a0484ebb32cca733e52f2b9e73ed"
2024-05-10 09:15.59: Using OBuilder spec:
((from macos-homebrew-ocaml-5.1)
 (comment macos-homebrew-5.1_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src gmp.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn gmp.dev './src/./'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-m4.1 dune.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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 gmp.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-05-10 09:15.59: Waiting for resource in pool OCluster
2024-05-11 03:34.08: Waiting for worker…
2024-05-11 05:01.02: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
HEAD is now at 1d7f5ba Add a constraint with older ocaml-solo5 versions which does not include the --target value


(from macos-homebrew-ocaml-5.1)
2024-05-11 05:01.03 ---> using "b7b1005f775d216bee3ed8ddea7a5cf967981ce80479def84cf765e6fa9c281f" from cache


/: (comment macos-homebrew-5.1_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-05-11 05:01.04 ---> using "22cd16a64c632695859fdcedd94c70c4cc08c65c5ac152872708c4f22bdb6b91" 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-05-11 05:01.04 ---> using "a88b721b113bbcb0b1d9c9d9953be1d371de01973789d03f702acf5d676e7e9e" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 22.5.0
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-11 05:01.05 ---> using "b9cb7a7e67e401d6d05e669cb4a23e6bbd1c29e9a607e1e5d301dc2a9918b0c9" 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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   b530f3bbd2..20baedeee4  master     -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages


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


Constructing initial basis...
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.3.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-11 05:01.05 ---> using "cabee6b61444bc33d210024577406e218f69742c8bcf128a36e96832a17bee72" from cache


/: (copy (src gmp.opam) (dst ./src/./))
2024-05-11 05:01.08 ---> saved as "d69db1e13d7a0ec3c956dfbab1752197ef8d911675637e7a42471ff7a3c3fa14"


/: (run (network host)
        (shell "opam pin add -yn gmp.dev './src/./'"))
[gmp.dev] synchronised (file:///Users/mac1000/src)
gmp is now pinned to file:///Users/mac1000/src (version dev)
2024-05-11 05:01.17 ---> saved as "5525df838e46402fb04e3c1ecd843450da2c135d576bf1cd4d94e2a562cbca1d"


/: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-m4.1 dune.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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 gmp.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gmp.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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 5
Constructing conflict graph...
Conflict graph has 6 + 5 = 11 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: 163 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-05-11 05:01.51 ---> saved as "7e681112af54510b05593eeda259ef784bdaed2a0cbd7aa56ff7940b6522f8ad"


/: (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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 5
Constructing conflict graph...
Conflict graph has 6 + 5 = 11 vertices
The following actions will be performed:
  - install dune    3.15.2
  - install conf-m4 1
===== 2 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.15.2  (cached)
[ERROR] The compilation of conf-m4.1 failed at "sh -exc echo | m4".
-> installed dune.3.15.2


#=== ERROR while compiling conf-m4.1 ==========================================#
# context     2.1.5 | macos/x86_64 | ocaml-base-compiler.5.1.1 | git+file:///Users/mac1000/opam-repository
# path        ~/.opam/5.1.1/.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-44822-ee98fa.env
# output-file ~/.opam/log/conf-m4-44822-ee98fa.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
| - install dune 3.15.2
+- 
# 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/5.1.1/.opam-switch/backup/state-20240511050154.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-05-11 05:03.20: Job failed: Failed: Build failed