block in system': Failed executing: make (BuildError) from /opt/homebrew/Library/Homebrew/formula.rb:2243:in
open'
from /opt/homebrew/Library/Homebrew/formula.rb:2243:in system' from /opt/homebrew/Library/Taps/riscv/homebrew-riscv/riscv-gnu-toolchain.rb:40:in
install'
from /opt/homebrew/Library/Homebrew/build.rb:172:in block (3 levels) in install' from /opt/homebrew/Library/Homebrew/utils.rb:588:in
with_env'
from /opt/homebrew/Library/Homebrew/build.rb:134:in block (2 levels) in install' from /opt/homebrew/Library/Homebrew/formula.rb:1297:in
block in brew'
from /opt/homebrew/Library/Homebrew/formula.rb:2473:in block (2 levels) in stage' from /opt/homebrew/Library/Homebrew/utils.rb:588:in
with_env'
from /opt/homebrew/Library/Homebrew/formula.rb:2472:in block in stage' from /opt/homebrew/Library/Homebrew/resource.rb:126:in
block (2 levels) in unpack'
from /opt/homebrew/Library/Homebrew/download_strategy.rb:110:in chdir' from /opt/homebrew/Library/Homebrew/download_strategy.rb:102:in
stage'
from /opt/homebrew/Library/Homebrew/resource.rb:122:in block in unpack' from /opt/homebrew/Library/Homebrew/mktemp.rb:63:in
block in run'
from /opt/homebrew/Library/Homebrew/mktemp.rb:63:in chdir' from /opt/homebrew/Library/Homebrew/mktemp.rb:63:in
run'
from /opt/homebrew/Library/Homebrew/resource.rb:208:in mktemp' from /opt/homebrew/Library/Homebrew/resource.rb:121:in
unpack'
from /opt/homebrew/Library/Homebrew/resource.rb:96:in stage' from /opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/lib/ruby/2.6.0/forwardable.rb:230:in
stage'
from /opt/homebrew/Library/Homebrew/formula.rb:2452:in stage' from /opt/homebrew/Library/Homebrew/formula.rb:1290:in
brew'
from /opt/homebrew/Library/Homebrew/build.rb:129:in block in install' from /opt/homebrew/Library/Homebrew/utils.rb:588:in
with_env'
from /opt/homebrew/Library/Homebrew/build.rb:124:in install' from /opt/homebrew/Library/Homebrew/build.rb:224:in
==> sed -i .bak s/.=host-darwin.o$// riscv-gcc/gcc/config.host ==> sed -i .bak s/. x-darwin.$// riscv-gcc/gcc/config.host ==> ./configure --prefix=/opt/homebrew/Cellar/riscv-gnu-toolchain/master --with- ==> make Last 15 lines from /Users/zhangqiulei/Library/Logs/Homebrew/riscv-gnu-toolchain/04.make: installing /private/tmp/riscv-gnu-toolchain-20211007-39509-1h96yof/riscv-gdb/opcodes/po/vi.gmo as /opt/homebrew/Cellar/riscv-gnu-toolchain/master/share/locale/vi/LC_MESSAGES/opcodes.mo install: /private/tmp/riscv-gnu-toolchain-20211007-39509-1h96yof/riscv-gdb/opcodes/po/zh_CN.gmo: No such file or directory installing /private/tmp/riscv-gnu-toolchain-20211007-39509-1h96yof/riscv-gdb/opcodes/po/zh_CN.gmo as /opt/homebrew/Cellar/riscv-gnu-toolchain/master/share/locale/zh_CN/LC_MESSAGES/opcodes.mo if test "opcodes" = "gettext"; then \ if test -r /private/tmp/riscv-gnu-toolchain-20211007-39509-1h96yof/riscv-gdb/opcodes/../mkinstalldirs; then \ /private/tmp/riscv-gnu-toolchain-20211007-39509-1h96yof/riscv-gdb/opcodes/../mkinstalldirs /opt/homebrew/Cellar/riscv-gnu-toolchain/master/share/gettext/po; \ else \ /private/tmp/riscv-gnu-toolchain-20211007-39509-1h96yof/riscv-gdb/opcodes/mkinstalldirs /opt/homebrew/Cellar/riscv-gnu-toolchain/master/share/gettext/po; \ fi; \ /usr/bin/install -c -m 644 /private/tmp/riscv-gnu-toolchain-20211007-39509-1h96yof/riscv-gdb/opcodes/po/Makefile.in.in \ /opt/homebrew/Cellar/riscv-gnu-toolchain/master/share/gettext/po/Makefile.in.in; \ else \ : ; \ fi mkdir -p stamps/ && touch stamps/build-gdb-newlib
Do not report this issue to Homebrew/brew or Homebrew/core!
Traceback (most recent call last): 25: from /opt/homebrew/Library/Homebrew/build.rb:229:in'
7: from /opt/homebrew/Library/Homebrew/exceptions.rb:509:in
<main>' 24: from /opt/homebrew/Library/Homebrew/build.rb:133:in
install' 23: from /opt/homebrew/Library/Homebrew/utils.rb:550:inwith_env' 22: from /opt/homebrew/Library/Homebrew/build.rb:138:in
block in install' 21: from /opt/homebrew/Library/Homebrew/formula.rb:1275:inbrew' 20: from /opt/homebrew/Library/Homebrew/formula.rb:2434:in
stage' 19: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb:230:instage' 18: from /opt/homebrew/Library/Homebrew/resource.rb:91:in
stage' 17: from /opt/homebrew/Library/Homebrew/resource.rb:116:inunpack' 16: from /opt/homebrew/Library/Homebrew/resource.rb:199:in
mktemp' 15: from /opt/homebrew/Library/Homebrew/mktemp.rb:63:inrun' 14: from /opt/homebrew/Library/Homebrew/mktemp.rb:63:in
chdir' 13: from /opt/homebrew/Library/Homebrew/mktemp.rb:63:inblock in run' 12: from /opt/homebrew/Library/Homebrew/resource.rb:117:in
block in unpack' 11: from /opt/homebrew/Library/Homebrew/download_strategy.rb:102:instage' 10: from /opt/homebrew/Library/Homebrew/download_strategy.rb:110:in
chdir' 9: from /opt/homebrew/Library/Homebrew/resource.rb:121:inblock (2 levels) in unpack' 8: from /opt/homebrew/Library/Homebrew/formula.rb:2454:in
block in stage' 7: from /opt/homebrew/Library/Homebrew/utils.rb:550:inwith_env' 6: from /opt/homebrew/Library/Homebrew/formula.rb:2455:in
block (2 levels) in stage' 5: from /opt/homebrew/Library/Homebrew/formula.rb:1282:inblock in brew' 4: from /opt/homebrew/Library/Homebrew/build.rb:178:in
block (2 levels) in install' 3: from /opt/homebrew/Library/Taps/riscv/homebrew-riscv/riscv-gnu-toolchain.rb:41:ininstall' 2: from /opt/homebrew/Library/Homebrew/formula.rb:2225:in
system' 1: from /opt/homebrew/Library/Homebrew/formula.rb:2225:inopen' /opt/homebrew/Library/Homebrew/formula.rb:2289:in
block in system': Failed executing: make (BuildError) 9: from /opt/homebrew/Library/Homebrew/brew.rb:162:in<main>' 8: from /opt/homebrew/Library/Homebrew/brew.rb:174:in
rescue indump' 6: from /opt/homebrew/Library/Homebrew/exceptions.rb:455:in
issues' 5: from /opt/homebrew/Library/Homebrew/exceptions.rb:459:infetch_issues' 4: from /opt/homebrew/Library/Homebrew/utils/github.rb:61:in
issues_for_formula' 3: from /opt/homebrew/Library/Homebrew/utils/github.rb:30:insearch_issues' 2: from /opt/homebrew/Library/Homebrew/utils/github.rb:160:in
search' 1: from /opt/homebrew/Library/Homebrew/utils/github/api.rb:234:inopen_rest' /opt/homebrew/Library/Homebrew/utils/github/api.rb:304:in
raise_error': Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}] (GitHub::API::ValidationFailedError)