Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: failed to copy the result when invoked as 'go install cmd/go/' #3034

Closed
minux opened this issue Feb 15, 2012 · 2 comments
Closed

cmd/go: failed to copy the result when invoked as 'go install cmd/go/' #3034

minux opened this issue Feb 15, 2012 · 2 comments
Milestone

Comments

@minux
Copy link
Member

minux commented Feb 15, 2012

What steps will reproduce the problem?
go install cmd/go/ # note the extra slash

What is the expected output?
Either give a error (unlikely) or build & install cmd/go successfully.

What do you see instead?
build output "/Users/minux/work/go/bin" already exists and is a directory

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g/8g

Which operating system are you using?
Mac OS X.

Which revision are you using?  (hg identify)
04a64046570e  tip

Please provide any additional information below.
go install -x cmd/go/ output:
WORK=/var/folders/sV/sVMbZDf5EiSjQyuDVzTxn++++TI/-Tmp-/go-build755263920
mkdir -p $WORK/cmd/go/_obj/
cd $GOROOT/src/cmd/go
$GOROOT/pkg/tool/darwin_amd64/6g -o $WORK/cmd/go/_obj/_go_.6 -p cmd/go/ -I $WORK
./build.go ./clean.go ./fix.go ./fmt.go ./get.go ./help.go ./http.go ./list.go ./main.go
./pkg.go ./run.go ./test.go ./testflag.go ./tool.go ./vcs.go ./version.go ./vet.go
$GOROOT/pkg/tool/darwin_amd64/pack grc $WORK/cmd/go/.a $WORK/cmd/go/_obj/_go_.6
$GOROOT/pkg/tool/darwin_amd64/6l -o $WORK/cmd/go/_obj/a.out -L $WORK $WORK/cmd/go/.a
mkdir -p $GOROOT/
cp $WORK/cmd/go/_obj/a.out $GOBIN
build output "/Users/minux/work/go/bin" already exists and is a directory
@dsymonds
Copy link
Contributor

Comment 1:

Labels changed: added priority-go1, toolbug, removed priority-triage.

Owner changed to @rsc.

@rsc
Copy link
Contributor

rsc commented Mar 1, 2012

Comment 2:

This issue was closed by revision b03a5f6.

Status changed to Fixed.

@minux minux assigned rsc Mar 1, 2012
@rsc rsc added this to the Go1 milestone Apr 10, 2015
@rsc rsc removed the priority-go1 label Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants