Skip to content

Conversation

@TinySnow
Copy link
Contributor

Here contains two patches:
One from modification of PKGBUILD called riscv46.
The other from upstream, which fixed the original error: assume-no-moving-gc.

Because upstream fixed this error without new release found, so I just change their modification into a patch then apply it in our packages.
Notice: in their modification, go need download new version, however, build() of PKGBUILD has a option export GOPROXY=off, which can lead this into failure, so I delete it.
If there is any wrong management, please fell free to tell me, thanks.

Build passed.

Related issue and pull request:
Issue: grafana/agent#1983
PR: grafana/agent#1985

Original error message:

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.

@felixonmars felixonmars merged commit b89dfae into felixonmars:master Aug 13, 2022
@TinySnow TinySnow deleted the grafana-agent branch January 11, 2023 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants