uptrace / uptrace

Open source APM: OpenTelemetry traces, metrics, and logs

Home Page:https://uptrace.dev/get/open-source-apm.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

replaced by github.com/vmihailenco/encoding@v0.3.4-0.20220121071420-f96fbbb25975 - invalid: unknown revision f96fbbb25975

tkoeppen opened this issue · comments

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

https://github.com/vmihailenco/encoding

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

Hopefully should be fixed by 8ed72ec