Organisationspatricoferrisocaml-hwloc3447dc (main)macos-homebrew-5.1_arm64_opam-2.1

macos-homebrew-5.1_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-05-10 09:04.08: New job: test patricoferris/ocaml-hwloc https://github.com/patricoferris/ocaml-hwloc.git#refs/heads/main (3447dc5c40f0d868529aafcc84b5d2d971062b30) (macos-arm64:macos-homebrew-5.1_arm64_opam-2.1)
Base: macos-homebrew-ocaml-5.1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/patricoferris/ocaml-hwloc.git" -b "main" && cd "ocaml-hwloc" && git reset --hard 3447dc5c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.1
# macos-homebrew-5.1_arm64_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 hwloc.opam ./src/./
RUN opam pin add -yn hwloc.dev './src/./'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.2.0 conf-autoconf.0.1 conf-automake.1 conf-libtool.1 conf-which.1 csexp.1.5.2 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y hwloc.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:04.08: Using cache hint "patricoferris/ocaml-hwloc-macos-macos-homebrew-ocaml-5.1-macos-homebrew-5.1_arm64_opam-2.1-78678592e5148c70626b1366967927e0"
2024-05-10 09:04.08: Using OBuilder spec:
((from macos-homebrew-ocaml-5.1)
 (comment macos-homebrew-5.1_arm64_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 hwloc.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn hwloc.dev './src/./'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.2.0 conf-autoconf.0.1 conf-automake.1 conf-libtool.1 conf-which.1 csexp.1.5.2 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
 (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 hwloc.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:04.08: Waiting for resource in pool OCluster
2024-05-10 11:26.27: Waiting for worker…
2024-05-10 14:10.26: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
Submodule path 'vendor/hwloc': checked out '093316a897a2eb4972a7a3a5888f40975d03f6bf'
HEAD is now at 3447dc5 Install shared objects
Synchronizing submodule url for 'vendor/hwloc'
Cleared directory 'vendor/hwloc'
Submodule 'vendor/hwloc' (https://github.com/open-mpi/hwloc) unregistered for path 'vendor/hwloc'
Submodule 'vendor/hwloc' (https://github.com/open-mpi/hwloc) registered for path 'vendor/hwloc'
Submodule path 'vendor/hwloc': checked out '093316a897a2eb4972a7a3a5888f40975d03f6bf'


(from macos-homebrew-ocaml-5.1)
2024-05-10 14:10.26 ---> using "b7b1005f775d216bee3ed8ddea7a5cf967981ce80479def84cf765e6fa9c281f" from cache


/: (comment macos-homebrew-5.1_arm64_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-10 14:10.26 ---> 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-10 14:10.27 ---> using "a88b721b113bbcb0b1d9c9d9953be1d371de01973789d03f702acf5d676e7e9e" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-10 14:10.27 ---> 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-10 14:10.27 ---> using "cabee6b61444bc33d210024577406e218f69742c8bcf128a36e96832a17bee72" from cache


/: (copy (src hwloc.opam) (dst ./src/./))
2024-05-10 14:10.28 ---> saved as "996750bf396f05fe046639afbcff5db3aa46abe611eca5b489e27fcee1be2364"


/: (run (network host)
        (shell "opam pin add -yn hwloc.dev './src/./'"))
Package hwloc does not exist, create as a NEW package? [Y/n] y
[hwloc.dev] synchronised (file:///Users/mac1000/src)
hwloc is now pinned to file:///Users/mac1000/src (version dev)
2024-05-10 14:10.35 ---> saved as "de30f0385097caa5f2580765178e8cd23cc0320e55e098be138efe4172d87810"


/: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.2.0 conf-autoconf.0.1 conf-automake.1 conf-libtool.1 conf-which.1 csexp.1.5.2 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")


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


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[hwloc.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...


The following system packages will first need to be installed:
    autoconf automake libtool


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /opt/homebrew/bin/brew "install" "autoconf" "automake" "libtool"
- ==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/manifests/2.72
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/b73cdb320c4261bbf8d02d03e50dc755c869c5859c1d4e93616898fc7cd939ff--autoconf-2.72.bottle_manifest.json
- ==> Fetching dependencies for autoconf: m4
- ==> Downloading https://ghcr.io/v2/homebrew/core/m4/manifests/1.4.19
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/5b2a7f715487b7377e409e8ca58569040cd89f33859f691210c58d94410fd33b--m4-1.4.19.bottle_manifest.json
- ==> Fetching m4
- ==> Downloading https://ghcr.io/v2/homebrew/core/m4/blobs/sha256:f42d89db519a07d67bcaead6c8dfb2da45e8266bebb996dd8b3f19b1ca13b8a0
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/943052706ee3b934ae9cf355e827619bbe1f44764123c7e7cce4efde11c24b28--m4--1.4.19.arm64_sonoma.bottle.tar.gz
- ==> Fetching autoconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/blobs/sha256:bb39057e87dd9cb940bee15ff5b5172952a0350e59b14a6f55b8006a07813186
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/1a38a8f6163e382c183d2ba1818126e56dad47f8a591fcad5f809a4be8b37862--autoconf--2.72.arm64_sonoma.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/automake/manifests/1.16.5
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/6863d3ffa73c5a5cbf1f1ea9e47b60784d09b232ac9e56149c1b931d9ec44d8b--automake-1.16.5.bottle_manifest.json
- ==> Fetching automake
- ==> Downloading https://ghcr.io/v2/homebrew/core/automake/blobs/sha256:7a116fd1052d95a13b40837b85a34cca35dbae9ed2864d1db92abfa960176b55
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/6381dc6814c4fb1d0fa2fa16afb6ea02f6559648cd4ec2e6dc3f28b97323273f--automake--1.16.5.arm64_sonoma.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/libtool/manifests/2.4.7-1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/606e79b61b857bc4e83f71abf7afa8e087c4ad71539989e7066a4055439bf129--libtool-2.4.7-1.bottle_manifest.json
- ==> Fetching libtool
- ==> Downloading https://ghcr.io/v2/homebrew/core/libtool/blobs/sha256:211b174c29c24b3bdd42c44a12262ba479c4707b19bd2abd41f41a67f1b45cf5
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/80c0de6935b9b16d03d4d2d4f7e3fbc334bec8fdd9341275b699ae7443915050--libtool--2.4.7.arm64_sonoma.bottle.1.tar.gz
- ==> Installing dependencies for autoconf: m4
- ==> Installing autoconf dependency: m4
- ==> Downloading https://ghcr.io/v2/homebrew/core/m4/manifests/1.4.19
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/5b2a7f715487b7377e409e8ca58569040cd89f33859f691210c58d94410fd33b--m4-1.4.19.bottle_manifest.json
- ==> Pouring m4--1.4.19.arm64_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/m4/1.4.19: 13 files, 725.2KB
- ==> Installing autoconf
- ==> Pouring autoconf--2.72.arm64_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/autoconf/2.72: 71 files, 3.6MB
- ==> Running `brew cleanup autoconf`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
- ==> Pouring automake--1.16.5.arm64_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/automake/1.16.5: 131 files, 3.5MB
- ==> Running `brew cleanup automake`...
- ==> Pouring libtool--2.4.7.arm64_sonoma.bottle.1.tar.gz
- ==> Caveats
- All commands have been installed with the prefix "g".
- If you need to use these commands with their normal names, you
- can add a "gnubin" directory to your PATH from your bashrc like:
-   PATH="/opt/homebrew/opt/libtool/libexec/gnubin:$PATH"
- ==> Summary
- 🍺  /opt/homebrew/Cellar/libtool/2.4.7: 75 files, 3.8MB
- ==> Running `brew cleanup libtool`...
- ==> Caveats
- ==> libtool
- All commands have been installed with the prefix "g".
- If you need to use these commands with their normal names, you
- can add a "gnubin" directory to your PATH from your bashrc like:
-   PATH="/opt/homebrew/opt/libtool/libexec/gnubin:$PATH"
2024-05-10 14:10.57 ---> saved as "1f69c7081b441b8e2c071bd0c05fd5f73d9b9deb5c2af793061c9b26468218f6"


/: (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...
The following actions will be performed:
  - install ocamlbuild         0.14.3
  - install dune               3.15.2
  - install cmdliner           1.2.0
  - install conf-libtool       1
  - install ocamlfind          1.9.6
  - install seq                base
  - install conf-which         1
  - install stdlib-shims       0.3.0
  - install ocaml-syntax-shims 1.0.0
  - install csexp              1.5.2
  - install bigarray-compat    1.1.0
  - install topkg              1.0.7
  - install re                 1.11.0
  - install conf-autoconf      0.1
  - install integers           0.7.0
  - install dune-configurator  3.15.2
  - install uutf               1.0.3
  - install fmt                0.9.0
  - install astring            0.8.5
  - install conf-automake      1
  - install ctypes             0.22.0
  - install alcotest           1.7.0
===== 22 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> installed conf-libtool.1
-> installed conf-which.1
-> retrieved ctypes.0.22.0  (cached)
-> installed conf-autoconf.0.1
-> retrieved alcotest.1.7.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> installed conf-automake.1
-> retrieved integers.0.7.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved re.1.11.0  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> installed ocamlbuild.0.14.3
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.15.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed bigarray-compat.1.1.0
-> installed dune-configurator.3.15.2
-> installed alcotest.1.7.0
-> installed ctypes.0.22.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-10 14:11.48 ---> saved as "8ca87342705f5b3e7e63f5f106dc5539eef882b1d78f2191a6bc56ad9046e6bb"


/: (copy (src .) (dst ./src))
2024-05-10 14:11.50 ---> saved as "6409eef9e91469ce3c859fa507c2a577c84e52eb12b332871939d518c30fec20"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 2, characters 14-17:
2 | (using ctypes 0.1)
                  ^^^
Error: Version 0.1 of the ctypes extension has been deleted in Dune 3.11.
Please port this project to a newer version of the extension, such as 0.3.
Hint: You will also need to upgrade to (lang dune 3.7).
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-10 14:11.55: Job failed: Failed: Build failed