You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system and processor architecture are you using (go env)?
plan9/amd64
What did you do?
cpu% cd /n/go-plan9/src
cpu% ./all.rc
What did you expect to see?
successful build
What did you see instead?
Building Go cmd/dist using /mnt/term/home/big/go-plan9-amd64-bootstrap
Building Go toolchain1 using /mnt/term/home/big/go-plan9-amd64-bootstrap.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
go: cannot determine module path for source directory /n (outside GOPATH, no import comments)
go tool dist: FAILED: /n/go-plan9/pkg/tool/plan9_amd64/go_bootstrap install -gcflags=all= -ldflags=all= -i cmd/asm cmd/cgo cmd/compile cmd/link: exit status: 'go_bootstrap 1770: 1'
It's failing because go command found /n/go.mod when looking for a go.mod file, but it's an automatically created empty directory. In Plan 9, directories in /n are automatically created when accessed. Go command should check /n/go.mod is not a directory. I will send CL soon.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?master (64fae25)
What operating system and processor architecture are you using (
go env
)?plan9/amd64
What did you do?
What did you expect to see?
successful build
What did you see instead?
It's failing because go command found
/n/go.mod
when looking for ago.mod
file, but it's an automatically created empty directory. In Plan 9, directories in /n are automatically created when accessed. Go command should check/n/go.mod
is not a directory. I will send CL soon.The text was updated successfully, but these errors were encountered: