Skip to content

Instantly share code, notes, and snippets.

@divoxx
Created October 4, 2013 17:06
Show Gist options
  • Select an option

  • Save divoxx/6829223 to your computer and use it in GitHub Desktop.

Select an option

Save divoxx/6829223 to your computer and use it in GitHub Desktop.
| GoSublime error: MarGo build failed
| > This is possibly a bug or miss-configuration of your environment.
| > For more help, please file an issue with the following build output
| > at: https://github.com/DisposaBoy/GoSublime/issues/new
| > or alternatively, you may send an email to: [email protected]
| >
| >
| > cmd: `['/usr/local/Cellar/go/1.2rc1/libexec/bin/go', 'build', '-v', '-x', '-o', 'gosublime.margo_r13.08.31-1_devel+f4d1cb8d9a91.exe', 'gosubli.me/margo']`
| > stdout: ``
| > stderr: `WORK=/var/folders/rl/v51_qqj51pg_s36ld0v165n40000gn/T/go-build127954290
| > runtime/cgo
| > mkdir -p $WORK/runtime/cgo/_obj/
| > mkdir -p $WORK/runtime/
| > cd /usr/local/Cellar/go/1.2rc1/libexec/src/pkg/runtime/cgo
| > /usr/local/Cellar/go/1.2rc1/libexec/pkg/tool/darwin_amd64/cgo -objdir $WORK/runtime/cgo/_obj/ -import_runtime_cgo=false -import_syscall=false -- -I $WORK/runtime/cgo/_obj/ -Wall -Werror cgo.go
| > gosubli.me/something-borrowed/types
| > mkdir -p $WORK/gosubli.me/something-borrowed/types/_obj/
| > mkdir -p $WORK/gosubli.me/something-borrowed/
| > cd ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types
| > /usr/local/Cellar/go/1.2rc1/libexec/pkg/tool/darwin_amd64/6g -o $WORK/gosubli.me/something-borrowed/types/_obj/_go_.6 -p gosubli.me/something-borrowed/types -complete -D _~/Library/Application_Support/Sublime_Text_3/Packages/GoSublime/src/gosubli.me/something-borrowed/types -I $WORK "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/api.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/builtins.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/check.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/const.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/conversions.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/errors.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/exportdata.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/expr.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/gcimporter.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/objects.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/operand.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/predicates.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/resolve.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/scope.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/sizes.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/stmt.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/types.go" "~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types/universe.go"
| > cd /usr/local/Cellar/go/1.2rc1/libexec/src/pkg/runtime/cgo
| > /usr/local/Cellar/go/1.2rc1/libexec/pkg/tool/darwin_amd64/6c -F -V -w -I $WORK/runtime/cgo/_obj/ -I /usr/local/Cellar/go/1.2rc1/libexec/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/_cgo_defun.6 -D GOOS_darwin -D GOARCH_amd64 $WORK/runtime/cgo/_obj/_cgo_defun.c
| > cc -I . -g -O2 -fPIC -m64 -pthread -fno-common -print-libgcc-file-name
| > cc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/_cgo_main.o -c $WORK/runtime/cgo/_obj/_cgo_main.c
| > cc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/_cgo_export.o -c $WORK/runtime/cgo/_obj/_cgo_export.c
| > cc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/cgo.cgo2.o -c $WORK/runtime/cgo/_obj/cgo.cgo2.c
| > cc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_darwin_amd64.o -c ./gcc_darwin_amd64.c
| > cc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_setenv.o -c ./gcc_setenv.c
| > cc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_util.o -c ./gcc_util.c
| > cc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/runtime/cgo/_obj/ -Wall -Werror -o $WORK/runtime/cgo/_obj/gcc_amd64.o -c ./gcc_amd64.S
| > cc -I . -g -O2 -fPIC -m64 -pthread -fno-common -o $WORK/runtime/cgo/_obj/_cgo_.o $WORK/runtime/cgo/_obj/_cgo_main.o $WORK/runtime/cgo/_obj/_cgo_export.o $WORK/runtime/cgo/_obj/cgo.cgo2.o $WORK/runtime/cgo/_obj/gcc_darwin_amd64.o $WORK/runtime/cgo/_obj/gcc_setenv.o $WORK/runtime/cgo/_obj/gcc_util.o $WORK/runtime/cgo/_obj/gcc_amd64.o -lpthread
| > # runtime/cgo
| > clang: warning: argument unused during compilation: '-pthread'
| > /usr/local/Cellar/go/1.2rc1/libexec/pkg/tool/darwin_amd64/cgo -objdir $WORK/runtime/cgo/_obj/ -dynimport $WORK/runtime/cgo/_obj/_cgo_.o -dynout $WORK/runtime/cgo/_obj/_cgo_import.c -dynlinker
| > /usr/local/Cellar/go/1.2rc1/libexec/pkg/tool/darwin_amd64/6c -F -V -w -I $WORK/runtime/cgo/_obj/ -I /usr/local/Cellar/go/1.2rc1/libexec/pkg/darwin_amd64 -o $WORK/runtime/cgo/_obj/_cgo_import.6 -D GOOS_darwin -D GOARCH_amd64 $WORK/runtime/cgo/_obj/_cgo_import.c
| > cc -I . -g -O2 -fPIC -m64 -pthread -fno-common -o $WORK/runtime/cgo/_obj/_all.o $WORK/runtime/cgo/_obj/_cgo_export.o $WORK/runtime/cgo/_obj/cgo.cgo2.o $WORK/runtime/cgo/_obj/gcc_darwin_amd64.o $WORK/runtime/cgo/_obj/gcc_setenv.o $WORK/runtime/cgo/_obj/gcc_util.o $WORK/runtime/cgo/_obj/gcc_amd64.o -Wl,-r -nostdlib libgcc.a
| > # runtime/cgo
| > clang: error: no such file or directory: 'libgcc.a'
| > cd ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/gosubli.me/something-borrowed/types
| > /usr/local/Cellar/go/1.2rc1/libexec/pkg/tool/darwin_amd64/pack grcP $WORK $WORK/gosubli.me/something-borrowed/types.a $WORK/gosubli.me/something-borrowed/types/_obj/_go_.6`
| > exception: `None`
| install state: busy
| sublime.version: 3047
| sublime.channel: stable
| about.ann: a13.09.07-1
| about.version: r13.08.31-1
| version: r13.08.31-1
| platform: osx-x64
| ~bin: ~/Library/Application Support/Sublime Text 3/Packages/User/GoSublime/osx-x64/bin
| margo.exe: ~bin/gosublime.margo_r13.08.31-1_devel+f4d1cb8d9a91.exe (missing)
| go.exe: /usr/local/Cellar/go/1.2rc1/libexec/bin/go (ok)
| go.version: devel+f4d1cb8d9a91
| GOROOT: /usr/local/Cellar/go/1.2rc1/libexec
| GOPATH: ~/Projects/gopath
| GOBIN: (not set) (should usually be `(not set)`)
| set.shell: []
| env.shell: /bin/bash
| shell.cmd: ['/bin/bash', '-l', '-c', '${CMD}']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment