Closed bafko closed 2 years ago
Same problem. Go 1.18, mac os (m1)
Hi @cryshado, you can manually update golang.org/x/sys
in your go.mod
(it is an indirect
dependency) as a temporary workaround.
@bafko Thank you! It really helped :)
@dgsb
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
go get -u golang.org/x/sys update the sys package version. Then it works
Hi, After the recent update to Go 1.18, apps using
logrus
are unable to start due togolang.org/x/sys
dependency in versionv0.0.0-20191026070338-33540a1f603
. This happens on macOS (bothGOOS=darwin GOARCH=amd64
andGOOS=darwin GOARCH=arm64
tested) with enabled CGO:It looks like that simple update to the latest version
v0.0.0-20220317061510-51cd9980dadf
solves the issue.