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

go build -a tries to rebuild stdlib #50

Open
remexre opened this issue Oct 19, 2016 · 0 comments
Open

go build -a tries to rebuild stdlib #50

remexre opened this issue Oct 19, 2016 · 0 comments

Comments

@remexre
Copy link

remexre commented Oct 19, 2016

When using godo to build with a very simple Gododir/main.go:

package main

import (
    "time"

    "gopkg.in/godo.v2"
)

func tasks(p *godo.Project) {
    p.Task("default", godo.S{"server"}, nil)

    p.Task("server", nil, func(c *godo.Context) {
        c.Start("main.go", godo.M{"$in": "cmd/server"})
    }).Src("**/*.go").Debounce(100 * time.Millisecond)
}

func main() {
    godo.Godo(tasks)
}

I get the following error:

$ godo
server rebuilding with -a to ensure clean build (might take awhile)
go install runtime/internal/sys: open /usr/lib/go/pkg/linux_amd64/runtime/internal/sys.a: permission denied
ERR "default>server": exit status 1
line=0
2016/10/19 01:12:40 exit status 1

this may be relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant