replaced by github.com/vmihailenco/encoding@v0.3.4-0.20220121071420-f96fbbb25975 - invalid: unknown revision f96fbbb25975
tkoeppen opened this issue · comments
Thomas Koeppen commented
when cloning the project first time and try to download dependencies
(environment: go version go1.22.4 darwin/arm64)
I get this error:
git clone https://github.com/uptrace/uptrace
cd uptrace
git submodule update --init --recursive
go clean -modcache
make gomoddownload go mod download
go: github.com/segmentio/encoding@v0.4.0 (replaced by github.com/vmihailenco/encoding@v0.3.4-0.20220121071420-f96fbbb25975): version "v0.3.4-0.20220121071420-f96fbbb25975" invalid: unknown revision f96fbbb25975
make: *** [gomoddownload] Error 1
Thomas Koeppen commented
my workaround was updating encoding dependency in uptrace go.mod to a newer commit from April:
vmihailenco/encoding@05bd731
uptrace/go.mod
replace github.com/segmentio/encoding => github.com/vmihailenco/encoding v0.3.4-0.20240424103427-05bd731dd667
Vladimir Mihailenco commented
Hopefully should be fixed by 8ed72ec