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

make build-dev exec failed #58

Closed
jinqshen opened this issue Sep 24, 2024 · 1 comment
Closed

make build-dev exec failed #58

jinqshen opened this issue Sep 24, 2024 · 1 comment

Comments

@jinqshen
Copy link

make build-dev exec failed

Error log

changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

go install go.k6.io/xk6/cmd/xk6@v0.9.2
# if replace nebula-go, need to change nebula-go path
# /root/nebula-bench/gopath/bin/xk6 build v0.45.1 --with github.com/vesoft-inc/k6-plugin@latest=/root/nebula-bench/temp/k6-plugin/../k6-plugin \
#       --replace github.com/vesoft-inc/nebula-go/v3=/home/Harris.chu/code/nebula-go;
/root/nebula-bench/gopath/bin/xk6 build v0.45.1 --with github.com/vesoft-inc/k6-plugin@latest=/root/nebula-bench/temp/k6-plugin/../k6-plugin ;
2024/09/23 23:29:55 [INFO] Temporary folder: /tmp/buildenv_2024-09-23-2329.3161005839
2024/09/23 23:29:55 [INFO] Initializing Go module
2024/09/23 23:29:55 [INFO] exec (timeout=10s): /root/nebula-bench/go/bin/go mod init k6
go: creating new go.mod: module k6
2024/09/23 23:29:55 [INFO] Replace github.com/vesoft-inc/k6-plugin => /root/nebula-bench/temp/k6-plugin/../k6-plugin
2024/09/23 23:29:55 [INFO] exec (timeout=0s): /root/nebula-bench/go/bin/go mod edit -replace github.com/vesoft-inc/k6-plugin=/root/nebula-bench/temp/k6-plugin/../k6-plugin
2024/09/23 23:29:55 [INFO] exec (timeout=0s): /root/nebula-bench/go/bin/go mod tidy -compat=1.17
flag provided but not defined: -compat
usage: go mod tidy [-e] [-v]
Run 'go help mod tidy' for details.
2024/09/23 23:29:55 [INFO] Cleaning up temporary folder: /tmp/buildenv_2024-09-23-2329.3161005839
2024/09/23 23:29:55 [FATAL] exit status 2
make: *** [build-dev] Error 1
mv: cannot stat ‘k6’: No such file or directory

Your Environments (required)

  • Version: v1.1.6
  • GO: 1.16.6
  • OS: CentOS 7
@jinqshen
Copy link
Author

ok, I find Go lang version should be 1.19.x in go.mod, that's will be ok

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

2 participants