Hello,
I wanted to try out zstdseek, but looking at the latest release (0.7.3), I saw that it has no binaries. So, I tried to follow the install instructions:
sudo apt install gccgo-go
go get -u github.com/SaveTheRbtz/zstd-seekable-format-go/pkg
and got:
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'.
So, I tried:
go install github.com/SaveTheRbtz/zstd-seekable-format-go/pkg@latest
which works, but does not give me zstdseek, so I tried:
go install github.com/SaveTheRbtz/zstd-seekable-format-go/cmd/zstdseek@latest
but got:
go: downloading github.com/SaveTheRbtz/zstd-seekable-format-go/cmd/zstdseek v0.7.3
go: downloading golang.org/x/term v0.25.0
go: downloading github.com/schollz/progressbar/v3 v3.16.1
go: downloading github.com/klauspost/compress v1.17.10
go: downloading github.com/SaveTheRbtz/fastcdc-go v0.3.0
go: downloading github.com/SaveTheRbtz/zstd-seekable-format-go/pkg v0.7.2
go: downloading golang.org/x/sys v0.26.0
go: downloading github.com/google/btree v1.1.2
go: downloading github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
go: downloading github.com/rivo/uniseg v0.4.7
# go.uber.org/zap/internal/pool
/home/user/.local/share/go/pkg/mod/go.uber.org/zap@v1.27.0/internal/pool/pool.go:34:13: error: expected ‘]’
34 | type Pool[T any] struct {
| ^
/home/user/.local/share/go/pkg/mod/go.uber.org/zap@v1.27.0/internal/pool/pool.go:36:1: error: expected declaration
36 | }
| ^
/home/user/.local/share/go/pkg/mod/go.uber.org/zap@v1.27.0/internal/pool/pool.go:40:9: error: expected ‘(’
40 | func New[T any](fn func() T) *Pool[T] {
| ^
/home/user/.local/share/go/pkg/mod/go.uber.org/zap@v1.27.0/internal/pool/pool.go:40:12: error: expected ‘]’
40 | func New[T any](fn func() T) *Pool[T] {
| ^
... thousands of lines of similar errors ...
Then I noticed, that there are binaries for 0.7.1 even though there are none for 0.7.3 and none for 0.7.2.
dpkg -l '*gccgo*'
||/ Name Version Architecture Description
+++-=========================-=====================-============-=====================================================
ii gccgo-14 14.2.0-4ubuntu2~24.04 amd64 GNU Go compiler
un gccgo-14-doc <none> <none> (no description available)
ii gccgo-14-x86-64-linux-gnu 14.2.0-4ubuntu2~24.04 amd64 GNU Go compiler for the x86_64-linux-gnu architecture
ii gccgo-go:amd64 2:1.22~2build1 amd64 Go programming language -- gccgo
I installed gccgo instead of golang-go because it was half the size. Maybe that was the problem.
Hello,
I wanted to try out zstdseek, but looking at the latest release (0.7.3), I saw that it has no binaries. So, I tried to follow the install instructions:
and got:
So, I tried:
which works, but does not give me zstdseek, so I tried:
but got:
Then I noticed, that there are binaries for 0.7.1 even though there are none for 0.7.3 and none for 0.7.2.
I installed gccgo instead of golang-go because it was half the size. Maybe that was the problem.