title: gdb: no bottle available-gdb install
body: <p>I'm trying to install gdb command on my (M1) Mac OS  11.5.2, but I got brew error &quot;gdb: no bottle available!&quot;</p>
  <p>I use <code>brew install gdb </code> here's the output:</p>
  <pre><code>Error: gdb: no bottle available!
  You can try to install from source with:
    brew install --build-from-source gdb
  Please note building from source is unsupported. You will encounter build
  failures with some formulae. If you experience any issues please create pull
  requests instead of asking for help on Homebrew's GitHub, Twitter or any other
  official channels.
  </code></pre>
  <p>I try to use <code>brew install --build-from-source gdb</code> here's the output:</p>
  <pre><code>==&gt; Downloading https://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.xz
  Already downloaded: /Users/XX/Library/Caches/Homebrew/downloads/3b9f42b326145a6a827e12965049f662e7fa6b9687d9263219c87418d4f8835d--gdb-10.2.tar.xz
  ==&gt; ../configure --enable-targets=all --prefix=/opt/homebrew/Cellar/gdb/10.2 --disable-debug --disable-dependency-tracking --with-lzma --w
  ==&gt; make
  ==&gt; make install-gdb maybe-install-gdbserver
  Error: Empty installation
  </code></pre>
  <p>Here's my <code>brew config</code> output:</p>
  <pre><code>HOMEBREW_VERSION: 3.2.8
  ORIGIN: https://mirrors.ustc.edu.cn/brew.git
  HEAD: f026dd21c195952747395ebdda24327204f012ec
  Last commit: 5 days ago
  Core tap ORIGIN: https://mirrors.ustc.edu.cn/homebrew-core.git
  Core tap HEAD: d91b62c128523ef6fb6dcf7b227071a8a2b561c0
  Core tap last commit: 2 hours ago
  Core tap branch: master
  HOMEBREW_PREFIX: /opt/homebrew
  HOMEBREW_CASK_OPTS: []
  HOMEBREW_MAKE_JOBS: 8
  Homebrew Ruby: 2.6.3 =&gt; /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
  CPU: octa-core 64-bit arm_firestorm_icestorm
  Clang: 12.0.5 build 1205
  Git: 2.30.1 =&gt; /Library/Developer/CommandLineTools/usr/bin/git
  Curl: 7.64.1 =&gt; /usr/bin/curl
  macOS: 11.5.2-arm64
  CLT: 12.5.1.0.1.1623191612
  Xcode: N/A
  Rosetta 2: false
  </code></pre>
  <p>I don't know how to slove it. Please help me if you know the answer.</p>