Closed mei-rune closed 5 years ago
| 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: gosublime@dby.me
| >
| >
| > cmd: `['/usr/local/go/bin/go', 'build', '-tags', '', '-v', '-o', 'gosublime.margo_r16.07.09-1_go1.7.3.exe', 'disposa.blue/cmd/margo']`
| > stdout: `
| >
| > `
| > stderr: `
| > runtime
| > # runtime
| > /usr/local/go/src/runtime/lfstack_amd64.go:16: lfstackPack redeclared in this block
| > previous declaration at /usr/local/go/src/runtime/lfstack_64bit.go:37
| > /usr/local/go/src/runtime/lfstack_amd64.go:20: lfstackUnpack redeclared in this block
| > previous declaration at /usr/local/go/src/runtime/lfstack_64bit.go:41
| > /usr/local/go/src/runtime/os_linux.go:27: _FUTEX_WAIT redeclared in this block
| > previous declaration at /usr/local/go/src/runtime/os1_linux.go:22
| > /usr/local/go/src/runtime/os_linux.go:28: _FUTEX_WAKE redeclared in this block
| > previous declaration at /usr/local/go/src/runtime/os1_linux.go:23
| > /usr/local/go/src/runtime/os_linux.go:36: futexsleep redeclared in this block
| > previous declaration at /usr/local/go/src/runtime/os1_linux.go:31
| > /usr/local/go/src/runtime/os_linux.go:67: futexwakeup redeclared in this block
| > previous declaration at /usr/local/go/src/runtime/os1_linux.go:62
| > /usr/local/go/src/runtime/os_linux.go:83: getproccount redeclared in this block
| > previous declaration at /usr/local/go/src/runtime/os1_linux.go:78
| > /usr/local/go/src/runtime/os_linux.go:109: _CLONE_VM redeclared in this block
| > previous declaration at /usr/local/go/src/runtime/os1_linux.go:104
| > /usr/local/go/src/runtime/os_linux.go:110: _CLONE_FS redeclared in this block
| > previous declaration at /usr/local/go/src/runtime/os1_linux.go:105
| > /usr/local/go/src/runtime/os_linux.go:111: _CLONE_FILES redeclared in this block
| > previous declaration at /usr/local/go/src/runtime/os1_linux.go:106
| > /usr/local/go/src/runtime/os_linux.go:111: too many errors
| > `
| > exception: `None`
| install state: busy
| sublime.version: 3126
| sublime.channel: stable
| about.ann: a16.07.09-1
| about.version: r16.07.09-1
| version: r16.07.09-1
| platform: linux-x64
| ~bin: ~/.config/sublime-text-3/Packages/User/GoSublime/linux-x64/bin
| margo.exe: ~bin/gosublime.margo_r16.07.09-1_go1.7.3.exe (missing)
| go.exe: /usr/local/go/bin/go (ok)
| go.version: go1.7.3
| GOROOT: /usr/local/go
| GOPATH: ~/projects/go
| GOBIN: (not set) (should usually be `(not set)`)
| set.shell: []
| env.shell: /usr/bin/zsh
| shell.cmd: ['/usr/bin/zsh', '-l', '-c', '${CMD}']
Same on my linux install:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
Each directory listed in GOPATH must have a prescribed structure:
The src directory holds source code. The path below src determines the import path or executable name.
The pkg directory holds installed package objects. As in the Go tree, each target operating system and architecture pair has its own subdirectory of pkg (pkg/GOOS_GOARCH).
go env go version go1.7.3 windows/amd64