commit:     561b7a48cda8ce76609c6e5e4378e1f4464f240d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 21:08:37 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 21:09:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=561b7a48

dev-lang/go: workaround unrecognized elf file(s) qa notices

This package generates several "unrecognized elf file(s)" notices when
it is emerged on riscv. Work around this by using the QA_PREBUILT
setting.

Bug: https://bugs.gentoo.org/794046
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-lang/go/go-1.16.6.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-lang/go/go-1.16.6.ebuild b/dev-lang/go/go-1.16.6.ebuild
index 895ddad58f5..ec547eb1359 100644
--- a/dev-lang/go/go-1.16.6.ebuild
+++ b/dev-lang/go/go-1.16.6.ebuild
@@ -44,6 +44,10 @@ QA_FLAGS_IGNORED='.*'
 # The tools in /usr/lib/go should not cause the multilib-strict check to fail.
 QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
 
+# This package triggers "unrecognized elf file(s)" notices on riscv.
+# https://bugs.gentoo.org/794046
+QA_PREBUILT='.*'
+
 # Do not strip this package. Stripping is unsupported upstream and may
 # fail.
 RESTRICT+=" strip"

Reply via email to