commit: c77b9c1188474c82c8ec6aeed59d8a3008fd2d6b Author: Z. Liu <zhixu.liu <AT> gmail <DOT> com> AuthorDate: Sun Jan 25 08:52:33 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Feb 13 00:25:16 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c77b9c11
dev-lang/go: disable strip because the Go data race detector (go test -race) requires an unstripped Go toolchain when the internal linker is used. Closes: https://bugs.gentoo.org/961618 Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45508 Closes: https://github.com/gentoo/gentoo/pull/45508 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/go/{go-1.24.11.ebuild => go-1.24.11-r1.ebuild} | 6 +++++- dev-lang/go/{go-1.24.12.ebuild => go-1.24.12-r1.ebuild} | 4 ++++ dev-lang/go/{go-1.25.5.ebuild => go-1.25.5-r1.ebuild} | 6 +++++- dev-lang/go/{go-1.25.6.ebuild => go-1.25.6-r1.ebuild} | 4 ++++ dev-lang/go/go-9999.ebuild | 6 +++++- 5 files changed, 23 insertions(+), 3 deletions(-) diff --git a/dev-lang/go/go-1.24.11.ebuild b/dev-lang/go/go-1.24.11-r1.ebuild similarity index 94% rename from dev-lang/go/go-1.24.11.ebuild rename to dev-lang/go/go-1.24.11-r1.ebuild index 8e2a906df106..9c64792aecde 100644 --- a/dev-lang/go/go-1.24.11.ebuild +++ b/dev-lang/go/go-1.24.11-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -49,6 +49,10 @@ QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" QA_PREBUILT="*" QA_PRESTRIPPED="*.syso" +# The Go data race detector (go test -race) requires an unstripped Go toolchain. +# https://bugs.gentoo.org/961618 +RESTRICT="strip" + DOCS=( CONTRIBUTING.md PATENTS diff --git a/dev-lang/go/go-1.24.12.ebuild b/dev-lang/go/go-1.24.12-r1.ebuild similarity index 96% rename from dev-lang/go/go-1.24.12.ebuild rename to dev-lang/go/go-1.24.12-r1.ebuild index b6ef5dddba99..ba024c432e0a 100644 --- a/dev-lang/go/go-1.24.12.ebuild +++ b/dev-lang/go/go-1.24.12-r1.ebuild @@ -49,6 +49,10 @@ QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" QA_PREBUILT="*" QA_PRESTRIPPED="*.syso" +# The Go data race detector (go test -race) requires an unstripped Go toolchain. +# https://bugs.gentoo.org/961618 +RESTRICT="strip" + DOCS=( CONTRIBUTING.md PATENTS diff --git a/dev-lang/go/go-1.25.5.ebuild b/dev-lang/go/go-1.25.5-r1.ebuild similarity index 95% rename from dev-lang/go/go-1.25.5.ebuild rename to dev-lang/go/go-1.25.5-r1.ebuild index 21b21ffb02b9..208dee89dbee 100644 --- a/dev-lang/go/go-1.25.5.ebuild +++ b/dev-lang/go/go-1.25.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -49,6 +49,10 @@ QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" QA_PREBUILT="*" QA_PRESTRIPPED="*.syso" +# The Go data race detector (go test -race) requires an unstripped Go toolchain. +# https://bugs.gentoo.org/961618 +RESTRICT="strip" + DOCS=( CONTRIBUTING.md PATENTS diff --git a/dev-lang/go/go-1.25.6.ebuild b/dev-lang/go/go-1.25.6-r1.ebuild similarity index 96% rename from dev-lang/go/go-1.25.6.ebuild rename to dev-lang/go/go-1.25.6-r1.ebuild index bbf75b8b8d67..8655037fb5ed 100644 --- a/dev-lang/go/go-1.25.6.ebuild +++ b/dev-lang/go/go-1.25.6-r1.ebuild @@ -49,6 +49,10 @@ QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" QA_PREBUILT="*" QA_PRESTRIPPED="*.syso" +# The Go data race detector (go test -race) requires an unstripped Go toolchain. +# https://bugs.gentoo.org/961618 +RESTRICT="strip" + DOCS=( CONTRIBUTING.md PATENTS diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild index 8931e941a396..8a70623142fc 100644 --- a/dev-lang/go/go-9999.ebuild +++ b/dev-lang/go/go-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -49,6 +49,10 @@ QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" QA_PREBUILT="*" QA_PRESTRIPPED="*.syso" +# The Go data race detector (go test -race) requires an unstripped Go toolchain. +# https://bugs.gentoo.org/961618 +RESTRICT="strip" + DOCS=( CONTRIBUTING.md PATENTS
