[Bug 266041] sysutils/loki: Fix runtime error with after runtime bump to go119

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Aug 2022 21:38:17 UTC

            Bug ID: 266041
           Summary: sysutils/loki: Fix runtime error with after runtime
                    bump to go119
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@funzi.org

Created attachment 236117
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236117&action=edit
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.

You are receiving this mail because:
You are the assignee for the bug.