1 |
commit: 561b7a48cda8ce76609c6e5e4378e1f4464f240d |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 24 21:08:37 2021 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 24 21:09:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=561b7a48 |
7 |
|
8 |
dev-lang/go: workaround unrecognized elf file(s) qa notices |
9 |
|
10 |
This package generates several "unrecognized elf file(s)" notices when |
11 |
it is emerged on riscv. Work around this by using the QA_PREBUILT |
12 |
setting. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/794046 |
15 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
16 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
17 |
|
18 |
dev-lang/go/go-1.16.6.ebuild | 4 ++++ |
19 |
1 file changed, 4 insertions(+) |
20 |
|
21 |
diff --git a/dev-lang/go/go-1.16.6.ebuild b/dev-lang/go/go-1.16.6.ebuild |
22 |
index 895ddad58f5..ec547eb1359 100644 |
23 |
--- a/dev-lang/go/go-1.16.6.ebuild |
24 |
+++ b/dev-lang/go/go-1.16.6.ebuild |
25 |
@@ -44,6 +44,10 @@ QA_FLAGS_IGNORED='.*' |
26 |
# The tools in /usr/lib/go should not cause the multilib-strict check to fail. |
27 |
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" |
28 |
|
29 |
+# This package triggers "unrecognized elf file(s)" notices on riscv. |
30 |
+# https://bugs.gentoo.org/794046 |
31 |
+QA_PREBUILT='.*' |
32 |
+ |
33 |
# Do not strip this package. Stripping is unsupported upstream and may |
34 |
# fail. |
35 |
RESTRICT+=" strip" |