cannot go install
Closed this issue · 3 comments
J-Zeitler commented
When I issue go install github.com/modfin/zdap/cmd/zdap@latest
I get the following error:
go: downloading github.com/modfin/zdap v0.0.0-20230914134107-9ad7496f289e
go: github.com/modfin/zdap/cmd/zdap@latest (in github.com/modfin/zdap@v0.0.0-20230914134107-9ad7496f289e):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
offending line?
J-Zeitler commented
package is unfortunately still called github.com/bicomsystems/go-libzfs
so can't get rid of the replace
https://github.com/ubuntu/go-libzfs/blob/master/go.mod#L1C8-L1C41
larsve commented
I think the only fast workaround, is to clone the repo and build zdap locally, until we have removed the replace
directive from go.mod
.