Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grafana-11.1/11.1.4 package update #26371

Merged
merged 4 commits into from
Aug 23, 2024

Conversation

octo-sts[bot]
Copy link
Contributor

@octo-sts octo-sts bot commented Aug 15, 2024

@octo-sts octo-sts bot added request-version-update request for a newer version of a package automated pr labels Aug 15, 2024
Copy link
Contributor Author

octo-sts bot commented Aug 15, 2024

Open AI suggestions to solve the build error:

The error message is: "ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-2864475882
INFO   guest dir: /temp/melange-guest-2010966284
ERRO failed to build package: unable to run package grafana-11.1 pipeline: unable to run pipeline: exit status 2
make[1]: *** [Makefile:111: packages/aarch64/grafana-11.1-11.1.4-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/grafana-11.1] Error 2
##[error]Process completed with exit code 2."

1. Verify dependencies for grafana-11.1 are installed.
2. Check the Makefile at line 111 for errors.
3. Ensure the build environment is correctly configured.
4. Run `make clean` to clear previous builds.
5. Retry the build process.

Copy link
Contributor Author

octo-sts bot commented Aug 19, 2024

Open AI suggestions to solve the build error:

The error message is:

github.com/grafana/pyroscope-go/godeltaprof/internal/pprof

/var/cache/melange/gomodcache/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond
/var/cache/melange/gomodcache/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame
exit status 1
make: *** [Makefile:173: build-go] Error 1


Suggestions to fix the error:
1. Verify `runtime_cyclesPerSecond` and `runtime_expandFinalInlineFrame` are defined in Go runtime.
2. Ensure Go version compatibility.
3. Check for updates in `pyroscope-go`.
4. Implement or mock missing functions if necessary.

Copy link
Contributor Author

octo-sts bot commented Aug 19, 2024

Open AI suggestions to solve the build error:

The error message is: 

github.com/grafana/pyroscope-go/godeltaprof/internal/pprof

/var/cache/melange/gomodcache/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond
/var/cache/melange/gomodcache/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame
exit status 1
make: *** [Makefile:173: build-go] Error 1
ERROR: failed to build package. the build environment has been preserved:
workspace dir: /temp/melange-workspace-2521074332
guest dir: /temp/melange-guest-3932429601
failed to build package: unable to run package grafana-11.1 pipeline: unable to run pipeline: exit status 2
make[1]: *** [Makefile:111: packages/aarch64/grafana-11.1-11.1.4-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/grafana-11.1] Error 2
Process completed with exit code 2.


To fix this error:
1. Verify that `runtime_cyclesPerSecond` and `runtime_expandFinalInlineFrame` are defined in the Go runtime.
2. Ensure you are using a compatible Go version.
3. Check for updates or patches in the `pyroscope-go` repository.
4. If the functions are deprecated, find their replacements.
5. Update the `pyroscope-go` dependency to the latest version.

Signed-off-by: Ajay Kemparaj <[email protected]>
@ajayk ajayk enabled auto-merge (squash) August 23, 2024 03:27
@ajayk ajayk merged commit bca70b9 into main Aug 23, 2024
14 checks passed
@ajayk ajayk deleted the wolfictl-41900b8e-9854-4052-a777-0d19e9a57e89 branch August 23, 2024 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants