Trying to follow instructions @ Build Duplicacy from source, but nothing works.
Using documented command:
% go get -u github.com/gilbertchen/duplicacy/...
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
Trying using go install
:
% go install github.com/gilbertchen/duplicacy/duplicacy@v2.7.2
...
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:124:27: context.App.Writer undefined (type *cli.App has no field or method Writer)
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:249:27: context.App.Writer undefined (type *cli.App has no field or method Writer)
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:381:28: context.App.Writer undefined (type *cli.App has no field or method Writer)
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:392:28: context.App.Writer undefined (type *cli.App has no field or method Writer)
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:404:29: context.App.Writer undefined (type *cli.App has no field or method Writer)
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:414:29: context.App.Writer undefined (type *cli.App has no field or method Writer)
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:548:27: context.App.Writer undefined (type *cli.App has no field or method Writer)
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:641:27: context.App.Writer undefined (type *cli.App has no field or method Writer)
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:734:27: context.App.Writer undefined (type *cli.App has no field or method Writer)
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:795:27: context.App.Writer undefined (type *cli.App has no field or method Writer)
pkg/mod/github.com/gilbertchen/duplicacy@v2.7.2+incompatible/duplicacy/duplicacy_main.go:795:27: too many errors
By cloning:
% export GOPATH=$PWD
% mkdir -p github.com/gilbertchen
% cd github.com/gilbertchen
% go build duplicacy/duplicacy_main.go
duplicacy_main.go:23:2: no required module provides package github.com/gilbertchen/cli: go.mod file not found in current directory or any parent directory; see 'go help modules'
duplicacy_main.go:27:2: no required module provides package github.com/gilbertchen/duplicacy/src: go.mod file not found in current directory or any parent directory; see 'go help modules'
Trying to build AUR package:
src/cloud.google.com/go/storage/bucket.go:1764:17: undefined: storage.Bucket_IamConfig_INHERITED
src/cloud.google.com/go/storage/bucket.go:1764:55: undefined: storage.Bucket_IamConfig_PUBLIC_ACCESS_PREVENTION_UNSPECIFIED
src/cloud.google.com/go/storage/bucket.go:1766:17: undefined: storage.Bucket_IamConfig_ENFORCED