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

docker-build-execution-debug fails to build with go-delve pkg error #2707

Closed
1 task done
Tonix517 opened this issue Jun 27, 2022 · 0 comments
Closed
1 task done

docker-build-execution-debug fails to build with go-delve pkg error #2707

Tonix517 opened this issue Jun 27, 2022 · 0 comments
Assignees
Labels
Bug Something isn't working Execution Cadence Execution Team

Comments

@Tonix517
Copy link
Contributor

🐞 Bug Report

A clear and concise description of what the bug is.
make docker-build-execution-debug failed with error of below.

[debug 2/3] RUN go get -u github.com/go-delve/delve/cmd/dlv:
#7 0.370 go: go.mod file not found in current directory or any parent directory.

What is the severity of this bug?

Could have: It really doesn't matter if we do this (product functions without this, impact to user is minimal).

Reproduction steps

Steps to reproduce the behaviour:

  1. pull latest master of flow-go
  2. run make docker-build-execution-debug then this error shows up:

=> ERROR [debug 2/3] RUN go get -u github.com/go-delve/delve/cmd/dlv 0.7s
[debug 2/3] RUN go get -u github.com/go-delve/delve/cmd/dlv:
#7 0.699 go: go.mod file not found in current directory or any parent directory.
#7 0.699 'go get' is no longer supported outside a module.
#7 0.699 To build and install a command, use 'go install' with a version,
#7 0.699 like 'go install example.com/cmd@latest'
#7 0.699 For more information, see https://golang.org/doc/go-get-install-deprecation
#7 0.699 or run 'go help get' or 'go help install'.
executor failed running [/bin/sh -c go get -u github.com/go-delve/delve/cmd/dlv]: exit code: 1
make: *** [docker-build-execution-debug] Error 1

  • I followed these steps and was able to reproduce the issue

Expected behaviour

expected to see docker image build to go through without failures

Screenshots

Specifications

  • System: macOS 12.4
  • Go: 1.18.3
@Tonix517 Tonix517 added Bug Something isn't working Execution Cadence Execution Team labels Jun 27, 2022
@Tonix517 Tonix517 self-assigned this Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Execution Cadence Execution Team
Projects
None yet
Development

No branches or pull requests

1 participant