Can't find CLI source

Hi,
last night I tried building Duplicacy CLI for a “headless” OpenBSD VM, but it seems some of the source is missing, as when trying to follow the build from source instructions I get:

conduit$ GIT_SSL_NO_VERIFY=true go get -u github.com/gilbertchen/duplicacy/src/
# github.com/gilbertchen/duplicacy/src
go/src/github.com/gilbertchen/duplicacy/src/duplicacy_utils_others.go:52:19: undefined: xattr.Listxattr
go/src/github.com/gilbertchen/duplicacy/src/duplicacy_utils_others.go:56:22: undefined: xattr.Getxattr
go/src/github.com/gilbertchen/duplicacy/src/duplicacy_utils_others.go:65:14: undefined: xattr.Listxattr
go/src/github.com/gilbertchen/duplicacy/src/duplicacy_utils_others.go:71:23: undefined: xattr.Getxattr
go/src/github.com/gilbertchen/duplicacy/src/duplicacy_utils_others.go:73:5: undefined: xattr.Setxattr
go/src/github.com/gilbertchen/duplicacy/src/duplicacy_utils_others.go:77:4: undefined: xattr.Removexattr
go/src/github.com/gilbertchen/duplicacy/src/duplicacy_utils_others.go:82:3: undefined: xattr.Setxattr



conduit$ cd go/src/github.com/gilbertchen/duplicacy/
conduit$ go build duplicacy/duplicacy_main.go
duplicacy/duplicacy_main.go:23:2: cannot find package "github.com/gilbertchen/cli" in any of:
        /usr/local/go/src/github.com/gilbertchen/cli (from $GOROOT)
        /home/ketil/go/src/github.com/gilbertchen/cli (from $GOPATH)

I’m a total noob when it comes to git, but I can’t seem to find the cli stuff anywhere.
Am I missing something, or is something missing?

That was because the dependency needed by github.com/gilbertchen/duplicacy/duplicacy/duplicacy_main.go wasn’t pulled down.

This should work:

GIT_SSL_NO_VERIFY=true go get -u github.com/gilbertchen/duplicacy/...
cd go/src/github.com/gilbertchen/duplicacy/
go build duplicacy/duplicacy_main.go

Thanks - confirms my noobness doesn’t it, when I assumed the three dots represented a shortening of the path…

It seems to have solved the missing cli package, but I still get the “undefined: xattr.*” errors, and no duplicacy_main binary:

conduit$ go build duplicacy/duplicacy_main.go
# github.com/gilbertchen/duplicacy/src
src/duplicacy_utils_others.go:52:19: undefined: xattr.Listxattr
src/duplicacy_utils_others.go:56:22: undefined: xattr.Getxattr
src/duplicacy_utils_others.go:65:14: undefined: xattr.Listxattr
src/duplicacy_utils_others.go:71:23: undefined: xattr.Getxattr
src/duplicacy_utils_others.go:73:5: undefined: xattr.Setxattr
src/duplicacy_utils_others.go:77:4: undefined: xattr.Removexattr
src/duplicacy_utils_others.go:82:3: undefined: xattr.Setxattr

Might this be a case of a missing/“faulty” platform check? AFAIK OpenBSD doesn’t have the xattr mechanism.

Here is a similar issue: https://github.com/gilbertchen/duplicacy/issues/374

The solution posted there should work for OpenBSD too.