Last active
December 22, 2015 11:38
-
-
Save tedsuo/6466787 to your computer and use it in GitHub Desktop.
Go failed to build on 10.8.4 with --cross-compile-common
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 install -v 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 | |
| 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 | |
| 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 | |
| crypto/sha512 | |
| hash/crc64 | |
| hash/fnv | |
| 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 | |
| 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 | |
| debug/elf | |
| debug/macho | |
| debug/pe | |
| go/scanner | |
| encoding/json | |
| encoding/xml | |
| compress/flate | |
| math/big | |
| encoding/hex | |
| go/ast | |
| mime | |
| text/template | |
| net/textproto | |
| compress/gzip | |
| archive/zip | |
| encoding/gob | |
| runtime/pprof | |
| text/scanner | |
| crypto/elliptic | |
| crypto/rand | |
| crypto/dsa | |
| encoding/asn1 | |
| cmd/yacc | |
| html/template | |
| archive/tar | |
| crypto/rsa | |
| go/doc | |
| go/parser | |
| go/printer | |
| crypto/ecdsa | |
| crypto/x509/pkix | |
| mime/multipart | |
| compress/lzw | |
| crypto/x509 | |
| compress/zlib | |
| database/sql/driver | |
| go/build | |
| debug/gosym | |
| encoding/csv | |
| image/gif | |
| database/sql | |
| image/png | |
| cmd/cgo | |
| go/format | |
| cmd/gofmt | |
| cmd/fix | |
| log/syslog | |
| crypto/tls | |
| cmd/api | |
| cmd/vet | |
| 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 | |
| cmd/godoc | |
| net/http/httputil | |
| net/rpc | |
| 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 | |
| container/ring | |
| image/color | |
| sync | |
| runtime/race | |
| container/heap | |
| io | |
| syscall | |
| hash | |
| crypto/cipher | |
| crypto | |
| hash/crc32 | |
| crypto/hmac | |
| hash/adler32 | |
| hash/crc64 | |
| crypto/md5 | |
| crypto/sha1 | |
| crypto/sha256 | |
| crypto/sha512 | |
| bytes | |
| strings | |
| 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 | |
| path/filepath | |
| os/exec | |
| net | |
| encoding/pem | |
| 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 | |
| debug/macho | |
| go/scanner | |
| debug/pe | |
| compress/flate | |
| go/ast | |
| math/big | |
| encoding/hex | |
| mime | |
| text/template | |
| net/textproto | |
| encoding/gob | |
| runtime/pprof | |
| text/scanner | |
| compress/gzip | |
| archive/zip | |
| cmd/yacc | |
| archive/tar | |
| html/template | |
| compress/lzw | |
| compress/zlib | |
| crypto/elliptic | |
| go/doc | |
| go/parser | |
| go/printer | |
| crypto/rand | |
| crypto/rsa | |
| crypto/ecdsa | |
| crypto/dsa | |
| encoding/asn1 | |
| mime/multipart | |
| database/sql/driver | |
| debug/gosym | |
| encoding/csv | |
| image/gif | |
| database/sql | |
| image/png | |
| log/syslog | |
| crypto/x509/pkix | |
| go/build | |
| net/mail | |
| os/user | |
| cmd/cgo | |
| go/format | |
| cmd/gofmt | |
| crypto/x509 | |
| runtime/debug | |
| cmd/fix | |
| testing | |
| testing/iotest | |
| testing/quick | |
| cmd/api | |
| cmd/vet | |
| crypto/tls | |
| 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-16d2/go | |
| Installed commands in /private/tmp/go-16d2/go/bin | |
| The binaries expect /private/tmp/go-16d2/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 | |
| crypto/sha512 | |
| hash/crc64 | |
| hash/fnv | |
| bytes | |
| strings | |
| time | |
| path | |
| bufio | |
| text/tabwriter | |
| html | |
| compress/bzip2 | |
| strconv | |
| math/rand | |
| math/cmplx | |
| os | |
| path/filepath | |
| net | |
| os/signal | |
| reflect | |
| regexp/syntax | |
| net/url | |
| os/exec | |
| encoding/base64 | |
| crypto/aes | |
| crypto/rc4 | |
| encoding/pem | |
| io/ioutil | |
| encoding/ascii85 | |
| encoding/base32 | |
| image | |
| 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 | |
| debug/macho | |
| go/scanner | |
| debug/pe | |
| compress/flate | |
| go/ast | |
| math/big | |
| encoding/hex | |
| text/template | |
| mime | |
| net/textproto | |
| encoding/gob | |
| compress/gzip | |
| archive/zip | |
| runtime/pprof | |
| text/scanner | |
| cmd/yacc | |
| archive/tar | |
| compress/lzw | |
| crypto/elliptic | |
| crypto/rand | |
| crypto/dsa | |
| encoding/asn1 | |
| go/doc | |
| go/parser | |
| go/printer | |
| crypto/rsa | |
| crypto/ecdsa | |
| mime/multipart | |
| html/template | |
| compress/zlib | |
| crypto/x509/pkix | |
| database/sql/driver | |
| debug/gosym | |
| crypto/x509 | |
| encoding/csv | |
| go/build | |
| database/sql | |
| image/gif | |
| image/png | |
| cmd/cgo | |
| go/format | |
| cmd/fix | |
| cmd/gofmt | |
| log/syslog | |
| net/mail | |
| crypto/tls | |
| os/user | |
| cmd/api | |
| cmd/vet | |
| 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 | |
| cmd/godoc | |
| net/http/httputil | |
| net/rpc | |
| 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 | |
| container/ring | |
| sync | |
| 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 | |
| hash/crc64 | |
| hash/fnv | |
| 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 | |
| encoding/ascii85 | |
| path/filepath | |
| os/exec | |
| encoding/pem | |
| net | |
| os/signal | |
| encoding/base32 | |
| io/ioutil | |
| image | |
| 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 | |
| compress/gzip | |
| archive/zip | |
| runtime/pprof | |
| text/scanner | |
| cmd/yacc | |
| archive/tar | |
| compress/lzw | |
| compress/zlib | |
| crypto/elliptic | |
| crypto/rand | |
| go/doc | |
| go/parser | |
| go/printer | |
| crypto/rsa | |
| crypto/ecdsa | |
| crypto/dsa | |
| encoding/asn1 | |
| mime/multipart | |
| html/template | |
| database/sql/driver | |
| database/sql | |
| debug/gosym | |
| encoding/csv | |
| go/build | |
| crypto/x509/pkix | |
| cmd/cgo | |
| go/format | |
| cmd/gofmt | |
| cmd/fix | |
| image/gif | |
| image/png | |
| log/syslog | |
| crypto/x509 | |
| cmd/api | |
| cmd/vet | |
| net/mail | |
| os/user | |
| runtime/debug | |
| testing | |
| testing/iotest | |
| testing/quick | |
| crypto/tls | |
| 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/amd64 in /private/tmp/go-16d2/go | |
| Installed commands in /private/tmp/go-16d2/go/bin | |
| The binaries expect /private/tmp/go-16d2/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-16d2/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-16d2/go/include -I /private/tmp/go-16d2/go/src/cmd/5l -o /private/tmp/go-16d2/go/pkg/obj/cmd/5l/lib.o /private/tmp/go-16d2/go/src/cmd/5l/../ld/lib.c | |
| ==> Configuration | |
| HOMEBREW_VERSION: 0.9.4 | |
| HEAD: bd9ea25f6fefe3c097f7692428f7939d5016286a | |
| CPU: 8-core 64-bit sandybridge | |
| OS X: 10.8.4-x86_64 | |
| Xcode: 4.6.3 | |
| CLT: 4.6.0.0.1.1365549073 | |
| 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