'Validation fail when brew install riscv tools

I have brew installed riscv-tools on Mac OS, at the step of building riscv-gnu-toolchain.

./configure --prefix=/usr/local/Cellar/riscv-gnu-toolchain/main --with-cmode

The command above has been executed and when executing

make

The following error is reported:

/usr/local/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)
from 
/usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:234:in "open_rest"
from
/usr/local/Homebrew/Library/Homebrew/utils/github.rb:166:in "search"

It seems that I am lacking permission to a certain directory.

How can I obtain that permission?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source