title: Validation fail when brew install riscv tools
body: <p>I have brew installed riscv-tools on Mac OS, at the step of building riscv-gnu-toolchain.</p>
  <blockquote>
  <p>./configure --prefix=/usr/local/Cellar/riscv-gnu-toolchain/main --with-cmode</p>
  </blockquote>
  <p>The command above has been executed and when executing</p>
  <blockquote>
  <p>make</p>
  </blockquote>
  <p>The following error is reported:</p>
  <pre><code>/usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:304:in 
  `raise_error': Validation Failed: 
  [
    {&quot;message&quot;=&gt;&quot;The listed users and repositories cannot be 
    searched either because the resources do not exist or you do 
    not have permission to view them.&quot;,
    &quot;resource&quot;=&gt;&quot;Search&quot;, &quot;field&quot;=&gt;&quot;q&quot;, &quot;code&quot;=&gt;&quot;invalid&quot;}
  ] 
  (GitHub::API::ValidationFailedError)
  from 
  /usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:234:in &quot;open_rest&quot;
  from
  /usr/local/Homebrew/Library/Homebrew/utils/github.rb:166:in &quot;search&quot;
  </code></pre>
  <p>It seems that I am lacking permission to a certain directory.</p>
  <p>How can I obtain that permission?</p>