Skip to content

Instantly share code, notes, and snippets.

@JensRantil
Created September 17, 2013 10:18
Show Gist options
  • Save JensRantil/6592510 to your computer and use it in GitHub Desktop.
Save JensRantil/6592510 to your computer and use it in GitHub Desktop.
Debug information for `brew install go --cross-compile-common`
$ 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-5MJo/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-5MJo/go/include -I /private/tmp/go-5MJo/go/src/cmd/5l -o /private/tmp/go-5MJo/go/pkg/obj/cmd/5l/lib.o /private/tmp/go-5MJo/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/22431
https://github.com/mxcl/homebrew/issues/22609
https://github.com/mxcl/homebrew/issues/19580
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment