Skip to content

Instantly share code, notes, and snippets.

@tiyberius
Created April 20, 2014 11:59
Show Gist options
  • Select an option

  • Save tiyberius/11112443 to your computer and use it in GitHub Desktop.

Select an option

Save tiyberius/11112443 to your computer and use it in GitHub Desktop.
GDB failed to build on 10.9.2
a. The output from HOMEBREW_MAKE_JOBS=1 brew install -v <formula name> 2>&1:
$ HOMEBREW_MAKE_JOBS=1 brew install -v gdb 2>&1
==> Downloading http://ftpmirror.gnu.org/gdb/gdb-7.5.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gdb-7.5.1.tar.bz2
==> Verifying gdb-7.5.1.tar.bz2 checksum
tar xf /Library/Caches/Homebrew/gdb-7.5.1.tar.bz2
==> Downloading https://raw.github.com/gist/4197567/dad208436d69ba591200098c91a94fa9e1cdc160/loadcommands.patch
/usr/bin/curl -fLA Homebrew 0.9.5 (Ruby 1.8.7-358; Mac OS X 10.9.2) https://raw.github.com/gist/4197567/dad208436d69ba591200098c91a94fa9e1cdc160/loadcommands.patch -C 0 -o /Library/Caches/Homebrew/gdb--patch-https%3A%2F%2Fraw.github.com%2Fgist%2F4197567%2Fdad208436d69ba591200098c91a94fa9e1cdc160%2Floadcommands.patch.patch.incomplete
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "gdb--patch"
Download failed: https://raw.github.com/gist/4197567/dad208436d69ba591200098c91a94fa9e1cdc160/loadcommands.patch
b. The contents of the largest numbered log in ~/Library/Logs/Homebrew/gdb
No Logs present in ~/Library/Logs/Homebrew/gdb
c. The output from brew doctor, and
$ brew doctor
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
unix2dos
d. The output from brew --config.
$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 3bac79f3a70c2e79382f004f8fd3baa90e593acd
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
Clang: 5.1 build 503
X11: 2.7.5 => /opt/X11
System Ruby: 1.8.7-358
Perl: /Applications/xampp/xamppfiles/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/1.9.3-p194/bin/ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment