riscv-software-src / homebrew-riscv

homebrew (macOS) packages for RISC-V toolchain
https://riscv.org
304 stars 50 forks source link

Homebrew Installation Error #92

Closed ThePerfectComputer closed 1 year ago

ThePerfectComputer commented 2 years ago

Running brew install riscv-tools on macOS Monterey Apple Silicon fails on:

==> git submodule update --init --recursive riscv-binutils
Last 15 lines from /Users/redacted/Library/Logs/Homebrew/riscv-gnu-toolchain/02.git:
2022-08-23 22:34:51 +0000

git
submodule
update
--init
--recursive
riscv-binutils

error: pathspec 'riscv-binutils' did not match any file(s) known to git

Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
Sync the binutils name with riscv-gnu-toolchain repo https://github.com/riscv-software-src/homebrew-riscv/pull/91
brandaogbs commented 2 years ago

While we don't have the official fix, you can try the solution I've reported on riscv-collab/riscv-gnu-toolchain/issues/1117#issuecomment-1229446707

dianhsu commented 2 years ago

While we don't have the official fix, you can try the solution I've reported on riscv-collab/riscv-gnu-toolchain/issues/1117#issuecomment-1229446707

Thanks, it works.

sbeamer commented 1 year ago

This should have been fixed by: https://github.com/riscv-software-src/homebrew-riscv/pull/91