Created attachment 236117 [details] allows go119 runtime for loki binaries Loki uses go4.org/unsafe and the upstream dependency uses a version that doesn't allow go119. However, go4.org already asserts that go119 is fine. Without this fix, you'll get errors like this when using any of the binaries: panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc hasn't been updated to assert that it's safe against the go1.19 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.19 set. Notably, if go1.19 adds a moving garbage collector, this program is unsafe to use.
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c5b27101bd44148e7ddab559d96438e77c05acd3 commit c5b27101bd44148e7ddab559d96438e77c05acd3 Author: Christopher Beppler <freebsd@funzi.org> AuthorDate: 2022-09-05 20:18:25 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2022-09-05 20:19:27 +0000 sysutils/loki: Fix runtime error with after runtime bump to go119 PR: 266041 Approved by: maintainer sysutils/loki/Makefile | 6 +++--- sysutils/loki/distinfo | 4 +++- sysutils/loki/files/patch-go.mod (new) | 11 +++++++++++ sysutils/loki/files/patch-go.sum (new) | 11 +++++++++++ sysutils/loki/files/patch-vendor_modules.txt (new) | 11 +++++++++++ 5 files changed, 39 insertions(+), 4 deletions(-)