commit:     859d6a45e62659b48a255dfd5e0c3672985c0f4b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 13 05:24:59 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 13 05:24:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=859d6a45

dev-lang/go: drop RESTRICT=strip

As we've done in the eclass just now in dc9f739ba2e4016af2c9a0ba0a9dad59fe8343c4
and f9ea59b479b0a2564383d347e4778d4dd71e5bc9.

Bug: https://bugs.gentoo.org/926841
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/go/{go-9999.ebuild => go-1.24.5-r1.ebuild} | 7 ++-----
 dev-lang/go/go-9999.ebuild                          | 4 ----
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-1.24.5-r1.ebuild
similarity index 93%
copy from dev-lang/go/go-9999.ebuild
copy to dev-lang/go/go-1.24.5-r1.ebuild
index 923732906b23..73979ffd6627 100644
--- a/dev-lang/go/go-9999.ebuild
+++ b/dev-lang/go/go-1.24.5-r1.ebuild
@@ -20,7 +20,7 @@ case ${PV}  in
 *)
        SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
        S="${WORKDIR}"/go
-#      KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+       KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
        ;;
 esac
 
@@ -48,10 +48,6 @@ QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
 # https://bugs.gentoo.org/794046
 QA_PREBUILT='.*'
 
-# Do not strip this package. Stripping is unsupported upstream and may
-# fail.
-RESTRICT=" strip"
-
 DOCS=(
        CONTRIBUTING.md
        PATENTS
@@ -68,6 +64,7 @@ go_cross_compile() {
 }
 
 PATCHES=(
+       "${FILESDIR}"/go-1.24-skip-gdb-tests.patch
        "${FILESDIR}"/go-1.24-dont-force-gold-arm.patch
        "${FILESDIR}"/go-never-download-newer-toolchains.patch
 )

diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild
index 923732906b23..5f202931d0de 100644
--- a/dev-lang/go/go-9999.ebuild
+++ b/dev-lang/go/go-9999.ebuild
@@ -48,10 +48,6 @@ QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
 # https://bugs.gentoo.org/794046
 QA_PREBUILT='.*'
 
-# Do not strip this package. Stripping is unsupported upstream and may
-# fail.
-RESTRICT=" strip"
-
 DOCS=(
        CONTRIBUTING.md
        PATENTS

Reply via email to