Since the package SRC_URI refers to a prebuilt amd64 binary. The program does not work on arm64 by default. However a separate arm64 binary is available on the grafana download page https://grafana.com/grafana/download/9.1.6?pg=get&platform=arm&plcmt=selfmanaged-box1-cta1&edition=oss Reproducible: Always Steps to Reproduce: 1. Emerge www-apps/grafana-bin on arm64 2. Start service (rc-service grafana start) Actual Results: An amd64 binary is installed. The service crashes. Expected Results: An arm64 binary should be installed. Service should start as expected.
Created attachment 814378 [details, diff] Ebuild patch for arm64 support
Created attachment 833273 [details, diff] Ebuild patch for arm64 support v9.2.4
Created attachment 860313 [details, diff] Ebuild patch for arm64 support v9.4.7
(In reply to Jan Breig from comment #3) > Created attachment 860313 [details, diff] [details, diff] > Ebuild patch for arm64 support v9.4.7 I am not sure, how this can work. The installed binary is amd64? /usr/bin/grafana: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=LF95N8liQl1Y9X5HzuLi/zOKb0woRthkKN3X9NMRq/p6QU9Btk48opXskNIfPn/6qHrVd4GWqVz-DwNwkzH, stripped
@patrick: any objections against adding arm64?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ede0b7202a626f3952c1b0f295411b126670d1a commit 3ede0b7202a626f3952c1b0f295411b126670d1a Author: Louis Sautier <sbraz@gentoo.org> AuthorDate: 2024-06-30 12:21:12 +0000 Commit: Louis Sautier <sbraz@gentoo.org> CommitDate: 2024-06-30 12:55:33 +0000 www-apps/grafana-bin: add 11.1.0 with ARM64 support Closes: https://bugs.gentoo.org/873178 Signed-off-by: Louis Sautier <sbraz@gentoo.org> www-apps/grafana-bin/Manifest | 2 + www-apps/grafana-bin/grafana-bin-11.1.0.ebuild | 74 ++++++++++++++++++++++++++ 2 files changed, 76 insertions(+)