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 while making,how can I do? #1711

Open
huangxuanheng opened this issue Aug 22, 2022 · 0 comments
Open

Error while making,how can I do? #1711

huangxuanheng opened this issue Aug 22, 2022 · 0 comments

Comments

@huangxuanheng
Copy link

[root@harry loomchain]# cd $LOOM_SRC && make deps

Temp workaround for prometheus/procfs#221

git clone -q [email protected]:prometheus/procfs /usr/local/go/src/github.com/prometheus/procfs ; true
fatal: destination path '/usr/local/go/src/github.com/prometheus/procfs' already exists and is not an empty directory.
cd /usr/local/go/src/github.com/prometheus/procfs && git checkout master && git pull && git checkout d3b299e382e6acf1baa852560d862eca4ff643c8
Previous HEAD position was d3b299e... update go module dependencies
Switched to branch 'master'
Already up-to-date.
Note: checking out 'd3b299e382e6acf1baa852560d862eca4ff643c8'.

You are in 'detached HEAD' state. You can look around, make experimental
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

HEAD is now at d3b299e... update go module dependencies

Lock down Prometheus golang client to v1.2.1 (newer versions use a different protobuf version)

git clone -q [email protected]:prometheus/client_golang /usr/local/go/src/github.com/prometheus/client_golang ; true
fatal: destination path '/usr/local/go/src/github.com/prometheus/client_golang' already exists and is not an empty directory.
cd /usr/local/go/src/github.com/prometheus/client_golang && git checkout master && git pull && git checkout v1.2.1
error: pathspec 'master' did not match any file(s) known to git.
make: *** [deps] Error 1

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