Somehow building from source on a QNAP system is pretty broken or I’m doing something fundamentally wrong:
[/share/homes/admin] # go install github.com/gilbertchen/duplicacy@latest
go: github.com/gilbertchen/duplicacy@latest: module github.com/gilbertchen/duplicacy@latest found (v2.7.2+incompatible), but does not contain package github.com/gilbertchen/duplicacy
[/share/homes/admin] # go install github.com/gilbertchen/duplicacy@3.2.5
Then trying with v3 in the path:
[/share/homes/admin] # go install github.com/gilbertchen/duplicacy/v3@v3.2.5
go: github.com/gilbertchen/duplicacy/v3@v3.2.5: github.com/gilbertchen/duplicacy@v3.2.5: invalid version: module contains a go.mod file, so module path must match major version ("github.com/gilbertchen/duplicacy/v3")
So I had to:
[/share/homes/admin] # git clone https://github.com/gilbertchen/duplicacy.git
Cloning into 'duplicacy'...
[/share/homes/admin/duplicacy/duplicacy] # go build
[/share/homes/admin/duplicacy/duplicacy] # mv duplicacy /share/GO-PROJECT/bin/duplicacy
I don’t understand why go install… doesn’t work, but anyway, now I have the 3.2.5 version up & running.