Skip to content

Error while making,how can I do? #1711

@huangxuanheng

Description

@huangxuanheng

[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions