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?