Skip to content

Instantly share code, notes, and snippets.

@jwoertink
Created November 22, 2011 18:33
Show Gist options
  • Save jwoertink/1386462 to your computer and use it in GitHub Desktop.
Save jwoertink/1386462 to your computer and use it in GitHub Desktop.
jeremywoertink$ brew doctor
==> You have uncommitted modifications to Homebrew's core.
Unless you know what you are doing, you should: git reset --hard
jeremywoertink$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# Library/Aliases/sshfs
# Library/Contributions/examples/brew-audit.rb
# Library/Contributions/examples/brew-fetch.rb
# Library/Contributions/examples/brew-options.rb
# Library/Contributions/examples/brew-test.rb
# Library/Formula/allegro.rb
# Library/Formula/distribute.rb
# Library/Formula/ncursesw.rb
# Library/Formula/openldap.rb
# Library/Formula/pip.rb
# Library/Formula/rsync.rb
# Library/Formula/sc.rb
# Library/Formula/sshfs-fuse.rb
# Library/Homebrew/beer_events.rb
# Library/Homebrew/brew.h.rb
# Library/Homebrew/brew_doctor.rb
# Library/Homebrew/update.rb
nothing added to commit but untracked files present (use "git add" to track)
jeremywoertink$ brew update
Already up-to-date.
**** NOTE *****
No clue how any of these files got added..... git reset --hard won't remove them because they're untracked
jeremywoertink$ brew install -v pianobar
==> Downloading https://github.com/PromyLOPh/pianobar/zipball/2011.11.11
File already downloaded in /Users/jeremywoertink/Library/Caches/Homebrew
/usr/bin/unzip /Users/jeremywoertink/Library/Caches/Homebrew/pianobar-2011.11.11.zip
Archive: /Users/jeremywoertink/Library/Caches/Homebrew/pianobar-2011.11.11.zip
3e639e037b49c696e32acee0bd1c7034232392ae
creating: PromyLOPh-pianobar-3e639e0/
inflating: PromyLOPh-pianobar-3e639e0/.gitignore
inflating: PromyLOPh-pianobar-3e639e0/COPYING
inflating: PromyLOPh-pianobar-3e639e0/ChangeLog
inflating: PromyLOPh-pianobar-3e639e0/INSTALL
inflating: PromyLOPh-pianobar-3e639e0/Makefile
inflating: PromyLOPh-pianobar-3e639e0/README
creating: PromyLOPh-pianobar-3e639e0/contrib/
inflating: PromyLOPh-pianobar-3e639e0/contrib/addshared.sh
inflating: PromyLOPh-pianobar-3e639e0/contrib/change-station-dmenu.sh
inflating: PromyLOPh-pianobar-3e639e0/contrib/config-example
creating: PromyLOPh-pianobar-3e639e0/contrib/eventcmd-examples/
inflating: PromyLOPh-pianobar-3e639e0/contrib/eventcmd-examples/dmenu.pl
inflating: PromyLOPh-pianobar-3e639e0/contrib/eventcmd-examples/eventcmd.sh
inflating: PromyLOPh-pianobar-3e639e0/contrib/eventcmd-examples/rbot.rb
inflating: PromyLOPh-pianobar-3e639e0/contrib/eventcmd-examples/scrobble.py
inflating: PromyLOPh-pianobar-3e639e0/contrib/pianobar.1
inflating: PromyLOPh-pianobar-3e639e0/contrib/remote.sh
creating: PromyLOPh-pianobar-3e639e0/src/
inflating: PromyLOPh-pianobar-3e639e0/src/config.h
creating: PromyLOPh-pianobar-3e639e0/src/libezxml/
inflating: PromyLOPh-pianobar-3e639e0/src/libezxml/COPYING
inflating: PromyLOPh-pianobar-3e639e0/src/libezxml/ezxml.c
inflating: PromyLOPh-pianobar-3e639e0/src/libezxml/ezxml.h
creating: PromyLOPh-pianobar-3e639e0/src/libpiano/
extracting: PromyLOPh-pianobar-3e639e0/src/libpiano/config.h
inflating: PromyLOPh-pianobar-3e639e0/src/libpiano/crypt.c
inflating: PromyLOPh-pianobar-3e639e0/src/libpiano/crypt.h
inflating: PromyLOPh-pianobar-3e639e0/src/libpiano/crypt_key_input.h
inflating: PromyLOPh-pianobar-3e639e0/src/libpiano/crypt_key_output.h
inflating: PromyLOPh-pianobar-3e639e0/src/libpiano/piano.c
inflating: PromyLOPh-pianobar-3e639e0/src/libpiano/piano.h
inflating: PromyLOPh-pianobar-3e639e0/src/libpiano/piano_private.h
inflating: PromyLOPh-pianobar-3e639e0/src/libpiano/xml.c
inflating: PromyLOPh-pianobar-3e639e0/src/libpiano/xml.h
creating: PromyLOPh-pianobar-3e639e0/src/libwaitress/
extracting: PromyLOPh-pianobar-3e639e0/src/libwaitress/config.h
inflating: PromyLOPh-pianobar-3e639e0/src/libwaitress/waitress.c
inflating: PromyLOPh-pianobar-3e639e0/src/libwaitress/waitress.h
inflating: PromyLOPh-pianobar-3e639e0/src/main.c
inflating: PromyLOPh-pianobar-3e639e0/src/main.h
inflating: PromyLOPh-pianobar-3e639e0/src/player.c
inflating: PromyLOPh-pianobar-3e639e0/src/player.h
inflating: PromyLOPh-pianobar-3e639e0/src/settings.c
inflating: PromyLOPh-pianobar-3e639e0/src/settings.h
inflating: PromyLOPh-pianobar-3e639e0/src/terminal.c
inflating: PromyLOPh-pianobar-3e639e0/src/terminal.h
inflating: PromyLOPh-pianobar-3e639e0/src/ui.c
inflating: PromyLOPh-pianobar-3e639e0/src/ui.h
inflating: PromyLOPh-pianobar-3e639e0/src/ui_act.c
inflating: PromyLOPh-pianobar-3e639e0/src/ui_act.h
inflating: PromyLOPh-pianobar-3e639e0/src/ui_dispatch.c
inflating: PromyLOPh-pianobar-3e639e0/src/ui_dispatch.h
inflating: PromyLOPh-pianobar-3e639e0/src/ui_readline.c
inflating: PromyLOPh-pianobar-3e639e0/src/ui_readline.h
inflating: PromyLOPh-pianobar-3e639e0/src/ui_types.h
==> make PREFIX=/usr/local/Cellar/pianobar/2011.11.11
make PREFIX=/usr/local/Cellar/pianobar/2011.11.11
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/main.o src/main.c
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/player.o src/player.c
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/settings.o src/settings.c
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/terminal.o src/terminal.c
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/ui_act.o src/ui_act.c
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/ui.o src/ui.c
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/ui_readline.o src/ui_readline.c
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/ui_dispatch.o src/ui_dispatch.c
src/main.c:27:1: warning: "_DARWIN_C_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
src/settings.c:29:1: warning: "_DARWIN_C_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
src/terminal.c:27:1: warning: "_DARWIN_C_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
src/ui.c:29:1: warning: "_DARWIN_C_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/libpiano/crypt.o src/libpiano/crypt.c
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/libpiano/piano.o src/libpiano/piano.c
src/libpiano/piano.c:26:1: warning: "_DARWIN_C_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/libpiano/xml.o src/libpiano/xml.c
src/libpiano/xml.c:26:1: warning: "_DARWIN_C_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/libwaitress/waitress.o src/libwaitress/waitress.c
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/libezxml/ezxml.o src/libezxml/ezxml.c
src/libwaitress/waitress.c:27:1: warning: "_DARWIN_C_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
src/libezxml/ezxml.c:27:1: warning: "_DARWIN_C_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
src/libwaitress/waitress.c: In function ‘WaitressHandleHeader’:
src/libwaitress/waitress.c:683: warning: assignment from incompatible pointer type
src/libwaitress/waitress.c: In function ‘WaitressFetchCall’:
src/libwaitress/waitress.c:1034: warning: assignment from incompatible pointer type
src/libwaitress/waitress.c:1035: warning: assignment from incompatible pointer type
src/libwaitress/waitress.c:1036: warning: assignment from incompatible pointer type
src/libwaitress/waitress.c:1041: warning: assignment from incompatible pointer type
src/libwaitress/waitress.c:1042: warning: assignment from incompatible pointer type
src/libwaitress/waitress.c:1059: warning: passing argument 2 of ‘gnutls_transport_set_pull_function’ from incompatible pointer type
src/libwaitress/waitress.c:1061: warning: passing argument 2 of ‘gnutls_transport_set_push_function’ from incompatible pointer type
/usr/bin/llvm-gcc -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99 src/main.o src/player.o src/settings.o src/terminal.o src/ui_act.o src/ui.o src/ui_readline.o src/ui_dispatch.o src/libpiano/crypt.o src/libpiano/piano.o src/libpiano/xml.o \
src/libwaitress/waitress.o src/libezxml/ezxml.o -lao -lpthread -lm \
-lfaad -lmad -lgnutls -o pianobar
ld: library not found for -lao
collect2: ld returned 1 exit status
make: *** [pianobar] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/pianobar.rb#L30
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: a39a82f529606f2fcd0413ff67a75420059137c1
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit sandybridge
OS X: 10.6.8
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.0.2
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O2 -DNDEBUG -D_DARWIN_C_SOURCE -std=c99
CXXFLAGS: -O3 -march=core2 -w -pipe
MAKEFLAGS: -j8
Error: Failed executing: make PREFIX=/usr/local/Cellar/pianobar/2011.11.11
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/7325
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment