Organisationspatricoferrisocaml-hwloc3447dc (main)macos-homebrew-4.14_opam-2.1

macos-homebrew-4.14_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-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/patricoferris/ocaml-hwloc.git" -b "main" && cd "ocaml-hwloc" && git reset --hard 3447dc5c
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 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14-macos-homebrew-4.14_opam-2.1-1ef7582149fb25071ccf136bfd62b920"
2024-05-10 09:04.08: 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 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 14:14.32: Waiting for worker…
2024-05-11 05:27.19: Got resource from pool OCluster
Building on i7-worker-01
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-4.14)
2024-05-11 05:27.23 ---> 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-05-11 05:27.23 ---> 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-05-11 05:27.23 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-11 05:27.24 ---> 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 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
   3505e93828..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
  - 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.
# Run eval $(opam env) to update the current shell environment
2024-05-11 05:27.24 ---> using "b24024a94c88960a6d52d30e3215e2b1a36b271af80c110265910615be43062b" from cache


/: (copy (src hwloc.opam) (dst ./src/./))
2024-05-11 05:27.27 ---> saved as "96695576863c44c9fc73770baee2a82dbc57318998e791b6ae96e6abbd719da2"


/: (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-11 05:27.44 ---> saved as "5e5cb507f3743d51d206fecd32ab98ec054598b5b7de49c3917b80b817f6259b"


/: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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"))
+ /usr/local/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 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices


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


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/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:8434a67a4383836b2531a6180e068640c5b482ee6781b673d65712e4fc86ca76
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/0e3480172f085cbca9764fc4feba3355055e53874ec72be2a2c99baf60fb7210--m4--1.4.19.sonoma.bottle.tar.gz
- ==> Fetching autoconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/blobs/sha256:12368e33b89d221550ba9e261b0c6ece0b0e89250fb4c95169d09081e0ebb2dd
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/2757d5a05e0182c42ae980efbaac407b618c087aadc3c98e59b50352dae28e0c--autoconf--2.72.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:4f3ecdf86b3a0302f64b848440b0595095face19a0b9778498e5e64d022c1a81
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/e08306fca85fc757db80b30312ed78c4dad1f6e8706b6c6c901631445da307ed--automake--1.16.5.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:47676ae503261483d5f1f35caa074efc416527bc471e25b0dc5c19bf588ed39f
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/5c5cfb03e96043387b8ec7cae0a711576d4f9ee87de42db36aac6b806a3cde0c--libtool--2.4.7.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.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/m4/1.4.19: 13 files, 738.9KB
- ==> Installing autoconf
- ==> Pouring autoconf--2.72.sonoma.bottle.tar.gz
- 🍺  /usr/local/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.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/automake/1.16.5: 131 files, 3.5MB
- ==> Running `brew cleanup automake`...
- ==> Pouring libtool--2.4.7.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="/usr/local/opt/libtool/libexec/gnubin:$PATH"
- ==> Summary
- 🍺  /usr/local/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="/usr/local/opt/libtool/libexec/gnubin:$PATH"
2024-05-11 05:28.43 ---> saved as "5eee9cb1f6dd2a8061d64af831c6b88f9ff6064d8d43014028865c487d7623b4"


/: (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 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 = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
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)
-> installed conf-libtool.1
-> installed conf-which.1
-> retrieved cmdliner.1.2.0  (cached)
-> installed conf-autoconf.0.1
-> retrieved ctypes.0.22.0  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> installed conf-automake.1
-> retrieved fmt.0.9.0  (cached)
-> 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 dune-configurator.3.15.2  (cached)
-> installed ocamlbuild.0.14.3
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.15.2  (cached)
-> 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 csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed bigarray-compat.1.1.0
-> installed integers.0.7.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-11 05:31.21 ---> saved as "3416875e46dd8a517bbd36ed6857dda91a5dbd3ea9e6b3107d8ff60520a1ade4"


/: (copy (src .) (dst ./src))
2024-05-11 05:31.26 ---> saved as "4cc938f95f00c22ef70801c97b5e90e57b6f685e7db36a7832ba4ca3f66300ba"


/: (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-11 05:31.33: Job failed: Failed: Build failed