[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: b694eb9a477880a504960cdb90f4b48f3e6c
Author: James Le Cuirot gentoo org>
AuthorDate: Mon Mar 16 11:07:59 2026 +
Commit: James Le Cuirot gentoo org>
CommitDate: Mon Mar 16 11:07:59 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b694eb9a
dev-lang/go: The anti-gold patch no longer applies to
Because it's no longer needed. Hurray!
Signed-off-by: James Le Cuirot gentoo.org>
dev-lang/go/go-.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-.ebuild
index 58f2d475e10a..e246d6f0ee27 100644
--- a/dev-lang/go/go-.ebuild
+++ b/dev-lang/go/go-.ebuild
@@ -70,7 +70,6 @@ go_cross_compile() {
PATCHES=(
"${FILESDIR}"/go-1.24-skip-gdb-tests.patch
- "${FILESDIR}"/go-1.24-dont-force-gold-arm.patch
"${FILESDIR}"/go-1.25-no-dwarf5.patch
"${FILESDIR}"/go-never-download-newer-toolchains.patch
)
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 6e394d1c47825c1bb2ddb111672805e34fe6b2fe
Author: Sam James gentoo org>
AuthorDate: Sat Mar 14 17:37:09 2026 +
Commit: Sam James gentoo org>
CommitDate: Sat Mar 14 17:37:29 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e394d1c
dev-lang/go: keyword 1.25.8
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.25.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.8.ebuild b/dev-lang/go/go-1.25.8.ebuild
index 30c58be88099..3b7a2e531120 100644
--- a/dev-lang/go/go-1.25.8.ebuild
+++ b/dev-lang/go/go-1.25.8.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/go${MY_PV}.src.tar.gz "
S="${WORKDIR}"/go
-# KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86
~x64-macos ~x64-solaris"
+ KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86
~x64-macos ~x64-solaris"
;;
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 301be6111d4459799b9feb1f96b412260c6ef6d3
Author: Sam James gentoo org>
AuthorDate: Sat Mar 14 17:37:20 2026 +
Commit: Sam James gentoo org>
CommitDate: Sat Mar 14 17:37:30 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=301be611
dev-lang/go: keyword 1.26.1
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.26.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.26.1.ebuild b/dev-lang/go/go-1.26.1.ebuild
index 58f2d475e10a..0a5414fbe0e1 100644
--- a/dev-lang/go/go-1.26.1.ebuild
+++ b/dev-lang/go/go-1.26.1.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/go${MY_PV}.src.tar.gz "
S="${WORKDIR}"/go
-# KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86
~x64-macos ~x64-solaris"
+ KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86
~x64-macos ~x64-solaris"
;;
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 378e8a500ab2dd0014d0ee058a689d36e94e9a38
Author: Sam James gentoo org>
AuthorDate: Sat Mar 14 15:26:43 2026 +
Commit: Sam James gentoo org>
CommitDate: Sat Mar 14 17:27:26 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378e8a50
dev-lang/go: add 1.26.1
Also, put the DWARF 5 patch in too, as we want to keep it indefinitely
for now. It depends on changes outside of Go (debugedit), not Go itself,
so it's not obvious we want to drop it on the next bump.
Closes: https://bugs.gentoo.org/970318
Signed-off-by: Sam James gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/{go-.ebuild => go-1.26.1.ebuild} | 3 ++-
dev-lang/go/go-.ebuild | 3 ++-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index c5050e4b7d5d..5757ce83257a 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -3,3 +3,4 @@ DIST go1.24.12.src.tar.gz 30803950 BLAKE2B
b3f7d2f1392d3337e6645c4fa53e2e53c4258
DIST go1.25.5.src.tar.gz 31983405 BLAKE2B
b6349931e6174b1b11c00360fb7a3040a80f3d3d463894b29393a464548398bad37be685923c725eb8a3fb71d42849254319102c833418f81eca477f52579222
SHA512
97ec368521253bce610e1e3a6f10460f4a38eba440289553a40ab27afcdf2bb9b426d150ffaa3be8db50e84a00a4eb723a631ebc4f39168bc133bf7b2f1ccf66
DIST go1.25.6.src.tar.gz 31987986 BLAKE2B
f9937808018f058d0f50fd0c0c1fa8f5a0f25d983a477e158e310d46dea30e33f3e0ea3d97ab550b6e5ed8d9f3b5354e76923b539ddb16a081f42e24fd3e4cfc
SHA512
214b2d82b5322d544e80d7202db9169c24e5f097338f2d0e6d34189bd5bde9e7c1656f06611062c78a156181f03956181971b346172fc14617726bfece5e61e9
DIST go1.25.8.src.tar.gz 31991986 BLAKE2B
c8a18a74a8903e53954bcc39ce804518e94bd6b2ee0b8a0cc4b5cd87f5d1760d6b1235233d2bf2804e3ec55a42cf6f5345a6fe4382e7406483915101ca107c97
SHA512
2f5c9f314d18169985a9a4b19346e00dd5d4b396c8c17bfffe5719e51f27d834cc9649d0165f7eeb7367d3b6d384f49917325a40b49ba4da65e22f2c5362c739
+DIST go1.26.1.src.tar.gz 34108253 BLAKE2B
3128218a9c24dfacfbe2f0f5fa7fc3feb86a1954ba11bdad3b3a9af0e3359bb98dce79453d8fdaedaf5403dc15b3cb233883d0815520f094662ca7dcf9f509b2
SHA512
7bab2a762b4aff1c2c3a3cf3ad20bce63fabff28c7ff63b18cb8b0ce427a7bc1781cfd3fa291f4bff499247b1f0fd56f1698bb19bc7c1be7d7d2f38716438d41
diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-1.26.1.ebuild
similarity index 98%
copy from dev-lang/go/go-.ebuild
copy to dev-lang/go/go-1.26.1.ebuild
index ed4849486926..58f2d475e10a 100644
--- a/dev-lang/go/go-.ebuild
+++ b/dev-lang/go/go-1.26.1.ebuild
@@ -7,7 +7,7 @@ export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.22.12
+GO_BOOTSTRAP_MIN=1.24.6
MY_PV=${PV/_/}
inherit flag-o-matic go-env toolchain-funcs
@@ -71,6 +71,7 @@ go_cross_compile() {
PATCHES=(
"${FILESDIR}"/go-1.24-skip-gdb-tests.patch
"${FILESDIR}"/go-1.24-dont-force-gold-arm.patch
+ "${FILESDIR}"/go-1.25-no-dwarf5.patch
"${FILESDIR}"/go-never-download-newer-toolchains.patch
)
diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-.ebuild
index ed4849486926..58f2d475e10a 100644
--- a/dev-lang/go/go-.ebuild
+++ b/dev-lang/go/go-.ebuild
@@ -7,7 +7,7 @@ export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.22.12
+GO_BOOTSTRAP_MIN=1.24.6
MY_PV=${PV/_/}
inherit flag-o-matic go-env toolchain-funcs
@@ -71,6 +71,7 @@ go_cross_compile() {
PATCHES=(
"${FILESDIR}"/go-1.24-skip-gdb-tests.patch
"${FILESDIR}"/go-1.24-dont-force-gold-arm.patch
+ "${FILESDIR}"/go-1.25-no-dwarf5.patch
"${FILESDIR}"/go-never-download-newer-toolchains.patch
)
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 27a8cae9f9525175f92802bb7f092a913d53f825
Author: Sam James gentoo org>
AuthorDate: Sat Mar 14 15:15:11 2026 +
Commit: Sam James gentoo org>
CommitDate: Sat Mar 14 17:27:26 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27a8cae9
dev-lang/go: add 1.25.8
I've included two other fixes:
* Disable an LTO test if using a debug GCC (see bug #912152 for why)
* Try to filter -g3 to avoid breaking a test, though it seems incomplete
(bug #929219)
It looks like this might be fixed in Go 1.27 anyway though with
https://github.com/golang/go/commit/5f51b092846ae43d03092d866449d9933a8bf42b.
Bug: https://bugs.gentoo.org/912152
Bug: https://bugs.gentoo.org/929219
Bug: https://bugs.gentoo.org/968833
Bug: https://bugs.gentoo.org/970944
Signed-off-by: Sam James gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/{go-.ebuild => go-1.25.8.ebuild} | 18 +-
dev-lang/go/go-.ebuild | 16 +++-
3 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index deec5096bbe4..c5050e4b7d5d 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -2,3 +2,4 @@ DIST go1.24.11.src.tar.gz 30801851 BLAKE2B
04463c4a238b0303df88ad2d7670bdb208dec
DIST go1.24.12.src.tar.gz 30803950 BLAKE2B
b3f7d2f1392d3337e6645c4fa53e2e53c4258aa9ecf12b38a10305d172f0c2172d98d273dd030c17f82df17fa3cd5ec464986836261ffdb3324e8f97b2f2b437
SHA512
2de51c56f7ca04003b16d0fecc4cb35a3c5a42bd54f4da1f1e49d45b702d7a872057756d389f2283b4f7283fb33f0618465e231a6333b7cb6cfff98f67b2454e
DIST go1.25.5.src.tar.gz 31983405 BLAKE2B
b6349931e6174b1b11c00360fb7a3040a80f3d3d463894b29393a464548398bad37be685923c725eb8a3fb71d42849254319102c833418f81eca477f52579222
SHA512
97ec368521253bce610e1e3a6f10460f4a38eba440289553a40ab27afcdf2bb9b426d150ffaa3be8db50e84a00a4eb723a631ebc4f39168bc133bf7b2f1ccf66
DIST go1.25.6.src.tar.gz 31987986 BLAKE2B
f9937808018f058d0f50fd0c0c1fa8f5a0f25d983a477e158e310d46dea30e33f3e0ea3d97ab550b6e5ed8d9f3b5354e76923b539ddb16a081f42e24fd3e4cfc
SHA512
214b2d82b5322d544e80d7202db9169c24e5f097338f2d0e6d34189bd5bde9e7c1656f06611062c78a156181f03956181971b346172fc14617726bfece5e61e9
+DIST go1.25.8.src.tar.gz 31991986 BLAKE2B
c8a18a74a8903e53954bcc39ce804518e94bd6b2ee0b8a0cc4b5cd87f5d1760d6b1235233d2bf2804e3ec55a42cf6f5345a6fe4382e7406483915101ca107c97
SHA512
2f5c9f314d18169985a9a4b19346e00dd5d4b396c8c17bfffe5719e51f27d834cc9649d0165f7eeb7367d3b6d384f49917325a40b49ba4da65e22f2c5362c739
diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-1.25.8.ebuild
similarity index 86%
copy from dev-lang/go/go-.ebuild
copy to dev-lang/go/go-1.25.8.ebuild
index 8a70623142fc..30c58be88099 100644
--- a/dev-lang/go/go-.ebuild
+++ b/dev-lang/go/go-1.25.8.ebuild
@@ -10,7 +10,7 @@ export CTARGET=${CTARGET:-${CHOST}}
GO_BOOTSTRAP_MIN=1.22.12
MY_PV=${PV/_/}
-inherit go-env toolchain-funcs
+inherit flag-o-matic go-env toolchain-funcs
case ${PV} in
**)
@@ -71,6 +71,8 @@ go_cross_compile() {
PATCHES=(
"${FILESDIR}"/go-1.24-skip-gdb-tests.patch
"${FILESDIR}"/go-1.24-dont-force-gold-arm.patch
+ "${FILESDIR}"/go-1.25-no-dwarf5.patch
+ "${FILESDIR}"/go-1.25-strip-top-level-const.patch
"${FILESDIR}"/go-never-download-newer-toolchains.patch
)
@@ -84,6 +86,20 @@ src_compile() {
die "Should not be here, please report a bug"
fi
+ if tc-is-gcc ; then
+ # XXX: Hack for checking ICE (bug #912152, gcc PR113204)
+ #
+ # For either USE=debug or an unreleased compiler, non-default
+ # checking will trigger.
+ if has_version -b "sys-devel/gcc[debug]" || [[
$(gcc-minor-version) -eq 0 ]] ; then
+ rm src/cmd/link/cgo_test.go || die
+ fi
+
+ # bug #929219
+ replace-flags -g3 -g
+ replace-flags -ggdb3 -ggdb
+ fi
+
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
export GOHOSTARCH=$(go-env_goarch ${CBUILD})
export GOHOSTOS=$(go-env_goos ${CBUILD})
diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-.ebuild
index 8a70623142fc..ed4849486926 100644
--- a/dev-lang/go/go-.ebuild
+++ b/dev-lang/go/go-.ebuild
@@ -10,7 +10,7 @@ export CTARGET=${CTARGET:-${CHOST}}
GO_BOOTSTRAP_MIN=1.22.12
MY_PV=${PV/_/}
-inherit go-env toolchain-funcs
+inherit flag-o-matic go-env toolchain-funcs
case ${PV} in
**)
@@ -84,6 +84,20 @@ src_compile() {
die "Should not be here, please report a bug"
fi
+ if tc-is-gcc ; then
+ # XXX: Hack for checking ICE (bug #912152, gcc PR113204)
+ #
+ # For either USE=debug or an unreleased compiler, non-default
+ # checking will trigger.
+ if has_version -b "sys-devel/gcc[debug]"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go-bootstrap/
commit: 2745927b96443dbb329735a342e894ccd7ed78f5 Author: Sam James gentoo org> AuthorDate: Sat Mar 14 17:26:00 2026 + Commit: Sam James gentoo org> CommitDate: Sat Mar 14 17:27:26 2026 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2745927b dev-lang/go-bootstrap: add 1.24.6 Bug: https://bugs.gentoo.org/970318 Signed-off-by: Sam James gentoo.org> dev-lang/go-bootstrap/Manifest | 16 dev-lang/go-bootstrap/go-bootstrap-1.24.6.ebuild | 51 2 files changed, 67 insertions(+) diff --git a/dev-lang/go-bootstrap/Manifest b/dev-lang/go-bootstrap/Manifest index 5a986891754c..05c27e2963dd 100644 --- a/dev-lang/go-bootstrap/Manifest +++ b/dev-lang/go-bootstrap/Manifest @@ -30,3 +30,19 @@ DIST go-bootstrap-1.22.12-linux-ppc64le.tbz 60214299 BLAKE2B 9506975d7ed9170c280 DIST go-bootstrap-1.22.12-linux-riscv64.tbz 61337982 BLAKE2B 04bad675e1d0bbd7578acf8ac545b09bb0542cc8336b3e7ed0d62c0a2620ab63c3d1e28644bfdce984130ef851d19e59375ab9ffe8e3cea6f9dbb8cd0ac56246 SHA512 b0002a0a1fa976b1b575920053bb88cd89fb5b76ff1e34bde1ef001cc87f70541a60f755d9dd9d898ca05bfb59a4b79e6892082f43b5cb78c62c8703b14c10d1 DIST go-bootstrap-1.22.12-linux-s390x.tbz 62183020 BLAKE2B f6fb0f28e2e24523b49263cc5f74c7d0c54e7933ce56fd3c6774b4d003cc0d8ae774d86133f84cc475bb6270b2c3f44f6576f81689f38e8fffd679f097d0963b SHA512 34144ead46490c57b486f01ca86e78025c45b74c721128047095bab02fc9e31c7681e172f4726bb87d422889eb78b3e9762de242e7c9eb1770ac322edb1c933f DIST go-bootstrap-1.22.12-solaris-amd64.tbz 63917252 BLAKE2B ec274db725ae7e27174e708c8e719494a2053de01d829d594c29d16c23576bd1118968855b0b9ac4e904817c3f06ce6ac49301d749f3c8c4615066d92af5f5ea SHA512 22021ce136c6885a5f90cb42a6f8683c5ad1f6dae5f2f6f0c296556ddc571ec4d5b0c200b1739dda6121d717729a1f1ab27eeac46d9589187d96105996423d0a +DIST go-bootstrap-1.24.6-darwin-amd64.tbz 73967356 BLAKE2B eb7d0a014e716fdb596faa8ba942008bd77435a63a9462a982bdee179233958abdbb8871ee2a87a6b6c4150cc3165b2ea8b748770861476910d7fb2ede823bdd SHA512 5a05ebbb41841c1c9511ee23dea5dcb922ae05bdc2e2247f0f7767c39c7820c6c6b318bc25b73e7ccb96e85968ca2eda2c311af90026c299c492fa2a5d01b848 +DIST go-bootstrap-1.24.6-darwin-arm64.tbz 70684034 BLAKE2B 3d26947018fe8a689c671903e2228477f97c4a41d4e8815d6dc87958dd2c34ffd0d7a832e7c228aebaf9835cb0a16a468ff9dc80de40cb47855507f9e6886ce0 SHA512 a2b31964e3c53c2a2b038427e6e1c12e5ed12de5b364dec9da72fd145ab770f43962168ebfead3dcd95d5c2f5c2abf30fa5fc182a87b81c609f406e48de8c0fb +DIST go-bootstrap-1.24.6-linux-386.tbz 70806247 BLAKE2B 9be2baecd8216a516faceac379287f0349762e272ceedb090a2abe534f38f0c38bab287b0f031c56db9631dc6c0479b0cb712b4910374f42c80d279f80f96fd6 SHA512 f13b59dd72b835ff4f9dbb5c008807555967b5dca8924c801bb68de989f72899eabb62f86ad1d510efb29534b33a4dc10efed91b60cba5a0bd08493d1ccc1385 +DIST go-bootstrap-1.24.6-linux-amd64.tbz 73082509 BLAKE2B e24bbb8bdb628e75a30874839b3a51239e6aca1900fa6f1e255577e8cda8a3bc5c14aae9685776f0e9b06ef7cdc2fade2adeab654a60747ad047d512e750f67e SHA512 b8311d531ba8a310e55f578b3a0735ab6e7030cc2dd121c58769ab47cb6abbb23c80b0425bdc1b1a531424feabeeeb770b35bea68d71aa60a032554cb582f049 +DIST go-bootstrap-1.24.6-linux-arm.tbz 69995307 BLAKE2B 3707174c42dec34183b914fa311f789aeeafdb8e6be654a68c18ae9bd639f0d2d152d094340473a20e169647e040dc09000c3a8e06f2100c4e61e48e7d53254d SHA512 9092d97669e483ce86f39028ab25119cc92b217d75e74d386f3c92697c94059a0ccf0f6178aad89c99a05ae41a5503f3076f70657792eb37fd6bfd52f705aeac +DIST go-bootstrap-1.24.6-linux-arm64.tbz 68586366 BLAKE2B cbd04b18539a4e284223aa32e72270a72e2722a42f6627bd7767c2e7ac1278d3c6309fa5dd9e1d89d7d7892e47d1597c15ea058a2cfc93d849c9a66ad12f479e SHA512 0df771070aa403cd38f11f55b4694224b5cb0604d068b299680cb733a47966278757b8bf598aa6e131c8dfdfddd8ceecc0e92a33f8aacba89dd5951ba1d35dbc +DIST go-bootstrap-1.24.6-linux-loong64.tbz 69718184 BLAKE2B cc65c150f927d5fd5fd9c376ed3fb35f2569873302981c7bd580dd2ea3b6f88dd3922e50ad29790897f0e04661e755bcb91cefef64e8e03b7424a9f4f78c SHA512 831eb45d438df520350c27537ed2fd52671454ee1d174b849318f249e60dcbd067656bb1cc033869c1e7f444355af1ff4c215a331ec7cd895dde01089d28fee1 +DIST go-bootstrap-1.24.6-linux-mips.tbz 65779741 BLAKE2B 1d748885615e87f7ea41f4c45d231b9391fb4bbe9e3d1de701ee5ce5fdc010771ddde427197362fdc35302aadfd7512857f5ce0af1c5b17f08fab8c0d18aeb3f SHA512 e6aa70a601ed105e724ebb999afaedbfce6d874a438db6f06ea1086df66670c541d6317606c77cab3c75bcaa3fe13fa53b0f6ae5fc7c587c596d338aa46e7bcf +DIST go-bootstrap-1.24.6-linux-mips64.tbz 65476295 BLAKE2B 3b6c8afd412cad52c5357c98daa4cf9fa29c0f37e41ead8ae397e3f95b7981b55ad6e367be2faf8bc6dc09498593fcd2cb43161993c31f3c0e508404f6215585 SHA512 fc1923a4fe55b1f986c79352811f86cf472414045cafc48e03fb2d018dbdc303f1f8e9021103e04e583408e0fab7fec6f9da57e9a283a79c8ea02d91ac3f13d9 +DIST go-bootstrap-1.24.6-linux-mips64le.tbz 65730420 BLAKE2B 4f9f6be0d8be999069c17c7c451bcc339caaf0b14d92bdca99ff94ee09ce08d43646039fc73fe386534c4c0644a56333b6bf4c9fad8740b6a000bde272b9f263 SHA512
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: c77b9c1188474c82c8ec6aeed59d8a3008fd2d6b
Author: Z. Liu gmail com>
AuthorDate: Sun Jan 25 08:52:33 2026 +
Commit: Sam James gentoo org>
CommitDate: Fri Feb 13 00:25:16 2026 +
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 gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45508
Closes: https://github.com/gentoo/gentoo/pull/45508
Signed-off-by: Sam James 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-.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-.ebuild b/dev-lang/go/go-.ebuild
index 8931e941a396..8a70623142fc 100644
--- a/dev-lang/go/go-.ebuild
+++ b/dev-lang/go/go-.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 172dace11bba89beb9a2b225603fdc42893b60f3
Author: William Hubbs gentoo org>
AuthorDate: Mon Feb 2 17:26:17 2026 +
Commit: William Hubbs gentoo org>
CommitDate: Mon Feb 2 17:26:30 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=172dace1
dev-lang/go: add 1.24.12, 1.25.6
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 2 +
dev-lang/go/go-1.24.12.ebuild | 129 +
dev-lang/go/go-1.25.6.ebuild | 131 ++
3 files changed, 262 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index d9f56e3f467b..deec5096bbe4 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,2 +1,4 @@
DIST go1.24.11.src.tar.gz 30801851 BLAKE2B
04463c4a238b0303df88ad2d7670bdb208deced4f38c9bfc2b98ec04cc2e182a03fcf029334481507efa766b17e81c92bac9d63fc93948f94ee2b2c8adff40b4
SHA512
9344039d231e50b63f52acbdd6cf2f483a4052d95b5fcc3e8a6d8fde80f0195f66ac5588302809ff0425de4d7c6b428ae842ec33b468c7020873acedbdea16ef
+DIST go1.24.12.src.tar.gz 30803950 BLAKE2B
b3f7d2f1392d3337e6645c4fa53e2e53c4258aa9ecf12b38a10305d172f0c2172d98d273dd030c17f82df17fa3cd5ec464986836261ffdb3324e8f97b2f2b437
SHA512
2de51c56f7ca04003b16d0fecc4cb35a3c5a42bd54f4da1f1e49d45b702d7a872057756d389f2283b4f7283fb33f0618465e231a6333b7cb6cfff98f67b2454e
DIST go1.25.5.src.tar.gz 31983405 BLAKE2B
b6349931e6174b1b11c00360fb7a3040a80f3d3d463894b29393a464548398bad37be685923c725eb8a3fb71d42849254319102c833418f81eca477f52579222
SHA512
97ec368521253bce610e1e3a6f10460f4a38eba440289553a40ab27afcdf2bb9b426d150ffaa3be8db50e84a00a4eb723a631ebc4f39168bc133bf7b2f1ccf66
+DIST go1.25.6.src.tar.gz 31987986 BLAKE2B
f9937808018f058d0f50fd0c0c1fa8f5a0f25d983a477e158e310d46dea30e33f3e0ea3d97ab550b6e5ed8d9f3b5354e76923b539ddb16a081f42e24fd3e4cfc
SHA512
214b2d82b5322d544e80d7202db9169c24e5f097338f2d0e6d34189bd5bde9e7c1656f06611062c78a156181f03956181971b346172fc14617726bfece5e61e9
diff --git a/dev-lang/go/go-1.24.12.ebuild b/dev-lang/go/go-1.24.12.ebuild
new file mode 100644
index ..b6ef5dddba99
--- /dev/null
+++ b/dev-lang/go/go-1.24.12.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.22.12
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ SRC_URI="https://go.dev/dl/go${MY_PV}.src.tar.gz "
+ S="${WORKDIR}"/go
+ KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86
~x64-macos ~x64-solaris"
+ ;;
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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="*"
+QA_PRESTRIPPED="*.syso"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+ export GOOS=$(go-env_goos)
+ export CC_FOR_TARGET=$(tc-getCC)
+ export CXX_FOR_TARGET=$(tc-getCXX)
+ use arm && export GOARM=$(go-env_goarm)
+ use x86 && export GO386=$(go-env_go386)
+
+ cd src
+ bash -x ./mak
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go-bootstrap/
commit: bfc5e154344a12f82205a1d3e1c06813539b61cc Author: Sam James gentoo org> AuthorDate: Sun Dec 28 18:37:06 2025 + Commit: Sam James gentoo org> CommitDate: Sun Dec 28 20:43:40 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc5e154 dev-lang/go-bootstrap: update DESCRIPTION to say 'binary' Go connoisseurs will know Go is written in Go, but perhaps others won't. Bug: https://bugs.gentoo.org/968116 Signed-off-by: Sam James gentoo.org> dev-lang/go-bootstrap/go-bootstrap-1.20.14.ebuild | 4 ++-- dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-lang/go-bootstrap/go-bootstrap-1.20.14.ebuild b/dev-lang/go-bootstrap/go-bootstrap-1.20.14.ebuild index 9cac5f9161d6..43c52472fc88 100644 --- a/dev-lang/go-bootstrap/go-bootstrap-1.20.14.ebuild +++ b/dev-lang/go-bootstrap/go-bootstrap-1.20.14.ebuild @@ -1,9 +1,9 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DESCRIPTION="Bootstrap package for dev-lang/go" +DESCRIPTION="Binary bootstrap package for dev-lang/go" HOMEPAGE="https://golang.org"; BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"; SRC_URI=" diff --git a/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild b/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild index a59037c92d9f..abd02c32facc 100644 --- a/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild +++ b/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild @@ -3,7 +3,7 @@ EAPI=8 -DESCRIPTION="Bootstrap package for dev-lang/go" +DESCRIPTION="Binary bootstrap package for dev-lang/go" HOMEPAGE="https://golang.org"; BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"; SRC_URI="
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/files/
commit: 9671e6a50b5ceb989c77e6960ef209ec571e3e3f
Author: Michael Mair-Keimberger gentoo org>
AuthorDate: Sun Dec 28 19:14:25 2025 +
Commit: Michael Mair-Keimberger gentoo org>
CommitDate: Sun Dec 28 19:14:25 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9671e6a5
dev-lang/go: remove unused patches
Signed-off-by: Michael Mair-Keimberger gentoo.org>
dev-lang/go/files/go-1.24.9-ipv6-validation.patch | 86 ---
dev-lang/go/files/go-1.25.3-ipv6-validation.patch | 86 ---
2 files changed, 172 deletions(-)
diff --git a/dev-lang/go/files/go-1.24.9-ipv6-validation.patch
b/dev-lang/go/files/go-1.24.9-ipv6-validation.patch
deleted file mode 100644
index f9db3f7ee898..
--- a/dev-lang/go/files/go-1.24.9-ipv6-validation.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-From e02a9d02d0181394e243cbc3b356e86896a78e2c Mon Sep 17 00:00:00 2001
-From: Roland Shoemaker
-Date: Wed, 08 Oct 2025 17:13:12 -0700
-Subject: [PATCH] [release-branch.go1.24] net/url: allow IP-literals with
IPv4-mapped IPv6 addresses
-
-The security fix we applied in CL709857 was overly broad. It applied
-rules from RFC 2732, which disallowed IPv4-mapped IPv6 addresses, but
-these were later allowed in RFC 3986, which is the canonical URI syntax
-RFC.
-
-Revert the portion of CL709857 which restricted IPv4-mapped addresses,
-and update the related tests.
-
-Updates #75815
-Fixes #75831
-
-Change-Id: I3192f2275ad5c386f5c15006a6716bdb5282919d
-Reviewed-on: https://go-review.googlesource.com/c/go/+/710375
-LUCI-TryBot-Result: Go LUCI
-Reviewed-by: Ethan Lee
-Auto-Submit: Roland Shoemaker
-(cherry picked from commit 9db7e30bb42eed9912f5e7e9e3959f3b38879d5b)
-
-diff --git a/src/net/url/url.go b/src/net/url/url.go
-index c686239..1d9c1cd 100644
a/src/net/url/url.go
-+++ b/src/net/url/url.go
-@@ -670,13 +670,13 @@
-
- // Per RFC 3986, only a host identified by a valid
- // IPv6 address can be enclosed by square brackets.
-- // This excludes any IPv4 or IPv4-mapped addresses.
-+ // This excludes any IPv4, but notably not IPv4-mapped
addresses.
- addr, err := netip.ParseAddr(unescapedHostname)
- if err != nil {
- return "", fmt.Errorf("invalid host: %w", err)
- }
-- if addr.Is4() || addr.Is4In6() {
-- return "", errors.New("invalid IPv6 host")
-+ if addr.Is4() {
-+ return "", errors.New("invalid IP-literal")
- }
- return "[" + unescapedHostname + "]" + unescapedColonPort, nil
- } else if i := strings.LastIndex(host, ":"); i != -1 {
-diff --git a/src/net/url/url_test.go b/src/net/url/url_test.go
-index 3206558..6084fac 100644
a/src/net/url/url_test.go
-+++ b/src/net/url/url_test.go
-@@ -726,7 +726,7 @@
- {"https://[2001:db8::1]/path";, true},// compressed IPv6
address with path
- {"https://[fe80::1%25eth0]/path?query=1";, true}, // link-local with
zone, path, and query
-
-- {"https://[:::192.0.2.1]";, false},
-+ {"https://[:::192.0.2.1]";, true},
- {"https://[:1] ", false},
- {"https://[1:2:3:4:5:6:7:8:9]";, false},
- {"https://[1::1::1]";, false},
-@@ -1672,16 +1672,17 @@
- {"cache_object:foo/bar", true},
- {"cache_object/:foo/bar", false},
-
-- {"http://[192.168.0.1]/";, true}, // IPv4 in brackets
-- {"http://[192.168.0.1]:8080/";, true},// IPv4 in
brackets with port
-- {"http://[:::192.168.0.1]/";, true}, // IPv4-mapped
IPv6 in brackets
-- {"http://[:::192.168.0.1]:8080/";, true}, // IPv4-mapped
IPv6 in brackets with port
-- {"http://[:::c0a8:1]/";, true}, // IPv4-mapped
IPv6 in brackets (hex)
-- {"http://[not-an-ip]/";, true}, // invalid IP
string in brackets
-- {"http://[fe80::1%foo]/";, true}, // invalid zone
format in brackets
-- {"http://[fe80::1";, true}, // missing closing
bracket
-- {"http://fe80::1]/";, true}, // missing opening
bracket
-- {"http://[test.com]/";, true},// domain name in
brackets
-+ {"http://[192.168.0.1]/";, true}, // IPv4 in
brackets
-+ {"http://[192.168.0.1]:8080/";, true}, // IPv4 in
brackets with port
-+ {"http://[:::192.168.0.1]/";, false}, // IPv4-mapped
IPv6 in brackets
-+ {"http://[:::192.168.0.1000]/";, true},// Out of range
IPv4-mapped IPv6 in brackets
-+ {"http://[:::192.168.0.1]:8080/";, false}, // IPv4-mapped
IPv6 in brackets with port
-+ {"http://[:::c0a8:1]/";, false}, // IPv4-mapped
IPv6 in brackets (he
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: d57c0a51775e86a57a265df622985fd480707cd6
Author: William Hubbs gentoo org>
AuthorDate: Fri Dec 26 18:11:27 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Fri Dec 26 18:12:15 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d57c0a51
dev-lang/go: drop 1.24.9, 1.24.10, 1.25.3, 1.25.4, 1.25.4-r1
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest| 4 --
dev-lang/go/go-1.24.10.ebuild | 129 ---
dev-lang/go/go-1.24.9.ebuild| 130 ---
dev-lang/go/go-1.25.3.ebuild| 131
dev-lang/go/go-1.25.4-r1.ebuild | 131
dev-lang/go/go-1.25.4.ebuild| 130 ---
6 files changed, 655 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index cbe7e19752eb..d9f56e3f467b 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,6 +1,2 @@
-DIST go1.24.10.src.tar.gz 30800718 BLAKE2B
0e5ca52c3f4e4f6dae1fc24363636ae93aea61cdd2ea750d287717cb79bc10e4554431b44348d1231e0a4e31205922d8f7a08cf609faee12a629263ae63e1e07
SHA512
4fa49b8948ecc9dfe8b18e098f0fef4226eeb59ea0bfd266e0bf207bfd06a51e2c4bbf8aa98482e1cdc4c892defa4de2afcbcd289cb5872dc9c62cd355fbcfbe
DIST go1.24.11.src.tar.gz 30801851 BLAKE2B
04463c4a238b0303df88ad2d7670bdb208deced4f38c9bfc2b98ec04cc2e182a03fcf029334481507efa766b17e81c92bac9d63fc93948f94ee2b2c8adff40b4
SHA512
9344039d231e50b63f52acbdd6cf2f483a4052d95b5fcc3e8a6d8fde80f0195f66ac5588302809ff0425de4d7c6b428ae842ec33b468c7020873acedbdea16ef
-DIST go1.24.9.src.tar.gz 30800154 BLAKE2B
30e5ea7dac441a94bd023e152075651583b697c555da73e1581b6eef3dfdee0f7c30a774b8e9704940af60c43e97c8e8ba89b9e84d672a4805b5c969a4140ee8
SHA512
f553a6bdafa9e59d33756c99f6180dcb7e51762733f300488cdab1d42b918e0fff87fa42d714a6b667e039dd22e1ea14ef5f6e3eb1c9c215ff620d559a5c091a
-DIST go1.25.3.src.tar.gz 31980799 BLAKE2B
4119c93544545b3e30b93ce4e1e9420447f7c9f8c68f9ef9debc8359028225e875e976aad91e390e3f0c7e5747d68d1e070280bd8376a56bd83c1894d68e6427
SHA512
91d32bbff864c06b5ee7b914d3d95c59462352a4c395adba85eaab72704a8aa4d19ac2a361ed64774dce3c8e01a8d4feadf1a788814f6d7b4072a3bdfefbb3b4
-DIST go1.25.4.src.tar.gz 31981767 BLAKE2B
ca27795645be748010bd7ef559166b48464e57245e9d65d34e4b540c7063a0ae726582c6490c1d764dcaf8786bbb6ccc35abc8226105706685a87a150a63942e
SHA512
6892c2cadc22bce82250f52c754053a70e9e594ec53754a1bed6b9594e8faffda1a6b052d6e298692948740ac0079697294430a4138a842ea298877449cf01cd
DIST go1.25.5.src.tar.gz 31983405 BLAKE2B
b6349931e6174b1b11c00360fb7a3040a80f3d3d463894b29393a464548398bad37be685923c725eb8a3fb71d42849254319102c833418f81eca477f52579222
SHA512
97ec368521253bce610e1e3a6f10460f4a38eba440289553a40ab27afcdf2bb9b426d150ffaa3be8db50e84a00a4eb723a631ebc4f39168bc133bf7b2f1ccf66
diff --git a/dev-lang/go/go-1.24.10.ebuild b/dev-lang/go/go-1.24.10.ebuild
deleted file mode 100644
index 48d51f271485..
--- a/dev-lang/go/go-1.24.10.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.22.12
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- SRC_URI="https://go.dev/dl/go${MY_PV}.src.tar.gz "
- S="${WORKDIR}"/go
- KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86
~x64-macos ~x64-solaris"
- ;;
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE="cpu_flags_x86_sse2"
-
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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="*"
-QA_PRESTRIPPED="*.syso"
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-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
-)
-
-src_compile() {
- if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; th
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 8ed171f1547b0978e1cf70e890b5a85e496109b5
Author: Arthur Zamarin gentoo org>
AuthorDate: Thu Dec 18 20:15:36 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Thu Dec 18 20:15:36 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed171f1
dev-lang/go: Stabilize 1.24.11 ppc64, #967137
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.24.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.11.ebuild b/dev-lang/go/go-1.24.11.ebuild
index 53e949fbdcaf..8cd2ee273c64 100644
--- a/dev-lang/go/go-1.24.11.ebuild
+++ b/dev-lang/go/go-1.24.11.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 0caeb80fcfb7e4391f9a3154ce6bb0687c1689b2
Author: Arthur Zamarin gentoo org>
AuthorDate: Thu Dec 18 20:15:26 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Thu Dec 18 20:15:26 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0caeb80f
dev-lang/go: Stabilize 1.25.5 ppc64, #967138
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.25.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.5.ebuild b/dev-lang/go/go-1.25.5.ebuild
index 5cf96c3eb9df..701187ce2d47 100644
--- a/dev-lang/go/go-1.25.5.ebuild
+++ b/dev-lang/go/go-1.25.5.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 9ef72a70b1cbc8f92e8ce930d0b1e8b244b324a3
Author: Arthur Zamarin gentoo org>
AuthorDate: Thu Dec 18 20:15:22 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Thu Dec 18 20:15:22 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ef72a70
dev-lang/go: Stabilize 1.25.5 arm, #967138
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.25.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.5.ebuild b/dev-lang/go/go-1.25.5.ebuild
index 5deac6f219bb..0742e91ecce2 100644
--- a/dev-lang/go/go-1.25.5.ebuild
+++ b/dev-lang/go/go-1.25.5.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 47fed0482071dff28c8ab98b48081a7a078fa799
Author: Arthur Zamarin gentoo org>
AuthorDate: Thu Dec 18 20:15:34 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Thu Dec 18 20:15:34 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47fed048
dev-lang/go: Stabilize 1.24.11 arm64, #967137
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.24.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.11.ebuild b/dev-lang/go/go-1.24.11.ebuild
index 21d72a5500c9..53e949fbdcaf 100644
--- a/dev-lang/go/go-1.24.11.ebuild
+++ b/dev-lang/go/go-1.24.11.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 36b844c49a75db18b3859237dc2f4cf86564eaed
Author: Arthur Zamarin gentoo org>
AuthorDate: Thu Dec 18 20:15:32 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Thu Dec 18 20:15:32 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b844c4
dev-lang/go: Stabilize 1.24.11 arm, #967137
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.24.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.11.ebuild b/dev-lang/go/go-1.24.11.ebuild
index 9ad655f62e0d..21d72a5500c9 100644
--- a/dev-lang/go/go-1.24.11.ebuild
+++ b/dev-lang/go/go-1.24.11.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: a7484cec4cf9630bfd04c30d663e39b13cfbce46
Author: Arthur Zamarin gentoo org>
AuthorDate: Thu Dec 18 20:15:24 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Thu Dec 18 20:15:24 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7484cec
dev-lang/go: Stabilize 1.25.5 arm64, #967138
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.25.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.5.ebuild b/dev-lang/go/go-1.25.5.ebuild
index 0742e91ecce2..5cf96c3eb9df 100644
--- a/dev-lang/go/go-1.25.5.ebuild
+++ b/dev-lang/go/go-1.25.5.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: a15c70edaa1c03e0a77b76e40d96c0ef056b705b
Author: Sam James gentoo org>
AuthorDate: Thu Dec 18 19:51:43 2025 +
Commit: Sam James gentoo org>
CommitDate: Thu Dec 18 19:51:43 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a15c70ed
dev-lang/go: Stabilize 1.24.11 x86, #967137
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.11.ebuild b/dev-lang/go/go-1.24.11.ebuild
index ac3d411a78d1..9ad655f62e0d 100644
--- a/dev-lang/go/go-1.24.11.ebuild
+++ b/dev-lang/go/go-1.24.11.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 0afb50d1fa008fae6799b4e982727cb9a51e7094
Author: Sam James gentoo org>
AuthorDate: Thu Dec 18 19:51:41 2025 +
Commit: Sam James gentoo org>
CommitDate: Thu Dec 18 19:51:41 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0afb50d1
dev-lang/go: Stabilize 1.24.11 amd64, #967137
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.11.ebuild b/dev-lang/go/go-1.24.11.ebuild
index a83581377f7f..ac3d411a78d1 100644
--- a/dev-lang/go/go-1.24.11.ebuild
+++ b/dev-lang/go/go-1.24.11.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 8a51fd1813fd94818d4e65562d6e5ad1ef9a39f4
Author: Sam James gentoo org>
AuthorDate: Thu Dec 18 19:51:46 2025 +
Commit: Sam James gentoo org>
CommitDate: Thu Dec 18 19:51:46 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a51fd18
dev-lang/go: Stabilize 1.25.5 x86, #967138
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.25.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.5.ebuild b/dev-lang/go/go-1.25.5.ebuild
index 71319e59bae5..5deac6f219bb 100644
--- a/dev-lang/go/go-1.25.5.ebuild
+++ b/dev-lang/go/go-1.25.5.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: cab4d706f3bc3cbcdb8b3b2073d33ab5a4424f29
Author: Sam James gentoo org>
AuthorDate: Thu Dec 18 19:51:44 2025 +
Commit: Sam James gentoo org>
CommitDate: Thu Dec 18 19:51:44 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab4d706
dev-lang/go: Stabilize 1.25.5 amd64, #967138
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.25.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.5.ebuild b/dev-lang/go/go-1.25.5.ebuild
index 27e0f8a95020..71319e59bae5 100644
--- a/dev-lang/go/go-1.25.5.ebuild
+++ b/dev-lang/go/go-1.25.5.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/files/
commit: e6490f7eee6eb495ce1f2f9d2cc12d781e4ac3c5
Author: Michael Mair-Keimberger gentoo org>
AuthorDate: Wed Dec 10 16:41:47 2025 +
Commit: Michael Mair-Keimberger gentoo org>
CommitDate: Wed Dec 10 16:41:51 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6490f7e
dev-lang/go: remove unused patch/file
Signed-off-by: Michael Mair-Keimberger gentoo.org>
dev-lang/go/files/go-1.24-vgetrandom.patch | 234 -
dev-lang/go/files/go-sets.conf | 7 -
2 files changed, 241 deletions(-)
diff --git a/dev-lang/go/files/go-1.24-vgetrandom.patch
b/dev-lang/go/files/go-1.24-vgetrandom.patch
deleted file mode 100644
index 5baed139a022..
--- a/dev-lang/go/files/go-1.24-vgetrandom.patch
+++ /dev/null
@@ -1,234 +0,0 @@
-From ff2636f45e0087a1c6d8e895257d9c4729710811 Mon Sep 17 00:00:00 2001
-From: Michael Pratt
-Date: Thu, 03 Apr 2025 03:26:25 +
-Subject: [PATCH] [release-branch.go1.24] runtime: cleanup M vgetrandom state
before dropping P
-
-When an M is destroyed, we put its vgetrandom state back on the shared
-list for another M to reuse. This list is simply a slice, so appending
-to the slice may allocate. Currently this operation is performed in
-mdestroy, after the P is released, meaning allocation is not allowed.
-
-More the cleanup earlier in mdestroy when allocation is still OK.
-
-Also add //go:nowritebarrierrec to mdestroy since it runs without a P,
-which would have caught this bug.
-
-Fixes #73144.
-For #73141.
-
-Change-Id: I6a6a636c3fbf5c6eec09d07a260e39dbb4d2db12
-Reviewed-on: https://go-review.googlesource.com/c/go/+/662455
-Reviewed-by: Jason Donenfeld
-LUCI-TryBot-Result: Go LUCI
-Reviewed-by: Keith Randall
-Reviewed-by: Keith Randall
-(cherry picked from commit 0b31e6d4cc804ab76ae8ced151ee2f50657aec14)
-
-diff --git a/src/runtime/os3_solaris.go b/src/runtime/os3_solaris.go
-index cf163a6..ded821b 100644
a/src/runtime/os3_solaris.go
-+++ b/src/runtime/os3_solaris.go
-@@ -234,8 +234,11 @@
- getg().m.procid = 0
- }
-
--// Called from exitm, but not from drop, to undo the effect of thread-owned
-+// Called from mexit, but not from dropm, to undo the effect of thread-owned
- // resources in minit, semacreate, or elsewhere. Do not take locks after
calling this.
-+//
-+// This always runs without a P, so //go:nowritebarrierrec is required.
-+//go:nowritebarrierrec
- func mdestroy(mp *m) {
- }
-
-diff --git a/src/runtime/os_aix.go b/src/runtime/os_aix.go
-index 93464cb..1b483c2 100644
a/src/runtime/os_aix.go
-+++ b/src/runtime/os_aix.go
-@@ -186,8 +186,11 @@
- getg().m.procid = 0
- }
-
--// Called from exitm, but not from drop, to undo the effect of thread-owned
-+// Called from mexit, but not from dropm, to undo the effect of thread-owned
- // resources in minit, semacreate, or elsewhere. Do not take locks after
calling this.
-+//
-+// This always runs without a P, so //go:nowritebarrierrec is required.
-+//go:nowritebarrierrec
- func mdestroy(mp *m) {
- }
-
-diff --git a/src/runtime/os_darwin.go b/src/runtime/os_darwin.go
-index 0ecbea7..6eab3b5 100644
a/src/runtime/os_darwin.go
-+++ b/src/runtime/os_darwin.go
-@@ -344,8 +344,11 @@
- getg().m.procid = 0
- }
-
--// Called from exitm, but not from drop, to undo the effect of thread-owned
-+// Called from mexit, but not from dropm, to undo the effect of thread-owned
- // resources in minit, semacreate, or elsewhere. Do not take locks after
calling this.
-+//
-+// This always runs without a P, so //go:nowritebarrierrec is required.
-+//go:nowritebarrierrec
- func mdestroy(mp *m) {
- }
-
-diff --git a/src/runtime/os_dragonfly.go b/src/runtime/os_dragonfly.go
-index a02696e..9b32350 100644
a/src/runtime/os_dragonfly.go
-+++ b/src/runtime/os_dragonfly.go
-@@ -216,8 +216,11 @@
- getg().m.procid = 0
- }
-
--// Called from exitm, but not from drop, to undo the effect of thread-owned
-+// Called from mexit, but not from dropm, to undo the effect of thread-owned
- // resources in minit, semacreate, or elsewhere. Do not take locks after
calling this.
-+//
-+// This always runs without a P, so //go:nowritebarrierrec is required.
-+//go:nowritebarrierrec
- func mdestroy(mp *m) {
- }
-
-diff --git a/src/runtime/os_linux.go b/src/runtime/os_linux.go
-index 8b3c4d0..fb46b81 100644
a/src/runtime/os_linux.go
-+++ b/src/runtime/os_linux.go
-@@ -412,13 +412,12 @@
- getg().m.procid = 0
- }
-
--// Called from exitm, but not from drop, to undo the effect of thread-owned
-+// Called from mexit, but not from dropm, to undo the effect of thread-owned
- // resources in minit, semacreate, or elsewhere. Do not take locks after
calling this.
-+//
-+// This always runs without a P, so //go:nowritebarrierrec is required.
-+//go:nowritebarrierrec
- func mdestroy(mp *m) {
-- if mp.vgetrandomState != 0 {
-- vgetrandomPutState(mp.vgetrandomState)
-- mp.vgetrandomState = 0
-- }
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 396b2e58f9483586e4b1eb2f5e2b5565f2e8605a
Author: William Hubbs gentoo org>
AuthorDate: Sat Dec 6 01:14:10 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Sat Dec 6 01:14:10 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=396b2e58
dev-lang/go: add 1.25.5
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/go-1.25.5.ebuild | 131 +++
2 files changed, 132 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 0f1ad9eb5024..cbe7e19752eb 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -3,3 +3,4 @@ DIST go1.24.11.src.tar.gz 30801851 BLAKE2B
04463c4a238b0303df88ad2d7670bdb208dec
DIST go1.24.9.src.tar.gz 30800154 BLAKE2B
30e5ea7dac441a94bd023e152075651583b697c555da73e1581b6eef3dfdee0f7c30a774b8e9704940af60c43e97c8e8ba89b9e84d672a4805b5c969a4140ee8
SHA512
f553a6bdafa9e59d33756c99f6180dcb7e51762733f300488cdab1d42b918e0fff87fa42d714a6b667e039dd22e1ea14ef5f6e3eb1c9c215ff620d559a5c091a
DIST go1.25.3.src.tar.gz 31980799 BLAKE2B
4119c93544545b3e30b93ce4e1e9420447f7c9f8c68f9ef9debc8359028225e875e976aad91e390e3f0c7e5747d68d1e070280bd8376a56bd83c1894d68e6427
SHA512
91d32bbff864c06b5ee7b914d3d95c59462352a4c395adba85eaab72704a8aa4d19ac2a361ed64774dce3c8e01a8d4feadf1a788814f6d7b4072a3bdfefbb3b4
DIST go1.25.4.src.tar.gz 31981767 BLAKE2B
ca27795645be748010bd7ef559166b48464e57245e9d65d34e4b540c7063a0ae726582c6490c1d764dcaf8786bbb6ccc35abc8226105706685a87a150a63942e
SHA512
6892c2cadc22bce82250f52c754053a70e9e594ec53754a1bed6b9594e8faffda1a6b052d6e298692948740ac0079697294430a4138a842ea298877449cf01cd
+DIST go1.25.5.src.tar.gz 31983405 BLAKE2B
b6349931e6174b1b11c00360fb7a3040a80f3d3d463894b29393a464548398bad37be685923c725eb8a3fb71d42849254319102c833418f81eca477f52579222
SHA512
97ec368521253bce610e1e3a6f10460f4a38eba440289553a40ab27afcdf2bb9b426d150ffaa3be8db50e84a00a4eb723a631ebc4f39168bc133bf7b2f1ccf66
diff --git a/dev-lang/go/go-1.25.5.ebuild b/dev-lang/go/go-1.25.5.ebuild
new file mode 100644
index ..27e0f8a95020
--- /dev/null
+++ b/dev-lang/go/go-1.25.5.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.22.12
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ SRC_URI="https://go.dev/dl/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"
+ ;;
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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="*"
+QA_PRESTRIPPED="*.syso"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+PATCHES=(
+ "${FILESDIR}"/go-1.24-skip-gdb-tests.patch
+ "${FILESDIR}"/go-1.24-dont-force-gold-arm.patch
+ "${FILESDIR}"/go-1.25-no-dwarf5.patch
+ "${FILESDIR}"/go-1.25-strip-top-level-const.patch
+ "${FILESDIR}"/go-never-download-newer-toolchains.patch
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+ export GOOS=$(go-env_goos)
+ export CC_FOR_TARGET=$(tc-getCC)
+ export CXX_FOR_TARGET=$(tc-getCXX)
+ use arm &&
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 5659e072937b0731fcd52dc7e3cf9f8a01b077b9
Author: William Hubbs gentoo org>
AuthorDate: Sat Dec 6 00:56:53 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Sat Dec 6 00:56:53 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5659e072
dev-lang/go: add 1.24.11
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/go-1.24.11.ebuild | 129 ++
2 files changed, 130 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 786895d2524e..0f1ad9eb5024 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,4 +1,5 @@
DIST go1.24.10.src.tar.gz 30800718 BLAKE2B
0e5ca52c3f4e4f6dae1fc24363636ae93aea61cdd2ea750d287717cb79bc10e4554431b44348d1231e0a4e31205922d8f7a08cf609faee12a629263ae63e1e07
SHA512
4fa49b8948ecc9dfe8b18e098f0fef4226eeb59ea0bfd266e0bf207bfd06a51e2c4bbf8aa98482e1cdc4c892defa4de2afcbcd289cb5872dc9c62cd355fbcfbe
+DIST go1.24.11.src.tar.gz 30801851 BLAKE2B
04463c4a238b0303df88ad2d7670bdb208deced4f38c9bfc2b98ec04cc2e182a03fcf029334481507efa766b17e81c92bac9d63fc93948f94ee2b2c8adff40b4
SHA512
9344039d231e50b63f52acbdd6cf2f483a4052d95b5fcc3e8a6d8fde80f0195f66ac5588302809ff0425de4d7c6b428ae842ec33b468c7020873acedbdea16ef
DIST go1.24.9.src.tar.gz 30800154 BLAKE2B
30e5ea7dac441a94bd023e152075651583b697c555da73e1581b6eef3dfdee0f7c30a774b8e9704940af60c43e97c8e8ba89b9e84d672a4805b5c969a4140ee8
SHA512
f553a6bdafa9e59d33756c99f6180dcb7e51762733f300488cdab1d42b918e0fff87fa42d714a6b667e039dd22e1ea14ef5f6e3eb1c9c215ff620d559a5c091a
DIST go1.25.3.src.tar.gz 31980799 BLAKE2B
4119c93544545b3e30b93ce4e1e9420447f7c9f8c68f9ef9debc8359028225e875e976aad91e390e3f0c7e5747d68d1e070280bd8376a56bd83c1894d68e6427
SHA512
91d32bbff864c06b5ee7b914d3d95c59462352a4c395adba85eaab72704a8aa4d19ac2a361ed64774dce3c8e01a8d4feadf1a788814f6d7b4072a3bdfefbb3b4
DIST go1.25.4.src.tar.gz 31981767 BLAKE2B
ca27795645be748010bd7ef559166b48464e57245e9d65d34e4b540c7063a0ae726582c6490c1d764dcaf8786bbb6ccc35abc8226105706685a87a150a63942e
SHA512
6892c2cadc22bce82250f52c754053a70e9e594ec53754a1bed6b9594e8faffda1a6b052d6e298692948740ac0079697294430a4138a842ea298877449cf01cd
diff --git a/dev-lang/go/go-1.24.11.ebuild b/dev-lang/go/go-1.24.11.ebuild
new file mode 100644
index ..a83581377f7f
--- /dev/null
+++ b/dev-lang/go/go-1.24.11.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.22.12
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ SRC_URI="https://go.dev/dl/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"
+ ;;
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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="*"
+QA_PRESTRIPPED="*.syso"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/, dev-lang/go/files/
commit: 1e5453c20320299e4ffc9e9be471ff689288149b
Author: William Hubbs gentoo org>
AuthorDate: Thu Nov 20 16:10:03 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Thu Nov 20 16:13:02 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5453c2
dev-lang/go: 1.25.4 revbump to fix cgo c constant references
Closes: https://bugs.gentoo.org/966192
Signed-off-by: William Hubbs gentoo.org>
.../go/files/go-1.25-strip-top-level-const.patch | 94 +++
dev-lang/go/go-1.25.4-r1.ebuild| 131 +
2 files changed, 225 insertions(+)
diff --git a/dev-lang/go/files/go-1.25-strip-top-level-const.patch
b/dev-lang/go/files/go-1.25-strip-top-level-const.patch
new file mode 100644
index ..1531263e3ed7
--- /dev/null
+++ b/dev-lang/go/files/go-1.25-strip-top-level-const.patch
@@ -0,0 +1,94 @@
+From 7a6e3f07acfd822aa1d62f1c715125e30d67d089 Mon Sep 17 00:00:00 2001
+From: Ian Lance Taylor
+Date: Mon, 03 Nov 2025 15:54:39 -0800
+Subject: [PATCH] cmd/cgo: strip top-level const qualifier from argument frame
struct
+
+Otherwise we can't assign to it.
+
+Fixes #75751
+
+Change-Id: Iba680db672297bca1a1d1a33912b80863da66a08
+---
+
+diff --git a/src/cmd/cgo/internal/test/test.go
b/src/cmd/cgo/internal/test/test.go
+index 9626407..e83e367 100644
+--- a/src/cmd/cgo/internal/test/test.go
b/src/cmd/cgo/internal/test/test.go
+@@ -953,6 +953,12 @@
+ } issue69086struct;
+ static int issue690861(issue69086struct* p) { p->b = 1234; return p->c; }
+ static int issue690862(unsigned long ul1, unsigned long ul2, unsigned int u,
issue69086struct s) { return (int)(s.b); }
++
++char issue75751v = 1;
++char * const issue75751p = &issue75751v;
++#define issue75751m issue75751p
++char * const volatile issue75751p2 = &issue75751v;
++#define issue75751m2 issue75751p2
+ */
+ import "C"
+
+@@ -2396,3 +2402,8 @@
+ t.Errorf("call: got %d, want 1234", got)
+ }
+ }
++
++// Issue 75751: no runtime test, just make sure it compiles.
++func test75751() int {
++ return int(*C.issue75751m) + int(*C.issue75751m2)
++}
+diff --git a/src/cmd/cgo/out.go b/src/cmd/cgo/out.go
+index 394e766..05d9dcf 100644
+--- a/src/cmd/cgo/out.go
b/src/cmd/cgo/out.go
+@@ -457,6 +457,33 @@
+ // Also assumes that gc convention is to word-align the
+ // input and output parameters.
+ func (p *Package) structType(n *Name) (string, int64) {
++ // It's possible for us to see a type with a top-level const here,
++ // which will give us an unusable struct type. See #75751.
++ // The top-level const will always appear as a final qualifier,
++ // constructed by typeConv.loadType in the dwarf.QualType case.
++ // The top-level const is meaningless here and can simply be removed.
++ stripConst := func(s string) string {
++ i := strings.LastIndex(s, "const")
++ if i == -1 {
++ return s
++ }
++
++ // A top-level const can only be followed by other qualifiers.
++ if r, ok := strings.CutSuffix(s, "const"); ok {
++ return r
++ }
++
++ for _, f := range strings.Fields(s[i:]) {
++ switch f {
++ case "const", "restrict", "volatile":
++ default:
++ return s
++ }
++ }
++
++ return strings.TrimSpace(s[:i]) +
strings.TrimSpace(s[i+len("const"):])
++ }
++
+ var buf strings.Builder
+ fmt.Fprint(&buf, "struct {\n")
+ off := int64(0)
+@@ -468,7 +495,7 @@
+ }
+ c := t.Typedef
+ if c == "" {
+- c = t.C.String()
++ c = stripConst(t.C.String())
+ }
+ fmt.Fprintf(&buf, "\t\t%s p%d;\n", c, i)
+ off += t.Size
+@@ -484,7 +511,7 @@
+ fmt.Fprintf(&buf, "\t\tchar __pad%d[%d];\n", off, pad)
+ off += pad
+ }
+- fmt.Fprintf(&buf, "\t\t%s r;\n", t.C)
++ fmt.Fprintf(&buf, "\t\t%s r;\n", stripConst(t.C.String()))
+ off += t.Size
+ }
+ if off%p.PtrSize != 0 {
diff --git a/dev-lang/go/go-1.25.4-r1.ebuild b/dev-lang/go/go-1.25.4-r1.ebuild
new file mode 100644
index ..27e0f8a95020
--- /dev/null
+++ b/dev-lang/go/go-1.25.4-r1.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.22.12
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ SRC_URI="https://go.dev/dl/go${MY_PV}.src.tar.
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 5aeef4adcde7befd1dc5bbe39b77d178225d5303
Author: William Hubbs gentoo org>
AuthorDate: Sun Nov 9 03:01:44 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Sun Nov 9 03:01:44 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aeef4ad
dev-lang/go: add 1.24.10
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/go-1.24.10.ebuild | 129 ++
2 files changed, 130 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 77e3a8b10b82..786895d2524e 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,3 +1,4 @@
+DIST go1.24.10.src.tar.gz 30800718 BLAKE2B
0e5ca52c3f4e4f6dae1fc24363636ae93aea61cdd2ea750d287717cb79bc10e4554431b44348d1231e0a4e31205922d8f7a08cf609faee12a629263ae63e1e07
SHA512
4fa49b8948ecc9dfe8b18e098f0fef4226eeb59ea0bfd266e0bf207bfd06a51e2c4bbf8aa98482e1cdc4c892defa4de2afcbcd289cb5872dc9c62cd355fbcfbe
DIST go1.24.9.src.tar.gz 30800154 BLAKE2B
30e5ea7dac441a94bd023e152075651583b697c555da73e1581b6eef3dfdee0f7c30a774b8e9704940af60c43e97c8e8ba89b9e84d672a4805b5c969a4140ee8
SHA512
f553a6bdafa9e59d33756c99f6180dcb7e51762733f300488cdab1d42b918e0fff87fa42d714a6b667e039dd22e1ea14ef5f6e3eb1c9c215ff620d559a5c091a
DIST go1.25.3.src.tar.gz 31980799 BLAKE2B
4119c93544545b3e30b93ce4e1e9420447f7c9f8c68f9ef9debc8359028225e875e976aad91e390e3f0c7e5747d68d1e070280bd8376a56bd83c1894d68e6427
SHA512
91d32bbff864c06b5ee7b914d3d95c59462352a4c395adba85eaab72704a8aa4d19ac2a361ed64774dce3c8e01a8d4feadf1a788814f6d7b4072a3bdfefbb3b4
DIST go1.25.4.src.tar.gz 31981767 BLAKE2B
ca27795645be748010bd7ef559166b48464e57245e9d65d34e4b540c7063a0ae726582c6490c1d764dcaf8786bbb6ccc35abc8226105706685a87a150a63942e
SHA512
6892c2cadc22bce82250f52c754053a70e9e594ec53754a1bed6b9594e8faffda1a6b052d6e298692948740ac0079697294430a4138a842ea298877449cf01cd
diff --git a/dev-lang/go/go-1.24.10.ebuild b/dev-lang/go/go-1.24.10.ebuild
new file mode 100644
index ..a83581377f7f
--- /dev/null
+++ b/dev-lang/go/go-1.24.10.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.22.12
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ SRC_URI="https://go.dev/dl/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"
+ ;;
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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="*"
+QA_PRESTRIPPED="*.syso"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+ export GOOS=$(go-env_goos)
+ export CC_FOR_TARGET=$(tc-getCC)
+ export CXX_FOR_TARGET=$(tc-getCXX)
+ use arm && export GOARM=$(go-env_goarm)
+ use x86 && export GO386=$(go-env_go386)
+
+ cd src
+ bash -x ./make.bash || die "build failed"
+}
+
+src_test() {
+ go_cross
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: dcdc3b43c665b9daca7c4b74986c1ce222b53e11
Author: William Hubbs gentoo org>
AuthorDate: Sun Nov 9 03:01:39 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Sun Nov 9 03:01:39 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcdc3b43
dev-lang/go: add 1.25.4
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/go-1.25.4.ebuild | 130 +++
2 files changed, 131 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 54880538a21b..77e3a8b10b82 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,2 +1,3 @@
DIST go1.24.9.src.tar.gz 30800154 BLAKE2B
30e5ea7dac441a94bd023e152075651583b697c555da73e1581b6eef3dfdee0f7c30a774b8e9704940af60c43e97c8e8ba89b9e84d672a4805b5c969a4140ee8
SHA512
f553a6bdafa9e59d33756c99f6180dcb7e51762733f300488cdab1d42b918e0fff87fa42d714a6b667e039dd22e1ea14ef5f6e3eb1c9c215ff620d559a5c091a
DIST go1.25.3.src.tar.gz 31980799 BLAKE2B
4119c93544545b3e30b93ce4e1e9420447f7c9f8c68f9ef9debc8359028225e875e976aad91e390e3f0c7e5747d68d1e070280bd8376a56bd83c1894d68e6427
SHA512
91d32bbff864c06b5ee7b914d3d95c59462352a4c395adba85eaab72704a8aa4d19ac2a361ed64774dce3c8e01a8d4feadf1a788814f6d7b4072a3bdfefbb3b4
+DIST go1.25.4.src.tar.gz 31981767 BLAKE2B
ca27795645be748010bd7ef559166b48464e57245e9d65d34e4b540c7063a0ae726582c6490c1d764dcaf8786bbb6ccc35abc8226105706685a87a150a63942e
SHA512
6892c2cadc22bce82250f52c754053a70e9e594ec53754a1bed6b9594e8faffda1a6b052d6e298692948740ac0079697294430a4138a842ea298877449cf01cd
diff --git a/dev-lang/go/go-1.25.4.ebuild b/dev-lang/go/go-1.25.4.ebuild
new file mode 100644
index ..db79fcb9053b
--- /dev/null
+++ b/dev-lang/go/go-1.25.4.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.22.12
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ SRC_URI="https://go.dev/dl/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"
+ ;;
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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="*"
+QA_PRESTRIPPED="*.syso"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+PATCHES=(
+ "${FILESDIR}"/go-1.24-skip-gdb-tests.patch
+ "${FILESDIR}"/go-1.24-dont-force-gold-arm.patch
+ "${FILESDIR}"/go-1.25-no-dwarf5.patch
+ "${FILESDIR}"/go-never-download-newer-toolchains.patch
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+ export GOOS=$(go-env_goos)
+ export CC_FOR_TARGET=$(tc-getCC)
+ export CXX_FOR_TARGET=$(tc-getCXX)
+ use arm && export GOARM=$(go-env_goarm)
+ use x86 && export GO386=$(go-env_go386)
+
+ cd src
+ bash -x ./make.bash || die "build failed"
+}
+
+src_test() {
+ go_cross_compile && return 0
+ cd src
+ PATH="${GOBIN}:${PATH}" \
+ ./run.bash -no-rebuild -k || die "tests failed"
+}
+
+src_install() {
+ dodir /usr/lib/go
+ # The use of cp is deliberate in order to retain permissions
+ cp -R . "${ED}"/usr/
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 008e35d7ee71907b08c08c1f4c739c1987e5c52f
Author: William Hubbs gentoo org>
AuthorDate: Tue Oct 21 21:09:41 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Tue Oct 21 21:10:49 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=008e35d7
dev-lang/go: drop 1.24.7, 1.25.1
Bug: https://bugs.gentoo.org/963930
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 2 -
dev-lang/go/go-1.24.7.ebuild | 129 --
dev-lang/go/go-1.25.1.ebuild | 130 ---
3 files changed, 261 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 2f9bb8f67f6b..54880538a21b 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,4 +1,2 @@
-DIST go1.24.7.src.tar.gz 30794506 BLAKE2B
850ffc97c83843c83d4dfb672dbe18c16b6feda5b76b70213241d583b5ef6c2c8d0bf532e15fa58cb4fceaaf1f66b52166d3badfc294ebecd1076ddd9c7a572e
SHA512
656bb879244ba888af18b6e609fb2c4bc067b919827b9026c3ee44b3e2d0c7bffde262945de989880066196846b669c215da2e8c5d9adfb8491bb5d52af0d49a
DIST go1.24.9.src.tar.gz 30800154 BLAKE2B
30e5ea7dac441a94bd023e152075651583b697c555da73e1581b6eef3dfdee0f7c30a774b8e9704940af60c43e97c8e8ba89b9e84d672a4805b5c969a4140ee8
SHA512
f553a6bdafa9e59d33756c99f6180dcb7e51762733f300488cdab1d42b918e0fff87fa42d714a6b667e039dd22e1ea14ef5f6e3eb1c9c215ff620d559a5c091a
-DIST go1.25.1.src.tar.gz 31974863 BLAKE2B
a9f0d27a292b8197ed2307bcfe90af0adccaa1e0e8de0d59df5b65f57ac7dd2cbaee1905401f81af994934fa83070e42c24ff6090affe56461198e89457842c7
SHA512
e77ae799a0dcd4ded40a196c3645da5b7e808e417831d2c5441387b0fd0ed5f946b678305294c52fda0a258889225c24c6073bb0973c3531ba4aa107b6afe849
DIST go1.25.3.src.tar.gz 31980799 BLAKE2B
4119c93544545b3e30b93ce4e1e9420447f7c9f8c68f9ef9debc8359028225e875e976aad91e390e3f0c7e5747d68d1e070280bd8376a56bd83c1894d68e6427
SHA512
91d32bbff864c06b5ee7b914d3d95c59462352a4c395adba85eaab72704a8aa4d19ac2a361ed64774dce3c8e01a8d4feadf1a788814f6d7b4072a3bdfefbb3b4
diff --git a/dev-lang/go/go-1.24.7.ebuild b/dev-lang/go/go-1.24.7.ebuild
deleted file mode 100644
index 0b04ca198703..
--- a/dev-lang/go/go-1.24.7.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.22.12
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- 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"
- ;;
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE="cpu_flags_x86_sse2"
-
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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="*"
-QA_PRESTRIPPED="*.syso"
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-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
-)
-
-src_compile() {
- if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
- elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
- else
- eerror "Go cannot be built without go or go-bootstrap installed"
- die "Should not be here, please report a bug"
- fi
-
- # Go's build script does not use BUILD/HOST/TARGET consistently. :(
- export GOHOSTARCH=$(go-env_goarch ${CBUILD})
- export GOHOSTOS=$(go-env_goos ${CBUILD})
- export CC=$(tc-getBUILD_CC)
-
- export GOARCH=$(go-env_goarch)
- export GOOS=$(go-env_goos)
- export CC_FOR_TARGET=$(tc-getCC)
- export CXX_FOR_TARGET=$(tc-getCXX)
- use arm && export GOARM=$(go-env_goarm)
- use x8
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: aa364098823a8afa293bc0c2ee33036bc912ba6b
Author: Arthur Zamarin gentoo org>
AuthorDate: Sun Oct 19 15:53:43 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Sun Oct 19 15:53:43 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa364098
dev-lang/go: Stabilize 1.25.3 ppc64, #964548
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.25.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.3.ebuild b/dev-lang/go/go-1.25.3.ebuild
index 5d3c72d2784a..4f6f1729fb20 100644
--- a/dev-lang/go/go-1.25.3.ebuild
+++ b/dev-lang/go/go-1.25.3.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 8e5d28cfea842ebbfcd3f2b6a843ca2e76816512
Author: Arthur Zamarin gentoo org>
AuthorDate: Sun Oct 19 15:53:36 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Sun Oct 19 15:53:36 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5d28cf
dev-lang/go: Stabilize 1.24.9 ppc64, #964547
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.24.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.9.ebuild b/dev-lang/go/go-1.24.9.ebuild
index 431292e78cb1..3d6ed30afada 100644
--- a/dev-lang/go/go-1.24.9.ebuild
+++ b/dev-lang/go/go-1.24.9.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 3e68c5b51bcc4747fed64c5efe6037f49f6c3d2d
Author: Arthur Zamarin gentoo org>
AuthorDate: Fri Oct 3 17:32:29 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Fri Oct 3 17:32:29 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e68c5b5
dev-lang/go: Stabilize 1.24.7 ppc64, #963691
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.24.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.7.ebuild b/dev-lang/go/go-1.24.7.ebuild
index ee34c561bba9..0b04ca198703 100644
--- a/dev-lang/go/go-1.24.7.ebuild
+++ b/dev-lang/go/go-1.24.7.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 275273bcdab2cf978f38eec85aa1adfa5c72b031
Author: Arthur Zamarin gentoo org>
AuthorDate: Fri Oct 3 17:32:30 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Fri Oct 3 17:32:30 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275273bc
dev-lang/go: Stabilize 1.25.1 ppc64, #963692
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.25.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.1.ebuild b/dev-lang/go/go-1.25.1.ebuild
index aa65cc3935ef..6f8697ab1289 100644
--- a/dev-lang/go/go-1.25.1.ebuild
+++ b/dev-lang/go/go-1.25.1.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: a88d7165e27e41ffe6f309dfd6e4cd666f91cd55
Author: Sam James gentoo org>
AuthorDate: Sat Oct 18 10:23:09 2025 +
Commit: Sam James gentoo org>
CommitDate: Sat Oct 18 10:23:09 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a88d7165
dev-lang/go: Stabilize 1.25.3 x86, #964548
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.25.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.3.ebuild b/dev-lang/go/go-1.25.3.ebuild
index 934fccd5acbd..5d3c72d2784a 100644
--- a/dev-lang/go/go-1.25.3.ebuild
+++ b/dev-lang/go/go-1.25.3.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 98731e5df297909964251bbe8f19cca4f18bff32
Author: Sam James gentoo org>
AuthorDate: Sat Oct 18 10:23:08 2025 +
Commit: Sam James gentoo org>
CommitDate: Sat Oct 18 10:23:08 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98731e5d
dev-lang/go: Stabilize 1.24.9 x86, #964547
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.9.ebuild b/dev-lang/go/go-1.24.9.ebuild
index e73fb495b0c1..431292e78cb1 100644
--- a/dev-lang/go/go-1.24.9.ebuild
+++ b/dev-lang/go/go-1.24.9.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 55512982f397e9494d25852cf4597b4231c98c85
Author: Arthur Zamarin gentoo org>
AuthorDate: Sat Oct 18 08:39:53 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Sat Oct 18 08:39:53 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55512982
dev-lang/go: Stabilize 1.24.9 arm64, #964547
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.24.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.9.ebuild b/dev-lang/go/go-1.24.9.ebuild
index 77b11efdc6e9..e73fb495b0c1 100644
--- a/dev-lang/go/go-1.24.9.ebuild
+++ b/dev-lang/go/go-1.24.9.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 25b4b4f0360fe6c0d41e35ff7a3686506bcb62ae
Author: Arthur Zamarin gentoo org>
AuthorDate: Sat Oct 18 08:39:51 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Sat Oct 18 08:39:51 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25b4b4f0
dev-lang/go: Stabilize 1.25.3 arm64, #964548
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.25.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.3.ebuild b/dev-lang/go/go-1.25.3.ebuild
index 2b2aed24a16a..934fccd5acbd 100644
--- a/dev-lang/go/go-1.25.3.ebuild
+++ b/dev-lang/go/go-1.25.3.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: b1e8c6b196724c802ce231a076d534619333583f
Author: William Hubbs gentoo org>
AuthorDate: Sat Oct 18 02:08:30 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Sat Oct 18 02:08:30 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e8c6b1
dev-lang/go: stabilize 1.24.9 for amd64, #964547
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.24.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.9.ebuild b/dev-lang/go/go-1.24.9.ebuild
index 0610e49b98d0..cbff5fdc1b1d 100644
--- a/dev-lang/go/go-1.24.9.ebuild
+++ b/dev-lang/go/go-1.24.9.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: d6df82a88f3301313b5c02d89ef2e46ac1a5177a
Author: William Hubbs gentoo org>
AuthorDate: Sat Oct 18 02:11:04 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Sat Oct 18 02:11:04 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6df82a8
dev-lang/go: stabilize 1.25.3 for amd64, #964548
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.25.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.3.ebuild b/dev-lang/go/go-1.25.3.ebuild
index 194dbe58080b..3ebd4ee8c735 100644
--- a/dev-lang/go/go-1.25.3.ebuild
+++ b/dev-lang/go/go-1.25.3.ebuild
@@ -20,7 +20,7 @@ case ${PV} in
*)
SRC_URI="https://go.dev/dl/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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: ffd35a6fa18cf82977d3c4306eb8bc771dfb8054
Author: William Hubbs gentoo org>
AuthorDate: Fri Oct 3 22:14:45 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Fri Oct 3 22:14:45 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffd35a6f
dev-lang/go: drop 1.24.6
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 -
dev-lang/go/go-1.24.6.ebuild | 129 ---
2 files changed, 130 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index a3390b9a8a2a..a1ee0e150ee5 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,3 +1,2 @@
-DIST go1.24.6.src.tar.gz 30794139 BLAKE2B
b51693de6047402baa555e3d6c0c37511de60270c538797ea09317c604345b7577c0a24aa0f9f3963340538965f130360d4d98ed91470df83e790c95972af265
SHA512
65f535c722f4a0f6111c9ed829677621e456a5bc969ccb99009da1ade096b2b1a648a44ccfa913543677c220baeaf1afe634ba8ba165d9474ac9433ac249c914
DIST go1.24.7.src.tar.gz 30794506 BLAKE2B
850ffc97c83843c83d4dfb672dbe18c16b6feda5b76b70213241d583b5ef6c2c8d0bf532e15fa58cb4fceaaf1f66b52166d3badfc294ebecd1076ddd9c7a572e
SHA512
656bb879244ba888af18b6e609fb2c4bc067b919827b9026c3ee44b3e2d0c7bffde262945de989880066196846b669c215da2e8c5d9adfb8491bb5d52af0d49a
DIST go1.25.1.src.tar.gz 31974863 BLAKE2B
a9f0d27a292b8197ed2307bcfe90af0adccaa1e0e8de0d59df5b65f57ac7dd2cbaee1905401f81af994934fa83070e42c24ff6090affe56461198e89457842c7
SHA512
e77ae799a0dcd4ded40a196c3645da5b7e808e417831d2c5441387b0fd0ed5f946b678305294c52fda0a258889225c24c6073bb0973c3531ba4aa107b6afe849
diff --git a/dev-lang/go/go-1.24.6.ebuild b/dev-lang/go/go-1.24.6.ebuild
deleted file mode 100644
index 0b04ca198703..
--- a/dev-lang/go/go-1.24.6.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.22.12
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- 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"
- ;;
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE="cpu_flags_x86_sse2"
-
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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="*"
-QA_PRESTRIPPED="*.syso"
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-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
-)
-
-src_compile() {
- if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
- elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
- else
- eerror "Go cannot be built without go or go-bootstrap installed"
- die "Should not be here, please report a bug"
- fi
-
- # Go's build script does not use BUILD/HOST/TARGET consistently. :(
- export GOHOSTARCH=$(go-env_goarch ${CBUILD})
- export GOHOSTOS=$(go-env_goos ${CBUILD})
- export CC=$(tc-getBUILD_CC)
-
- export GOARCH=$(go-env_goarch)
- export GOOS=$(go-env_goos)
- export CC_FOR_TARGET=$(tc-getCC)
- export CXX_FOR_TARGET=$(tc-getCXX)
- use arm && export GOARM=$(go-env_goarm)
- use x86 && export GO386=$(go-env_go386)
-
- cd src
- bash -x ./make.bash || die "build failed"
-}
-
-src_test() {
- go_cross_compile && return 0
- cd src
- PATH="${GOBIN}:${PATH}" \
- ./run.bash -no-rebuild -k || die "tests failed"
-}
-
-src_install() {
- dodir /usr/lib/go
- # The use of cp is deliberate in order to retain permissions
- cp -R . "${ED}"/usr/lib/go
- einstalldocs
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 68cb8cc45151e641e801a5451025a8b9a9e384cc
Author: Arthur Zamarin gentoo org>
AuthorDate: Fri Oct 3 06:05:48 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Fri Oct 3 06:05:48 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68cb8cc4
dev-lang/go: Stabilize 1.25.1 arm64, #963692
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.25.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.1.ebuild b/dev-lang/go/go-1.25.1.ebuild
index 350d5cce9510..78dca5ef6a2e 100644
--- a/dev-lang/go/go-1.25.1.ebuild
+++ b/dev-lang/go/go-1.25.1.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 67ac9070e4e0d457db1387a5a8c486076b4eba38
Author: William Hubbs gentoo org>
AuthorDate: Fri Oct 17 18:56:55 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Fri Oct 17 18:57:33 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ac9070
dev-lang/go: sync live
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-.ebuild
index 4f9caabf8a0a..16a403f5dc95 100644
--- a/dev-lang/go/go-.ebuild
+++ b/dev-lang/go/go-.ebuild
@@ -18,7 +18,7 @@ case ${PV} in
inherit git-r3
;;
*)
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
+ SRC_URI="https://go.dev/dl/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"
;;
@@ -65,6 +65,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
)
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: b6c32220fd4b3a298e55ef9f95bba94cf016ba8d
Author: William Hubbs gentoo org>
AuthorDate: Fri Oct 17 18:35:53 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Fri Oct 17 18:36:37 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c32220
dev-lang/go: update SRC_URI
Closes: https://bugs.gentoo.org/964540
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.24.9.ebuild | 2 +-
dev-lang/go/go-1.25.3.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-lang/go/go-1.24.9.ebuild b/dev-lang/go/go-1.24.9.ebuild
index caba97d70e7e..0610e49b98d0 100644
--- a/dev-lang/go/go-1.24.9.ebuild
+++ b/dev-lang/go/go-1.24.9.ebuild
@@ -18,7 +18,7 @@ case ${PV} in
inherit git-r3
;;
*)
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
+ SRC_URI="https://go.dev/dl/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"
;;
diff --git a/dev-lang/go/go-1.25.3.ebuild b/dev-lang/go/go-1.25.3.ebuild
index a87421adb53a..194dbe58080b 100644
--- a/dev-lang/go/go-1.25.3.ebuild
+++ b/dev-lang/go/go-1.25.3.ebuild
@@ -18,7 +18,7 @@ case ${PV} in
inherit git-r3
;;
*)
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
+ SRC_URI="https://go.dev/dl/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"
;;
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/, dev-lang/go/files/
commit: ce9d99c85e89ed67ce4171625f61998621f98a85
Author: Arthur Zamarin gentoo org>
AuthorDate: Fri Oct 17 16:53:43 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Fri Oct 17 16:57:42 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce9d99c8
dev-lang/go: add 1.24.9 with ipv6 validation fix
Bug: https://bugs.gentoo.org/963930
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/files/go-1.24.9-ipv6-validation.patch | 86 ++
dev-lang/go/go-1.24.9.ebuild | 130 ++
3 files changed, 217 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index a1ee0e150ee5..d5cd040803c9 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,2 +1,3 @@
DIST go1.24.7.src.tar.gz 30794506 BLAKE2B
850ffc97c83843c83d4dfb672dbe18c16b6feda5b76b70213241d583b5ef6c2c8d0bf532e15fa58cb4fceaaf1f66b52166d3badfc294ebecd1076ddd9c7a572e
SHA512
656bb879244ba888af18b6e609fb2c4bc067b919827b9026c3ee44b3e2d0c7bffde262945de989880066196846b669c215da2e8c5d9adfb8491bb5d52af0d49a
+DIST go1.24.9.src.tar.gz 30800154 BLAKE2B
30e5ea7dac441a94bd023e152075651583b697c555da73e1581b6eef3dfdee0f7c30a774b8e9704940af60c43e97c8e8ba89b9e84d672a4805b5c969a4140ee8
SHA512
f553a6bdafa9e59d33756c99f6180dcb7e51762733f300488cdab1d42b918e0fff87fa42d714a6b667e039dd22e1ea14ef5f6e3eb1c9c215ff620d559a5c091a
DIST go1.25.1.src.tar.gz 31974863 BLAKE2B
a9f0d27a292b8197ed2307bcfe90af0adccaa1e0e8de0d59df5b65f57ac7dd2cbaee1905401f81af994934fa83070e42c24ff6090affe56461198e89457842c7
SHA512
e77ae799a0dcd4ded40a196c3645da5b7e808e417831d2c5441387b0fd0ed5f946b678305294c52fda0a258889225c24c6073bb0973c3531ba4aa107b6afe849
diff --git a/dev-lang/go/files/go-1.24.9-ipv6-validation.patch
b/dev-lang/go/files/go-1.24.9-ipv6-validation.patch
new file mode 100644
index ..f9db3f7ee898
--- /dev/null
+++ b/dev-lang/go/files/go-1.24.9-ipv6-validation.patch
@@ -0,0 +1,86 @@
+From e02a9d02d0181394e243cbc3b356e86896a78e2c Mon Sep 17 00:00:00 2001
+From: Roland Shoemaker
+Date: Wed, 08 Oct 2025 17:13:12 -0700
+Subject: [PATCH] [release-branch.go1.24] net/url: allow IP-literals with
IPv4-mapped IPv6 addresses
+
+The security fix we applied in CL709857 was overly broad. It applied
+rules from RFC 2732, which disallowed IPv4-mapped IPv6 addresses, but
+these were later allowed in RFC 3986, which is the canonical URI syntax
+RFC.
+
+Revert the portion of CL709857 which restricted IPv4-mapped addresses,
+and update the related tests.
+
+Updates #75815
+Fixes #75831
+
+Change-Id: I3192f2275ad5c386f5c15006a6716bdb5282919d
+Reviewed-on: https://go-review.googlesource.com/c/go/+/710375
+LUCI-TryBot-Result: Go LUCI
+Reviewed-by: Ethan Lee
+Auto-Submit: Roland Shoemaker
+(cherry picked from commit 9db7e30bb42eed9912f5e7e9e3959f3b38879d5b)
+---
+
+diff --git a/src/net/url/url.go b/src/net/url/url.go
+index c686239..1d9c1cd 100644
+--- a/src/net/url/url.go
b/src/net/url/url.go
+@@ -670,13 +670,13 @@
+
+ // Per RFC 3986, only a host identified by a valid
+ // IPv6 address can be enclosed by square brackets.
+- // This excludes any IPv4 or IPv4-mapped addresses.
++ // This excludes any IPv4, but notably not IPv4-mapped
addresses.
+ addr, err := netip.ParseAddr(unescapedHostname)
+ if err != nil {
+ return "", fmt.Errorf("invalid host: %w", err)
+ }
+- if addr.Is4() || addr.Is4In6() {
+- return "", errors.New("invalid IPv6 host")
++ if addr.Is4() {
++ return "", errors.New("invalid IP-literal")
+ }
+ return "[" + unescapedHostname + "]" + unescapedColonPort, nil
+ } else if i := strings.LastIndex(host, ":"); i != -1 {
+diff --git a/src/net/url/url_test.go b/src/net/url/url_test.go
+index 3206558..6084fac 100644
+--- a/src/net/url/url_test.go
b/src/net/url/url_test.go
+@@ -726,7 +726,7 @@
+ {"https://[2001:db8::1]/path";, true},// compressed IPv6
address with path
+ {"https://[fe80::1%25eth0]/path?query=1";, true}, // link-local with
zone, path, and query
+
+- {"https://[:::192.0.2.1]";, false},
++ {"https://[:::192.0.2.1]";, true},
+ {"https://[:1] ", false},
+ {"https://[1:2:3:4:5:6:7:8:9]";, false},
+ {"https://[1::1::1]";, false},
+@@ -1672,16 +1672,17 @@
+ {"cache_object:foo/bar", true},
+ {"cache_object/:foo/bar", false},
+
+- {"http://[192.168.0.1]/";, true}, // IPv4 in brackets
+- {"http://[192.168.0.1]:8080/";, true},// IPv4 in
brackets with port
+- {"http://[:::192.168.0.1]/";, true}, // IPv4-mapped
IPv6 in brackets
+- {"http://[:::192.168.0.1]:8080/";, true}, // IPv4-mapped
IPv6 in br
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/files/, dev-lang/go/
commit: 85c73eab3c0c7c0975128301dfe1ef2427f78533
Author: Arthur Zamarin gentoo org>
AuthorDate: Fri Oct 17 16:54:44 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Fri Oct 17 16:57:43 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85c73eab
dev-lang/go: add 1.25.3 with ipv6 validation fix
Bug: https://bugs.gentoo.org/963930
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/files/go-1.25.3-ipv6-validation.patch | 86 ++
dev-lang/go/go-1.25.3.ebuild | 131 ++
3 files changed, 218 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index d5cd040803c9..2f9bb8f67f6b 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,3 +1,4 @@
DIST go1.24.7.src.tar.gz 30794506 BLAKE2B
850ffc97c83843c83d4dfb672dbe18c16b6feda5b76b70213241d583b5ef6c2c8d0bf532e15fa58cb4fceaaf1f66b52166d3badfc294ebecd1076ddd9c7a572e
SHA512
656bb879244ba888af18b6e609fb2c4bc067b919827b9026c3ee44b3e2d0c7bffde262945de989880066196846b669c215da2e8c5d9adfb8491bb5d52af0d49a
DIST go1.24.9.src.tar.gz 30800154 BLAKE2B
30e5ea7dac441a94bd023e152075651583b697c555da73e1581b6eef3dfdee0f7c30a774b8e9704940af60c43e97c8e8ba89b9e84d672a4805b5c969a4140ee8
SHA512
f553a6bdafa9e59d33756c99f6180dcb7e51762733f300488cdab1d42b918e0fff87fa42d714a6b667e039dd22e1ea14ef5f6e3eb1c9c215ff620d559a5c091a
DIST go1.25.1.src.tar.gz 31974863 BLAKE2B
a9f0d27a292b8197ed2307bcfe90af0adccaa1e0e8de0d59df5b65f57ac7dd2cbaee1905401f81af994934fa83070e42c24ff6090affe56461198e89457842c7
SHA512
e77ae799a0dcd4ded40a196c3645da5b7e808e417831d2c5441387b0fd0ed5f946b678305294c52fda0a258889225c24c6073bb0973c3531ba4aa107b6afe849
+DIST go1.25.3.src.tar.gz 31980799 BLAKE2B
4119c93544545b3e30b93ce4e1e9420447f7c9f8c68f9ef9debc8359028225e875e976aad91e390e3f0c7e5747d68d1e070280bd8376a56bd83c1894d68e6427
SHA512
91d32bbff864c06b5ee7b914d3d95c59462352a4c395adba85eaab72704a8aa4d19ac2a361ed64774dce3c8e01a8d4feadf1a788814f6d7b4072a3bdfefbb3b4
diff --git a/dev-lang/go/files/go-1.25.3-ipv6-validation.patch
b/dev-lang/go/files/go-1.25.3-ipv6-validation.patch
new file mode 100644
index ..4f162b2b09a9
--- /dev/null
+++ b/dev-lang/go/files/go-1.25.3-ipv6-validation.patch
@@ -0,0 +1,86 @@
+From 83449b7e2f261c94ea46842012c0992a3a714ce5 Mon Sep 17 00:00:00 2001
+From: Roland Shoemaker
+Date: Wed, 08 Oct 2025 17:13:12 -0700
+Subject: [PATCH] [release-branch.go1.25] net/url: allow IP-literals with
IPv4-mapped IPv6 addresses
+
+The security fix we applied in CL709857 was overly broad. It applied
+rules from RFC 2732, which disallowed IPv4-mapped IPv6 addresses, but
+these were later allowed in RFC 3986, which is the canonical URI syntax
+RFC.
+
+Revert the portion of CL709857 which restricted IPv4-mapped addresses,
+and update the related tests.
+
+Updates #75815
+Fixes #75832
+
+Change-Id: I3192f2275ad5c386f5c15006a6716bdb5282919d
+Reviewed-on: https://go-review.googlesource.com/c/go/+/710375
+LUCI-TryBot-Result: Go LUCI
+Reviewed-by: Ethan Lee
+Auto-Submit: Roland Shoemaker
+(cherry picked from commit 9db7e30bb42eed9912f5e7e9e3959f3b38879d5b)
+---
+
+diff --git a/src/net/url/url.go b/src/net/url/url.go
+index 40faa7c..1c50e06 100644
+--- a/src/net/url/url.go
b/src/net/url/url.go
+@@ -673,13 +673,13 @@
+
+ // Per RFC 3986, only a host identified by a valid
+ // IPv6 address can be enclosed by square brackets.
+- // This excludes any IPv4 or IPv4-mapped addresses.
++ // This excludes any IPv4, but notably not IPv4-mapped
addresses.
+ addr, err := netip.ParseAddr(unescapedHostname)
+ if err != nil {
+ return "", fmt.Errorf("invalid host: %w", err)
+ }
+- if addr.Is4() || addr.Is4In6() {
+- return "", errors.New("invalid IPv6 host")
++ if addr.Is4() {
++ return "", errors.New("invalid IP-literal")
+ }
+ return "[" + unescapedHostname + "]" + unescapedColonPort, nil
+ } else if i := strings.LastIndex(host, ":"); i != -1 {
+diff --git a/src/net/url/url_test.go b/src/net/url/url_test.go
+index 3206558..6084fac 100644
+--- a/src/net/url/url_test.go
b/src/net/url/url_test.go
+@@ -726,7 +726,7 @@
+ {"https://[2001:db8::1]/path";, true},// compressed IPv6
address with path
+ {"https://[fe80::1%25eth0]/path?query=1";, true}, // link-local with
zone, path, and query
+
+- {"https://[:::192.0.2.1]";, false},
++ {"https://[:::192.0.2.1]";, true},
+ {"https://[:1] ", false},
+ {"https://[1:2:3:4:5:6:7:8:9]";, false},
+ {"https://[1::1::1]";, false},
+@@ -1672,16 +1672,17 @@
+ {"cache_object:foo/bar", true},
+ {"cache_object/:foo/bar", false},
+
+- {"http://[192.168.0.1]/";, true
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: a86bcb6576642c3eb235da87e3f578dd2b83e7d1
Author: Arthur Zamarin gentoo org>
AuthorDate: Fri Oct 3 06:05:45 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Fri Oct 3 06:05:45 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a86bcb65
dev-lang/go: Stabilize 1.25.1 amd64, #963692
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.25.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.1.ebuild b/dev-lang/go/go-1.25.1.ebuild
index 400478516247..350d5cce9510 100644
--- a/dev-lang/go/go-1.25.1.ebuild
+++ b/dev-lang/go/go-1.25.1.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: db5a7056f0f2ca4585a82349ccc7b85733e9a0cd
Author: Arthur Zamarin gentoo org>
AuthorDate: Fri Oct 3 06:05:52 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Fri Oct 3 06:05:52 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db5a7056
dev-lang/go: Stabilize 1.25.1 x86, #963692
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.25.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.1.ebuild b/dev-lang/go/go-1.25.1.ebuild
index 78dca5ef6a2e..aa65cc3935ef 100644
--- a/dev-lang/go/go-1.25.1.ebuild
+++ b/dev-lang/go/go-1.25.1.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 0ff84ac28246ed1753a0fbf3505ac17d08d08de4
Author: Arthur Zamarin gentoo org>
AuthorDate: Fri Oct 3 06:05:56 2025 +
Commit: Arthur Zamarin gentoo org>
CommitDate: Fri Oct 3 06:05:56 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ff84ac2
dev-lang/go: Stabilize 1.24.7 arm64, #963691
Signed-off-by: Arthur Zamarin gentoo.org>
dev-lang/go/go-1.24.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.7.ebuild b/dev-lang/go/go-1.24.7.ebuild
index ec3bcc47dcb2..ee34c561bba9 100644
--- a/dev-lang/go/go-1.24.7.ebuild
+++ b/dev-lang/go/go-1.24.7.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: b5a2a144be4acefccbc58de832788bb3fafd94d4
Author: Sam James gentoo org>
AuthorDate: Fri Oct 3 05:06:37 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Oct 3 05:06:37 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a2a144
dev-lang/go: Stabilize 1.24.7 arm, #963691
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.7.ebuild b/dev-lang/go/go-1.24.7.ebuild
index 951d8d2f40e0..ec3bcc47dcb2 100644
--- a/dev-lang/go/go-1.24.7.ebuild
+++ b/dev-lang/go/go-1.24.7.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: a90e1d107fbad23f3397696eafeb71cd8fcbbe29
Author: Sam James gentoo org>
AuthorDate: Fri Oct 3 04:59:37 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Oct 3 04:59:37 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90e1d10
dev-lang/go: Stabilize 1.25.1 arm, #963692
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.25.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.1.ebuild b/dev-lang/go/go-1.25.1.ebuild
index 5eb7ca8d214b..400478516247 100644
--- a/dev-lang/go/go-1.25.1.ebuild
+++ b/dev-lang/go/go-1.25.1.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 4ef804acbd2ab3d186e9f7b61eec481cc14f2ae4
Author: Sam James gentoo org>
AuthorDate: Fri Oct 3 04:59:34 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Oct 3 04:59:34 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ef804ac
dev-lang/go: Stabilize 1.24.7 amd64, #963691
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.7.ebuild b/dev-lang/go/go-1.24.7.ebuild
index 9a85939da6de..1953c6e61304 100644
--- a/dev-lang/go/go-1.24.7.ebuild
+++ b/dev-lang/go/go-1.24.7.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: f1be2655af5e97fefa275854d717f109de2c6cdc
Author: Sam James gentoo org>
AuthorDate: Fri Oct 3 04:59:35 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Oct 3 04:59:35 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1be2655
dev-lang/go: Stabilize 1.24.7 x86, #963691
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.7.ebuild b/dev-lang/go/go-1.24.7.ebuild
index 1953c6e61304..951d8d2f40e0 100644
--- a/dev-lang/go/go-1.24.7.ebuild
+++ b/dev-lang/go/go-1.24.7.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 13e6ae8521ed56e40675c91d47985844d27002e7
Author: William Hubbs gentoo org>
AuthorDate: Mon Sep 8 12:19:36 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Mon Sep 8 12:30:40 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13e6ae85
dev-lang/go: add 1.25.1
Bug: https://bugs.gentoo.org/961745
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/go-1.25.1.ebuild | 129 +++
2 files changed, 130 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index ff963aa9b00e..20a8de5b2f9d 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,3 +1,4 @@
DIST go1.23.12.src.tar.gz 28185486 BLAKE2B
a4d66382a56b89987084e06cc7d18fa48eb870cb1cb4202c86f7a8136f2dd1e2f592a8f3129384c426635aae74d4dae073520a124163497f143a047c61aa753d
SHA512
c7f2125328da13aa956b58e5238ff4bba6bd94f2e93dac88c1b96c0556c1de3de28c512197a780366806bba92fb4ec03f1ccd14b606b8544b16bb08df106cb50
DIST go1.24.6.src.tar.gz 30794139 BLAKE2B
b51693de6047402baa555e3d6c0c37511de60270c538797ea09317c604345b7577c0a24aa0f9f3963340538965f130360d4d98ed91470df83e790c95972af265
SHA512
65f535c722f4a0f6111c9ed829677621e456a5bc969ccb99009da1ade096b2b1a648a44ccfa913543677c220baeaf1afe634ba8ba165d9474ac9433ac249c914
DIST go1.25.0.src.tar.gz 31974753 BLAKE2B
fc2c2d386e4e3cf4f9f7bd7abea68cce873fceb446c1c3522d9e0b2a2b20e7fea40d51e2707b82227e86a1db658e033123bcb94a25bb2fe759b61bd04662332d
SHA512
45030cd02ab0ed4feb74e12ad9dde544bf2255c4d1a48655fca5b643bbe690c75ea3dfac74a0e3e3c707c5af5e9171ae383a7a322e70fe824f9a47b6ffd42201
+DIST go1.25.1.src.tar.gz 31974863 BLAKE2B
a9f0d27a292b8197ed2307bcfe90af0adccaa1e0e8de0d59df5b65f57ac7dd2cbaee1905401f81af994934fa83070e42c24ff6090affe56461198e89457842c7
SHA512
e77ae799a0dcd4ded40a196c3645da5b7e808e417831d2c5441387b0fd0ed5f946b678305294c52fda0a258889225c24c6073bb0973c3531ba4aa107b6afe849
diff --git a/dev-lang/go/go-1.25.1.ebuild b/dev-lang/go/go-1.25.1.ebuild
new file mode 100644
index ..ea320f14b604
--- /dev/null
+++ b/dev-lang/go/go-1.25.1.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.22.12
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ 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"
+ ;;
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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="*"
+QA_PRESTRIPPED="*.syso"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+ export GOOS=$(go-env_goos)
+ export CC_FOR_TARGET=$(tc-getCC)
+ export CXX_FOR_TARGET=$(tc-getCXX)
+ use arm && export GOARM=$(go-env_goarm)
+ use x86 && export GO386=$(go-env_go386)
+
+ cd src
+ bash -x ./make.bash || die
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 81566dfdc2c4fbf6851cf591c4d78a1dfe265516
Author: William Hubbs gentoo org>
AuthorDate: Mon Sep 8 12:36:43 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Mon Sep 8 12:45:54 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81566dfd
dev-lang/go: add 1.24.7
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/go-1.24.7.ebuild | 129 +++
2 files changed, 130 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 128fd25dfc9b..f9119ef53703 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,3 +1,4 @@
DIST go1.23.12.src.tar.gz 28185486 BLAKE2B
a4d66382a56b89987084e06cc7d18fa48eb870cb1cb4202c86f7a8136f2dd1e2f592a8f3129384c426635aae74d4dae073520a124163497f143a047c61aa753d
SHA512
c7f2125328da13aa956b58e5238ff4bba6bd94f2e93dac88c1b96c0556c1de3de28c512197a780366806bba92fb4ec03f1ccd14b606b8544b16bb08df106cb50
DIST go1.24.6.src.tar.gz 30794139 BLAKE2B
b51693de6047402baa555e3d6c0c37511de60270c538797ea09317c604345b7577c0a24aa0f9f3963340538965f130360d4d98ed91470df83e790c95972af265
SHA512
65f535c722f4a0f6111c9ed829677621e456a5bc969ccb99009da1ade096b2b1a648a44ccfa913543677c220baeaf1afe634ba8ba165d9474ac9433ac249c914
+DIST go1.24.7.src.tar.gz 30794506 BLAKE2B
850ffc97c83843c83d4dfb672dbe18c16b6feda5b76b70213241d583b5ef6c2c8d0bf532e15fa58cb4fceaaf1f66b52166d3badfc294ebecd1076ddd9c7a572e
SHA512
656bb879244ba888af18b6e609fb2c4bc067b919827b9026c3ee44b3e2d0c7bffde262945de989880066196846b669c215da2e8c5d9adfb8491bb5d52af0d49a
DIST go1.25.1.src.tar.gz 31974863 BLAKE2B
a9f0d27a292b8197ed2307bcfe90af0adccaa1e0e8de0d59df5b65f57ac7dd2cbaee1905401f81af994934fa83070e42c24ff6090affe56461198e89457842c7
SHA512
e77ae799a0dcd4ded40a196c3645da5b7e808e417831d2c5441387b0fd0ed5f946b678305294c52fda0a258889225c24c6073bb0973c3531ba4aa107b6afe849
diff --git a/dev-lang/go/go-1.24.7.ebuild b/dev-lang/go/go-1.24.7.ebuild
new file mode 100644
index ..9a85939da6de
--- /dev/null
+++ b/dev-lang/go/go-1.24.7.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.22.12
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ 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"
+ ;;
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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="*"
+QA_PRESTRIPPED="*.syso"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+ export GOOS=$(go-env_goos)
+ export CC_FOR_TARGET=$(tc-getCC)
+ export CXX_FOR_TARGET=$(tc-getCXX)
+ use arm && export GOARM=$(go-env_goarm)
+ use x86 && export GO386=$(go-env_go386)
+
+ cd src
+ bash -x ./make.bash || die "build failed"
+}
+
+src_test() {
+
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 1382648062886c626110b427a0a936744ffa2ae4
Author: William Hubbs gentoo org>
AuthorDate: Tue Sep 9 02:54:32 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Tue Sep 9 03:23:13 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13826480
dev-lang/go: keyword 1.25.1
Closes: https://bugs.gentoo.org/961745
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.25.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.25.1.ebuild b/dev-lang/go/go-1.25.1.ebuild
index 1461ffc59218..5eb7ca8d214b 100644
--- a/dev-lang/go/go-1.25.1.ebuild
+++ b/dev-lang/go/go-1.25.1.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 4ecda9af42b9a21676892ee3690bee39dadb58d8
Author: William Hubbs gentoo org>
AuthorDate: Mon Sep 8 12:34:02 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Mon Sep 8 12:34:02 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ecda9af
dev-lang/go: drop 1.25.0
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 -
dev-lang/go/go-1.25.0.ebuild | 129 ---
2 files changed, 130 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 20a8de5b2f9d..128fd25dfc9b 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,4 +1,3 @@
DIST go1.23.12.src.tar.gz 28185486 BLAKE2B
a4d66382a56b89987084e06cc7d18fa48eb870cb1cb4202c86f7a8136f2dd1e2f592a8f3129384c426635aae74d4dae073520a124163497f143a047c61aa753d
SHA512
c7f2125328da13aa956b58e5238ff4bba6bd94f2e93dac88c1b96c0556c1de3de28c512197a780366806bba92fb4ec03f1ccd14b606b8544b16bb08df106cb50
DIST go1.24.6.src.tar.gz 30794139 BLAKE2B
b51693de6047402baa555e3d6c0c37511de60270c538797ea09317c604345b7577c0a24aa0f9f3963340538965f130360d4d98ed91470df83e790c95972af265
SHA512
65f535c722f4a0f6111c9ed829677621e456a5bc969ccb99009da1ade096b2b1a648a44ccfa913543677c220baeaf1afe634ba8ba165d9474ac9433ac249c914
-DIST go1.25.0.src.tar.gz 31974753 BLAKE2B
fc2c2d386e4e3cf4f9f7bd7abea68cce873fceb446c1c3522d9e0b2a2b20e7fea40d51e2707b82227e86a1db658e033123bcb94a25bb2fe759b61bd04662332d
SHA512
45030cd02ab0ed4feb74e12ad9dde544bf2255c4d1a48655fca5b643bbe690c75ea3dfac74a0e3e3c707c5af5e9171ae383a7a322e70fe824f9a47b6ffd42201
DIST go1.25.1.src.tar.gz 31974863 BLAKE2B
a9f0d27a292b8197ed2307bcfe90af0adccaa1e0e8de0d59df5b65f57ac7dd2cbaee1905401f81af994934fa83070e42c24ff6090affe56461198e89457842c7
SHA512
e77ae799a0dcd4ded40a196c3645da5b7e808e417831d2c5441387b0fd0ed5f946b678305294c52fda0a258889225c24c6073bb0973c3531ba4aa107b6afe849
diff --git a/dev-lang/go/go-1.25.0.ebuild b/dev-lang/go/go-1.25.0.ebuild
deleted file mode 100644
index ea320f14b604..
--- a/dev-lang/go/go-1.25.0.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.22.12
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- 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"
- ;;
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE="cpu_flags_x86_sse2"
-
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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="*"
-QA_PRESTRIPPED="*.syso"
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-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
-)
-
-src_compile() {
- if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
- elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
- else
- eerror "Go cannot be built without go or go-bootstrap installed"
- die "Should not be here, please report a bug"
- fi
-
- # Go's build script does not use BUILD/HOST/TARGET consistently. :(
- export GOHOSTARCH=$(go-env_goarch ${CBUILD})
- export GOHOSTOS=$(go-env_goos ${CBUILD})
- export CC=$(tc-getBUILD_CC)
-
- export GOARCH=$(go-env_goarch)
- export GOOS=$(go-env_goos)
- export CC_FOR_TARGET=$(tc-getCC)
- export CXX_FOR_TARGET=$(tc-getCXX)
- use arm && export GOARM=$(go-env_goarm)
- use x86 && export GO386=$(go-env_go386)
-
- cd src
- bash -x ./make.bash || die "build failed"
-}
-
-src_test()
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: e763bfcebb51282bd7bb8dc35003d804e4174974
Author: William Hubbs gentoo org>
AuthorDate: Tue Sep 9 13:15:26 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Tue Sep 9 13:15:26 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e763bfce
dev-lang/go: drop 1.23.12
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 -
dev-lang/go/go-1.23.12.ebuild | 162 --
2 files changed, 163 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index f9119ef53703..a3390b9a8a2a 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,4 +1,3 @@
-DIST go1.23.12.src.tar.gz 28185486 BLAKE2B
a4d66382a56b89987084e06cc7d18fa48eb870cb1cb4202c86f7a8136f2dd1e2f592a8f3129384c426635aae74d4dae073520a124163497f143a047c61aa753d
SHA512
c7f2125328da13aa956b58e5238ff4bba6bd94f2e93dac88c1b96c0556c1de3de28c512197a780366806bba92fb4ec03f1ccd14b606b8544b16bb08df106cb50
DIST go1.24.6.src.tar.gz 30794139 BLAKE2B
b51693de6047402baa555e3d6c0c37511de60270c538797ea09317c604345b7577c0a24aa0f9f3963340538965f130360d4d98ed91470df83e790c95972af265
SHA512
65f535c722f4a0f6111c9ed829677621e456a5bc969ccb99009da1ade096b2b1a648a44ccfa913543677c220baeaf1afe634ba8ba165d9474ac9433ac249c914
DIST go1.24.7.src.tar.gz 30794506 BLAKE2B
850ffc97c83843c83d4dfb672dbe18c16b6feda5b76b70213241d583b5ef6c2c8d0bf532e15fa58cb4fceaaf1f66b52166d3badfc294ebecd1076ddd9c7a572e
SHA512
656bb879244ba888af18b6e609fb2c4bc067b919827b9026c3ee44b3e2d0c7bffde262945de989880066196846b669c215da2e8c5d9adfb8491bb5d52af0d49a
DIST go1.25.1.src.tar.gz 31974863 BLAKE2B
a9f0d27a292b8197ed2307bcfe90af0adccaa1e0e8de0d59df5b65f57ac7dd2cbaee1905401f81af994934fa83070e42c24ff6090affe56461198e89457842c7
SHA512
e77ae799a0dcd4ded40a196c3645da5b7e808e417831d2c5441387b0fd0ed5f946b678305294c52fda0a258889225c24c6073bb0973c3531ba4aa107b6afe849
diff --git a/dev-lang/go/go-1.23.12.ebuild b/dev-lang/go/go-1.23.12.ebuild
deleted file mode 100644
index 460ae2af0140..
--- a/dev-lang/go/go-1.23.12.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.20.14
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
- S="${WORKDIR}"/go
- case ${PV} in
- *_beta*|*_rc*) ;;
- *)
- KEYWORDS="-* amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390
x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
- ;;
- esac
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE="cpu_flags_x86_sse2"
-
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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="*"
-QA_PRESTRIPPED="*.syso"
-
-# Do not strip this package. Stripping is unsupported upstream and may
-# fail.
-RESTRICT=" strip"
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-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
-)
-
-src_compile() {
- if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
- elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
- else
- eerror "Go cannot be built without go or go-bootstrap installed"
- die "Should not be here, please report a bug"
- fi
-
- # Go's build script does not use BUILD/HOST/TARGET consistently. :(
- export GOHOSTARCH=$(go-env_goarch ${CBUILD})
- export GOHOSTOS=$(go-env_goos ${CBUILD})
- export CC=$(tc-getBUILD_CC)
-
- export GOARCH=$(go-env_goarch)
- export GOOS=$(go-env_goos)
- export CC_FOR_TARGET=$(tc-getCC)
- export CXX_FOR_TARGET=$(
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/files/, dev-lang/go/
commit: 44f89a6708d5e69c91e609c715bf1d276b0f9d55
Author: William Hubbs gentoo org>
AuthorDate: Mon Sep 8 20:09:35 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Mon Sep 8 20:12:40 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f89a67
dev-lang/go: disable dwarf5 generation for now
Bug: https://bugs.gentoo.org/961745
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/files/go-1.25-no-dwarf5.patch | 15 +++
dev-lang/go/go-1.25.1.ebuild | 1 +
2 files changed, 16 insertions(+)
diff --git a/dev-lang/go/files/go-1.25-no-dwarf5.patch
b/dev-lang/go/files/go-1.25-no-dwarf5.patch
new file mode 100644
index ..72c2bab24ad3
--- /dev/null
+++ b/dev-lang/go/files/go-1.25-no-dwarf5.patch
@@ -0,0 +1,15 @@
+diff --git a/go.env b/go.env
+index 6ff2b921d4..e8959a72c7 100644
+--- a/go.env
b/go.env
+@@ -2,6 +2,10 @@
+ # Values set by 'go env -w' and written to the user's go/env file override
these.
+ # The environment overrides everything else.
+
++#This can be removed when debugedit is fixed to support dwarf5
++# https://sourceware.org/bugzilla/show_bug.cgi?id=33204
++GOEXPERIMENT=nodwarf5
++
+ # Use the Go module mirror and checksum database by default.
+ # See https://proxy.golang.org for details.
+ GOPROXY=https://proxy.golang.org,direct
diff --git a/dev-lang/go/go-1.25.1.ebuild b/dev-lang/go/go-1.25.1.ebuild
index ea320f14b604..1461ffc59218 100644
--- a/dev-lang/go/go-1.25.1.ebuild
+++ b/dev-lang/go/go-1.25.1.ebuild
@@ -67,6 +67,7 @@ go_cross_compile() {
PATCHES=(
"${FILESDIR}"/go-1.24-skip-gdb-tests.patch
"${FILESDIR}"/go-1.24-dont-force-gold-arm.patch
+ "${FILESDIR}"/go-1.25-no-dwarf5.patch
"${FILESDIR}"/go-never-download-newer-toolchains.patch
)
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: f317771087a550832a32df523f80e662cbf353a4
Author: William Hubbs gentoo org>
AuthorDate: Wed Aug 20 13:34:01 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Wed Aug 20 13:34:19 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3177710
dev-lang/go: add 1.25.0
Bug: https://bugs.gentoo.org/961745
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/go-1.25.0.ebuild | 129 +++
2 files changed, 130 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index e78f90a78382..ff963aa9b00e 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,2 +1,3 @@
DIST go1.23.12.src.tar.gz 28185486 BLAKE2B
a4d66382a56b89987084e06cc7d18fa48eb870cb1cb4202c86f7a8136f2dd1e2f592a8f3129384c426635aae74d4dae073520a124163497f143a047c61aa753d
SHA512
c7f2125328da13aa956b58e5238ff4bba6bd94f2e93dac88c1b96c0556c1de3de28c512197a780366806bba92fb4ec03f1ccd14b606b8544b16bb08df106cb50
DIST go1.24.6.src.tar.gz 30794139 BLAKE2B
b51693de6047402baa555e3d6c0c37511de60270c538797ea09317c604345b7577c0a24aa0f9f3963340538965f130360d4d98ed91470df83e790c95972af265
SHA512
65f535c722f4a0f6111c9ed829677621e456a5bc969ccb99009da1ade096b2b1a648a44ccfa913543677c220baeaf1afe634ba8ba165d9474ac9433ac249c914
+DIST go1.25.0.src.tar.gz 31974753 BLAKE2B
fc2c2d386e4e3cf4f9f7bd7abea68cce873fceb446c1c3522d9e0b2a2b20e7fea40d51e2707b82227e86a1db658e033123bcb94a25bb2fe759b61bd04662332d
SHA512
45030cd02ab0ed4feb74e12ad9dde544bf2255c4d1a48655fca5b643bbe690c75ea3dfac74a0e3e3c707c5af5e9171ae383a7a322e70fe824f9a47b6ffd42201
diff --git a/dev-lang/go/go-1.25.0.ebuild b/dev-lang/go/go-1.25.0.ebuild
new file mode 100644
index ..ea320f14b604
--- /dev/null
+++ b/dev-lang/go/go-1.25.0.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.22.12
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ 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"
+ ;;
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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="*"
+QA_PRESTRIPPED="*.syso"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+ export GOOS=$(go-env_goos)
+ export CC_FOR_TARGET=$(tc-getCC)
+ export CXX_FOR_TARGET=$(tc-getCXX)
+ use arm && export GOARM=$(go-env_goarm)
+ use x86 && export GO386=$(go-env_go386)
+
+ cd src
+ bash -x ./make.bash || die "build failed"
+}
+
+src_test() {
+ go_cross_compile && return 0
+ cd src
+ PATH="${GOBIN}:${PATH}" \
+ ./run.bash -no-rebuild -k || die "tests failed"
+}
+
+src_install() {
+ dodir /usr/lib/go
+ # The use of cp is deliberate in order to retain permissions
+ cp -R . "
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 27b2dca6f10cfa7732058f83d7792cc503b65e51 Author: William Hubbs gentoo org> AuthorDate: Thu Aug 14 15:33:11 2025 + Commit: William Hubbs gentoo org> CommitDate: Thu Aug 14 16:00:58 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b2dca6 dev-lang/go: sync QA_PREBUILT and QA_PRESTRIPPED settings Closes: https://bugs.gentoo.org/960052 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.23.12.ebuild | 3 ++- dev-lang/go/go-1.24.6.ebuild | 3 ++- dev-lang/go/go-.ebuild| 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-lang/go/go-1.23.12.ebuild b/dev-lang/go/go-1.23.12.ebuild index 3c89d5985125..460ae2af0140 100644 --- a/dev-lang/go/go-1.23.12.ebuild +++ b/dev-lang/go/go-1.23.12.ebuild @@ -50,7 +50,8 @@ 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='.*' +QA_PREBUILT="*" +QA_PRESTRIPPED="*.syso" # Do not strip this package. Stripping is unsupported upstream and may # fail. diff --git a/dev-lang/go/go-1.24.6.ebuild b/dev-lang/go/go-1.24.6.ebuild index 66e1c8e3..0b04ca198703 100644 --- a/dev-lang/go/go-1.24.6.ebuild +++ b/dev-lang/go/go-1.24.6.ebuild @@ -46,7 +46,8 @@ 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='.*' +QA_PREBUILT="*" +QA_PRESTRIPPED="*.syso" DOCS=( CONTRIBUTING.md diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-.ebuild index 5f202931d0de..4f9caabf8a0a 100644 --- a/dev-lang/go/go-.ebuild +++ b/dev-lang/go/go-.ebuild @@ -46,7 +46,8 @@ 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='.*' +QA_PREBUILT="*" +QA_PRESTRIPPED="*.syso" DOCS=( CONTRIBUTING.md
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 5ea799c2c74a6c0d8c573178c5a346e9915f5689
Author: William Hubbs gentoo org>
AuthorDate: Mon Aug 11 13:45:31 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Mon Aug 11 13:45:31 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea799c2
dev-lang/go: drop 1.23.10, 1.23.11, 1.24.4, 1.24.5
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 4 --
dev-lang/go/go-1.23.10.ebuild | 161 --
dev-lang/go/go-1.23.11.ebuild | 161 --
dev-lang/go/go-1.24.4.ebuild | 132 --
dev-lang/go/go-1.24.5.ebuild | 132 --
5 files changed, 590 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 37be346bb1a1..e78f90a78382 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,6 +1,2 @@
-DIST go1.23.10.src.tar.gz 28183775 BLAKE2B
877d61cc6dce0846feb0e2b3f901be9f233d458f549afe9c547d8a279b10c483120c3224cdb2add11af1ff4fb229a1a6d362b0701cf02d8d1c12721275fc954a
SHA512
20639185b05720aa8bb295c54e3eaa7cf56739763544d28ce14a6f0323bf890900d5fad13086032291fbefad4482f1442772875bbdf16a94e2286eb405c8f327
-DIST go1.23.11.src.tar.gz 28185977 BLAKE2B
7624458c815210fe9b91a7cef8ca6fa0222518d84ebae500b3b36df2af1ecece6e2eee1fcb2a5d724492ba7dfdfe07509f18cd1976ca7e40c2f5d26802f4ad02
SHA512
108b86d384de01617b7c58fba8a2c6446f6d1e8d07b720de2c49854e664c8c2660f6a3700827bf77cb7f018f78c7f3dc4f9c9f3a8fba8ca5e91cadde2df98a95
DIST go1.23.12.src.tar.gz 28185486 BLAKE2B
a4d66382a56b89987084e06cc7d18fa48eb870cb1cb4202c86f7a8136f2dd1e2f592a8f3129384c426635aae74d4dae073520a124163497f143a047c61aa753d
SHA512
c7f2125328da13aa956b58e5238ff4bba6bd94f2e93dac88c1b96c0556c1de3de28c512197a780366806bba92fb4ec03f1ccd14b606b8544b16bb08df106cb50
-DIST go1.24.4.src.tar.gz 30788576 BLAKE2B
a553d7f3ec647fb962a4bf89c131b2eb6ad5da4f9335b9e3ef417a9eeca20d81d61c4e92a48fa050d3f422affbcf371a2bcc81e23a7c1b2c408677f7bcaa1025
SHA512
b785583fc53d62094b2de793a0e3281a26d2de17897a35b378fc2d13cb912ca473c37a7bae54a50660141809d5d0a70a97663d406cf30d7f0221ecbb5ffddec6
-DIST go1.24.5.src.tar.gz 30792943 BLAKE2B
47d281c221ca87f7b668e5e44017b77c408c08543ded64c54de9515cd3759f92228983f878e39ae0d52e7bbdae4c09161381196bb7efb48e77f38694195c883e
SHA512
917cd6ac83e3370227da40f8490697e8638847e9279ed1806044a173d3b52829c67c429990db92d8aadcfba6a37bfc00114c1ecec3ac387a781bb7edc8dcab22
DIST go1.24.6.src.tar.gz 30794139 BLAKE2B
b51693de6047402baa555e3d6c0c37511de60270c538797ea09317c604345b7577c0a24aa0f9f3963340538965f130360d4d98ed91470df83e790c95972af265
SHA512
65f535c722f4a0f6111c9ed829677621e456a5bc969ccb99009da1ade096b2b1a648a44ccfa913543677c220baeaf1afe634ba8ba165d9474ac9433ac249c914
diff --git a/dev-lang/go/go-1.23.10.ebuild b/dev-lang/go/go-1.23.10.ebuild
deleted file mode 100644
index 3c89d5985125..
--- a/dev-lang/go/go-1.23.10.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.20.14
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
- S="${WORKDIR}"/go
- case ${PV} in
- *_beta*|*_rc*) ;;
- *)
- KEYWORDS="-* amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390
x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
- ;;
- esac
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE="cpu_flags_x86_sse2"
-
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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"
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-PATCHES=(
- "${FILESDIR}"/go-1.24-skip-gdb-tests.patch
- "${FILESDIR}"/go-1.24-dont-force-gold-arm.patch
- "${FILESDIR}"/go-never-download-newer-too
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 1791994fb0453012c3fde4a57e1b1fd01280370e
Author: William Hubbs gentoo org>
AuthorDate: Mon Aug 11 13:31:14 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Mon Aug 11 13:32:23 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1791994f
dev-lang/go: stabilize 1.24.6 for x86, #961217
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.24.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.6.ebuild b/dev-lang/go/go-1.24.6.ebuild
index 646faac65695..66e1c8e3 100644
--- a/dev-lang/go/go-1.24.6.ebuild
+++ b/dev-lang/go/go-1.24.6.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: a34f738222596b7089f3f5b346e3bb8351f49208
Author: William Hubbs gentoo org>
AuthorDate: Mon Aug 11 13:29:38 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Mon Aug 11 13:32:22 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a34f7382
dev-lang/go: stabilize 1.23.12 for x86, #961216
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.23.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.12.ebuild b/dev-lang/go/go-1.23.12.ebuild
index fba569335c32..3c89d5985125 100644
--- a/dev-lang/go/go-1.23.12.ebuild
+++ b/dev-lang/go/go-1.23.12.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: be9f45fa9e7c9dfcafccdeca012de11b33d84e6e
Author: William Hubbs gentoo org>
AuthorDate: Fri Aug 8 23:18:11 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Fri Aug 8 23:18:11 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9f45fa
dev-lang/go: drop 1.24.5-r1
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.24.5-r1.ebuild | 128
1 file changed, 128 deletions(-)
diff --git a/dev-lang/go/go-1.24.5-r1.ebuild b/dev-lang/go/go-1.24.5-r1.ebuild
deleted file mode 100644
index 73979ffd6627..
--- a/dev-lang/go/go-1.24.5-r1.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.22.12
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- 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"
- ;;
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE="cpu_flags_x86_sse2"
-
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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='.*'
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-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
-)
-
-src_compile() {
- if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
- elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
- else
- eerror "Go cannot be built without go or go-bootstrap installed"
- die "Should not be here, please report a bug"
- fi
-
- # Go's build script does not use BUILD/HOST/TARGET consistently. :(
- export GOHOSTARCH=$(go-env_goarch ${CBUILD})
- export GOHOSTOS=$(go-env_goos ${CBUILD})
- export CC=$(tc-getBUILD_CC)
-
- export GOARCH=$(go-env_goarch)
- export GOOS=$(go-env_goos)
- export CC_FOR_TARGET=$(tc-getCC)
- export CXX_FOR_TARGET=$(tc-getCXX)
- use arm && export GOARM=$(go-env_goarm)
- use x86 && export GO386=$(go-env_go386)
-
- cd src
- bash -x ./make.bash || die "build failed"
-}
-
-src_test() {
- go_cross_compile && return 0
- cd src
- PATH="${GOBIN}:${PATH}" \
- ./run.bash -no-rebuild -k || die "tests failed"
-}
-
-src_install() {
- dodir /usr/lib/go
- # The use of cp is deliberate in order to retain permissions
- cp -R . "${ED}"/usr/lib/go
- einstalldocs
-
- # testdata directories are not needed on the installed system
- # The other files we remove are installed by einstalldocs
- rm -r $(find "${ED}"/usr/lib/go -iname testdata -type d -print) || die
- rm "${ED}"/usr/lib/go/{CONTRIBUTING.md,PATENTS,README.md} || die
- rm "${ED}"/usr/lib/go/{SECURITY.md,codereview.cfg,LICENSE} || die
-
- local bin_path
- if go_cross_compile; then
- bin_path="bin/$(go_tuple)"
- else
- bin_path=bin
- fi
- local f x
- for x in ${bin_path}/*; do
- f=${x##*/}
- dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
- done
-}
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 58af2818f3a1afa32181544a6877cafa44d293a4
Author: Sam James gentoo org>
AuthorDate: Fri Aug 8 19:59:54 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 8 19:59:54 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58af2818
dev-lang/go: Stabilize 1.24.6 amd64, #961217
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.6.ebuild b/dev-lang/go/go-1.24.6.ebuild
index 5a24cf410d69..646faac65695 100644
--- a/dev-lang/go/go-1.24.6.ebuild
+++ b/dev-lang/go/go-1.24.6.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: f2cc132fabb6fb6bd38e2514f6bc443fe5198f51
Author: Sam James gentoo org>
AuthorDate: Fri Aug 8 17:39:35 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 8 17:39:35 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2cc132f
dev-lang/go: Stabilize 1.24.6 arm64, #961217
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.6.ebuild b/dev-lang/go/go-1.24.6.ebuild
index 73979ffd6627..6ad7aef36130 100644
--- a/dev-lang/go/go-1.24.6.ebuild
+++ b/dev-lang/go/go-1.24.6.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 5b2b154361a156c7591b7d46dbb2a1316053f390
Author: Sam James gentoo org>
AuthorDate: Fri Aug 8 19:59:53 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 8 19:59:53 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2b1543
dev-lang/go: Stabilize 1.23.12 amd64, #961216
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.12.ebuild b/dev-lang/go/go-1.23.12.ebuild
index 83de921d00db..fba569335c32 100644
--- a/dev-lang/go/go-1.23.12.ebuild
+++ b/dev-lang/go/go-1.23.12.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: abddec26f217d5c7288dc1044006985f25c68f9c
Author: Sam James gentoo org>
AuthorDate: Fri Aug 8 19:07:29 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 8 19:07:29 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abddec26
dev-lang/go: Stabilize 1.23.12 arm, #961216
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.12.ebuild b/dev-lang/go/go-1.23.12.ebuild
index fc4852c405b2..83de921d00db 100644
--- a/dev-lang/go/go-1.23.12.ebuild
+++ b/dev-lang/go/go-1.23.12.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 7124556c614a69040a11c923d2151484505bf035
Author: Sam James gentoo org>
AuthorDate: Fri Aug 8 19:07:27 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 8 19:07:27 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7124556c
dev-lang/go: Stabilize 1.23.12 ppc64, #961216
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.12.ebuild b/dev-lang/go/go-1.23.12.ebuild
index 99d851c05b89..fc4852c405b2 100644
--- a/dev-lang/go/go-1.23.12.ebuild
+++ b/dev-lang/go/go-1.23.12.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: c2ec51cf53ec1b208f7490c1b1c0de39c9d908d1
Author: Sam James gentoo org>
AuthorDate: Fri Aug 8 17:58:54 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 8 17:58:54 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ec51cf
dev-lang/go: Stabilize 1.24.6 ppc64, #961217
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.6.ebuild b/dev-lang/go/go-1.24.6.ebuild
index 23d71d9b7564..5a24cf410d69 100644
--- a/dev-lang/go/go-1.24.6.ebuild
+++ b/dev-lang/go/go-1.24.6.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 16d9ccd5694016d0a226b730909b696e40e1c6c7
Author: Sam James gentoo org>
AuthorDate: Fri Aug 8 17:56:31 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 8 17:56:31 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16d9ccd5
dev-lang/go: Stabilize 1.24.6 arm, #961217
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.6.ebuild b/dev-lang/go/go-1.24.6.ebuild
index 6ad7aef36130..23d71d9b7564 100644
--- a/dev-lang/go/go-1.24.6.ebuild
+++ b/dev-lang/go/go-1.24.6.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 88beecaa9d2c609f8ad0bf7758aea06c9c067731
Author: Sam James gentoo org>
AuthorDate: Fri Aug 8 17:39:34 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 8 17:39:34 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88beecaa
dev-lang/go: Stabilize 1.23.12 arm64, #961216
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.12.ebuild b/dev-lang/go/go-1.23.12.ebuild
index 8055c81cefa0..99d851c05b89 100644
--- a/dev-lang/go/go-1.23.12.ebuild
+++ b/dev-lang/go/go-1.23.12.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: ebb656eb99d8ca8955154e9d7c8e9984bd4f5e50
Author: William Hubbs gentoo org>
AuthorDate: Fri Aug 8 14:31:21 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Fri Aug 8 14:31:21 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb656eb
dev-lang/go: add 1.24.6
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/go-1.24.6.ebuild | 128 +++
2 files changed, 129 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 7767ac48b487..37be346bb1a1 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -3,3 +3,4 @@ DIST go1.23.11.src.tar.gz 28185977 BLAKE2B
7624458c815210fe9b91a7cef8ca6fa022251
DIST go1.23.12.src.tar.gz 28185486 BLAKE2B
a4d66382a56b89987084e06cc7d18fa48eb870cb1cb4202c86f7a8136f2dd1e2f592a8f3129384c426635aae74d4dae073520a124163497f143a047c61aa753d
SHA512
c7f2125328da13aa956b58e5238ff4bba6bd94f2e93dac88c1b96c0556c1de3de28c512197a780366806bba92fb4ec03f1ccd14b606b8544b16bb08df106cb50
DIST go1.24.4.src.tar.gz 30788576 BLAKE2B
a553d7f3ec647fb962a4bf89c131b2eb6ad5da4f9335b9e3ef417a9eeca20d81d61c4e92a48fa050d3f422affbcf371a2bcc81e23a7c1b2c408677f7bcaa1025
SHA512
b785583fc53d62094b2de793a0e3281a26d2de17897a35b378fc2d13cb912ca473c37a7bae54a50660141809d5d0a70a97663d406cf30d7f0221ecbb5ffddec6
DIST go1.24.5.src.tar.gz 30792943 BLAKE2B
47d281c221ca87f7b668e5e44017b77c408c08543ded64c54de9515cd3759f92228983f878e39ae0d52e7bbdae4c09161381196bb7efb48e77f38694195c883e
SHA512
917cd6ac83e3370227da40f8490697e8638847e9279ed1806044a173d3b52829c67c429990db92d8aadcfba6a37bfc00114c1ecec3ac387a781bb7edc8dcab22
+DIST go1.24.6.src.tar.gz 30794139 BLAKE2B
b51693de6047402baa555e3d6c0c37511de60270c538797ea09317c604345b7577c0a24aa0f9f3963340538965f130360d4d98ed91470df83e790c95972af265
SHA512
65f535c722f4a0f6111c9ed829677621e456a5bc969ccb99009da1ade096b2b1a648a44ccfa913543677c220baeaf1afe634ba8ba165d9474ac9433ac249c914
diff --git a/dev-lang/go/go-1.24.6.ebuild b/dev-lang/go/go-1.24.6.ebuild
new file mode 100644
index ..73979ffd6627
--- /dev/null
+++ b/dev-lang/go/go-1.24.6.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.22.12
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ 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"
+ ;;
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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='.*'
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+ export GOOS=$(go-env_goos)
+ export CC_FOR_TARGET=$(tc-getCC)
+ export CXX_FOR_TARGET=$(tc-getCXX)
+ use arm && export GOARM=$(go-env_goarm)
+ use x86 && export GO386=$(go-env_go386)
+
+ cd src
+ bash
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: bd2722eae6c5145a13bbc0b5957f26538ef468c4
Author: William Hubbs gentoo org>
AuthorDate: Fri Aug 8 14:27:59 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Fri Aug 8 14:29:00 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd2722ea
dev-lang/go: add 1.23.12
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 +
dev-lang/go/go-1.23.12.ebuild | 161 ++
2 files changed, 162 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 4c545ed5373c..7767ac48b487 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,4 +1,5 @@
DIST go1.23.10.src.tar.gz 28183775 BLAKE2B
877d61cc6dce0846feb0e2b3f901be9f233d458f549afe9c547d8a279b10c483120c3224cdb2add11af1ff4fb229a1a6d362b0701cf02d8d1c12721275fc954a
SHA512
20639185b05720aa8bb295c54e3eaa7cf56739763544d28ce14a6f0323bf890900d5fad13086032291fbefad4482f1442772875bbdf16a94e2286eb405c8f327
DIST go1.23.11.src.tar.gz 28185977 BLAKE2B
7624458c815210fe9b91a7cef8ca6fa0222518d84ebae500b3b36df2af1ecece6e2eee1fcb2a5d724492ba7dfdfe07509f18cd1976ca7e40c2f5d26802f4ad02
SHA512
108b86d384de01617b7c58fba8a2c6446f6d1e8d07b720de2c49854e664c8c2660f6a3700827bf77cb7f018f78c7f3dc4f9c9f3a8fba8ca5e91cadde2df98a95
+DIST go1.23.12.src.tar.gz 28185486 BLAKE2B
a4d66382a56b89987084e06cc7d18fa48eb870cb1cb4202c86f7a8136f2dd1e2f592a8f3129384c426635aae74d4dae073520a124163497f143a047c61aa753d
SHA512
c7f2125328da13aa956b58e5238ff4bba6bd94f2e93dac88c1b96c0556c1de3de28c512197a780366806bba92fb4ec03f1ccd14b606b8544b16bb08df106cb50
DIST go1.24.4.src.tar.gz 30788576 BLAKE2B
a553d7f3ec647fb962a4bf89c131b2eb6ad5da4f9335b9e3ef417a9eeca20d81d61c4e92a48fa050d3f422affbcf371a2bcc81e23a7c1b2c408677f7bcaa1025
SHA512
b785583fc53d62094b2de793a0e3281a26d2de17897a35b378fc2d13cb912ca473c37a7bae54a50660141809d5d0a70a97663d406cf30d7f0221ecbb5ffddec6
DIST go1.24.5.src.tar.gz 30792943 BLAKE2B
47d281c221ca87f7b668e5e44017b77c408c08543ded64c54de9515cd3759f92228983f878e39ae0d52e7bbdae4c09161381196bb7efb48e77f38694195c883e
SHA512
917cd6ac83e3370227da40f8490697e8638847e9279ed1806044a173d3b52829c67c429990db92d8aadcfba6a37bfc00114c1ecec3ac387a781bb7edc8dcab22
diff --git a/dev-lang/go/go-1.23.12.ebuild b/dev-lang/go/go-1.23.12.ebuild
new file mode 100644
index ..8055c81cefa0
--- /dev/null
+++ b/dev-lang/go/go-1.23.12.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.20.14
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
+ S="${WORKDIR}"/go
+ case ${PV} in
+ *_beta*|*_rc*) ;;
+ *)
+ KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv
~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+ ;;
+ esac
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently.
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 85ef3f820f2d501baaa02391082fdcaf367241cf
Author: William Hubbs gentoo org>
AuthorDate: Wed Aug 6 17:59:21 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Wed Aug 6 17:59:40 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ef3f82
dev-lang/go: drop 1.23.9-r1, 1.24.3
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest| 2 -
dev-lang/go/go-1.23.9-r1.ebuild | 161
dev-lang/go/go-1.24.3.ebuild| 132
3 files changed, 295 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 62317fc69cd4..4c545ed5373c 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,6 +1,4 @@
DIST go1.23.10.src.tar.gz 28183775 BLAKE2B
877d61cc6dce0846feb0e2b3f901be9f233d458f549afe9c547d8a279b10c483120c3224cdb2add11af1ff4fb229a1a6d362b0701cf02d8d1c12721275fc954a
SHA512
20639185b05720aa8bb295c54e3eaa7cf56739763544d28ce14a6f0323bf890900d5fad13086032291fbefad4482f1442772875bbdf16a94e2286eb405c8f327
DIST go1.23.11.src.tar.gz 28185977 BLAKE2B
7624458c815210fe9b91a7cef8ca6fa0222518d84ebae500b3b36df2af1ecece6e2eee1fcb2a5d724492ba7dfdfe07509f18cd1976ca7e40c2f5d26802f4ad02
SHA512
108b86d384de01617b7c58fba8a2c6446f6d1e8d07b720de2c49854e664c8c2660f6a3700827bf77cb7f018f78c7f3dc4f9c9f3a8fba8ca5e91cadde2df98a95
-DIST go1.23.9.src.tar.gz 28182928 BLAKE2B
fe1038bb32982c4b2032e4a2a9aa533e7ff648337107581b905e484ae9cbbb8bb4e6d8b5b6041f06dd9b25b47c271e9240d6b329813d736fc9a33538a381
SHA512
0f80680caabbf50a4f5d0515530c55e297f38bf193a9da531e640f069719e3c7a5670b72f7629fada8162f978305ae1e4e6398369b8021cfe6dc9157254a
-DIST go1.24.3.src.tar.gz 30789282 BLAKE2B
b9ddb484900129f2b916c224ce30b59fdd14ed396f92b8935baa775e9574c5970494d8e612b60c675f699a73683781dfa9802a4c3906f5cc112b9de8ea83154f
SHA512
05d19372fb923eeea19395b4de569d2ecfec7fadf2d8236d47cd667982de51c569e9816372cb79e32166553f9bcbe68f7bc2a6ded5655809b1caf5bd941011e7
DIST go1.24.4.src.tar.gz 30788576 BLAKE2B
a553d7f3ec647fb962a4bf89c131b2eb6ad5da4f9335b9e3ef417a9eeca20d81d61c4e92a48fa050d3f422affbcf371a2bcc81e23a7c1b2c408677f7bcaa1025
SHA512
b785583fc53d62094b2de793a0e3281a26d2de17897a35b378fc2d13cb912ca473c37a7bae54a50660141809d5d0a70a97663d406cf30d7f0221ecbb5ffddec6
DIST go1.24.5.src.tar.gz 30792943 BLAKE2B
47d281c221ca87f7b668e5e44017b77c408c08543ded64c54de9515cd3759f92228983f878e39ae0d52e7bbdae4c09161381196bb7efb48e77f38694195c883e
SHA512
917cd6ac83e3370227da40f8490697e8638847e9279ed1806044a173d3b52829c67c429990db92d8aadcfba6a37bfc00114c1ecec3ac387a781bb7edc8dcab22
diff --git a/dev-lang/go/go-1.23.9-r1.ebuild b/dev-lang/go/go-1.23.9-r1.ebuild
deleted file mode 100644
index 3c89d5985125..
--- a/dev-lang/go/go-1.23.9-r1.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.20.14
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
- S="${WORKDIR}"/go
- case ${PV} in
- *_beta*|*_rc*) ;;
- *)
- KEYWORDS="-* amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390
x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
- ;;
- esac
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE="cpu_flags_x86_sse2"
-
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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"
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-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
-)
-
-src_compile() {
- if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 386510ab51f54306bd5939ae928d3cfae8a29832
Author: Sam James gentoo org>
AuthorDate: Mon Aug 4 15:15:58 2025 +
Commit: Sam James gentoo org>
CommitDate: Mon Aug 4 15:15:58 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=386510ab
dev-lang/go: Stabilize 1.23.11 arm64, #959854
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.11.ebuild b/dev-lang/go/go-1.23.11.ebuild
index 42d59f6d8f56..5fbb4075aa3c 100644
--- a/dev-lang/go/go-1.23.11.ebuild
+++ b/dev-lang/go/go-1.23.11.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: aae44cb20d19c102bca576fa189ca94a26eddc38
Author: Sam James gentoo org>
AuthorDate: Mon Aug 4 15:15:59 2025 +
Commit: Sam James gentoo org>
CommitDate: Mon Aug 4 15:15:59 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aae44cb2
dev-lang/go: Stabilize 1.24.5 arm64, #959855
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.5.ebuild b/dev-lang/go/go-1.24.5.ebuild
index ac363e2cc1d3..e974391efc30 100644
--- a/dev-lang/go/go-1.24.5.ebuild
+++ b/dev-lang/go/go-1.24.5.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: ab74e3f3776807e31d941319788beffe7c908638
Author: Sam James gentoo org>
AuthorDate: Mon Aug 4 15:15:45 2025 +
Commit: Sam James gentoo org>
CommitDate: Mon Aug 4 15:15:45 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab74e3f3
dev-lang/go: Stabilize 1.24.4 arm64, #957799
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.4.ebuild b/dev-lang/go/go-1.24.4.ebuild
index 2a3d3932da58..f3fe286ef7a2 100644
--- a/dev-lang/go/go-1.24.4.ebuild
+++ b/dev-lang/go/go-1.24.4.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: f803a74de373dc5959891ef47b34e6bd4e62952a
Author: Sam James gentoo org>
AuthorDate: Fri Aug 1 00:48:31 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 1 00:49:02 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f803a74d
dev-lang/go: Stabilize 1.23.11 x86, #959854
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.11.ebuild b/dev-lang/go/go-1.23.11.ebuild
index f0d6fcbe314d..42d59f6d8f56 100644
--- a/dev-lang/go/go-1.23.11.ebuild
+++ b/dev-lang/go/go-1.23.11.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: fef4657236a4c562a748530130cb7ffb58ee1377
Author: Sam James gentoo org>
AuthorDate: Fri Aug 1 00:48:35 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 1 00:49:03 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef46572
dev-lang/go: Stabilize 1.24.5 x86, #959855
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.5.ebuild b/dev-lang/go/go-1.24.5.ebuild
index 665f23444b00..ac363e2cc1d3 100644
--- a/dev-lang/go/go-1.24.5.ebuild
+++ b/dev-lang/go/go-1.24.5.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 4ad6fae67189a56c3223157b440f46537159bc66
Author: Sam James gentoo org>
AuthorDate: Fri Aug 1 00:48:33 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 1 00:49:02 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad6fae6
dev-lang/go: Stabilize 1.24.5 amd64, #959855
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.5.ebuild b/dev-lang/go/go-1.24.5.ebuild
index ec434163ecc6..665f23444b00 100644
--- a/dev-lang/go/go-1.24.5.ebuild
+++ b/dev-lang/go/go-1.24.5.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 1b59d3d9be0a83000151f8b091d3c71664d05d51
Author: Sam James gentoo org>
AuthorDate: Fri Aug 1 00:48:29 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 1 00:49:01 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b59d3d9
dev-lang/go: Stabilize 1.23.11 amd64, #959854
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.11.ebuild b/dev-lang/go/go-1.23.11.ebuild
index 29eaa0c54767..f0d6fcbe314d 100644
--- a/dev-lang/go/go-1.23.11.ebuild
+++ b/dev-lang/go/go-1.23.11.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: a3fae37e965387ac3c1096fa635b1e8372465980
Author: Sam James gentoo org>
AuthorDate: Fri Aug 1 00:09:44 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 1 00:09:44 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3fae37e
dev-lang/go: Stabilize 1.24.5 ppc64, #959855
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.5.ebuild b/dev-lang/go/go-1.24.5.ebuild
index 2be24178ea79..ec434163ecc6 100644
--- a/dev-lang/go/go-1.24.5.ebuild
+++ b/dev-lang/go/go-1.24.5.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: b60e5f01e09b1625e2462cf642377eb1e5eeb3b0
Author: Sam James gentoo org>
AuthorDate: Fri Aug 1 00:09:42 2025 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 1 00:09:42 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b60e5f01
dev-lang/go: Stabilize 1.23.11 ppc64, #959854
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.11.ebuild b/dev-lang/go/go-1.23.11.ebuild
index 8055c81cefa0..29eaa0c54767 100644
--- a/dev-lang/go/go-1.23.11.ebuild
+++ b/dev-lang/go/go-1.23.11.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 859d6a45e62659b48a255dfd5e0c3672985c0f4b
Author: Sam James gentoo org>
AuthorDate: Sun Jul 13 05:24:59 2025 +
Commit: Sam James gentoo org>
CommitDate: Sun Jul 13 05:24:59 2025 +
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 gentoo.org>
dev-lang/go/{go-.ebuild => go-1.24.5-r1.ebuild} | 7 ++-
dev-lang/go/go-.ebuild | 4
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-1.24.5-r1.ebuild
similarity index 93%
copy from dev-lang/go/go-.ebuild
copy to dev-lang/go/go-1.24.5-r1.ebuild
index 923732906b23..73979ffd6627 100644
--- a/dev-lang/go/go-.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-.ebuild b/dev-lang/go/go-.ebuild
index 923732906b23..5f202931d0de 100644
--- a/dev-lang/go/go-.ebuild
+++ b/dev-lang/go/go-.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 509cae437bf99efbf83ec7244304e9763dd00be6
Author: William Hubbs gentoo org>
AuthorDate: Fri Jul 11 14:57:38 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Fri Jul 11 14:57:38 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=509cae43
dev-lang/go: add 1.23.11, 1.24.5
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 2 +
dev-lang/go/go-1.23.11.ebuild | 161 ++
dev-lang/go/go-1.24.5.ebuild | 132 ++
3 files changed, 295 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index a3af1693c7b1..62317fc69cd4 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,4 +1,6 @@
DIST go1.23.10.src.tar.gz 28183775 BLAKE2B
877d61cc6dce0846feb0e2b3f901be9f233d458f549afe9c547d8a279b10c483120c3224cdb2add11af1ff4fb229a1a6d362b0701cf02d8d1c12721275fc954a
SHA512
20639185b05720aa8bb295c54e3eaa7cf56739763544d28ce14a6f0323bf890900d5fad13086032291fbefad4482f1442772875bbdf16a94e2286eb405c8f327
+DIST go1.23.11.src.tar.gz 28185977 BLAKE2B
7624458c815210fe9b91a7cef8ca6fa0222518d84ebae500b3b36df2af1ecece6e2eee1fcb2a5d724492ba7dfdfe07509f18cd1976ca7e40c2f5d26802f4ad02
SHA512
108b86d384de01617b7c58fba8a2c6446f6d1e8d07b720de2c49854e664c8c2660f6a3700827bf77cb7f018f78c7f3dc4f9c9f3a8fba8ca5e91cadde2df98a95
DIST go1.23.9.src.tar.gz 28182928 BLAKE2B
fe1038bb32982c4b2032e4a2a9aa533e7ff648337107581b905e484ae9cbbb8bb4e6d8b5b6041f06dd9b25b47c271e9240d6b329813d736fc9a33538a381
SHA512
0f80680caabbf50a4f5d0515530c55e297f38bf193a9da531e640f069719e3c7a5670b72f7629fada8162f978305ae1e4e6398369b8021cfe6dc9157254a
DIST go1.24.3.src.tar.gz 30789282 BLAKE2B
b9ddb484900129f2b916c224ce30b59fdd14ed396f92b8935baa775e9574c5970494d8e612b60c675f699a73683781dfa9802a4c3906f5cc112b9de8ea83154f
SHA512
05d19372fb923eeea19395b4de569d2ecfec7fadf2d8236d47cd667982de51c569e9816372cb79e32166553f9bcbe68f7bc2a6ded5655809b1caf5bd941011e7
DIST go1.24.4.src.tar.gz 30788576 BLAKE2B
a553d7f3ec647fb962a4bf89c131b2eb6ad5da4f9335b9e3ef417a9eeca20d81d61c4e92a48fa050d3f422affbcf371a2bcc81e23a7c1b2c408677f7bcaa1025
SHA512
b785583fc53d62094b2de793a0e3281a26d2de17897a35b378fc2d13cb912ca473c37a7bae54a50660141809d5d0a70a97663d406cf30d7f0221ecbb5ffddec6
+DIST go1.24.5.src.tar.gz 30792943 BLAKE2B
47d281c221ca87f7b668e5e44017b77c408c08543ded64c54de9515cd3759f92228983f878e39ae0d52e7bbdae4c09161381196bb7efb48e77f38694195c883e
SHA512
917cd6ac83e3370227da40f8490697e8638847e9279ed1806044a173d3b52829c67c429990db92d8aadcfba6a37bfc00114c1ecec3ac387a781bb7edc8dcab22
diff --git a/dev-lang/go/go-1.23.11.ebuild b/dev-lang/go/go-1.23.11.ebuild
new file mode 100644
index ..8055c81cefa0
--- /dev/null
+++ b/dev-lang/go/go-1.23.11.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.20.14
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
+ S="${WORKDIR}"/go
+ case ${PV} in
+ *_beta*|*_rc*) ;;
+ *)
+ KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv
~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+ ;;
+ esac
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 837b31a35194304d54febf82398e1ec8fe765734
Author: Sam James gentoo org>
AuthorDate: Sat Jun 21 03:58:48 2025 +
Commit: Sam James gentoo org>
CommitDate: Sat Jun 21 03:58:48 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=837b31a3
dev-lang/go: Stabilize 1.23.10 arm, #957798
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.10.ebuild b/dev-lang/go/go-1.23.10.ebuild
index 42d59f6d8f56..804fca4ff063 100644
--- a/dev-lang/go/go-1.23.10.ebuild
+++ b/dev-lang/go/go-1.23.10.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 9ecd53db72fab4ad894bac793786d70a5b7001c7
Author: Sam James gentoo org>
AuthorDate: Sat Jun 14 13:49:59 2025 +
Commit: Sam James gentoo org>
CommitDate: Sat Jun 14 13:49:59 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ecd53db
dev-lang/go: Stabilize 1.24.4 x86, #957799
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.4.ebuild b/dev-lang/go/go-1.24.4.ebuild
index 665f23444b00..ac363e2cc1d3 100644
--- a/dev-lang/go/go-1.24.4.ebuild
+++ b/dev-lang/go/go-1.24.4.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 2cc08e2cdc39538ac41daf94d6941ae676a418de
Author: Sam James gentoo org>
AuthorDate: Sat Jun 14 13:49:58 2025 +
Commit: Sam James gentoo org>
CommitDate: Sat Jun 14 13:49:58 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cc08e2c
dev-lang/go: Stabilize 1.23.10 x86, #957798
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.10.ebuild b/dev-lang/go/go-1.23.10.ebuild
index f0d6fcbe314d..42d59f6d8f56 100644
--- a/dev-lang/go/go-1.23.10.ebuild
+++ b/dev-lang/go/go-1.23.10.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 3b7ab3fe1ec03cc21718d6fb7ebd9f67a3f77a4d
Author: William Hubbs gentoo org>
AuthorDate: Thu Jun 12 14:53:20 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Thu Jun 12 14:53:20 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7ab3fe
dev-lang/go: stabilize 1.23.10 for amd64, #957798
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.23.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.10.ebuild b/dev-lang/go/go-1.23.10.ebuild
index 29eaa0c54767..f0d6fcbe314d 100644
--- a/dev-lang/go/go-1.23.10.ebuild
+++ b/dev-lang/go/go-1.23.10.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: a5695789fc09e3c8d73a1583ffc68be1872c6915
Author: William Hubbs gentoo org>
AuthorDate: Thu Jun 12 14:53:21 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Thu Jun 12 14:53:21 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5695789
dev-lang/go: stabilize 1.24.4 for amd64, #957799
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.24.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.4.ebuild b/dev-lang/go/go-1.24.4.ebuild
index ec434163ecc6..665f23444b00 100644
--- a/dev-lang/go/go-1.24.4.ebuild
+++ b/dev-lang/go/go-1.24.4.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: a462d0886f8be505daad6a7dd7bb22581a9dfc3d
Author: Sam James gentoo org>
AuthorDate: Wed Jun 11 03:56:07 2025 +
Commit: Sam James gentoo org>
CommitDate: Wed Jun 11 03:56:07 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a462d088
dev-lang/go: Stabilize 1.23.10 ppc64, #957798
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.10.ebuild b/dev-lang/go/go-1.23.10.ebuild
index 8055c81cefa0..29eaa0c54767 100644
--- a/dev-lang/go/go-1.23.10.ebuild
+++ b/dev-lang/go/go-1.23.10.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 3a80e6846ebbe4fc28225605dfaa66fdcc8ecb31
Author: Sam James gentoo org>
AuthorDate: Wed Jun 11 03:27:49 2025 +
Commit: Sam James gentoo org>
CommitDate: Wed Jun 11 03:27:49 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a80e684
dev-lang/go: Stabilize 1.24.4 ppc64, #957799
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.4.ebuild b/dev-lang/go/go-1.24.4.ebuild
index 2be24178ea79..ec434163ecc6 100644
--- a/dev-lang/go/go-1.24.4.ebuild
+++ b/dev-lang/go/go-1.24.4.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 763c55686d6ca6fa6551fea144fe1246ba4b9f4f
Author: William Hubbs gentoo org>
AuthorDate: Tue Jun 10 17:06:11 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Tue Jun 10 17:06:31 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=763c5568
dev-lang/go: add 1.23.10, 1.24.4
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 2 +
dev-lang/go/go-1.23.10.ebuild | 161 ++
dev-lang/go/go-1.24.4.ebuild | 132 ++
3 files changed, 295 insertions(+)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 96be497e402e..a3af1693c7b1 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,2 +1,4 @@
+DIST go1.23.10.src.tar.gz 28183775 BLAKE2B
877d61cc6dce0846feb0e2b3f901be9f233d458f549afe9c547d8a279b10c483120c3224cdb2add11af1ff4fb229a1a6d362b0701cf02d8d1c12721275fc954a
SHA512
20639185b05720aa8bb295c54e3eaa7cf56739763544d28ce14a6f0323bf890900d5fad13086032291fbefad4482f1442772875bbdf16a94e2286eb405c8f327
DIST go1.23.9.src.tar.gz 28182928 BLAKE2B
fe1038bb32982c4b2032e4a2a9aa533e7ff648337107581b905e484ae9cbbb8bb4e6d8b5b6041f06dd9b25b47c271e9240d6b329813d736fc9a33538a381
SHA512
0f80680caabbf50a4f5d0515530c55e297f38bf193a9da531e640f069719e3c7a5670b72f7629fada8162f978305ae1e4e6398369b8021cfe6dc9157254a
DIST go1.24.3.src.tar.gz 30789282 BLAKE2B
b9ddb484900129f2b916c224ce30b59fdd14ed396f92b8935baa775e9574c5970494d8e612b60c675f699a73683781dfa9802a4c3906f5cc112b9de8ea83154f
SHA512
05d19372fb923eeea19395b4de569d2ecfec7fadf2d8236d47cd667982de51c569e9816372cb79e32166553f9bcbe68f7bc2a6ded5655809b1caf5bd941011e7
+DIST go1.24.4.src.tar.gz 30788576 BLAKE2B
a553d7f3ec647fb962a4bf89c131b2eb6ad5da4f9335b9e3ef417a9eeca20d81d61c4e92a48fa050d3f422affbcf371a2bcc81e23a7c1b2c408677f7bcaa1025
SHA512
b785583fc53d62094b2de793a0e3281a26d2de17897a35b378fc2d13cb912ca473c37a7bae54a50660141809d5d0a70a97663d406cf30d7f0221ecbb5ffddec6
diff --git a/dev-lang/go/go-1.23.10.ebuild b/dev-lang/go/go-1.23.10.ebuild
new file mode 100644
index ..8055c81cefa0
--- /dev/null
+++ b/dev-lang/go/go-1.23.10.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.20.14
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
+ S="${WORKDIR}"/go
+ case ${PV} in
+ *_beta*|*_rc*) ;;
+ *)
+ KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv
~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+ ;;
+ esac
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+ export GOOS=$(go-env_goos)
+ export C
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 344658670497e46630aeaff8679e85ee572a237f
Author: Sam James gentoo org>
AuthorDate: Tue May 27 01:05:59 2025 +
Commit: Sam James gentoo org>
CommitDate: Tue May 27 01:05:59 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34465867
dev-lang/go: Stabilize 1.24.3 arm64, #956323
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.3.ebuild b/dev-lang/go/go-1.24.3.ebuild
index 2a3d3932da58..f3fe286ef7a2 100644
--- a/dev-lang/go/go-1.24.3.ebuild
+++ b/dev-lang/go/go-1.24.3.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 5e4eaf320c13b160a16b4ac1100ef34f0c23e4d0
Author: William Hubbs gentoo org>
AuthorDate: Tue May 27 01:43:26 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Tue May 27 01:43:26 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e4eaf32
dev-lang/go: drop 1.23.9
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.23.9.ebuild | 163 ---
1 file changed, 163 deletions(-)
diff --git a/dev-lang/go/go-1.23.9.ebuild b/dev-lang/go/go-1.23.9.ebuild
deleted file mode 100644
index e51a36bbc3df..
--- a/dev-lang/go/go-1.23.9.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.20.14
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
- S="${WORKDIR}"/go
- case ${PV} in
- *_beta*|*_rc*) ;;
- *)
- KEYWORDS="-* amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390
x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
- ;;
- esac
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE="cpu_flags_x86_sse2"
-
-RDEPEND="
-arm? ( sys-devel/binutils[gold(-)] )
-arm64? ( sys-devel/binutils[gold(-)] )"
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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"
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-PATCHES=(
- "${FILESDIR}"/go-1.24-skip-gdb-tests.patch
- "${FILESDIR}"/go-never-download-newer-toolchains.patch
-)
-
-src_compile() {
- if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
- elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
- else
- eerror "Go cannot be built without go or go-bootstrap installed"
- die "Should not be here, please report a bug"
- fi
-
- # Go's build script does not use BUILD/HOST/TARGET consistently. :(
- export GOHOSTARCH=$(go-env_goarch ${CBUILD})
- export GOHOSTOS=$(go-env_goos ${CBUILD})
- export CC=$(tc-getBUILD_CC)
-
- export GOARCH=$(go-env_goarch)
- export GOOS=$(go-env_goos)
- export CC_FOR_TARGET=$(tc-getCC)
- export CXX_FOR_TARGET=$(tc-getCXX)
- use arm && export GOARM=$(go-env_goarm)
- use x86 && export GO386=$(go-env_go386)
-
- cd src
- bash -x ./make.bash || die "build failed"
-}
-
-src_test() {
- go_cross_compile && return 0
-
- cd src
-
- # https://github.com/golang/go/issues/42005
- rm cmd/link/internal/ld/fallocate_test.go || die
-
- PATH="${GOBIN}:${PATH}" \
- ./run.bash -no-rebuild -k || die "tests failed"
- cd ..
- rm -fr pkg/*_race || die
- rm -fr pkg/obj/go-build || die
-}
-
-src_install() {
- dodir /usr/lib/go
- # The use of cp is deliberate in order to retain permissions
- cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
- einstalldocs
-
- insinto /usr/lib/go
- doins go.env VERSION*
-
- # testdata directories are not needed on the installed system
- rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)
-
- local bin_path
- if go_cross_compile; then
- bin_path="bin/$(go_tuple)"
- else
- bin_path=bin
- fi
- local f x
- for x in ${bin_path}/*; do
- f=${x##*/}
- dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
- done
-
- # install the @golang-rebuild set for Portage
- insinto /usr/share/portage/config/sets
- newins "${FILESDIR}"/go-sets.conf go.conf
-}
-
-pkg_postinst() {
- [[ -z
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 33b5bf3c97a50f812df37e0e8b17f6b4a9439a9f
Author: William Hubbs gentoo org>
AuthorDate: Tue May 27 01:35:39 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Tue May 27 01:35:39 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b5bf3c
dev-lang/go: revbump 1.23.9-r1 to not force gold on arm
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/go-1.23.9-r1.ebuild | 161
1 file changed, 161 insertions(+)
diff --git a/dev-lang/go/go-1.23.9-r1.ebuild b/dev-lang/go/go-1.23.9-r1.ebuild
new file mode 100644
index ..3c89d5985125
--- /dev/null
+++ b/dev-lang/go/go-1.23.9-r1.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.20.14
+MY_PV=${PV/_/}
+
+inherit go-env toolchain-funcs
+
+case ${PV} in
+**)
+ EGIT_REPO_URI="https://github.com/golang/go.git";
+ inherit git-r3
+ ;;
+*)
+ SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
+ S="${WORKDIR}"/go
+ case ${PV} in
+ *_beta*|*_rc*) ;;
+ *)
+ KEYWORDS="-* amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390
x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+ ;;
+ esac
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cpu_flags_x86_sse2"
+
+BDEPEND="|| (
+ >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+ >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+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"
+
+DOCS=(
+ CONTRIBUTING.md
+ PATENTS
+ README.md
+ SECURITY.md
+)
+
+go_tuple() {
+ echo "$(go-env_goos $@)_$(go-env_goarch $@)"
+}
+
+go_cross_compile() {
+ [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
+}
+
+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
+)
+
+src_compile() {
+ if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
+ else
+ eerror "Go cannot be built without go or go-bootstrap installed"
+ die "Should not be here, please report a bug"
+ fi
+
+ # Go's build script does not use BUILD/HOST/TARGET consistently. :(
+ export GOHOSTARCH=$(go-env_goarch ${CBUILD})
+ export GOHOSTOS=$(go-env_goos ${CBUILD})
+ export CC=$(tc-getBUILD_CC)
+
+ export GOARCH=$(go-env_goarch)
+ export GOOS=$(go-env_goos)
+ export CC_FOR_TARGET=$(tc-getCC)
+ export CXX_FOR_TARGET=$(tc-getCXX)
+ use arm && export GOARM=$(go-env_goarm)
+ use x86 && export GO386=$(go-env_go386)
+
+ cd src
+ bash -x ./make.bash || die "build failed"
+}
+
+src_test() {
+ go_cross_compile && return 0
+
+ cd src
+
+ # https://github.com/golang/go/issues/42005
+ rm cmd/link/internal/ld/fallocate_test.go || die
+
+ PATH="${GOBIN}:${PATH}" \
+ ./run.bash -no-rebuild -k || die "tests failed"
+ cd ..
+ rm -fr pkg/*_race || die
+ rm -fr pkg/obj/go-build || die
+}
+
+src_install() {
+ dodir /usr/lib/go
+ # The use of cp is deliberate in order to retain permissions
+ cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
+ einstalldocs
+
+ insinto /usr/lib/go
+ doins go.env VERSION*
+
+ # testdata directories are not needed on the installed system
+ rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)
+
+ local bin_path
+ if go_cross_compile; then
+ bin_path="bin/$(go_tuple)"
+ else
+ bin_path=bin
+ fi
+ local f x
+ for x in ${bin_path}/*; do
+ f=${x##*/}
+ dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
+ done
+
+ # install the @golang-rebuild set for Portage
+ insinto /usr/share/portage/config/sets
+ newins "${FILESDIR}"/go-sets.conf go.conf
+}
+
+pkg_postinst() {
+ [[
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 5c27a451856f9c01f47d93a6ff0fb46ce2e676d4
Author: William Hubbs gentoo org>
AuthorDate: Tue May 27 01:15:49 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Tue May 27 01:15:49 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c27a451
dev-lang/go: drop 1.24.2-r3
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest| 1 -
dev-lang/go/go-1.24.2-r3.ebuild | 134
2 files changed, 135 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index d8cdcf926fb7..96be497e402e 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,3 +1,2 @@
DIST go1.23.9.src.tar.gz 28182928 BLAKE2B
fe1038bb32982c4b2032e4a2a9aa533e7ff648337107581b905e484ae9cbbb8bb4e6d8b5b6041f06dd9b25b47c271e9240d6b329813d736fc9a33538a381
SHA512
0f80680caabbf50a4f5d0515530c55e297f38bf193a9da531e640f069719e3c7a5670b72f7629fada8162f978305ae1e4e6398369b8021cfe6dc9157254a
-DIST go1.24.2.src.tar.gz 30787666 BLAKE2B
bb5f998a87e6527def304347b854c4addb0860a03da82e711f60e2af460bd43c36273b25126c643a679ae22fca226e6a4fc5ba55967d21965ffdc8f564781e35
SHA512
6366a32f6678e7908b138f62dafeed96f7144b3b93505e75fba374b33727da8b1d087c1f979f493382b319758ebfcbeb30e9d7dadcb2923b628c8abe7db41c6f
DIST go1.24.3.src.tar.gz 30789282 BLAKE2B
b9ddb484900129f2b916c224ce30b59fdd14ed396f92b8935baa775e9574c5970494d8e612b60c675f699a73683781dfa9802a4c3906f5cc112b9de8ea83154f
SHA512
05d19372fb923eeea19395b4de569d2ecfec7fadf2d8236d47cd667982de51c569e9816372cb79e32166553f9bcbe68f7bc2a6ded5655809b1caf5bd941011e7
diff --git a/dev-lang/go/go-1.24.2-r3.ebuild b/dev-lang/go/go-1.24.2-r3.ebuild
deleted file mode 100644
index cbff1a9044b1..
--- a/dev-lang/go/go-1.24.2-r3.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.22.12
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- 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"
- ;;
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-# XXX: Drop the .1 after 1.24.2 (added for bug #955451)
-SLOT="0/${PV}.1"
-IUSE="cpu_flags_x86_sse2"
-
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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"
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-PATCHES=(
- "${FILESDIR}"/go-1.24-skip-gdb-tests.patch
- "${FILESDIR}"/go-1.24-vgetrandom.patch
- "${FILESDIR}"/go-1.24-dont-force-gold-arm.patch
- "${FILESDIR}"/go-never-download-newer-toolchains.patch
-)
-
-src_compile() {
- if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
- elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
- else
- eerror "Go cannot be built without go or go-bootstrap installed"
- die "Should not be here, please report a bug"
- fi
-
- # Go's build script does not use BUILD/HOST/TARGET consistently. :(
- export GOHOSTARCH=$(go-env_goarch ${CBUILD})
- export GOHOSTOS=$(go-env_goos ${CBUILD})
- export CC=$(tc-getBUILD_CC)
-
- export GOARCH=$(go-env_goarch)
- export GOOS=$(go-env_goos)
- export CC_FOR_TARGET=$(tc-getCC)
- export CXX_FOR_TARGET=$(tc-getCXX)
- use arm && export GOARM=$(go-env_goarm)
- use x86 && export GO386=$(go-env_go386)
-
- cd src
- bash -x ./make.bash || die "build failed"
-}
-
-src_test() {
- go_cross_compile && return 0
- cd src
- PATH="${GOBIN}:${PATH}" \
- ./run.bash -no-rebuil
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 03ea21ad1ab4f58231f0b493fc0c9c74771e26a7
Author: William Hubbs gentoo org>
AuthorDate: Tue May 27 01:14:49 2025 +
Commit: William Hubbs gentoo org>
CommitDate: Tue May 27 01:14:49 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03ea21ad
dev-lang/go: drop 1.23.8
Signed-off-by: William Hubbs gentoo.org>
dev-lang/go/Manifest | 1 -
dev-lang/go/go-1.23.8.ebuild | 163 ---
2 files changed, 164 deletions(-)
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index fb8be38176ba..d8cdcf926fb7 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,4 +1,3 @@
-DIST go1.23.8.src.tar.gz 28182772 BLAKE2B
568b9fcc7ed12cb19e10b458fc1890a5977c97660657e9eb7c171aa16382f6790a78cb87df99ed72ec18d5ff1654ee4d15a4d603332ad0812ee97f6500866198
SHA512
8e352a01484c168894026080ee4501180e327d734fb3d892ab17daac193964fcd5fd90033c9cf86d6ffe8b7e4da64bda83ba4501a6c05919bcefbe9e2467c771
DIST go1.23.9.src.tar.gz 28182928 BLAKE2B
fe1038bb32982c4b2032e4a2a9aa533e7ff648337107581b905e484ae9cbbb8bb4e6d8b5b6041f06dd9b25b47c271e9240d6b329813d736fc9a33538a381
SHA512
0f80680caabbf50a4f5d0515530c55e297f38bf193a9da531e640f069719e3c7a5670b72f7629fada8162f978305ae1e4e6398369b8021cfe6dc9157254a
DIST go1.24.2.src.tar.gz 30787666 BLAKE2B
bb5f998a87e6527def304347b854c4addb0860a03da82e711f60e2af460bd43c36273b25126c643a679ae22fca226e6a4fc5ba55967d21965ffdc8f564781e35
SHA512
6366a32f6678e7908b138f62dafeed96f7144b3b93505e75fba374b33727da8b1d087c1f979f493382b319758ebfcbeb30e9d7dadcb2923b628c8abe7db41c6f
DIST go1.24.3.src.tar.gz 30789282 BLAKE2B
b9ddb484900129f2b916c224ce30b59fdd14ed396f92b8935baa775e9574c5970494d8e612b60c675f699a73683781dfa9802a4c3906f5cc112b9de8ea83154f
SHA512
05d19372fb923eeea19395b4de569d2ecfec7fadf2d8236d47cd667982de51c569e9816372cb79e32166553f9bcbe68f7bc2a6ded5655809b1caf5bd941011e7
diff --git a/dev-lang/go/go-1.23.8.ebuild b/dev-lang/go/go-1.23.8.ebuild
deleted file mode 100644
index e51a36bbc3df..
--- a/dev-lang/go/go-1.23.8.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-export CBUILD=${CBUILD:-${CHOST}}
-export CTARGET=${CTARGET:-${CHOST}}
-
-# See "Bootstrap" in release notes
-GO_BOOTSTRAP_MIN=1.20.14
-MY_PV=${PV/_/}
-
-inherit go-env toolchain-funcs
-
-case ${PV} in
-**)
- EGIT_REPO_URI="https://github.com/golang/go.git";
- inherit git-r3
- ;;
-*)
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
- S="${WORKDIR}"/go
- case ${PV} in
- *_beta*|*_rc*) ;;
- *)
- KEYWORDS="-* amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390
x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
- ;;
- esac
-esac
-
-DESCRIPTION="A concurrent garbage collected and typesafe programming language"
-HOMEPAGE="https://go.dev";
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE="cpu_flags_x86_sse2"
-
-RDEPEND="
-arm? ( sys-devel/binutils[gold(-)] )
-arm64? ( sys-devel/binutils[gold(-)] )"
-BDEPEND="|| (
- >=dev-lang/go-${GO_BOOTSTRAP_MIN}
- >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
-
-# the *.syso files have writable/executable stacks
-QA_EXECSTACK='*.syso'
-
-# Do not complain about CFLAGS, etc, since Go doesn't use them.
-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"
-
-DOCS=(
- CONTRIBUTING.md
- PATENTS
- README.md
- SECURITY.md
-)
-
-go_tuple() {
- echo "$(go-env_goos $@)_$(go-env_goarch $@)"
-}
-
-go_cross_compile() {
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
-}
-
-PATCHES=(
- "${FILESDIR}"/go-1.24-skip-gdb-tests.patch
- "${FILESDIR}"/go-never-download-newer-toolchains.patch
-)
-
-src_compile() {
- if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
- elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
- else
- eerror "Go cannot be built without go or go-bootstrap installed"
- die "Should not be here, please report a bug"
- fi
-
- # Go's build script does not use BUILD/HOST/TARGET consistently. :(
- export GOHOSTARCH=$(go-env_goarch ${CBUILD})
- export GOHOSTOS=$(go-env_goos ${CBUILD})
- export CC=$(tc-getBUILD_CC)
-
- export GOARCH=$(go-env_goarch)
- export GOOS=$(go-env_goos)
- export CC_FOR_TARGET=$(tc-getCC)
- export CXX_FOR_TARGE
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 259ed16417f2c0ba816f086e63bdb8e2737873af
Author: Sam James gentoo org>
AuthorDate: Tue May 27 01:05:54 2025 +
Commit: Sam James gentoo org>
CommitDate: Tue May 27 01:05:54 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259ed164
dev-lang/go: Stabilize 1.24.3 arm, #956323
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.24.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.24.3.ebuild b/dev-lang/go/go-1.24.3.ebuild
index ac363e2cc1d3..2a3d3932da58 100644
--- a/dev-lang/go/go-1.24.3.ebuild
+++ b/dev-lang/go/go-1.24.3.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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 129a1e1e9e77f5f37f472fb0ed6ba6674743
Author: Sam James gentoo org>
AuthorDate: Tue May 27 01:05:37 2025 +
Commit: Sam James gentoo org>
CommitDate: Tue May 27 01:05:37 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129a
dev-lang/go: Stabilize 1.23.9 arm, #956324
Signed-off-by: Sam James gentoo.org>
dev-lang/go/go-1.23.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-lang/go/go-1.23.9.ebuild b/dev-lang/go/go-1.23.9.ebuild
index 6bd113a8b49e..240ec7d23bf8 100644
--- a/dev-lang/go/go-1.23.9.ebuild
+++ b/dev-lang/go/go-1.23.9.ebuild
@@ -23,7 +23,7 @@ case ${PV} in
case ${PV} in
*_beta*|*_rc*) ;;
*)
- 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
esac
