Open
Description
The release/build process is working on Apple Silicon but failing on Intel Mac (the default GH runner) at the step that installs the riscv toolchain. The command that fails is:
brew tap riscv-software-src/riscv
brew install riscv-tools
Here's a transcript:
==> Tapping riscv-software-src/riscv
Cloning into '/usr/local/Homebrew/Library/Taps/riscv-software-src/homebrew-riscv'...
Tapped 5 formulae (20 files, 138.2KB).
==> Fetching dependencies for riscv-software-src/riscv/riscv-tools: readline, gawk, gnu-sed, flock, texinfo, riscv-software-src/riscv/riscv-gnu-toolchain, dtc, riscv-software-src/riscv/riscv-isa-sim and riscv-software-src/riscv/riscv-pk
==> Fetching readline
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.2.13
==> Downloading https://ghcr.io/v2/homebrew/core/readline/blobs/sha256:62d86d4a0c7be5d568eaf5abbb6477e4c95dc1821ef232bcb45b658dbf8f9bc4
==> Fetching gawk
==> Downloading https://ghcr.io/v2/homebrew/core/gawk/manifests/5.3.0-2
==> Downloading https://ghcr.io/v2/homebrew/core/gawk/blobs/sha256:30185c073065bff4138f1512603315c789babcb83a3253a8155b670e4baa32c1
==> Fetching gnu-sed
==> Downloading https://ghcr.io/v2/homebrew/core/gnu-sed/manifests/4.9-2
==> Downloading https://ghcr.io/v2/homebrew/core/gnu-sed/blobs/sha256:66f640fbd1291801c04dc8af37378c051aa1ddbb3a620df2b4b85b9f0f6df80e
==> Fetching flock
==> Downloading https://ghcr.io/v2/homebrew/core/flock/manifests/0.4.0
==> Downloading https://ghcr.io/v2/homebrew/core/flock/blobs/sha256:0b28bbaccdc54d4f0bcbc960731cd45dad2dd3538bc24f5e728e0ef0defa4a33
==> Fetching texinfo
==> Downloading https://ghcr.io/v2/homebrew/core/texinfo/manifests/7.1
==> Downloading https://ghcr.io/v2/homebrew/core/texinfo/blobs/sha256:97[19](https://github.com/athenavm/rustc-rv32e-toolchain/actions/runs/10422369680/job/28874273262#step:5:20)90897e2ec8424366cd1a0715972a58550890498b27a138f9d588115660fb
==> Fetching riscv-software-src/riscv/riscv-gnu-toolchain
==> Cloning https://github.com/riscv/riscv-gnu-toolchain.git
Cloning into '/Users/runner/Library/Caches/Homebrew/riscv-gnu-toolchain--git'...
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:
'linux-headers/include/linux/netfilter/xt_CONNMARK.h'
'linux-headers/include/linux/netfilter/xt_connmark.h'
'linux-headers/include/linux/netfilter/xt_DSCP.h'
'linux-headers/include/linux/netfilter/xt_dscp.h'
'linux-headers/include/linux/netfilter/xt_MARK.h'
'linux-headers/include/linux/netfilter/xt_mark.h'
'linux-headers/include/linux/netfilter/xt_RATEEST.h'
'linux-headers/include/linux/netfilter/xt_rateest.h'
'linux-headers/include/linux/netfilter/xt_TCPMSS.h'
'linux-headers/include/linux/netfilter/xt_tcpmss.h'
'linux-headers/include/linux/netfilter_ipv4/ipt_ECN.h'
'linux-headers/include/linux/netfilter_ipv4/ipt_ecn.h'
'linux-headers/include/linux/netfilter_ipv4/ipt_TTL.h'
'linux-headers/include/linux/netfilter_ipv4/ipt_ttl.h'
'linux-headers/include/linux/netfilter_ipv6/ip6t_HL.h'
'linux-headers/include/linux/netfilter_ipv6/ip6t_hl.h'
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> Fetching dtc
==> Downloading https://ghcr.io/v2/homebrew/core/dtc/manifests/1.7.0
==> Downloading https://ghcr.io/v2/homebrew/core/dtc/blobs/sha256:2272219303c0ed39def742cfbccfccf2c36f5d17387db9b6a49121d7c2aafef9
==> Fetching riscv-software-src/riscv/riscv-isa-sim
==> Cloning https://github.com/riscv/riscv-isa-sim.git
Cloning into '/Users/runner/Library/Caches/Homebrew/riscv-isa-sim--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> Fetching riscv-software-src/riscv/riscv-pk
==> Cloning https://github.com/riscv/riscv-pk.git
Cloning into '/Users/runner/Library/Caches/Homebrew/riscv-pk--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> Fetching riscv-software-src/riscv/riscv-tools
==> Downloading https://github.com/riscv/riscv-tools/archive/homebrew.tar.gz
==> Downloading from https://codeload.github.com/riscv-software-src/riscv-tools/tar.gz/refs/tags/homebrew
==> Installing riscv-tools from riscv-software-src/riscv
==> Installing dependencies for riscv-software-src/riscv/riscv-tools: readline, gawk, gnu-sed, flock, texinfo, riscv-software-src/riscv/riscv-gnu-toolchain, dtc, riscv-software-src/riscv/riscv-isa-sim and riscv-software-src/riscv/riscv-pk
==> Installing riscv-software-src/riscv/riscv-tools dependency: readline
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.2.13
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/aa1afa38997a2866d91c81fdda8b36d436cd4ea7a82aed07d13c83c56eb3460e--readline-8.2.13.bottle_manifest.json
==> Pouring readline--8.2.13.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/readline/8.2.13: 51 files, 1.7MB
==> Installing riscv-software-src/riscv/riscv-tools dependency: gawk
==> Downloading https://ghcr.io/v2/homebrew/core/gawk/manifests/5.3.0-2
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/5e52c76af006fdbc89a627627ea275a194e08d890c431080758b0d96d67b0a3f--gawk-5.3.0-2.bottle_manifest.json
==> Pouring gawk--5.3.0.ventura.bottle.2.tar.gz
🍺 /usr/local/Cellar/gawk/5.3.0: 107 files, 6MB
==> Installing riscv-software-src/riscv/riscv-tools dependency: gnu-sed
==> Downloading https://ghcr.io/v2/homebrew/core/gnu-sed/manifests/4.9-2
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/76f36ee40de04c6391017f0d87ac55b273e9e870c9b6ca1feb923d95ffc1c0cd--gnu-sed-4.9-2.bottle_manifest.json
==> Pouring gnu-sed--4.9.ventura.bottle.2.tar.gz
🍺 /usr/local/Cellar/gnu-sed/4.9: 13 files, 630.9KB
==> Installing riscv-software-src/riscv/riscv-tools dependency: flock
==> Downloading https://ghcr.io/v2/homebrew/core/flock/manifests/0.4.0
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/b[20](https://github.com/athenavm/rustc-rv32e-toolchain/actions/runs/10422369680/job/28874273262#step:5:21)587f95b560b4c80d05ae6274671fdaea58ce67cc1fc9255facd811b683692--flock-0.4.0.bottle_manifest.json
==> Pouring flock--0.4.0.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/flock/0.4.0: 7 files, 63.2KB
==> Installing riscv-software-src/riscv/riscv-tools dependency: texinfo
==> Downloading https://ghcr.io/v2/homebrew/core/texinfo/manifests/7.1
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/a6ba99ebaacd398154745b25484544963ff1b229ee0e853ecb3e17f744c69f76--texinfo-7.1.bottle_manifest.json
==> Pouring texinfo--7.1.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/texinfo/7.1: 494 files, 9.1MB
==> Installing riscv-software-src/riscv/riscv-tools dependency: riscv-software-src/riscv/riscv-gnu-toolchain
==> git submodule update --depth 1 --init --recursive newlib
==> git submodule update --depth 1 --init --recursive binutils
==> git submodule update --depth 1 --init --recursive gcc
==> ./configure --with-cmodel=medany --disable-gdb --enable-multilib
==> make
Warning: Not overwriting share/gdb
Warning: Not overwriting share/gdb
Warning: Not overwriting share/info
Warning: Not overwriting share/info
🍺 /usr/local/Cellar/riscv-gnu-toolchain/main: 1,969 files, 297.6MB, built in 48 minutes 43 seconds
==> Installing riscv-software-src/riscv/riscv-tools dependency: dtc
==> Downloading https://ghcr.io/v2/homebrew/core/dtc/manifests/1.7.0
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/00668efdbca5875f4206[21](https://github.com/athenavm/rustc-rv32e-toolchain/actions/runs/10422369680/job/28874273262#step:5:22)ff3011ae53448a6324636c2a27fe2323933c1ef3fa--dtc-1.7.0.bottle_manifest.json
==> Pouring dtc--1.7.0.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/dtc/1.7.0: 19 files, 548.0KB
==> Installing riscv-software-src/riscv/riscv-tools dependency: riscv-software-src/riscv/riscv-isa-sim
==> ../configure --prefix=/usr/local/Cellar/riscv-isa-sim/main --with-target=../
==> make
==> make install
🍺 /usr/local/Cellar/riscv-isa-sim/main: 69 files, 44.1MB, built in 3 minutes
==> Installing riscv-software-src/riscv/riscv-tools dependency: riscv-software-src/riscv/riscv-pk
==> ../configure --prefix=/usr/local/Cellar/riscv-pk/main --host=riscv64-unknown
==> make install
🍺 /usr/local/Cellar/riscv-pk/main: 48 files, 811KB, built in 8 seconds
==> Installing riscv-software-src/riscv/riscv-tools
🍺 /usr/local/Cellar/riscv-tools/0.2: 5 files, 54.5KB, built in 1 second
==> Upgrading 3 dependents of upgraded formulae:
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
gradle 8.9 -> 8.10, sqlite 3.46.0 -> 3.46.1, python@3.12 3.12.4 -> 3.12.5
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.46.1
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.5
==> Downloading https://ghcr.io/v2/homebrew/core/gradle/manifests/8.10
==> Fetching dependencies for gradle: python@3.12
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.5
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/2cc40b4b76a48e24e9d83ccbaa744d74a15494[22](https://github.com/athenavm/rustc-rv32e-toolchain/actions/runs/10422369680/job/28874273262#step:5:23)4fdcd425d2fefeb9100357b8--python@3.12-3.12.5.bottle_manifest.json
==> Fetching python@3.12
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/blobs/sha256:af7af812d9b66eddb1164ff90a0851da6658516b04746abee8c44d953dc8bc8e
==> Fetching gradle
==> Downloading https://ghcr.io/v2/homebrew/core/gradle/blobs/sha256:c5b4d9a4e299179c513419ff0bd1658c9f47da9454a9b276f1b08fe77b2fd2aa
==> Upgrading gradle
8.9 -> 8.10
==> Installing dependencies for gradle: python@3.12
==> Installing gradle dependency: python@3.12
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.5
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/2cc40b4b76a48e[24](https://github.com/athenavm/rustc-rv32e-toolchain/actions/runs/10422369680/job/28874273262#step:5:25)e9d83ccbaa744d74a15494224fdcd4[25](https://github.com/athenavm/rustc-rv32e-toolchain/actions/runs/10422369680/job/28874273262#step:5:26)d2fefeb9100357b8--python@3.12-3.12.5.bottle_manifest.json
==> Pouring python@3.12--3.12.5.ventura.bottle.tar.gz
Error: The `brew link` step did not complete successfully
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3
Target /usr/local/bin/2to3
already exists. You may want to remove it:
rm '/usr/local/bin/2to3'
To force the link and overwrite all conflicting files:
brew link --overwrite python@3.12
To list all files that would be deleted:
brew link --overwrite python@3.12 --dry-run
Possible conflicting files are:
/usr/local/bin/2to3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/2to3
/usr/local/bin/2to3-3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/2to3-3.12
/usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/idle3
/usr/local/bin/idle3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/idle3.12
/usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3
/usr/local/bin/pydoc3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3.12
/usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3
/usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3-config
/usr/local/bin/python3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/usr/local/bin/python3.12-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-config
==> /usr/local/Cellar/python@3.12/3.12.5/bin/python3.12 -Im ensurepip
==> /usr/local/Cellar/python@3.12/3.12.5/bin/python3.12 -Im pip install -v --no-
==> Summary
🍺 /usr/local/Cellar/python@3.12/3.12.5: 3,259 files, 63.3MB
==> Installing gradle
==> Pouring gradle--8.10.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/gradle/8.10: 21,892 files, [44](https://github.com/athenavm/rustc-rv32e-toolchain/actions/runs/10422369680/job/28874273262#step:5:45)9MB
==> Checking for dependents of upgraded formulae...
==> No broken dependents found!
Error: Process completed with exit code 1.
See https://github.com/athenavm/rustc-rv32e-toolchain/actions/runs/10422369680/job/28874273262
Metadata
Metadata
Assignees
Labels
No labels