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

Error "Empty source path" when using go toolchain following Getting started with Go CodeLab #3179

Open
pauldruce opened this issue Jun 15, 2024 · 0 comments

Comments

@pauldruce
Copy link

Hello, I'm hitting an issue where if I follow the Getting started with Go CodeLab I hit the following error:

plz-out/gen/go/build_defs/go.build_defs:497:12: error: Empty source path
        provides['cover_vars'] = cover_vars
    return build_rule(
           ^
        name = name,

Traceback:
plz-out/gen/go/build_defs/go.build_defs:497:12:       return build_rule(

plz-out/gen/go/build_defs/go.build_defs:614:11:       lib = go_library(
                              src/BUILD:  3: 1:   go_binary(

If I switch to using a local installation of Go. This error disappears and everything seems to work correctly.

Some information about my system:

  • Please version 17.8.7
  • Go plugin version v1.17.3
  • Go version 1.22.4 - I've tried it with different version of go in the third_party/go build file.
  • OS - macOS 14.5
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