Skip to content

Instantly share code, notes, and snippets.

@fsouza
Created December 31, 2011 00:45
Show Gist options
  • Save fsouza/1542251 to your computer and use it in GitHub Desktop.
Save fsouza/1542251 to your computer and use it in GitHub Desktop.
% brew upgrade
==> Upgrading 2 outdated packages, with result:
git 1.7.8.2, readline 6.2.2
==> Upgrading git
==> Downloading http://git-core.googlecode.com/files/git-1.7.8.2.tar.gz
File already downloaded in /Users/francisco.souza/Library/Caches/Homebrew
==> make prefix=/usr/local/Cellar/git/1.7.8.2 install
GIT_VERSION = 1.7.8.2
* new build flags or prefix
* new link flags
./generate-cmdlist.sh > common-cmds.h+ && mv common-cmds.h+ common-cmds.h
/usr/bin/llvm-gcc -o hex.o -c -MF ./.depend/hex.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM hex.c
/usr/bin/llvm-gcc -o ident.o -c -MF ./.depend/ident.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM ident.c
/usr/bin/llvm-gcc -o kwset.o -c -MF ./.depend/kwset.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM kwset.c
/usr/bin/llvm-gcc -o levenshtein.o -c -MF ./.depend/levenshtein.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM levenshtein.c
/usr/bin/llvm-gcc -o list-objects.o -c -MF ./.depend/list-objects.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM list-objects.c
/usr/bin/llvm-gcc -o ll-merge.o -c -MF ./.depend/ll-merge.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM ll-merge.c
/usr/bin/llvm-gcc -o lockfile.o -c -MF ./.depend/lockfile.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM lockfile.c
/usr/bin/llvm-gcc -o log-tree.o -c -MF ./.depend/log-tree.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM log-tree.c
/usr/bin/llvm-gcc -o mailmap.o -c -MF ./.depend/mailmap.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM mailmap.c
/usr/bin/llvm-gcc -o match-trees.o -c -MF ./.depend/match-trees.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM match-trees.c
/usr/bin/llvm-gcc -o merge-file.o -c -MF ./.depend/merge-file.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM merge-file.c
/usr/bin/llvm-gcc -o merge-recursive.o -c -MF ./.depend/merge-recursive.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM merge-recursive.c
/usr/bin/llvm-gcc -o name-hash.o -c -MF ./.depend/name-hash.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM name-hash.c
/usr/bin/llvm-gcc -o notes.o -c -MF ./.depend/notes.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM notes.c
/usr/bin/llvm-gcc -o notes-cache.o -c -MF ./.depend/notes-cache.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM notes-cache.c
/usr/bin/llvm-gcc -o notes-merge.o -c -MF ./.depend/notes-merge.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM notes-merge.c
/usr/bin/llvm-gcc -o object.o -c -MF ./.depend/object.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM object.c
/usr/bin/llvm-gcc -o pack-check.o -c -MF ./.depend/pack-check.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM pack-check.c
/usr/bin/llvm-gcc -o pack-refs.o -c -MF ./.depend/pack-refs.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM pack-refs.c
/usr/bin/llvm-gcc -o pack-revindex.o -c -MF ./.depend/pack-revindex.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM pack-revindex.c
/usr/bin/llvm-gcc -o pack-write.o -c -MF ./.depend/pack-write.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM pack-write.c
/usr/bin/llvm-gcc -o pager.o -c -MF ./.depend/pager.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM pager.c
/usr/bin/llvm-gcc -o parse-options.o -c -MF ./.depend/parse-options.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM parse-options.c
/usr/bin/llvm-gcc -o parse-options-cb.o -c -MF ./.depend/parse-options-cb.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM parse-options-cb.c
/usr/bin/llvm-gcc -o patch-delta.o -c -MF ./.depend/patch-delta.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM patch-delta.c
/usr/bin/llvm-gcc -o patch-ids.o -c -MF ./.depend/patch-ids.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM patch-ids.c
/usr/bin/llvm-gcc -o path.o -c -MF ./.depend/path.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM path.c
/usr/bin/llvm-gcc -o pkt-line.o -c -MF ./.depend/pkt-line.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM pkt-line.c
/usr/bin/llvm-gcc -o preload-index.o -c -MF ./.depend/preload-index.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM preload-index.c
/usr/bin/llvm-gcc -o pretty.o -c -MF ./.depend/pretty.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM pretty.c
/usr/bin/llvm-gcc -o progress.o -c -MF ./.depend/progress.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM progress.c
/usr/bin/llvm-gcc -o quote.o -c -MF ./.depend/quote.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM quote.c
/usr/bin/llvm-gcc -o reachable.o -c -MF ./.depend/reachable.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM reachable.c
/usr/bin/llvm-gcc -o read-cache.o -c -MF ./.depend/read-cache.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM read-cache.c
/usr/bin/llvm-gcc -o reflog-walk.o -c -MF ./.depend/reflog-walk.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM reflog-walk.c
/usr/bin/llvm-gcc -o refs.o -c -MF ./.depend/refs.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM refs.c
/usr/bin/llvm-gcc -o remote.o -c -MF ./.depend/remote.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM remote.c
/usr/bin/llvm-gcc -o replace_object.o -c -MF ./.depend/replace_object.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM replace_object.c
/usr/bin/llvm-gcc -o rerere.o -c -MF ./.depend/rerere.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM rerere.c
/usr/bin/llvm-gcc -o resolve-undo.o -c -MF ./.depend/resolve-undo.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM resolve-undo.c
/usr/bin/llvm-gcc -o revision.o -c -MF ./.depend/revision.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM revision.c
/usr/bin/llvm-gcc -o run-command.o -c -MF ./.depend/run-command.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM run-command.c
/usr/bin/llvm-gcc -o server-info.o -c -MF ./.depend/server-info.o.d -MMD -MP -O3 -w -pipe -march=core2 -msse4 -I. -DUSE_ST_TIMESPEC -DSHA1_HEADER='<openssl/sha.h>' -DNO_MEMMEM server-info.c
revision.c: In function ‘init_revisions’:
revision.c:1031: error: ‘REG_NEWLINE’ undeclared (first use in this function)
revision.c:1031: error: (Each undeclared identifier is reported only once
revision.c:1031: error: for each function it appears in.)
revision.c: In function ‘handle_revision_opt’:
revision.c:1559: error: ‘REG_EXTENDED’ undeclared (first use in this function)
revision.c:1561: error: ‘REG_ICASE’ undeclared (first use in this function)
make: *** [revision.o] Error 1
make: *** Waiting for unfinished jobs....
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/git.rb#L51
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 3620f37d6bbda13dcc864ea88e45cf93fd5474c1
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: quad-core 64-bit sandybridge
OS X: 10.7.2
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.2.1
GCC-4.0: build 5658
GCC-4.2: build 5666
LLVM: build 2336
Clang: 3.0-211.12
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: -O3 -w -pipe -march=core2 -msse4
CXXFLAGS: -O3 -w -pipe -march=core2 -msse4
MAKEFLAGS: -j4
Error: Failed executing: make prefix=/usr/local/Cellar/git/1.7.8.2 instal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment