Skip to content

runtime: dragonfly broken by Getenv/GOROOT change #10288

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

Closed
bradfitz opened this issue Mar 30, 2015 · 2 comments
Closed

runtime: dragonfly broken by Getenv/GOROOT change #10288

bradfitz opened this issue Mar 30, 2015 · 2 comments
Milestone

Comments

@bradfitz
Copy link
Contributor

The dragonfly builder is failing with:

--- FAIL: TestGcSys (0.01s)
    crash_test.go:91: building source: exit status 1
        main.go:5:2: cannot find package "fmt" in any of:
            /usr/local/go/src/fmt (from $GOROOT)
            ($GOPATH not set)
        main.go:6:2: cannot find package "runtime" in any of:
            /usr/local/go/src/runtime (from $GOROOT)
            ($GOPATH not set)
--- FAIL: TestGCFairness (0.01s)
    crash_test.go:91: building source: exit status 1
        main.go:5:2: cannot find package "fmt" in any of:
            /usr/local/go/src/fmt (from $GOROOT)
            ($GOPATH not set)
        main.go:6:2: cannot find package "os" in any of:
            /usr/local/go/src/os (from $GOROOT)
            ($GOPATH not set)
        main.go:7:2: cannot find package "runtime" in any of:
            /usr/local/go/src/runtime (from $GOROOT)
            ($GOPATH not set)
        main.go:8:2: cannot find package "time" in any of:
            /usr/local/go/src/time (from $GOROOT)
            ($GOPATH not set)
--- FAIL: TestRuntimeGogoBytes (0.01s)
    runtime_test.go:115: building hello world: exit status 1
        package runtime: cannot find package "runtime" in any of:
            /usr/local/go/src/runtime (from $GOROOT)
            ($GOPATH not set)
--- FAIL: TestLargeStringConcat (0.02s)
    crash_test.go:91: building source: exit status 1
        package .
            imports runtime: cannot find package "runtime" in any of:
            /usr/local/go/src/runtime (from $GOROOT)
            ($GOPATH not set)
        main.go:3:8: cannot find package "strings" in any of:
            /usr/local/go/src/strings (from $GOROOT)
            ($GOPATH not set)
FAIL
FAIL    runtime 14.815s

This started at @crawshaw's:

runtime: do not share underlying envs/argv array
https://go-review.googlesource.com/#/c/6611/6

I haven't yet debugged why. Just filing this with what I've learned so far.

/cc @minux @davecheney @randall77

@bradfitz bradfitz added this to the Go1.5 milestone Mar 30, 2015
@crawshaw
Copy link
Member

Another builder (the darwin ones?) broke with a similar message. I believe @davecheney found a fault in the builder binary. Installing the latest version fixed those builders.

@bradfitz
Copy link
Contributor Author

Builder has been updated and is reported OK now.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
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

3 participants