Closed DisposaBoy closed 10 years ago
8g
, but the Sublime Text arch suggests that it's a 64bit OS (windows-x64)go env
wow, I have not expecting you to see my comment immediately :)
C:\Users\allan>go env
set GOARCH=amd64
set GOBIN=
set GOCHAR=6
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=F:\mygo\
set GORACE=
set GOROOT=F:\Go
set GOTOOLDIR=F:\Go\pkg\tool\windows_amd64
set TERM=dumb
set CC=gcc
set GOGCCFLAGS=-g -O2 -m64 -mthreads
set CXX=g++
set CGO_ENABLED=1
previously I found out I had install i386 version of go1.2, then I uninstall and install amd64 version
now the go version is:
go version go1.2 windows/amd64
i think there may be something environmental issues here. the output of go env
seems fine, but it's now missing GOBIN
and referes to 6g
(GOARCH=6). maybe somewhere in your env you have some old environment variables lingering around. Also to be sure, make sure you restart Sublime Text (after you re-installed Go)
I log out and log in system , and try again. It out puts as:
| 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: `['F:\\Go\\bin\\go.exe', 'build', '-v', '-x', '-o', 'gosublime.margo_r13.12.26-1_go1.2.exe', 'gosubli.me/margo']`
| > stdout: ``
| > stderr: `WORK=~\AppData\Local\Temp\go-build887436187
| > gosubli.me/something-borrowed/gocode
| > mkdir -p $WORK\gosubli.me\something-borrowed\gocode\_obj\
| > mkdir -p $WORK\gosubli.me\something-borrowed\
| > cd ~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\gosubli.me\something-borrowed\gocode
| > "F:\\Go\\pkg\\tool\\windows_amd64\\6g.exe" -o "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187\\gosubli.me\\something-borrowed\\gocode\\_obj\\_go_.6" -p gosubli.me/something-borrowed/gocode -complete -D _/C_/Users/allan/AppData/Roaming/Sublime_Text_3/Packages/GoSublime/src/gosubli.me/something-borrowed/gocode -I "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\autocompletecontext.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\autocompletefile.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\client.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\config.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\cursorcontext.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\decl.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\declcache.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\formatters.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\gocode.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\gosublime_gocode_bridge.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\os_windows.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\package.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\ripper.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\rpc.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\scope.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\server.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\gocode\\utils.go"
| > gosubli.me/something-borrowed/types
| > mkdir -p $WORK\gosubli.me\something-borrowed\types\_obj\
| > cd ~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\gosubli.me\something-borrowed\types
| > "F:\\Go\\pkg\\tool\\windows_amd64\\6g.exe" -o "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187\\gosubli.me\\something-borrowed\\types\\_obj\\_go_.6" -p gosubli.me/something-borrowed/types -complete -D _/C_/Users/allan/AppData/Roaming/Sublime_Text_3/Packages/GoSublime/src/gosubli.me/something-borrowed/types -I "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\api.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\builtins.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\check.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\const.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\conversions.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\errors.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\exportdata.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\expr.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\gcimporter.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\objects.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\operand.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\predicates.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\resolve.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\scope.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\sizes.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\stmt.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\types.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\something-borrowed\\types\\universe.go"
| > cd ~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\gosubli.me\something-borrowed\gocode
| > "F:\\Go\\pkg\\tool\\windows_amd64\\pack.exe" grcP "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187" "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187\\gosubli.me\\something-borrowed\\gocode.a" "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187\\gosubli.me\\something-borrowed\\gocode\\_obj\\_go_.6"
| > cd ~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\gosubli.me\something-borrowed\types
| > "F:\\Go\\pkg\\tool\\windows_amd64\\pack.exe" grcP "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187" "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187\\gosubli.me\\something-borrowed\\types.a" "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187\\gosubli.me\\something-borrowed\\types\\_obj\\_go_.6"
| > gosubli.me/margo
| > mkdir -p $WORK\gosubli.me\margo\_obj\
| > mkdir -p $WORK\gosubli.me\margo\_obj\exe\
| > cd ~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\gosubli.me\margo
| > "F:\\Go\\pkg\\tool\\windows_amd64\\6g.exe" -o "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187\\gosubli.me\\margo\\_obj\\_go_.6" -p gosubli.me/margo -complete -D _/C_/Users/allan/AppData/Roaming/Sublime_Text_3/Packages/GoSublime/src/gosubli.me/margo -I "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build887436187" -I "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\pkg\\windows_amd64" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\broker.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\common.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\fx.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\g_autoinst.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_declarations.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_doc.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_env.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_fmt.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_gocode.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_hello.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_import_paths.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_imports.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_kill.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_lint.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_ping.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_pkg.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_pkgdirs.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_pkgdoc.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_pkgpaths.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_play.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_sh.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\m_share.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\main.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\oom.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\pkgpaths.go" "C:\\Users\\allan\\AppData\\Roaming\\Sublime Text 3\\Packages\\GoSublime\\src\\gosubli.me\\margo\\registry.go"
| > # gosubli.me/margo
| > C:\Users\allan\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\gosubli.me\margo\m_gocode.go:7: can't find import: "gosubli.me/something-borrowed/gocode"`
| > exception: `None`
| install state: busy
| sublime.version: 3059
| sublime.channel: stable
| about.ann: a13.12.26-1
| about.version: r13.12.26-1
| version: r13.12.26-1
| platform: windows-x64
| ~bin: ~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\windows-x64\bin
| margo.exe: ~bin\gosublime.margo_r13.12.26-1_go1.2.exe (missing)
| go.exe: F:\Go\bin\go.exe (ok)
| go.version: go1.2
| GOROOT: F:\Go\
| GOPATH: F:\mygo\
| GOBIN: (not set) (should usually be `(not set)`)
| set.shell: []
| env.shell:
| shell.cmd: ['C:\\Windows\\system32\\cmd.exe', '/C', '${CMD}']
Not sure whether it matters or not, I install GoSublime from package control.
Finally I decide to build the margo.exe
manually.
I copy gosubli.me
into dir to $GOPATH/src
. cd into gosubli.me directory and run go build.
it out put
.\m_gocode.go:7: can't find import: "gosubli.me/something-borrowed/gocode"
I try changing the subdir name gocode
to other name and tried again, yet it doesn't work.
Then I cd into gocode
and run go build
which succeed, and I run go install
successfully too.
Secondly, I cd into types
and run go build
, go install
with success.
Finally, I go back to margo
directory and run go build successfully and got a margo.exe.
I rename it to gosublime.margo_r13.12.26-1_go1.2.exe
and move to the place where it's require.( C:\Users\allan\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\windows-x64\bin
)
Now GoSublime work normally.
cd into gosubli.me directory and run go build. it out put
Can you reliably reproduce the build failure in that step? I have no way to reproduce this issue and it will most likely break again the next time GoSublime or Go is updated. Maybe run go build -x -v
.. Also maybe try clearing all the build files %GOPATH%/pkg/windows_amd64/gosubli.me
and then retry the same thing but instead of go build
try go install -x -v
.. if it fails check what files are left inside %GOPATH%/pkg/windows_amd64/gosubli.me
.. at this point in time I'm not ruling out antivirus or some other system interference given that the build commands up to this point don't fail, yet the pkg files appear to be missing
I clear the $GOPATH/subli.me
and cd into margo
,run go install -x -v
, out put as follows:
F:\mygo\src\gosubli.me\margo>go build -x -v
WORK=C:\Users\allan\AppData\Local\Temp\go-build116267483
gosubli.me/something-borrowed/gocode
mkdir -p $WORK\gosubli.me\something-borrowed\gocode\_obj\
mkdir -p $WORK\gosubli.me\something-borrowed\
cd F:\mygo\src\gosubli.me\something-borrowed\gocode
"F:\\Go\\pkg\\tool\\windows_amd64\\6g.exe" -o "C:\\Users\\allan\\AppData\\Local\\
Temp\\go-build116267483\\gosubli.me\\something-borrowed\\gocode\\_obj\\_go_.6" -
p gosubli.me/something-borrowed/gocode -complete -D _/F_/mygo/src/gosubli.me/som
ething-borrowed/gocode -I "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build116267
483" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\gocode\\autocompletecontext
.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\gocode\\autocompletefile.go
" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\gocode\\client.go" "F:\\mygo\\
src\\gosubli.me\\something-borrowed\\gocode\\config.go" "F:\\mygo\\src\\gosubli.
me\\something-borrowed\\gocode\\cursorcontext.go" "F:\\mygo\\src\\gosubli.me\\so
mething-borrowed\\gocode\\decl.go" "F:\\mygo\\src\\gosubli.me\\something-borrowe
d\\gocode\\declcache.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\gocode\
\formatters.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\gocode\\gocode.g
o" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\gocode\\gosublime_gocode_brid
ge.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\gocode\\os_windows.go" "F
:\\mygo\\src\\gosubli.me\\something-borrowed\\gocode\\package.go" "F:\\mygo\\src
\\gosubli.me\\something-borrowed\\gocode\\ripper.go" "F:\\mygo\\src\\gosubli.me\
\something-borrowed\\gocode\\rpc.go" "F:\\mygo\\src\\gosubli.me\\something-borro
wed\\gocode\\scope.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\gocode\\s
erver.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\gocode\\utils.go"
gosubli.me/something-borrowed/types
mkdir -p $WORK\gosubli.me\something-borrowed\types\_obj\
cd F:\mygo\src\gosubli.me\something-borrowed\types
"F:\\Go\\pkg\\tool\\windows_amd64\\6g.exe" -o "C:\\Users\\allan\\AppData\\Local\\
Temp\\go-build116267483\\gosubli.me\\something-borrowed\\types\\_obj\\_go_.6" -p
gosubli.me/something-borrowed/types -complete -D _/F_/mygo/src/gosubli.me/somet
hing-borrowed/types -I "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build116267483
" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\types\\api.go" "F:\\mygo\\src\
\gosubli.me\\something-borrowed\\types\\builtins.go" "F:\\mygo\\src\\gosubli.me\
\something-borrowed\\types\\check.go" "F:\\mygo\\src\\gosubli.me\\something-borr
owed\\types\\const.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\types\\co
nversions.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\types\\errors.go"
"F:\\mygo\\src\\gosubli.me\\something-borrowed\\types\\exportdata.go" "F:\\mygo\
\src\\gosubli.me\\something-borrowed\\types\\expr.go" "F:\\mygo\\src\\gosubli.me
\\something-borrowed\\types\\gcimporter.go" "F:\\mygo\\src\\gosubli.me\\somethin
g-borrowed\\types\\objects.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\t
ypes\\operand.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\types\\predica
tes.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\types\\resolve.go" "F:\\
mygo\\src\\gosubli.me\\something-borrowed\\types\\scope.go" "F:\\mygo\\src\\gosu
bli.me\\something-borrowed\\types\\sizes.go" "F:\\mygo\\src\\gosubli.me\\somethi
ng-borrowed\\types\\stmt.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\typ
es\\types.go" "F:\\mygo\\src\\gosubli.me\\something-borrowed\\types\\universe.go
"
cd F:\mygo\src\gosubli.me\something-borrowed\gocode
"F:\\Go\\pkg\\tool\\windows_amd64\\pack.exe" grcP "C:\\Users\\allan\\AppData\\Loc
al\\Temp\\go-build116267483" "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build116
267483\\gosubli.me\\something-borrowed\\gocode.a" "C:\\Users\\allan\\AppData\\Loc
al\\Temp\\go-build116267483\\gosubli.me\\something-borrowed\\gocode\\_obj\\_go_.
6"
cd F:\mygo\src\gosubli.me\something-borrowed\types
"F:\\Go\\pkg\\tool\\windows_amd64\\pack.exe" grcP "C:\\Users\\allan\\AppData\\Loc
al\\Temp\\go-build116267483" "C:\\Users\\allan\\AppData\\Local\\Temp\\go-build116
267483\\gosubli.me\\something-borrowed\\types.a" "C:\\Users\\allan\\AppData\\Loca
l\\Temp\\go-build116267483\\gosubli.me\\something-borrowed\\types\\_obj\\_go_.6"
gosubli.me/margo
mkdir -p $WORK\gosubli.me\margo\_obj\
mkdir -p $WORK\gosubli.me\margo\_obj\exe\
cd F:\mygo\src\gosubli.me\margo
"F:\\Go\\pkg\\tool\\windows_amd64\\6g.exe" -o "C:\\Users\\allan\\AppData\\Local\\
Temp\\go-build116267483\\gosubli.me\\margo\\_obj\\_go_.6" -p gosubli.me/margo -c
omplete -D _/F_/mygo/src/gosubli.me/margo -I "C:\\Users\\allan\\AppData\\Local\\T
emp\\go-build116267483" -I "F:\\mygo\\pkg\\windows_amd64" "F:\\mygo\\src\\gosubl
i.me\\margo\\broker.go" "F:\\mygo\\src\\gosubli.me\\margo\\common.go" "F:\\mygo\
\src\\gosubli.me\\margo\\fx.go" "F:\\mygo\\src\\gosubli.me\\margo\\g_autoinst.go
" "F:\\mygo\\src\\gosubli.me\\margo\\m_declarations.go" "F:\\mygo\\src\\gosubli.
me\\margo\\m_doc.go" "F:\\mygo\\src\\gosubli.me\\margo\\m_env.go" "F:\\mygo\\src
\\gosubli.me\\margo\\m_fmt.go" "F:\\mygo\\src\\gosubli.me\\margo\\m_gocode.go" "
F:\\mygo\\src\\gosubli.me\\margo\\m_hello.go" "F:\\mygo\\src\\gosubli.me\\margo\
\m_import_paths.go" "F:\\mygo\\src\\gosubli.me\\margo\\m_imports.go" "F:\\mygo\\
src\\gosubli.me\\margo\\m_kill.go" "F:\\mygo\\src\\gosubli.me\\margo\\m_lint.go"
"F:\\mygo\\src\\gosubli.me\\margo\\m_ping.go" "F:\\mygo\\src\\gosubli.me\\margo
\\m_pkg.go" "F:\\mygo\\src\\gosubli.me\\margo\\m_pkgdirs.go" "F:\\mygo\\src\\gos
ubli.me\\margo\\m_pkgdoc.go" "F:\\mygo\\src\\gosubli.me\\margo\\m_pkgpaths.go" "
F:\\mygo\\src\\gosubli.me\\margo\\m_play.go" "F:\\mygo\\src\\gosubli.me\\margo\\
m_sh.go" "F:\\mygo\\src\\gosubli.me\\margo\\m_share.go" "F:\\mygo\\src\\gosubli.
me\\margo\\main.go" "F:\\mygo\\src\\gosubli.me\\margo\\oom.go" "F:\\mygo\\src\\g
osubli.me\\margo\\pkgpaths.go" "F:\\mygo\\src\\gosubli.me\\margo\\registry.go"
# gosubli.me/margo
.\m_gocode.go:7: can't find import: "gosubli.me/something-borrowed/gocode"
I guess the problem I encounter relate to go1.2 amd64 kinda of not importing code correctly? It's really strange..
the similar go problem can be reproduce in this: https://github.com/allanruin/tryimport
go build
, is it any different with go install
?C:\
and F:\
perhaps different hard drives or networks or something?tryimport
is inside %GOPATH%
? I can only reproduce that error if it's not inside %GOPATH%/src/tryimport
well.. I have my windows reinstalled, then install go1.2amd64 and gosublime , all things work fine. The example in https://github.com/allanruin/tryimport no long appear. That's weird problem. Thank you .
weird indeed, I guess it must've been related to your previous installation or piece of software that was there before
quoting @allanruin