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
version:6b24da6 & go1.4.2 linux/amd64 trying to: compile tip 6b24da6 bug: all.bash/bootstrap tool assumes binary in $HOME/go1.4/bin/go; else fails
# repository status
$ cd /nfs/hq/ghm/golang
$ git log|head -1
commit 6b24da6ae8321387e9dd02181ccf5b425d4c05f9
$ git status
# On branch master
nothing to commit (working directory clean)
# checkout from hq approved mirror for golang# to local tree: /x/gotip
$ git --git-dir=/nfs/hq/ghm/golang/.git \
--work-tree=/x/gotip checkout HEAD .# check active exports
$ env|grep GO
GOPATH=/u/hub/gva
# check PATH for old binary
$ which go
/x/go1.4/bin/go
$ go version
go version go1.4.2 linux/amd64
# make tip
$ cd /x/gotip/src
$ ./all.bash
##### Building Go bootstrap tool.
cmd/dist
ERROR: Cannot find /u/tde/v56/staff/ohir/go1.4/bin/go.
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.
./make.bash: line 121: /u/tde/v56/staff/ohir/go1.4/bin/go: No such file or
directory
Expected: bootstrap tool should look for a working Go tree by itself.
It should allow one to compile tip/1.5 in detached tree as before (e.g 1.4.2 below):
$ git --git-dir=/nfs/hq/ghm/golang/.git \
--work-tree=/x/go1.4 checkout go1.4.2 .
$ cd /x/go1.4/src
$ ./all.bash
[... cut compile log ...]
real 0m0.212s
user 0m0.138s
sys 0m0.011s
ALL TESTS PASSED
---
Installed Go for linux/amd64 in /x/go1.4
Installed commands in /x/go1.4/bin
*** You need to add /x/1.4/bin to your PATH.
The text was updated successfully, but these errors were encountered:
version: 6b24da6 & go1.4.2 linux/amd64
trying to: compile tip 6b24da6
bug: all.bash/bootstrap tool assumes binary in $HOME/go1.4/bin/go; else fails
Expected: bootstrap tool should look for a working Go tree by itself.
It should allow one to compile tip/1.5 in detached tree as before (e.g 1.4.2 below):
The text was updated successfully, but these errors were encountered: