Created
September 3, 2013 21:55
-
-
Save tysonmote/6430114 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ % brew doctor | |
Your system is ready to brew. | |
~ % brew install go --cross-compile-common | |
==> Downloading https://go.googlecode.com/files/go1.1.2.src.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/go-1.1.2.tar.gz | |
==> ./make.bash --no-clean | |
==> ./make.bash --no-clean | |
==> ./make.bash --no-clean | |
/private/tmp/go-OXep/go/src/cmd/5l/../ld/lib.c:661:9: error: no case matching constant switch condition '53' [-Werror] | |
switch(thechar){ | |
^~~~~~~ | |
1 error generated. | |
go tool dist: FAILED: cc -Wall -Wstrict-prototypes -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Werror -fno-common -ggdb -pipe -O2 -mmacosx-version-min=10.6 -c -m64 -I /private/tmp/go-OXep/go/include -I /private/tmp/go-OXep/go/src/cmd/5l -o /private/tmp/go-OXep/go/pkg/obj/cmd/5l/lib.o /private/tmp/go-OXep/go/src/cmd/5l/../ld/lib.c | |
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting | |
These open issues may also help: | |
https://github.com/mxcl/homebrew/issues/21954 | |
https://github.com/mxcl/homebrew/issues/19580 | |
https://github.com/mxcl/homebrew/issues/22063 | |
~ % brew remove --force go | |
~ % brew doctor | |
Your system is ready to brew. | |
~ % brew install go --cross-compile-common -v | |
==> Downloading https://go.googlecode.com/files/go1.1.2.src.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/go-1.1.2.tar.gz | |
tar xf /Library/Caches/Homebrew/go-1.1.2.tar.gz | |
==> ./make.bash --no-clean | |
./make.bash --no-clean | |
# Building C bootstrap tool. | |
cmd/dist | |
# Building compilers and Go bootstrap tool for host, darwin/amd64. | |
lib9 | |
libbio | |
libmach | |
misc/pprof | |
cmd/addr2line | |
cmd/cov | |
cmd/nm | |
cmd/objdump | |
cmd/pack | |
cmd/prof | |
cmd/cc | |
cmd/gc | |
cmd/6l | |
cmd/8l | |
cmd/6a | |
cmd/8a | |
cmd/6c | |
cmd/8c | |
cmd/6g | |
cmd/8g | |
pkg/runtime | |
pkg/errors | |
pkg/sync/atomic | |
pkg/sync | |
pkg/io | |
pkg/unicode | |
pkg/unicode/utf8 | |
pkg/unicode/utf16 | |
pkg/bytes | |
pkg/math | |
pkg/strings | |
pkg/strconv | |
pkg/bufio | |
pkg/sort | |
pkg/container/heap | |
pkg/encoding/base64 | |
pkg/syscall | |
pkg/time | |
pkg/os | |
pkg/reflect | |
pkg/fmt | |
pkg/encoding/json | |
pkg/flag | |
pkg/path/filepath | |
pkg/path | |
pkg/io/ioutil | |
pkg/log | |
pkg/regexp/syntax | |
pkg/regexp | |
pkg/go/token | |
pkg/go/scanner | |
pkg/go/ast | |
pkg/go/parser | |
pkg/os/exec | |
pkg/os/signal | |
pkg/net/url | |
pkg/text/template/parse | |
pkg/text/template | |
pkg/go/doc | |
pkg/go/build | |
cmd/go | |
pkg/runtime (linux/386) | |
# Building packages and commands for host, darwin/amd64. | |
runtime | |
errors | |
sync/atomic | |
unicode | |
unicode/utf8 | |
math | |
sort | |
unicode/utf16 | |
crypto/subtle | |
container/list | |
sync | |
container/ring | |
image/color | |
runtime/race | |
container/heap | |
io | |
syscall | |
hash | |
crypto/cipher | |
crypto | |
hash/crc32 | |
crypto/hmac | |
hash/adler32 | |
hash/crc64 | |
hash/fnv | |
crypto/md5 | |
crypto/sha1 | |
crypto/sha256 | |
crypto/sha512 | |
bytes | |
strings | |
time | |
bufio | |
text/tabwriter | |
path | |
html | |
compress/bzip2 | |
strconv | |
math/rand | |
math/cmplx | |
os | |
reflect | |
regexp/syntax | |
net/url | |
encoding/base64 | |
crypto/aes | |
crypto/rc4 | |
path/filepath | |
os/exec | |
encoding/pem | |
net | |
os/signal | |
encoding/ascii85 | |
io/ioutil | |
encoding/base32 | |
image | |
regexp | |
fmt | |
encoding/binary | |
image/draw | |
image/jpeg | |
debug/dwarf | |
crypto/des | |
index/suffixarray | |
flag | |
go/token | |
text/template/parse | |
log | |
encoding/json | |
debug/elf | |
debug/macho | |
go/scanner | |
debug/pe | |
encoding/xml | |
compress/flate | |
go/ast | |
math/big | |
encoding/hex | |
text/template | |
mime | |
net/textproto | |
encoding/gob | |
runtime/pprof | |
compress/gzip | |
archive/zip | |
text/scanner | |
cmd/yacc | |
crypto/elliptic | |
go/parser | |
go/doc | |
go/printer | |
crypto/rand | |
crypto/dsa | |
encoding/asn1 | |
html/template | |
crypto/rsa | |
crypto/ecdsa | |
mime/multipart | |
archive/tar | |
go/build | |
compress/lzw | |
crypto/x509/pkix | |
compress/zlib | |
cmd/cgo | |
go/format | |
cmd/gofmt | |
crypto/x509 | |
cmd/fix | |
database/sql/driver | |
debug/gosym | |
database/sql | |
cmd/api | |
cmd/vet | |
encoding/csv | |
crypto/tls | |
image/gif | |
image/png | |
log/syslog | |
net/mail | |
os/user | |
runtime/debug | |
testing | |
testing/iotest | |
net/http | |
net/smtp | |
testing/quick | |
cmd/go | |
expvar | |
net/http/pprof | |
net/http/cgi | |
net/http/cookiejar | |
net/http/httptest | |
net/http/httputil | |
net/rpc | |
cmd/godoc | |
net/http/fcgi | |
net/rpc/jsonrpc | |
# Building packages and commands for linux/386. | |
runtime | |
errors | |
sync/atomic | |
unicode | |
unicode/utf8 | |
math | |
sort | |
unicode/utf16 | |
crypto/subtle | |
container/list | |
sync | |
container/ring | |
image/color | |
runtime/race | |
container/heap | |
io | |
syscall | |
hash | |
crypto/cipher | |
crypto | |
hash/crc32 | |
crypto/hmac | |
hash/adler32 | |
crypto/md5 | |
crypto/sha1 | |
crypto/sha256 | |
crypto/sha512 | |
bytes | |
strings | |
hash/crc64 | |
hash/fnv | |
bufio | |
text/tabwriter | |
path | |
html | |
time | |
compress/bzip2 | |
strconv | |
math/rand | |
math/cmplx | |
os | |
reflect | |
regexp/syntax | |
net/url | |
encoding/base64 | |
crypto/aes | |
crypto/rc4 | |
encoding/ascii85 | |
encoding/base32 | |
encoding/pem | |
image | |
path/filepath | |
os/exec | |
net | |
os/signal | |
io/ioutil | |
image/draw | |
image/jpeg | |
regexp | |
fmt | |
encoding/binary | |
debug/dwarf | |
crypto/des | |
index/suffixarray | |
flag | |
go/token | |
text/template/parse | |
log | |
encoding/json | |
encoding/xml | |
debug/elf | |
go/scanner | |
debug/macho | |
debug/pe | |
go/ast | |
compress/flate | |
math/big | |
text/template | |
encoding/hex | |
mime | |
net/textproto | |
encoding/gob | |
runtime/pprof | |
text/scanner | |
cmd/yacc | |
compress/gzip | |
archive/zip | |
archive/tar | |
html/template | |
compress/lzw | |
crypto/elliptic | |
go/doc | |
go/parser | |
go/printer | |
crypto/rand | |
crypto/ecdsa | |
crypto/dsa | |
crypto/rsa | |
encoding/asn1 | |
mime/multipart | |
compress/zlib | |
database/sql/driver | |
debug/gosym | |
go/build | |
cmd/cgo | |
go/format | |
cmd/gofmt | |
crypto/x509/pkix | |
database/sql | |
encoding/csv | |
cmd/fix | |
crypto/x509 | |
image/gif | |
cmd/api | |
cmd/vet | |
image/png | |
log/syslog | |
net/mail | |
crypto/tls | |
os/user | |
runtime/debug | |
testing | |
testing/iotest | |
testing/quick | |
net/http | |
net/smtp | |
cmd/go | |
expvar | |
net/http/pprof | |
net/http/cgi | |
net/http/cookiejar | |
net/http/httptest | |
net/http/httputil | |
net/rpc | |
cmd/godoc | |
net/http/fcgi | |
net/rpc/jsonrpc | |
--- | |
Installed Go for linux/386 in /private/tmp/go-BMVD/go | |
Installed commands in /private/tmp/go-BMVD/go/bin | |
The binaries expect /private/tmp/go-BMVD/go to be copied or moved to /usr/local/Cellar/go/1.1.2 | |
==> ./make.bash --no-clean | |
./make.bash --no-clean | |
# Building C bootstrap tool. | |
cmd/dist | |
# Building compilers and Go bootstrap tool for host, darwin/amd64. | |
lib9 | |
libbio | |
libmach | |
misc/pprof | |
cmd/addr2line | |
cmd/cov | |
cmd/nm | |
cmd/objdump | |
cmd/pack | |
cmd/prof | |
cmd/cc | |
cmd/gc | |
cmd/6l | |
cmd/6a | |
cmd/6c | |
cmd/6g | |
pkg/runtime | |
pkg/errors | |
pkg/sync/atomic | |
pkg/sync | |
pkg/io | |
pkg/unicode | |
pkg/unicode/utf8 | |
pkg/unicode/utf16 | |
pkg/bytes | |
pkg/math | |
pkg/strings | |
pkg/strconv | |
pkg/bufio | |
pkg/sort | |
pkg/container/heap | |
pkg/encoding/base64 | |
pkg/syscall | |
pkg/time | |
pkg/os | |
pkg/reflect | |
pkg/fmt | |
pkg/encoding/json | |
pkg/flag | |
pkg/path/filepath | |
pkg/path | |
pkg/io/ioutil | |
pkg/log | |
pkg/regexp/syntax | |
pkg/regexp | |
pkg/go/token | |
pkg/go/scanner | |
pkg/go/ast | |
pkg/go/parser | |
pkg/os/exec | |
pkg/os/signal | |
pkg/net/url | |
pkg/text/template/parse | |
pkg/text/template | |
pkg/go/doc | |
pkg/go/build | |
cmd/go | |
pkg/runtime (linux/amd64) | |
# Building packages and commands for host, darwin/amd64. | |
runtime | |
errors | |
sync/atomic | |
unicode | |
unicode/utf8 | |
math | |
sort | |
unicode/utf16 | |
crypto/subtle | |
container/list | |
container/ring | |
image/color | |
runtime/race | |
sync | |
container/heap | |
io | |
syscall | |
hash | |
crypto/cipher | |
crypto | |
hash/crc32 | |
crypto/hmac | |
hash/adler32 | |
crypto/md5 | |
crypto/sha1 | |
crypto/sha256 | |
bytes | |
strings | |
crypto/sha512 | |
hash/crc64 | |
hash/fnv | |
time | |
bufio | |
text/tabwriter | |
path | |
html | |
compress/bzip2 | |
strconv | |
math/rand | |
math/cmplx | |
os | |
reflect | |
regexp/syntax | |
net/url | |
encoding/base64 | |
crypto/aes | |
crypto/rc4 | |
encoding/ascii85 | |
encoding/base32 | |
path/filepath | |
os/exec | |
encoding/pem | |
net | |
os/signal | |
image | |
io/ioutil | |
regexp | |
image/draw | |
image/jpeg | |
fmt | |
encoding/binary | |
debug/dwarf | |
crypto/des | |
index/suffixarray | |
flag | |
go/token | |
text/template/parse | |
log | |
encoding/json | |
encoding/xml | |
debug/elf | |
go/scanner | |
debug/macho | |
debug/pe | |
compress/flate | |
go/ast | |
math/big | |
encoding/hex | |
mime | |
net/textproto | |
text/template | |
compress/gzip | |
archive/zip | |
encoding/gob | |
runtime/pprof | |
text/scanner | |
cmd/yacc | |
go/parser | |
go/printer | |
crypto/elliptic | |
go/doc | |
crypto/rand | |
crypto/dsa | |
encoding/asn1 | |
crypto/ecdsa | |
crypto/rsa | |
mime/multipart | |
html/template | |
archive/tar | |
compress/lzw | |
go/build | |
compress/zlib | |
cmd/cgo | |
go/format | |
crypto/x509/pkix | |
cmd/gofmt | |
crypto/x509 | |
cmd/fix | |
database/sql/driver | |
database/sql | |
debug/gosym | |
cmd/api | |
cmd/vet | |
crypto/tls | |
encoding/csv | |
image/gif | |
image/png | |
log/syslog | |
net/mail | |
os/user | |
runtime/debug | |
testing | |
testing/iotest | |
testing/quick | |
net/http | |
net/smtp | |
cmd/go | |
expvar | |
net/http/pprof | |
net/http/cgi | |
net/http/cookiejar | |
net/http/httptest | |
net/http/httputil | |
net/rpc | |
cmd/godoc | |
net/http/fcgi | |
net/rpc/jsonrpc | |
# Building packages and commands for linux/amd64. | |
runtime | |
errors | |
sync/atomic | |
unicode | |
unicode/utf8 | |
math | |
sort | |
unicode/utf16 | |
crypto/subtle | |
container/list | |
sync | |
container/ring | |
image/color | |
runtime/race | |
container/heap | |
io | |
syscall | |
hash | |
crypto/cipher | |
crypto | |
hash/crc32 | |
crypto/hmac | |
hash/adler32 | |
hash/crc64 | |
crypto/md5 | |
crypto/sha1 | |
crypto/sha256 | |
bytes | |
strings | |
crypto/sha512 | |
hash/fnv | |
bufio | |
text/tabwriter | |
path | |
html | |
time | |
compress/bzip2 | |
strconv | |
math/rand | |
math/cmplx | |
os | |
reflect | |
regexp/syntax | |
net/url | |
encoding/base64 | |
crypto/aes | |
crypto/rc4 | |
encoding/ascii85 | |
path/filepath | |
os/exec | |
encoding/pem | |
net | |
os/signal | |
encoding/base32 | |
image | |
io/ioutil | |
regexp | |
image/draw | |
image/jpeg | |
fmt | |
encoding/binary | |
debug/dwarf | |
crypto/des | |
index/suffixarray | |
flag | |
go/token | |
text/template/parse | |
log | |
encoding/json | |
encoding/xml | |
debug/elf | |
go/scanner | |
debug/macho | |
debug/pe | |
compress/flate | |
go/ast | |
math/big | |
encoding/hex | |
mime | |
net/textproto | |
text/template | |
encoding/gob | |
runtime/pprof | |
text/scanner | |
cmd/yacc | |
compress/gzip | |
archive/zip | |
archive/tar | |
compress/lzw | |
crypto/elliptic | |
crypto/rand | |
crypto/dsa | |
encoding/asn1 | |
html/template | |
crypto/rsa | |
go/doc | |
go/parser | |
go/printer | |
crypto/ecdsa | |
mime/multipart | |
crypto/x509/pkix | |
compress/zlib | |
crypto/x509 | |
database/sql/driver | |
debug/gosym | |
encoding/csv | |
database/sql | |
image/gif | |
go/build | |
image/png | |
log/syslog | |
cmd/cgo | |
go/format | |
cmd/gofmt | |
net/mail | |
cmd/fix | |
crypto/tls | |
os/user | |
runtime/debug | |
testing | |
testing/iotest | |
cmd/api | |
cmd/vet | |
testing/quick | |
net/http | |
net/smtp | |
cmd/go | |
expvar | |
net/http/pprof | |
net/http/cgi | |
net/http/cookiejar | |
net/http/httptest | |
cmd/godoc | |
net/http/httputil | |
net/rpc | |
net/http/fcgi | |
net/rpc/jsonrpc | |
--- | |
Installed Go for linux/amd64 in /private/tmp/go-BMVD/go | |
Installed commands in /private/tmp/go-BMVD/go/bin | |
The binaries expect /private/tmp/go-BMVD/go to be copied or moved to /usr/local/Cellar/go/1.1.2 | |
==> ./make.bash --no-clean | |
./make.bash --no-clean | |
# Building C bootstrap tool. | |
cmd/dist | |
# Building compilers and Go bootstrap tool for host, darwin/amd64. | |
lib9 | |
libbio | |
libmach | |
misc/pprof | |
cmd/addr2line | |
cmd/cov | |
cmd/nm | |
cmd/objdump | |
cmd/pack | |
cmd/prof | |
cmd/cc | |
cmd/gc | |
cmd/6l | |
cmd/5l | |
/private/tmp/go-BMVD/go/src/cmd/5l/../ld/lib.c:661:9: error: no case matching constant switch condition '53' [-Werror] | |
switch(thechar){ | |
^~~~~~~ | |
1 error generated. | |
go tool dist: FAILED: cc -Wall -Wstrict-prototypes -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Werror -fno-common -ggdb -pipe -O2 -mmacosx-version-min=10.6 -c -m64 -I /private/tmp/go-BMVD/go/include -I /private/tmp/go-BMVD/go/src/cmd/5l -o /private/tmp/go-BMVD/go/pkg/obj/cmd/5l/lib.o /private/tmp/go-BMVD/go/src/cmd/5l/../ld/lib.c | |
==> Configuration | |
HOMEBREW_VERSION: 0.9.4 | |
HEAD: c7f398392ac2c948b3e09ae4db36f7feed7aa376 | |
CPU: 8-core 64-bit ivybridge | |
OS X: 10.8.4-x86_64 | |
Xcode: 5.0 => /Applications/Xcode5-DP6.app/Contents/Developer | |
CLT: 1.0.0.9000000000.1.1249367152 | |
X11: 2.7.4 => /opt/X11 | |
==> ENV | |
HOMEBREW_CC: clang | |
MAKEFLAGS: -j8 | |
CMAKE_PREFIX_PATH: /usr/local | |
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/ | |
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries | |
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8 | |
ACLOCAL_PATH: /usr/local/share/aclocal | |
OBJC: cc | |
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin | |
Error: go did not build | |
These open issues may also help: | |
https://github.com/mxcl/homebrew/issues/21954 | |
https://github.com/mxcl/homebrew/issues/19580 | |
https://github.com/mxcl/homebrew/issues/22063 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment