Skip to content

cmd/go: ignore directories under goroot/src #3390

@alberts

Description

@alberts
What steps will reproduce the problem?

Make a tree with src/cmd/main.go:

$ cat src/cmd/main.go
package main
func main() {}

What is the expected output?

a command called cmd

What do you see instead?

GOPATH=/path/to/proj go list ./...
_/path/to/proj/src/cmd

GOPATH=/path/to/proj go install -v ./...
_/path/to/proj/src/cmd

this go install also doesn't actually install anything to the bin directory.

If you run go install -x you can see that it links an a.out but after that nothing
happens.

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

6g

Which operating system are you using?

linux

Which revision are you using?  (hg identify)

go version weekly.2012-03-22 +ee5c7588cb7f

Please provide any additional information below.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions