moiot / gravity

A Data Replication Center
Apache License 2.0
912 stars 173 forks source link

myesui/uuid not found #330

Closed fiecato closed 2 years ago

fiecato commented 2 years ago

I download the project and got an error when make.

The error is as follows:

➜  gravity git:(master) ✗ make 
go build -ldflags '-X "github.com/moiot/gravity/pkg/utils.Version=0.0.1+git.9a7bc05a" -X "github.com/moiot/gravity/pkg/utils.BuildTS=2022-06-13 02:34:51" -X "github.com/moiot/gravity/pkg/utils.GitHash=9a7bc05a41d86f7c09d3c9373da70e5d5aa45d4f" -X "github.com/moiot/gravity/pkg/utils.GitBranch=master"' -o bin/gravity cmd/gravity/main.go
go: github.com/pingcap/tidb@v0.0.0-20190118125846-54b6de0880f0 requires
        github.com/myesui/uuid@v1.0.0: missing go.sum entry; to add it:
        go mod download github.com/myesui/uuid
go: github.com/pingcap/tidb@v0.0.0-20190118125846-54b6de0880f0 requires
        github.com/myesui/uuid@v1.0.0: missing go.sum entry; to add it:
        go mod download github.com/myesui/uuid
make: *** [build] Error 1
➜  gravity git:(master) ✗ go mod tidy
go: downloading github.com/myesui/uuid v1.0.0
github.com/moiot/gravity/pkg/inputs/mysqlbatch imports
        github.com/pingcap/tidb/types/parser_driver imports
        github.com/pingcap/tidb/types tested by
        github.com/pingcap/tidb/types.test imports
        github.com/pingcap/tidb/domain imports
        github.com/pingcap/tidb/ddl imports
        github.com/twinj/uuid tested by
        github.com/twinj/uuid.test imports
        github.com/myesui/uuid: reading github.com/myesui/uuid/go.mod at revision v1.0.0: git ls-remote -q origin in /Users/fiecato/go/pkg/mod/cache/vcs/734ba242c4de6907bf4a82a4eb9fd4fb28ceb19ce34e0bb43de0c763672e0249: exit status 128:
        remote: Repository not found.
        fatal: repository 'https://github.com/myesui/uuid/' not found
github.com/moiot/gravity/pkg/inputs/mysqlbatch imports
        github.com/pingcap/tidb/types/parser_driver imports
        github.com/pingcap/tidb/types tested by
        github.com/pingcap/tidb/types.test imports
        github.com/pingcap/tidb/domain imports
        github.com/pingcap/tidb/ddl imports
        github.com/twinj/uuid tested by
        github.com/twinj/uuid.test imports
        github.com/myesui/uuid/savers: reading github.com/myesui/uuid/go.mod at revision v1.0.0: git ls-remote -q origin in /Users/fiecato/go/pkg/mod/cache/vcs/734ba242c4de6907bf4a82a4eb9fd4fb28ceb19ce34e0bb43de0c763672e0249: exit status 128:
        remote: Repository not found.
        fatal: repository 'https://github.com/myesui/uuid/' not found

I also didn't find the myesui/uuid repository on github.

image

What should I do to make it passable?

Ryan-Git commented 2 years ago

you could try https://goproxy.io, seem it still has the cache of this missing package. I'll update some dependency to solve this anyway.