[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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 583b728ef15f239ec433d90eeafc7db9a27aafa9 Author: Sam James gentoo org> AuthorDate: Tue May 27 01:05:40 2025 + Commit: Sam James gentoo org> CommitDate: Tue May 27 01:05:40 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=583b728e dev-lang/go: Stabilize 1.23.9 arm64, #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 240ec7d23bf8..e51a36bbc3df 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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 42160b2e0d509a77a1440718361eb98454396539 Author: Sam James gentoo org> AuthorDate: Tue May 20 22:54:17 2025 + Commit: Sam James gentoo org> CommitDate: Tue May 20 22:54:17 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42160b2e dev-lang/go: Stabilize 1.23.9 ppc64, #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 069cb3e29fbd..6bd113a8b49e 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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 357bdb9016a5197f5c4217d914da8974a23e9481 Author: Arthur Zamarin gentoo org> AuthorDate: Tue May 20 18:54:39 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue May 20 18:54:39 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=357bdb90 dev-lang/go: Stabilize 1.24.3 ppc64, #956323 Signed-off-by: Arthur Zamarin 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 8d822f5597e6..ac363e2cc1d3 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: 79f1643a4809d081c956842ca486c974f62e36f9 Author: William Hubbs gentoo org> AuthorDate: Tue May 20 16:09:03 2025 + Commit: William Hubbs gentoo org> CommitDate: Tue May 20 16:09:03 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79f1643a dev-lang/go: stabilize 1.24.3 for amd64, #956323 Signed-off-by: William Hubbs 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 00d52fdefdc5..8d822f5597e6 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: 1b3c6c312611e98f7791b8083d721e6386afa295 Author: William Hubbs gentoo org> AuthorDate: Tue May 20 16:00:42 2025 + Commit: William Hubbs gentoo org> CommitDate: Tue May 20 16:02:02 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3c6c31 dev-lang/go: stabilize 1.23.9 for amd64, #956324 Signed-off-by: William Hubbs 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 218292a888e4..069cb3e29fbd 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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 01944309f028937d3be2c91e8abed0bbb4fbbaa9 Author: Arthur Zamarin gentoo org> AuthorDate: Tue May 20 14:09:37 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue May 20 14:09:37 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01944309 dev-lang/go: Stabilize 1.23.9 x86, #956324 Signed-off-by: Arthur Zamarin 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 132bdf517d47..218292a888e4 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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: ecc28748448207c529e435eb25443aac8e25be81 Author: Arthur Zamarin gentoo org> AuthorDate: Tue May 20 14:09:36 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue May 20 14:09:36 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc28748 dev-lang/go: Stabilize 1.24.3 x86, #956323 Signed-off-by: Arthur Zamarin 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 2be24178ea79..00d52fdefdc5 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: d69074aec04838ccfbb0e5136cf40d93cfd6d7ea Author: William Hubbs gentoo org> AuthorDate: Mon May 19 16:40:57 2025 + Commit: William Hubbs gentoo org> CommitDate: Mon May 19 16:40:57 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d69074ae dev-lang/go: add 1.23.9 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 + dev-lang/go/go-1.23.9.ebuild | 163 +++ 2 files changed, 164 insertions(+) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index d40582be2bc8..fb8be38176ba 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,3 +1,4 @@ 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.9.ebuild b/dev-lang/go/go-1.23.9.ebuild new file mode 100644 index ..132bdf517d47 --- /dev/null +++ b/dev-lang/go/go-1.23.9.ebuild @@ -0,0 +1,163 @@ +# 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_TARG
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: f726ad53f358b6dc73b475e82753683a7582accb Author: William Hubbs gentoo org> AuthorDate: Mon May 19 16:40:56 2025 + Commit: William Hubbs gentoo org> CommitDate: Mon May 19 16:40:56 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f726ad53 dev-lang/go: add 1.24.3 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 + dev-lang/go/go-1.24.3.ebuild | 132 +++ 2 files changed, 133 insertions(+) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 23d57986ce34..d40582be2bc8 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,2 +1,3 @@ DIST go1.23.8.src.tar.gz 28182772 BLAKE2B 568b9fcc7ed12cb19e10b458fc1890a5977c97660657e9eb7c171aa16382f6790a78cb87df99ed72ec18d5ff1654ee4d15a4d603332ad0812ee97f6500866198 SHA512 8e352a01484c168894026080ee4501180e327d734fb3d892ab17daac193964fcd5fd90033c9cf86d6ffe8b7e4da64bda83ba4501a6c05919bcefbe9e2467c771 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.3.ebuild b/dev-lang/go/go-1.24.3.ebuild new file mode 100644 index ..2be24178ea79 --- /dev/null +++ b/dev-lang/go/go-1.24.3.ebuild @@ -0,0 +1,132 @@ +# 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='.*' + +# 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 + PATH="${GOBIN}:${PATH}" \ + ./run.bash -no-rebuild -k || die "tests failed" +} + +src_install() { + dodir /usr/lib/go + # The use of cp is deliberate in orde
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 317703b477a3ad10066d39d1cc124235454e9a51 Author: William Hubbs gentoo org> AuthorDate: Tue May 6 23:13:09 2025 + Commit: William Hubbs gentoo org> CommitDate: Tue May 6 23:13:09 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317703b4 dev-lang/go: drop 1.24.2 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.24.2.ebuild | 134 --- 1 file changed, 134 deletions(-) diff --git a/dev-lang/go/go-1.24.2.ebuild b/dev-lang/go/go-1.24.2.ebuild deleted file mode 100644 index 423eda182b28.. --- a/dev-lang/go/go-1.24.2.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" -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 - 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: 71a5e631c7617d9c72dadfc3d65127580daa9473 Author: William Hubbs gentoo org> AuthorDate: Tue May 6 23:03:08 2025 + Commit: William Hubbs gentoo org> CommitDate: Tue May 6 23:03:08 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71a5e631 dev-lang/go: stabilize 1.24.2-r3 for amd64, #955486 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.24.2-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2-r3.ebuild b/dev-lang/go/go-1.24.2-r3.ebuild index ebf8aa30d021..cbff1a9044b1 100644 --- a/dev-lang/go/go-1.24.2-r3.ebuild +++ b/dev-lang/go/go-1.24.2-r3.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: 8455b6548bfc0d3a3c3629d249aa2e6486a2517f Author: Arthur Zamarin gentoo org> AuthorDate: Tue May 6 06:18:36 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue May 6 06:18:36 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8455b654 dev-lang/go: Stabilize 1.24.2-r3 ppc64, #955486 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.24.2-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2-r3.ebuild b/dev-lang/go/go-1.24.2-r3.ebuild index efdac884484c..098a5ea17172 100644 --- a/dev-lang/go/go-1.24.2-r3.ebuild +++ b/dev-lang/go/go-1.24.2-r3.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: 1197fce219f378e30e6cedf9142c97e1ffc6c283 Author: Arthur Zamarin gentoo org> AuthorDate: Tue May 6 06:18:36 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue May 6 06:18:36 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1197fce2 dev-lang/go: Stabilize 1.24.2-r3 x86, #955486 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.24.2-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2-r3.ebuild b/dev-lang/go/go-1.24.2-r3.ebuild index 098a5ea17172..ebf8aa30d021 100644 --- a/dev-lang/go/go-1.24.2-r3.ebuild +++ b/dev-lang/go/go-1.24.2-r3.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: 0ae057284ae335c9d619ed3b65db622bf80f4380 Author: Sam James gentoo org> AuthorDate: Tue May 6 02:23:36 2025 + Commit: Sam James gentoo org> CommitDate: Tue May 6 02:23:36 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae05728 dev-lang/go: Stabilize 1.24.2-r3 arm64, #955486 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.24.2-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2-r3.ebuild b/dev-lang/go/go-1.24.2-r3.ebuild index 0ab0ca2dd134..7ae407f37831 100644 --- a/dev-lang/go/go-1.24.2-r3.ebuild +++ b/dev-lang/go/go-1.24.2-r3.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: 9a396328023bd841afa3c22c912380a4593a1303 Author: Sam James gentoo org> AuthorDate: Tue May 6 02:23:37 2025 + Commit: Sam James gentoo org> CommitDate: Tue May 6 02:23:37 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a396328 dev-lang/go: Stabilize 1.24.2-r3 arm, #955486 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.24.2-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2-r3.ebuild b/dev-lang/go/go-1.24.2-r3.ebuild index 7ae407f37831..efdac884484c 100644 --- a/dev-lang/go/go-1.24.2-r3.ebuild +++ b/dev-lang/go/go-1.24.2-r3.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: b9c529c60747c9170e29122bc144cb4a7fe85284 Author: Sam James gentoo org> AuthorDate: Tue May 6 00:24:05 2025 + Commit: Sam James gentoo org> CommitDate: Tue May 6 00:24:05 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9c529c6 dev-lang/go: crank subslot for Docker segfault fix Crank the subslot for 7158bcf1dca8775e2614ed826c69fa538dc79b86 so people get rebuilds and a fixed version of Docker. We've had 2 reports of it just today. Closes: https://bugs.gentoo.org/955451 Signed-off-by: Sam James gentoo.org> dev-lang/go/{go-1.24.2-r2.ebuild => go-1.24.2-r3.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2-r2.ebuild b/dev-lang/go/go-1.24.2-r3.ebuild similarity index 97% rename from dev-lang/go/go-1.24.2-r2.ebuild rename to dev-lang/go/go-1.24.2-r3.ebuild index be97c0565775..0ab0ca2dd134 100644 --- a/dev-lang/go/go-1.24.2-r2.ebuild +++ b/dev-lang/go/go-1.24.2-r3.ebuild @@ -28,7 +28,8 @@ DESCRIPTION="A concurrent garbage collected and typesafe programming language" HOMEPAGE="https://go.dev"; LICENSE="BSD" -SLOT="0/${PV}" +# XXX: Drop the .1 after 1.24.2 (added for bug #955451) +SLOT="0/${PV}.1" IUSE="cpu_flags_x86_sse2" BDEPEND="|| (
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/files/, dev-lang/go/
commit: 7158bcf1dca8775e2614ed826c69fa538dc79b86 Author: James Le Cuirot gentoo org> AuthorDate: Thu Apr 24 16:17:24 2025 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Apr 24 16:17:41 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7158bcf1 dev-lang/go: Apply backported segfault fix for 1.24 concerning vgetrandom Upstream haven't released a new 1.24 yet, but this is hurting people now. Others have reported success with this patch. Bug: https://github.com/golang/go/issues/73141 Signed-off-by: James Le Cuirot gentoo.org> dev-lang/go/files/go-1.24-vgetrandom.patch | 234 + .../{go-1.24.2-r1.ebuild => go-1.24.2-r2.ebuild} | 1 + 2 files changed, 235 insertions(+) diff --git a/dev-lang/go/files/go-1.24-vgetrandom.patch b/dev-lang/go/files/go-1.24-vgetrandom.patch new file mode 100644 index ..5baed139a022 --- /dev/null +++ b/dev-lang/go/files/go-1.24-vgetrandom.patch @@ -0,0 +1,234 @@ +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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: cbef25ed8ac46d2cf77468dad99ea845b91c6e44 Author: William Hubbs gentoo org> AuthorDate: Thu Apr 24 13:36:23 2025 + Commit: William Hubbs gentoo org> CommitDate: Thu Apr 24 14:16:20 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbef25ed dev-lang/go: drop 1.23.7 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 - dev-lang/go/go-1.23.7.ebuild | 163 --- 2 files changed, 164 deletions(-) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index fc05341cc03b..23d57986ce34 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,3 +1,2 @@ -DIST go1.23.7.src.tar.gz 28181215 BLAKE2B d3c9bff18438f90f6730e1ad9580a3f97d266f90533552cd73b63b512c694de76466435f274dc2b190c672cdbd83ffaf735e4e74c12e426cac920b81dbfd88af SHA512 79192b760ab6fcc9512fd879a9484a3566fdeec5eace36c54b728cd9cb033e7ac68065a42fc657b351a106d684b79fdbefbf682cf63209c0191e7e7c8c0a0147 DIST go1.23.8.src.tar.gz 28182772 BLAKE2B 568b9fcc7ed12cb19e10b458fc1890a5977c97660657e9eb7c171aa16382f6790a78cb87df99ed72ec18d5ff1654ee4d15a4d603332ad0812ee97f6500866198 SHA512 8e352a01484c168894026080ee4501180e327d734fb3d892ab17daac193964fcd5fd90033c9cf86d6ffe8b7e4da64bda83ba4501a6c05919bcefbe9e2467c771 DIST go1.24.2.src.tar.gz 30787666 BLAKE2B bb5f998a87e6527def304347b854c4addb0860a03da82e711f60e2af460bd43c36273b25126c643a679ae22fca226e6a4fc5ba55967d21965ffdc8f564781e35 SHA512 6366a32f6678e7908b138f62dafeed96f7144b3b93505e75fba374b33727da8b1d087c1f979f493382b319758ebfcbeb30e9d7dadcb2923b628c8abe7db41c6f diff --git a/dev-lang/go/go-1.23.7.ebuild b/dev-lang/go/go-1.23.7.ebuild deleted file mode 100644 index e51a36bbc3df.. --- a/dev-lang/go/go-1.23.7.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 -
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 4c843cedbfb5f2d0475b3c0e5b41674c6ab66211 Author: Viorel Munteanu gentoo org> AuthorDate: Fri Apr 18 05:50:30 2025 + Commit: Viorel Munteanu gentoo org> CommitDate: Fri Apr 18 05:51:06 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c843ced dev-lang/go: Stabilize 1.23.8 arm64, #953353 Signed-off-by: Viorel Munteanu gentoo.org> dev-lang/go/go-1.23.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.8.ebuild b/dev-lang/go/go-1.23.8.ebuild index 240ec7d23bf8..e51a36bbc3df 100644 --- a/dev-lang/go/go-1.23.8.ebuild +++ b/dev-lang/go/go-1.23.8.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: 7aeea443f352a25106d0d3eb4266bbf9fca9b0d4 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Apr 8 19:52:02 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Apr 8 19:52:02 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aeea443 dev-lang/go: Stabilize 1.23.8 amd64, #953353 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.23.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.8.ebuild b/dev-lang/go/go-1.23.8.ebuild index ad12e26ad024..240ec7d23bf8 100644 --- a/dev-lang/go/go-1.23.8.ebuild +++ b/dev-lang/go/go-1.23.8.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: 7bda91952dd21126a5825adeeea476258eeb39f4 Author: Sam James gentoo org> AuthorDate: Mon Apr 7 18:04:23 2025 + Commit: Sam James gentoo org> CommitDate: Mon Apr 7 18:04:23 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bda9195 dev-lang/go: Stabilize 1.24.2 ppc64, #953354 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.24.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2.ebuild b/dev-lang/go/go-1.24.2.ebuild index acc7ed08a016..423eda182b28 100644 --- a/dev-lang/go/go-1.24.2.ebuild +++ b/dev-lang/go/go-1.24.2.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/, dev-lang/go/files/
commit: f55732a438fb996fc8e4fdc8e6576f5d9946532d Author: Sam James gentoo org> AuthorDate: Thu Apr 10 00:38:44 2025 + Commit: Sam James gentoo org> CommitDate: Thu Apr 10 00:39:16 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55732a4 dev-lang/go: don't default to -fuse-ld=gold on arm64 Don't default to -fuse-ld=gold on arm64. The gold linker is deprecated in GNU Binutils and the referenced bfd bug which led to this default being added is long-fixed. Closes: https://bugs.gentoo.org/893956 Closes: https://bugs.gentoo.org/953459 Signed-off-by: Sam James gentoo.org> .../go/files/go-1.24-dont-force-gold-arm.patch | 55 ++ .../go/{go-.ebuild => go-1.24.2-r1.ebuild} | 7 ++- dev-lang/go/go-.ebuild | 4 +- 3 files changed, 59 insertions(+), 7 deletions(-) diff --git a/dev-lang/go/files/go-1.24-dont-force-gold-arm.patch b/dev-lang/go/files/go-1.24-dont-force-gold-arm.patch new file mode 100644 index ..4869b38593c4 --- /dev/null +++ b/dev-lang/go/files/go-1.24-dont-force-gold-arm.patch @@ -0,0 +1,55 @@ +Don't default to -fuse-ld=gold on arm64. The gold linker is deprecated in +GNU Binutils and the referenced bfd bug which led to this default being +added is long-fixed. + +https://src.fedoraproject.org/rpms/golang/raw/rawhide/f/0006-Default-to-ld.bfd-on-ARM64.patch +https://bugs.gentoo.org/893956 +https://github.com/golang/go/issues/22040 +https://github.com/golang/go/pull/49748 +https://sourceware.org/PR19962 + +From 46ec67413008607e2150e3395668e54e538c5b6b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Alejandro=20S=C3=A1ez?= +Date: Wed, 19 Jun 2024 10:18:58 +0200 +Subject: [PATCH] Default to ld.bfd on ARM64 + +--- + src/cmd/link/internal/ld/lib.go | 20 +++- + 1 file changed, 7 insertions(+), 13 deletions(-) + +diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go +index eab74dc328..b401f58727 100644 +--- a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go +@@ -1620,22 +1620,16 @@ func (ctxt *Link) hostlink() { + } + + if ctxt.Arch.InFamily(sys.ARM64) && buildcfg.GOOS == "linux" { +- // On ARM64, the GNU linker will fail with +- // -znocopyreloc if it thinks a COPY relocation is +- // required. Switch to gold. +- // https://sourceware.org/bugzilla/show_bug.cgi?id=19962 +- // https://go.dev/issue/22040 +- altLinker = "gold" +- +- // If gold is not installed, gcc will silently switch +- // back to ld.bfd. So we parse the version information +- // and provide a useful error if gold is missing. ++ // Use ld.bfd as the default linker ++ altLinker = "bfd" ++ ++ // Provide a useful error if ld.bfd is missing + name, args := flagExtld[0], flagExtld[1:] +- args = append(args, "-fuse-ld=gold", "-Wl,--version") ++ args = append(args, "-fuse-ld=bfd", "-Wl,--version") + cmd := exec.Command(name, args...) + if out, err := cmd.CombinedOutput(); err == nil { +- if !bytes.Contains(out, []byte("GNU gold")) { +- log.Fatalf("ARM64 external linker must be gold (issue #15696, 22040), but is not: %s", out) ++ if !bytes.Contains(out, []byte("GNU ld")) { ++ log.Fatalf("ARM64 external linker must be ld.bfd, but is not: %s", out) + } + } + } +-- +2.45.1 diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-1.24.2-r1.ebuild similarity index 93% copy from dev-lang/go/go-.ebuild copy to dev-lang/go/go-1.24.2-r1.ebuild index f371daa2831b..2be24178ea79 100644 --- a/dev-lang/go/go-.ebuild +++ b/dev-lang/go/go-1.24.2-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 @@ -31,9 +31,6 @@ 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} )" @@ -71,6 +68,8 @@ go_cross_compile() { } PATCHES=( + "${FILESDIR}"/go-1.24-skip-gdb-tests.patch + "${FILESDIR}"/go-1.24-dont-force-g
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 6bcf7ca405c7d00a221f377bbe5d0b5e281965ac Author: Sam James gentoo org> AuthorDate: Tue Apr 8 09:01:39 2025 + Commit: Sam James gentoo org> CommitDate: Tue Apr 8 09:01:39 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bcf7ca4 dev-lang/go: Stabilize 1.23.8 arm, #953353 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.23.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.8.ebuild b/dev-lang/go/go-1.23.8.ebuild index 132bdf517d47..e874de212371 100644 --- a/dev-lang/go/go-1.23.8.ebuild +++ b/dev-lang/go/go-1.23.8.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: 6f6225143e5f1f37fe219d6d13a64b7c4713f291 Author: Sam James gentoo org> AuthorDate: Tue Apr 8 09:01:42 2025 + Commit: Sam James gentoo org> CommitDate: Tue Apr 8 09:01:42 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f622514 dev-lang/go: Stabilize 1.23.8 ppc64, #953353 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.23.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.8.ebuild b/dev-lang/go/go-1.23.8.ebuild index 63b24f4bd7fc..ad12e26ad024 100644 --- a/dev-lang/go/go-1.23.8.ebuild +++ b/dev-lang/go/go-1.23.8.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: cd61f8e0ce3d1149cb90b8a079bced66fd101260 Author: Sam James gentoo org> AuthorDate: Tue Apr 8 09:01:41 2025 + Commit: Sam James gentoo org> CommitDate: Tue Apr 8 09:01:41 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd61f8e0 dev-lang/go: Stabilize 1.23.8 x86, #953353 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.23.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.8.ebuild b/dev-lang/go/go-1.23.8.ebuild index e874de212371..63b24f4bd7fc 100644 --- a/dev-lang/go/go-1.23.8.ebuild +++ b/dev-lang/go/go-1.23.8.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: 4b98caab8c90ace2e4b37e70c82a3cfeca0fc92e Author: William Hubbs gentoo org> AuthorDate: Tue Apr 8 01:43:47 2025 + Commit: William Hubbs gentoo org> CommitDate: Tue Apr 8 01:43:47 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b98caab dev-lang/go: drop 1.24.1 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 - dev-lang/go/go-1.24.1.ebuild | 134 --- 2 files changed, 135 deletions(-) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 489262647fc7..fc05341cc03b 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,4 +1,3 @@ DIST go1.23.7.src.tar.gz 28181215 BLAKE2B d3c9bff18438f90f6730e1ad9580a3f97d266f90533552cd73b63b512c694de76466435f274dc2b190c672cdbd83ffaf735e4e74c12e426cac920b81dbfd88af SHA512 79192b760ab6fcc9512fd879a9484a3566fdeec5eace36c54b728cd9cb033e7ac68065a42fc657b351a106d684b79fdbefbf682cf63209c0191e7e7c8c0a0147 DIST go1.23.8.src.tar.gz 28182772 BLAKE2B 568b9fcc7ed12cb19e10b458fc1890a5977c97660657e9eb7c171aa16382f6790a78cb87df99ed72ec18d5ff1654ee4d15a4d603332ad0812ee97f6500866198 SHA512 8e352a01484c168894026080ee4501180e327d734fb3d892ab17daac193964fcd5fd90033c9cf86d6ffe8b7e4da64bda83ba4501a6c05919bcefbe9e2467c771 -DIST go1.24.1.src.tar.gz 30777528 BLAKE2B 76217ec25a721183591a434b012bd9cfb6d6206410aafffce4490bff8053440f2aa590bac0cfb839f10c19a3368fe60515a61123a21d187f5289ba0ae1399c1c SHA512 a924d6bdc7e7101917e6d063bc7b471390525394e79224c152997564657c4362b5600e0c8bf6ee857d345129ccf7368bdf4ed2251ab740446ea2abda144e6353 DIST go1.24.2.src.tar.gz 30787666 BLAKE2B bb5f998a87e6527def304347b854c4addb0860a03da82e711f60e2af460bd43c36273b25126c643a679ae22fca226e6a4fc5ba55967d21965ffdc8f564781e35 SHA512 6366a32f6678e7908b138f62dafeed96f7144b3b93505e75fba374b33727da8b1d087c1f979f493382b319758ebfcbeb30e9d7dadcb2923b628c8abe7db41c6f diff --git a/dev-lang/go/go-1.24.1.ebuild b/dev-lang/go/go-1.24.1.ebuild deleted file mode 100644 index 423eda182b28.. --- a/dev-lang/go/go-1.24.1.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" -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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 427f7f714b5879388c7f54abafeb935367f54838 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Apr 7 15:50:59 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Apr 7 15:50:59 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=427f7f71 dev-lang/go: Stabilize 1.24.2 x86, #953354 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.24.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2.ebuild b/dev-lang/go/go-1.24.2.ebuild index baa3c9ce8c9d..22f81ec7e6cb 100644 --- a/dev-lang/go/go-1.24.2.ebuild +++ b/dev-lang/go/go-1.24.2.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: 02b4423f1d4e69e4ddeeaeee767b5d895c95ece8 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Apr 7 15:51:20 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Apr 7 15:51:20 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b4423f dev-lang/go: Stabilize 1.24.2 arm, #953354 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.24.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2.ebuild b/dev-lang/go/go-1.24.2.ebuild index ab59e9639a95..acc7ed08a016 100644 --- a/dev-lang/go/go-1.24.2.ebuild +++ b/dev-lang/go/go-1.24.2.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: 7dc4264d8bdff91b2189cd6df990475c9d477e3a Author: Arthur Zamarin gentoo org> AuthorDate: Mon Apr 7 15:51:18 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Apr 7 15:51:18 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dc4264d dev-lang/go: Stabilize 1.24.2 arm64, #953354 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.24.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2.ebuild b/dev-lang/go/go-1.24.2.ebuild index 5412a735abed..ab59e9639a95 100644 --- a/dev-lang/go/go-1.24.2.ebuild +++ b/dev-lang/go/go-1.24.2.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: 1b0bbc1be95e9a0e5ade7ceb4303db114d64bc55 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Apr 7 15:51:00 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Apr 7 15:51:00 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0bbc1b dev-lang/go: Stabilize 1.24.2 amd64, #953354 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.24.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.2.ebuild b/dev-lang/go/go-1.24.2.ebuild index 22f81ec7e6cb..5412a735abed 100644 --- a/dev-lang/go/go-1.24.2.ebuild +++ b/dev-lang/go/go-1.24.2.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: aae3d31ba744619ed8ae607a628473c186d93669 Author: William Hubbs gentoo org> AuthorDate: Mon Apr 7 13:11:01 2025 + Commit: William Hubbs gentoo org> CommitDate: Mon Apr 7 13:11:01 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aae3d31b dev-lang/go: add 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 insertions(+) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 2bf0730f649b..38737a770d2c 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,2 +1,3 @@ DIST go1.23.7.src.tar.gz 28181215 BLAKE2B d3c9bff18438f90f6730e1ad9580a3f97d266f90533552cd73b63b512c694de76466435f274dc2b190c672cdbd83ffaf735e4e74c12e426cac920b81dbfd88af SHA512 79192b760ab6fcc9512fd879a9484a3566fdeec5eace36c54b728cd9cb033e7ac68065a42fc657b351a106d684b79fdbefbf682cf63209c0191e7e7c8c0a0147 +DIST go1.23.8.src.tar.gz 28182772 BLAKE2B 568b9fcc7ed12cb19e10b458fc1890a5977c97660657e9eb7c171aa16382f6790a78cb87df99ed72ec18d5ff1654ee4d15a4d603332ad0812ee97f6500866198 SHA512 8e352a01484c168894026080ee4501180e327d734fb3d892ab17daac193964fcd5fd90033c9cf86d6ffe8b7e4da64bda83ba4501a6c05919bcefbe9e2467c771 DIST go1.24.1.src.tar.gz 30777528 BLAKE2B 76217ec25a721183591a434b012bd9cfb6d6206410aafffce4490bff8053440f2aa590bac0cfb839f10c19a3368fe60515a61123a21d187f5289ba0ae1399c1c SHA512 a924d6bdc7e7101917e6d063bc7b471390525394e79224c152997564657c4362b5600e0c8bf6ee857d345129ccf7368bdf4ed2251ab740446ea2abda144e6353 diff --git a/dev-lang/go/go-1.23.8.ebuild b/dev-lang/go/go-1.23.8.ebuild new file mode 100644 index ..132bdf517d47 --- /dev/null +++ b/dev-lang/go/go-1.23.8.ebuild @@ -0,0 +1,163 @@ +# 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 +
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: bda8d690953c2d8aa75e50757d6827ea97bb6bef Author: William Hubbs gentoo org> AuthorDate: Mon Apr 7 13:27:38 2025 + Commit: William Hubbs gentoo org> CommitDate: Mon Apr 7 13:27:38 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bda8d690 dev-lang/go: add 1.24.2 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 + dev-lang/go/go-1.24.2.ebuild | 134 +++ 2 files changed, 135 insertions(+) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 38737a770d2c..489262647fc7 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,3 +1,4 @@ DIST go1.23.7.src.tar.gz 28181215 BLAKE2B d3c9bff18438f90f6730e1ad9580a3f97d266f90533552cd73b63b512c694de76466435f274dc2b190c672cdbd83ffaf735e4e74c12e426cac920b81dbfd88af SHA512 79192b760ab6fcc9512fd879a9484a3566fdeec5eace36c54b728cd9cb033e7ac68065a42fc657b351a106d684b79fdbefbf682cf63209c0191e7e7c8c0a0147 DIST go1.23.8.src.tar.gz 28182772 BLAKE2B 568b9fcc7ed12cb19e10b458fc1890a5977c97660657e9eb7c171aa16382f6790a78cb87df99ed72ec18d5ff1654ee4d15a4d603332ad0812ee97f6500866198 SHA512 8e352a01484c168894026080ee4501180e327d734fb3d892ab17daac193964fcd5fd90033c9cf86d6ffe8b7e4da64bda83ba4501a6c05919bcefbe9e2467c771 DIST go1.24.1.src.tar.gz 30777528 BLAKE2B 76217ec25a721183591a434b012bd9cfb6d6206410aafffce4490bff8053440f2aa590bac0cfb839f10c19a3368fe60515a61123a21d187f5289ba0ae1399c1c SHA512 a924d6bdc7e7101917e6d063bc7b471390525394e79224c152997564657c4362b5600e0c8bf6ee857d345129ccf7368bdf4ed2251ab740446ea2abda144e6353 +DIST go1.24.2.src.tar.gz 30787666 BLAKE2B bb5f998a87e6527def304347b854c4addb0860a03da82e711f60e2af460bd43c36273b25126c643a679ae22fca226e6a4fc5ba55967d21965ffdc8f564781e35 SHA512 6366a32f6678e7908b138f62dafeed96f7144b3b93505e75fba374b33727da8b1d087c1f979f493382b319758ebfcbeb30e9d7dadcb2923b628c8abe7db41c6f diff --git a/dev-lang/go/go-1.24.2.ebuild b/dev-lang/go/go-1.24.2.ebuild new file mode 100644 index ..baa3c9ce8c9d --- /dev/null +++ b/dev-lang/go/go-1.24.2.ebuild @@ -0,0 +1,134 @@ +# 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" + +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 && expor
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: e583542187bd1b061eeda0b28a03b33fcc2e0143 Author: William Hubbs gentoo org> AuthorDate: Tue Apr 1 16:05:50 2025 + Commit: William Hubbs gentoo org> CommitDate: Tue Apr 1 16:06:14 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5835421 dev-lang/go: drop 1.23.6 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 - dev-lang/go/go-1.23.6.ebuild | 162 --- 2 files changed, 163 deletions(-) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index e36fd2529562..2bf0730f649b 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,3 +1,2 @@ -DIST go1.23.6.src.tar.gz 28179132 BLAKE2B 25c988547604c35de65aedfdee5af9f35f7a1c43f634c0147373d9c86baf2bb10068463f70013ef60acd3088149eb16502958b1ca63d7cee310e32eaddf1578a SHA512 c504476d42cdbcd1b6afe53c0974e82c19eb0efac974bc06d41c1641440676891cfe6416455a0cfc81fe82902a9b82ea0a1d95089c676667d05487e45f5e04e3 DIST go1.23.7.src.tar.gz 28181215 BLAKE2B d3c9bff18438f90f6730e1ad9580a3f97d266f90533552cd73b63b512c694de76466435f274dc2b190c672cdbd83ffaf735e4e74c12e426cac920b81dbfd88af SHA512 79192b760ab6fcc9512fd879a9484a3566fdeec5eace36c54b728cd9cb033e7ac68065a42fc657b351a106d684b79fdbefbf682cf63209c0191e7e7c8c0a0147 DIST go1.24.1.src.tar.gz 30777528 BLAKE2B 76217ec25a721183591a434b012bd9cfb6d6206410aafffce4490bff8053440f2aa590bac0cfb839f10c19a3368fe60515a61123a21d187f5289ba0ae1399c1c SHA512 a924d6bdc7e7101917e6d063bc7b471390525394e79224c152997564657c4362b5600e0c8bf6ee857d345129ccf7368bdf4ed2251ab740446ea2abda144e6353 diff --git a/dev-lang/go/go-1.23.6.ebuild b/dev-lang/go/go-1.23.6.ebuild deleted file mode 100644 index 8e165768f1e3.. --- a/dev-lang/go/go-1.23.6.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" - -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-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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 827ade1ec5711ad4ca70d472893b7d355a5a7948 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Mar 31 17:08:27 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Mar 31 17:08:27 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=827ade1e dev-lang/go: Stabilize 1.23.7 arm64, #951232 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.23.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.7.ebuild b/dev-lang/go/go-1.23.7.ebuild index 240ec7d23bf8..e51a36bbc3df 100644 --- a/dev-lang/go/go-1.23.7.ebuild +++ b/dev-lang/go/go-1.23.7.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: 677ee509f8e1e4d977c5e6c9949556f016613bf9 Author: William Hubbs gentoo org> AuthorDate: Mon Mar 31 14:45:36 2025 + Commit: William Hubbs gentoo org> CommitDate: Mon Mar 31 14:46:16 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=677ee509 dev-lang/go: skip gdb tests for 1.23.7 Bug: https://bugs.gentoo.org/952824 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.23.7.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-lang/go/go-1.23.7.ebuild b/dev-lang/go/go-1.23.7.ebuild index 626e7c65d780..240ec7d23bf8 100644 --- a/dev-lang/go/go-1.23.7.ebuild +++ b/dev-lang/go/go-1.23.7.ebuild @@ -75,6 +75,7 @@ go_cross_compile() { } PATCHES=( + "${FILESDIR}"/go-1.24-skip-gdb-tests.patch "${FILESDIR}"/go-never-download-newer-toolchains.patch )
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: d9a6f645b758464e6c08613bc3c6b84189d8122c Author: William Hubbs gentoo org> AuthorDate: Wed Mar 12 23:05:58 2025 + Commit: William Hubbs gentoo org> CommitDate: Wed Mar 12 23:06:21 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9a6f645 dev-lang/go: add 1.24.1 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 + dev-lang/go/go-1.24.1.ebuild | 133 +++ 2 files changed, 134 insertions(+) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 2b9fd34e7b57..d454cb9897e9 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,3 +1,4 @@ DIST go1.23.6.src.tar.gz 28179132 BLAKE2B 25c988547604c35de65aedfdee5af9f35f7a1c43f634c0147373d9c86baf2bb10068463f70013ef60acd3088149eb16502958b1ca63d7cee310e32eaddf1578a SHA512 c504476d42cdbcd1b6afe53c0974e82c19eb0efac974bc06d41c1641440676891cfe6416455a0cfc81fe82902a9b82ea0a1d95089c676667d05487e45f5e04e3 DIST go1.23.7.src.tar.gz 28181215 BLAKE2B d3c9bff18438f90f6730e1ad9580a3f97d266f90533552cd73b63b512c694de76466435f274dc2b190c672cdbd83ffaf735e4e74c12e426cac920b81dbfd88af SHA512 79192b760ab6fcc9512fd879a9484a3566fdeec5eace36c54b728cd9cb033e7ac68065a42fc657b351a106d684b79fdbefbf682cf63209c0191e7e7c8c0a0147 DIST go1.24.0.src.tar.gz 30663922 BLAKE2B 1a74d268ad2bcfd4773eb9d24f0618491680a5347edba60606b3f50144e2d8879509b2640046e5fa535ff126958deb49c4224443210e3bd79523e65208b616e3 SHA512 36ba9a3a541208fd33aa49b969d892578e209570541d2b6ca6ff784250d8b6777597d347b823c6026acf0c2741b4abc9012693004e623a1434b06cfecdbebaa8 +DIST go1.24.1.src.tar.gz 30777528 BLAKE2B 76217ec25a721183591a434b012bd9cfb6d6206410aafffce4490bff8053440f2aa590bac0cfb839f10c19a3368fe60515a61123a21d187f5289ba0ae1399c1c SHA512 a924d6bdc7e7101917e6d063bc7b471390525394e79224c152997564657c4362b5600e0c8bf6ee857d345129ccf7368bdf4ed2251ab740446ea2abda144e6353 diff --git a/dev-lang/go/go-1.24.1.ebuild b/dev-lang/go/go-1.24.1.ebuild new file mode 100644 index ..733c24241546 --- /dev/null +++ b/dev-lang/go/go-1.24.1.ebuild @@ -0,0 +1,133 @@ +# 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" + +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-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 + ba
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/, dev-lang/go/files/
commit: 5116b3e1ff1a6986cfe5ead3569c9644a7b14df9 Author: William Hubbs gentoo org> AuthorDate: Sat Mar 15 00:54:34 2025 + Commit: William Hubbs gentoo org> CommitDate: Sat Mar 15 00:56:53 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5116b3e1 dev-lang/go: skip gdb runtime tests Closes: https://bugs.gentoo.org/951315 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/files/go-1.24-skip-gdb-tests.patch | 12 dev-lang/go/go-1.24.1.ebuild | 1 + 2 files changed, 13 insertions(+) diff --git a/dev-lang/go/files/go-1.24-skip-gdb-tests.patch b/dev-lang/go/files/go-1.24-skip-gdb-tests.patch new file mode 100644 index ..498483571dad --- /dev/null +++ b/dev-lang/go/files/go-1.24-skip-gdb-tests.patch @@ -0,0 +1,12 @@ +diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go +index 9c54d68949..d4eada51af 100644 +--- a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go +@@ -55,6 +55,7 @@ func checkGdbEnvironment(t *testing.T) { + case "plan9": + t.Skip("there is no gdb on Plan 9") + } ++ t.Skip("gdb tests do not work under gentoo portage") + } + + func checkGdbVersion(t *testing.T) { diff --git a/dev-lang/go/go-1.24.1.ebuild b/dev-lang/go/go-1.24.1.ebuild index 022bec0a6614..423eda182b28 100644 --- a/dev-lang/go/go-1.24.1.ebuild +++ b/dev-lang/go/go-1.24.1.ebuild @@ -71,6 +71,7 @@ go_cross_compile() { } PATCHES=( + "${FILESDIR}"/go-1.24-skip-gdb-tests.patch "${FILESDIR}"/go-never-download-newer-toolchains.patch )
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go-bootstrap/
commit: 4285f0f2684de814a63877a64e95539e354a7084 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 14 09:46:24 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 14 09:46:24 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4285f0f2 dev-lang/go-bootstrap: Stabilize 1.22.12 x86, #951317 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 bb17f4523ff6..98aa96d266a0 100644 --- a/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild +++ b/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild @@ -35,7 +35,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" IUSE="abi_mips_n64 abi_mips_o32 big-endian" RESTRICT="strip" QA_PREBUILT="*"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go-bootstrap/
commit: f56e67314509b155509842aa977fa7226a6692eb Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 14 09:47:14 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 14 09:47:14 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f56e6731 dev-lang/go-bootstrap: Stabilize 1.22.12 arm, #951317 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 98aa96d266a0..d709d18e24c5 100644 --- a/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild +++ b/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild @@ -35,7 +35,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" +KEYWORDS="-* ~amd64 arm ~arm64 ~loong ~mips ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" IUSE="abi_mips_n64 abi_mips_o32 big-endian" RESTRICT="strip" QA_PREBUILT="*"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 146e2210f8a0b383f312f66b51dc85be9ef5bf16 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 14 09:46:24 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 14 09:46:24 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=146e2210 dev-lang/go: Stabilize 1.24.1 x86, #951317 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.24.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.1.ebuild b/dev-lang/go/go-1.24.1.ebuild index bd35942ed3c7..c884eab33098 100644 --- a/dev-lang/go/go-1.24.1.ebuild +++ b/dev-lang/go/go-1.24.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-bootstrap/
commit: 5f7391127f2cb5dc73307c0b482984d25b02c12c Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 14 09:47:42 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 14 09:52:34 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f739112 dev-lang/go-bootstrap: Stabilize 1.22.12 amd64, #951317 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3ec0c1436d6d..828daf7be44f 100644 --- a/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild +++ b/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild @@ -35,7 +35,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="-* ~amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" +KEYWORDS="-* amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" IUSE="abi_mips_n64 abi_mips_o32 big-endian" RESTRICT="strip" QA_PREBUILT="*"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: c7c1a231cf3daec2d035f914d2e9972aa8e3e36f Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 14 09:47:42 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 14 09:52:34 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7c1a231 dev-lang/go: Stabilize 1.24.1 amd64, #951317 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.24.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.1.ebuild b/dev-lang/go/go-1.24.1.ebuild index bc8e30380a4f..022bec0a6614 100644 --- a/dev-lang/go/go-1.24.1.ebuild +++ b/dev-lang/go/go-1.24.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: 4b78bc88945d3324f182f197111bfe8eb4c27ff8 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 14 09:47:18 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 14 09:47:18 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b78bc88 dev-lang/go: Stabilize 1.24.1 arm64, #951317 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.24.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.1.ebuild b/dev-lang/go/go-1.24.1.ebuild index c02f5520b56a..bc8e30380a4f 100644 --- a/dev-lang/go/go-1.24.1.ebuild +++ b/dev-lang/go/go-1.24.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-bootstrap/
commit: 9e7ee151f3b127a4d285b8e375cab7a68eb1 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 14 09:47:19 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 14 09:47:19 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e7ee151 dev-lang/go-bootstrap: Stabilize 1.22.12 arm64, #951317 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d709d18e24c5..3ec0c1436d6d 100644 --- a/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild +++ b/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild @@ -35,7 +35,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="-* ~amd64 arm ~arm64 ~loong ~mips ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" +KEYWORDS="-* ~amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" IUSE="abi_mips_n64 abi_mips_o32 big-endian" RESTRICT="strip" QA_PREBUILT="*"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 0b1fa0c8c103a72d066ba6ad2d1d68b9db292c31 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 14 09:47:14 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 14 09:47:14 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1fa0c8 dev-lang/go: Stabilize 1.24.1 arm, #951317 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.24.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.1.ebuild b/dev-lang/go/go-1.24.1.ebuild index c884eab33098..c02f5520b56a 100644 --- a/dev-lang/go/go-1.24.1.ebuild +++ b/dev-lang/go/go-1.24.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-bootstrap/
commit: 09deff526b7357a8cfaeaa7e2308efc52b45b4c0 Author: Sam James gentoo org> AuthorDate: Fri Mar 14 02:50:06 2025 + Commit: Sam James gentoo org> CommitDate: Fri Mar 14 02:50:06 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09deff52 dev-lang/go-bootstrap: Stabilize 1.22.12 ppc64, #951317 Signed-off-by: Sam James gentoo.org> dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e590f0e854ac..bb17f4523ff6 100644 --- a/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild +++ b/dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild @@ -35,7 +35,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" IUSE="abi_mips_n64 abi_mips_o32 big-endian" RESTRICT="strip" QA_PREBUILT="*"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 8e0485365753b263ba099a86c60036516fc33c19 Author: Sam James gentoo org> AuthorDate: Fri Mar 14 02:50:05 2025 + Commit: Sam James gentoo org> CommitDate: Fri Mar 14 02:50:05 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e048536 dev-lang/go: Stabilize 1.24.1 ppc64, #951317 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.24.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.24.1.ebuild b/dev-lang/go/go-1.24.1.ebuild index 733c24241546..bd35942ed3c7 100644 --- a/dev-lang/go/go-1.24.1.ebuild +++ b/dev-lang/go/go-1.24.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: 32cdac5f4bbc86c00a5382fcd4f5d2c1ec6feb87 Author: William Hubbs gentoo org> AuthorDate: Thu Mar 13 21:13:02 2025 + Commit: William Hubbs gentoo org> CommitDate: Thu Mar 13 21:13:16 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32cdac5f dev-lang/go: stabilize 1.23.7 for amd64, #951232 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.23.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.7.ebuild b/dev-lang/go/go-1.23.7.ebuild index 7bce27849830..626e7c65d780 100644 --- a/dev-lang/go/go-1.23.7.ebuild +++ b/dev-lang/go/go-1.23.7.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: 9f10baf7bb0088c5522fb62bf562cc4549f6637b Author: Jakov Smolić gentoo org> AuthorDate: Thu Mar 13 10:59:35 2025 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Mar 13 10:59:35 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f10baf7 dev-lang/go: Stabilize 1.23.7 x86, #951232 Signed-off-by: Jakov Smolić gentoo.org> dev-lang/go/go-1.23.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.7.ebuild b/dev-lang/go/go-1.23.7.ebuild index 4fb6f8ed5ca2..7bce27849830 100644 --- a/dev-lang/go/go-1.23.7.ebuild +++ b/dev-lang/go/go-1.23.7.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: ed539dd3824d1373e32532185f9cf40d4f8e89de Author: William Hubbs gentoo org> AuthorDate: Thu Mar 13 01:46:57 2025 + Commit: William Hubbs gentoo org> CommitDate: Thu Mar 13 01:46:57 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed539dd3 dev-lang/go: drop 1.24.0 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 - dev-lang/go/go-1.24.0.ebuild | 133 --- 2 files changed, 134 deletions(-) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index d454cb9897e9..e36fd2529562 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,4 +1,3 @@ DIST go1.23.6.src.tar.gz 28179132 BLAKE2B 25c988547604c35de65aedfdee5af9f35f7a1c43f634c0147373d9c86baf2bb10068463f70013ef60acd3088149eb16502958b1ca63d7cee310e32eaddf1578a SHA512 c504476d42cdbcd1b6afe53c0974e82c19eb0efac974bc06d41c1641440676891cfe6416455a0cfc81fe82902a9b82ea0a1d95089c676667d05487e45f5e04e3 DIST go1.23.7.src.tar.gz 28181215 BLAKE2B d3c9bff18438f90f6730e1ad9580a3f97d266f90533552cd73b63b512c694de76466435f274dc2b190c672cdbd83ffaf735e4e74c12e426cac920b81dbfd88af SHA512 79192b760ab6fcc9512fd879a9484a3566fdeec5eace36c54b728cd9cb033e7ac68065a42fc657b351a106d684b79fdbefbf682cf63209c0191e7e7c8c0a0147 -DIST go1.24.0.src.tar.gz 30663922 BLAKE2B 1a74d268ad2bcfd4773eb9d24f0618491680a5347edba60606b3f50144e2d8879509b2640046e5fa535ff126958deb49c4224443210e3bd79523e65208b616e3 SHA512 36ba9a3a541208fd33aa49b969d892578e209570541d2b6ca6ff784250d8b6777597d347b823c6026acf0c2741b4abc9012693004e623a1434b06cfecdbebaa8 DIST go1.24.1.src.tar.gz 30777528 BLAKE2B 76217ec25a721183591a434b012bd9cfb6d6206410aafffce4490bff8053440f2aa590bac0cfb839f10c19a3368fe60515a61123a21d187f5289ba0ae1399c1c SHA512 a924d6bdc7e7101917e6d063bc7b471390525394e79224c152997564657c4362b5600e0c8bf6ee857d345129ccf7368bdf4ed2251ab740446ea2abda144e6353 diff --git a/dev-lang/go/go-1.24.0.ebuild b/dev-lang/go/go-1.24.0.ebuild deleted file mode 100644 index 733c24241546.. --- a/dev-lang/go/go-1.24.0.ebuild +++ /dev/null @@ -1,133 +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" - -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-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 -
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 71b4da8e3b331221fe288a4a7f06841b3ae8ff13 Author: Sam James gentoo org> AuthorDate: Thu Mar 13 00:52:35 2025 + Commit: Sam James gentoo org> CommitDate: Thu Mar 13 00:52:35 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b4da8e dev-lang/go: Stabilize 1.23.7 ppc64, #951232 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.23.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.7.ebuild b/dev-lang/go/go-1.23.7.ebuild index 939148d07b05..4fb6f8ed5ca2 100644 --- a/dev-lang/go/go-1.23.7.ebuild +++ b/dev-lang/go/go-1.23.7.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: 7fcc35a76e169017a11e518df1d70fc15390c6c0 Author: Sam James gentoo org> AuthorDate: Thu Mar 13 00:44:24 2025 + Commit: Sam James gentoo org> CommitDate: Thu Mar 13 00:44:24 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fcc35a7 dev-lang/go: Stabilize 1.23.7 arm, #951232 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.23.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.7.ebuild b/dev-lang/go/go-1.23.7.ebuild index bdfada7c265e..939148d07b05 100644 --- a/dev-lang/go/go-1.23.7.ebuild +++ b/dev-lang/go/go-1.23.7.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: 107c8f0cd3fa479c2600274639892c22128c5fa8 Author: William Hubbs gentoo org> AuthorDate: Wed Mar 12 22:39:23 2025 + Commit: William Hubbs gentoo org> CommitDate: Wed Mar 12 23:06:21 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=107c8f0c dev-lang/go: add 1.23.7 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 + dev-lang/go/go-1.23.7.ebuild | 162 +++ 2 files changed, 163 insertions(+) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 66f995f2cf2e..2b9fd34e7b57 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,2 +1,3 @@ DIST go1.23.6.src.tar.gz 28179132 BLAKE2B 25c988547604c35de65aedfdee5af9f35f7a1c43f634c0147373d9c86baf2bb10068463f70013ef60acd3088149eb16502958b1ca63d7cee310e32eaddf1578a SHA512 c504476d42cdbcd1b6afe53c0974e82c19eb0efac974bc06d41c1641440676891cfe6416455a0cfc81fe82902a9b82ea0a1d95089c676667d05487e45f5e04e3 +DIST go1.23.7.src.tar.gz 28181215 BLAKE2B d3c9bff18438f90f6730e1ad9580a3f97d266f90533552cd73b63b512c694de76466435f274dc2b190c672cdbd83ffaf735e4e74c12e426cac920b81dbfd88af SHA512 79192b760ab6fcc9512fd879a9484a3566fdeec5eace36c54b728cd9cb033e7ac68065a42fc657b351a106d684b79fdbefbf682cf63209c0191e7e7c8c0a0147 DIST go1.24.0.src.tar.gz 30663922 BLAKE2B 1a74d268ad2bcfd4773eb9d24f0618491680a5347edba60606b3f50144e2d8879509b2640046e5fa535ff126958deb49c4224443210e3bd79523e65208b616e3 SHA512 36ba9a3a541208fd33aa49b969d892578e209570541d2b6ca6ff784250d8b6777597d347b823c6026acf0c2741b4abc9012693004e623a1434b06cfecdbebaa8 diff --git a/dev-lang/go/go-1.23.7.ebuild b/dev-lang/go/go-1.23.7.ebuild new file mode 100644 index ..bdfada7c265e --- /dev/null +++ b/dev-lang/go/go-1.23.7.ebuild @@ -0,0 +1,162 @@ +# 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-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
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 820731564a0ea90322f5992717bb27c51be288a2 Author: William Hubbs gentoo org> AuthorDate: Mon Mar 3 17:25:55 2025 + Commit: William Hubbs gentoo org> CommitDate: Mon Mar 3 17:26:17 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82073156 dev-lang/go: drop 1.23.5-r1 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest| 1 - dev-lang/go/go-1.23.5-r1.ebuild | 162 2 files changed, 163 deletions(-) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 2691a0ab0807..66f995f2cf2e 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,3 +1,2 @@ -DIST go1.23.5.src.tar.gz 28179014 BLAKE2B 6fe6101054a0c10ce415aea65367a48ef8397c88d66bad01b7c72107a6c60daf0b9a47f7c1cd6c8da9855ab04309f25941cc867e6a9f90ac51d1ab0c54662313 SHA512 b04317afeab2d0ced7c36b8682dd32ac085d95d874cf3f614daa34859d7f7f2b75138132e7a64e237c6b4d711d5b03a4d20533f92a44840915630f4ea7cfafa2 DIST go1.23.6.src.tar.gz 28179132 BLAKE2B 25c988547604c35de65aedfdee5af9f35f7a1c43f634c0147373d9c86baf2bb10068463f70013ef60acd3088149eb16502958b1ca63d7cee310e32eaddf1578a SHA512 c504476d42cdbcd1b6afe53c0974e82c19eb0efac974bc06d41c1641440676891cfe6416455a0cfc81fe82902a9b82ea0a1d95089c676667d05487e45f5e04e3 DIST go1.24.0.src.tar.gz 30663922 BLAKE2B 1a74d268ad2bcfd4773eb9d24f0618491680a5347edba60606b3f50144e2d8879509b2640046e5fa535ff126958deb49c4224443210e3bd79523e65208b616e3 SHA512 36ba9a3a541208fd33aa49b969d892578e209570541d2b6ca6ff784250d8b6777597d347b823c6026acf0c2741b4abc9012693004e623a1434b06cfecdbebaa8 diff --git a/dev-lang/go/go-1.23.5-r1.ebuild b/dev-lang/go/go-1.23.5-r1.ebuild deleted file mode 100644 index 8e165768f1e3.. --- a/dev-lang/go/go-1.23.5-r1.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" - -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-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_
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: fb0a505f5419fe8efa13e69e51b02733942c888f Author: William Hubbs gentoo org> AuthorDate: Mon Mar 3 17:21:18 2025 + Commit: William Hubbs gentoo org> CommitDate: Mon Mar 3 17:24:19 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb0a505f dev-lang/go: stabilize 1.23.6 for x86, #949407 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.23.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.6.ebuild b/dev-lang/go/go-1.23.6.ebuild index f0e04aca4ab2..8e165768f1e3 100644 --- a/dev-lang/go/go-1.23.6.ebuild +++ b/dev-lang/go/go-1.23.6.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: fdc2d7afc593f47cd02711099cfb260cbf917ac6 Author: Sam James gentoo org> AuthorDate: Sat Mar 1 22:40:06 2025 + Commit: Sam James gentoo org> CommitDate: Sat Mar 1 22:40:06 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc2d7af dev-lang/go: Stabilize 1.23.6 arm64, #949407 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.23.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.6.ebuild b/dev-lang/go/go-1.23.6.ebuild index e39badd3dedd..f0e04aca4ab2 100644 --- a/dev-lang/go/go-1.23.6.ebuild +++ b/dev-lang/go/go-1.23.6.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: 84be1276edc1543a549aec21b27bf629a28eb766 Author: Sam James gentoo org> AuthorDate: Wed Feb 26 21:41:01 2025 + Commit: Sam James gentoo org> CommitDate: Wed Feb 26 21:41:01 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84be1276 dev-lang/go: Stabilize 1.23.6 ppc64, #949407 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.23.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.6.ebuild b/dev-lang/go/go-1.23.6.ebuild index ce6eb102c49e..e25b9baa4cdc 100644 --- a/dev-lang/go/go-1.23.6.ebuild +++ b/dev-lang/go/go-1.23.6.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: a6f9c7148e23dd07085625caa69d310e103928ee Author: Sam James gentoo org> AuthorDate: Wed Feb 26 21:41:03 2025 + Commit: Sam James gentoo org> CommitDate: Wed Feb 26 21:41:03 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6f9c714 dev-lang/go: Stabilize 1.23.6 arm, #949407 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.23.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.6.ebuild b/dev-lang/go/go-1.23.6.ebuild index e25b9baa4cdc..e39badd3dedd 100644 --- a/dev-lang/go/go-1.23.6.ebuild +++ b/dev-lang/go/go-1.23.6.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: 0143931956a710206fe253c511501a5fe4c6c152 Author: William Hubbs gentoo org> AuthorDate: Wed Feb 26 19:15:21 2025 + Commit: William Hubbs gentoo org> CommitDate: Wed Feb 26 19:15:21 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01439319 dev-lang/go: sync live Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-.ebuild | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-.ebuild index 4208235a029b..f371daa2831b 100644 --- a/dev-lang/go/go-.ebuild +++ b/dev-lang/go/go-.ebuild @@ -20,12 +20,8 @@ case ${PV} in *) 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 +# 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"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 27c69d0396d851a6007c59f7ccae478e35550f91 Author: William Hubbs gentoo org> AuthorDate: Wed Feb 26 19:10:59 2025 + Commit: William Hubbs gentoo org> CommitDate: Wed Feb 26 19:10:59 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c69d03 dev-lang/go: drop 1.22.11-r1, 1.22.12 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 2 - dev-lang/go/go-1.22.11-r1.ebuild | 166 --- dev-lang/go/go-1.22.12.ebuild| 166 --- 3 files changed, 334 deletions(-) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 79f26d9c18b3..2691a0ab0807 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,5 +1,3 @@ -DIST go1.22.11.src.tar.gz 27565913 BLAKE2B d4b8f746846f0ba45307ecf732e035c2628483d59402f0868bc42a2fd1ae3447f61d9c3a6eacbc28b1f25e0b35b99ccf8831baeba4203601810b09267d8743f6 SHA512 40c133d6008df7c7cc3bb95a41c29f7442a6af2dd78b807007daf732471c88e2c641aed32878414d57be3904e5efa580d2ecd13fff5412ee668e753e50f1356e -DIST go1.22.12.src.tar.gz 27566409 BLAKE2B ea8ce4abd7d6548aef14c0803a07b4beba8728f40f96db5feb6eb4b48fce5866fbccd0b2d1e670dafd2e58e6ec814ef6f83a16ed6b6214be76597748bf87ec9d SHA512 de498f72c398c5587abb6e6943a21b1b9835fde16dbda4d64a1ad847f5b2399ed289fe327255dcde104ad9e7f3fd6c520ddb13ee1900ba5d5c45aa5e1c1e30c8 DIST go1.23.5.src.tar.gz 28179014 BLAKE2B 6fe6101054a0c10ce415aea65367a48ef8397c88d66bad01b7c72107a6c60daf0b9a47f7c1cd6c8da9855ab04309f25941cc867e6a9f90ac51d1ab0c54662313 SHA512 b04317afeab2d0ced7c36b8682dd32ac085d95d874cf3f614daa34859d7f7f2b75138132e7a64e237c6b4d711d5b03a4d20533f92a44840915630f4ea7cfafa2 DIST go1.23.6.src.tar.gz 28179132 BLAKE2B 25c988547604c35de65aedfdee5af9f35f7a1c43f634c0147373d9c86baf2bb10068463f70013ef60acd3088149eb16502958b1ca63d7cee310e32eaddf1578a SHA512 c504476d42cdbcd1b6afe53c0974e82c19eb0efac974bc06d41c1641440676891cfe6416455a0cfc81fe82902a9b82ea0a1d95089c676667d05487e45f5e04e3 DIST go1.24.0.src.tar.gz 30663922 BLAKE2B 1a74d268ad2bcfd4773eb9d24f0618491680a5347edba60606b3f50144e2d8879509b2640046e5fa535ff126958deb49c4224443210e3bd79523e65208b616e3 SHA512 36ba9a3a541208fd33aa49b969d892578e209570541d2b6ca6ff784250d8b6777597d347b823c6026acf0c2741b4abc9012693004e623a1434b06cfecdbebaa8 diff --git a/dev-lang/go/go-1.22.11-r1.ebuild b/dev-lang/go/go-1.22.11-r1.ebuild deleted file mode 100644 index c9c7981b3aa0.. --- a/dev-lang/go/go-1.22.11-r1.ebuild +++ /dev/null @@ -1,166 +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-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" -
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: dcbe9a0812f727817408f5ba5c875834e6a12a25 Author: William Hubbs gentoo org> AuthorDate: Wed Feb 26 19:08:04 2025 + Commit: William Hubbs gentoo org> CommitDate: Wed Feb 26 19:09:48 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcbe9a08 dev-lang/go: keyword 1.24.0 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.24.0.ebuild | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dev-lang/go/go-1.24.0.ebuild b/dev-lang/go/go-1.24.0.ebuild index 4208235a029b..733c24241546 100644 --- a/dev-lang/go/go-1.24.0.ebuild +++ b/dev-lang/go/go-1.24.0.ebuild @@ -20,12 +20,8 @@ case ${PV} in *) 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 + 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"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 1eaf18a80ef600e3d90cb331c68d66188b358bfe Author: William Hubbs gentoo org> AuthorDate: Fri Feb 21 05:13:53 2025 + Commit: William Hubbs gentoo org> CommitDate: Fri Feb 21 05:13:53 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eaf18a8 dev-lang/go: add 1.24.0 Bug: https://bugs.gentoo.org/949647 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 + dev-lang/go/go-1.24.0.ebuild | 137 +++ 2 files changed, 138 insertions(+) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 39b7ef1b567e..79f26d9c18b3 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -2,3 +2,4 @@ DIST go1.22.11.src.tar.gz 27565913 BLAKE2B d4b8f746846f0ba45307ecf732e035c262848 DIST go1.22.12.src.tar.gz 27566409 BLAKE2B ea8ce4abd7d6548aef14c0803a07b4beba8728f40f96db5feb6eb4b48fce5866fbccd0b2d1e670dafd2e58e6ec814ef6f83a16ed6b6214be76597748bf87ec9d SHA512 de498f72c398c5587abb6e6943a21b1b9835fde16dbda4d64a1ad847f5b2399ed289fe327255dcde104ad9e7f3fd6c520ddb13ee1900ba5d5c45aa5e1c1e30c8 DIST go1.23.5.src.tar.gz 28179014 BLAKE2B 6fe6101054a0c10ce415aea65367a48ef8397c88d66bad01b7c72107a6c60daf0b9a47f7c1cd6c8da9855ab04309f25941cc867e6a9f90ac51d1ab0c54662313 SHA512 b04317afeab2d0ced7c36b8682dd32ac085d95d874cf3f614daa34859d7f7f2b75138132e7a64e237c6b4d711d5b03a4d20533f92a44840915630f4ea7cfafa2 DIST go1.23.6.src.tar.gz 28179132 BLAKE2B 25c988547604c35de65aedfdee5af9f35f7a1c43f634c0147373d9c86baf2bb10068463f70013ef60acd3088149eb16502958b1ca63d7cee310e32eaddf1578a SHA512 c504476d42cdbcd1b6afe53c0974e82c19eb0efac974bc06d41c1641440676891cfe6416455a0cfc81fe82902a9b82ea0a1d95089c676667d05487e45f5e04e3 +DIST go1.24.0.src.tar.gz 30663922 BLAKE2B 1a74d268ad2bcfd4773eb9d24f0618491680a5347edba60606b3f50144e2d8879509b2640046e5fa535ff126958deb49c4224443210e3bd79523e65208b616e3 SHA512 36ba9a3a541208fd33aa49b969d892578e209570541d2b6ca6ff784250d8b6777597d347b823c6026acf0c2741b4abc9012693004e623a1434b06cfecdbebaa8 diff --git a/dev-lang/go/go-1.24.0.ebuild b/dev-lang/go/go-1.24.0.ebuild new file mode 100644 index ..4208235a029b --- /dev/null +++ b/dev-lang/go/go-1.24.0.ebuild @@ -0,0 +1,137 @@ +# 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 + 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-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)
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 73ab05b6cd80767eda05da70617afcb7f73537b6 Author: William Hubbs gentoo org> AuthorDate: Fri Feb 21 05:13:54 2025 + Commit: William Hubbs gentoo org> CommitDate: Fri Feb 21 05:13:54 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ab05b6 dev-lang/go: sync live Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-.ebuild | 41 ++--- 1 file changed, 6 insertions(+), 35 deletions(-) diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-.ebuild index 3625ad651259..4208235a029b 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.20.14 +GO_BOOTSTRAP_MIN=1.22.12 MY_PV=${PV/_/} inherit go-env toolchain-funcs @@ -88,10 +88,6 @@ src_compile() { die "Should not be here, please report a bug" fi - export GOROOT_FINAL="${EPREFIX}"/usr/lib/go - export GOROOT="${PWD}" - export GOBIN="${GOROOT}/bin" - # Go's build script does not use BUILD/HOST/TARGET consistently. :( export GOHOSTARCH=$(go-env_goarch ${CBUILD}) export GOHOSTOS=$(go-env_goos ${CBUILD}) @@ -110,30 +106,22 @@ src_compile() { 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 + cp -R . "${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) + # 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 @@ -146,21 +134,4 @@ src_install() { 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 ${REPLACING_VERSIONS} ]] && return - elog "After ${CATEGORY}/${PN} is updated it is recommended to rebuild" - elog "all packages compiled with previous versions of ${CATEGORY}/${PN}" - elog "due to the static linking nature of go." - elog "If this is not done, the packages compiled with the older" - elog "version of the compiler will not be updated until they are" - elog "updated individually, which could mean they will have" - elog "vulnerabilities." - elog "Run 'emerge @golang-rebuild' to rebuild all 'go' packages" - elog "See https://bugs.gentoo.org/752153 for more info" }
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go-bootstrap/
commit: 28b812da1e4ef8bd36718d0ed80c97b9dff177ee Author: William Hubbs gentoo org> AuthorDate: Thu Feb 20 18:05:07 2025 + Commit: William Hubbs gentoo org> CommitDate: Thu Feb 20 18:05:07 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28b812da dev-lang/go-bootstrap: add 1.22.12 Signed-off-by: William Hubbs gentoo.org> dev-lang/go-bootstrap/Manifest| 16 +++ dev-lang/go-bootstrap/go-bootstrap-1.22.12.ebuild | 51 +++ 2 files changed, 67 insertions(+) diff --git a/dev-lang/go-bootstrap/Manifest b/dev-lang/go-bootstrap/Manifest index 4720d69dde07..5a986891754c 100644 --- a/dev-lang/go-bootstrap/Manifest +++ b/dev-lang/go-bootstrap/Manifest @@ -14,3 +14,19 @@ DIST go-1.20.14-linux-ppc64le-bootstrap.tbz 90575770 BLAKE2B 0c76ba27d41d329a7c5 DIST go-1.20.14-linux-riscv64-bootstrap.tbz 93091456 BLAKE2B 197811a57c728ef546b9660328ab6624b87ae085e98264e5b3317fc66581fc0ee8ef95af3040c07a6cebfe30da88d209bf5bdb8ee11a647b716fa3122031724a SHA512 a3faaeaac90354a9be130d01108c8fdb178a0427d7dab0362c570428216ddd362f55044021082cbbb466f3a69458869d4978bd28652f7a4e55295d357c9c7c54 DIST go-1.20.14-linux-s390x-bootstrap.tbz 94671247 BLAKE2B 7ff60a7c1245b66cbe852662589fe3a87c4fc29a1134dd46ad76272b9bc619b7ffba823374658a0f8d54a440d808d3eb8d97788483bbe69628bda167f4377109 SHA512 bc6c7efddfcc90fe2f1bbb2dee7f4396eb5b478eee7236216ca00c5bd4ce1dc0e3315edb58bf6ef3f7a7e5c45950e6f5be9163cfffd1cf5c36004aaa4916a1b7 DIST go-1.20.14-solaris-amd64-bootstrap.tbz 95085901 BLAKE2B aed378201db555121bae1ab049d44b297dc922d7cd977c3d6f2dbff1b3cc46f59a697a211c244ed2f012d5c8ea6211501527512325188e34a3ccd2946ef6dbe8 SHA512 22a8b79ab2eb08319d1d9fb517458cdafd1a4fcbba2da70935d65ccdcc3808978ca0dbb045a7cfde2ca43eb6effd3ce687d2f99ee24dedcae9967b414fd6fe57 +DIST go-bootstrap-1.22.12-darwin-amd64.tbz 64955332 BLAKE2B 8b5f2a60f2e2d250e5e944decaafe4bbae02b989467a30ad01542b5b95820b2bd5127ce42467e82d10bcdd6985b097b2b38a6e61b19071916b8f9dfab04b8ea7 SHA512 d143031c7032620460190618ccbc0112dd0f01e2cf64c48a75b554538be0d49b979d02050189e81a50b4f172bb5ffe4db5163936c1d8a6bfc09c5e2ea12bbed8 +DIST go-bootstrap-1.22.12-darwin-arm64.tbz 62274977 BLAKE2B 2fb43878eff785652fa41edbcdb9fbb7c2d54b3f012a594a8c14d997a10b31aba347fc93a9887b39cad5b1817e9249224e22fba3a2ced90241c75f93b9eee2fa SHA512 161312a2a8ea953215b006ff73cf2e0345db4a7079429fabe022e2a0f3dfa2dba441bf05b0ef9450d39a20f4d2e5ac1a5d1dd659030551a996c869670d0e4bdc +DIST go-bootstrap-1.22.12-linux-386.tbz 61905608 BLAKE2B 036006e1d73663c9adc0746c1e6b048df0630fd6dcb35513e3085f92225e71e3e0678b551d9b6bcae8efbb71684c0718bf49d06941661c88f56c4e9473464778 SHA512 be643e1a327221ccffe6b9bda38b6bad0fcea9bd8305a774a0a93103042f3f96b2d51983d87f92971cb71d8f1817a3da57048646a8b76f83641fae94bb36 +DIST go-bootstrap-1.22.12-linux-amd64.tbz 64061301 BLAKE2B eee49d2ffe36dc50bdffad69bc2e106736f62e04d1bca3da55400f47f032f2bb79ef772eb6eac0f9fac17bc340770a6bed5c86e4968da4c8613d032bff4dd426 SHA512 3ba2083435af5be97cd02f36d27d100b62285d1f680d519309619d47e07fd0184a4dbf92c5f00b2c661b62ffc66ab03e0add0331a122730e35270a2dc9a83b5c +DIST go-bootstrap-1.22.12-linux-arm.tbz 61282567 BLAKE2B 4ca77e3d4488973f4ea190003d9ab181de0bb6a216074bbc85118e39420e03749bb83b326d1f5221a8ca117e78656af15bfde3e28b1b276d999476892ea87e59 SHA512 0d3a8fa91872c94de22bf07969573196593b556592c017dcdde794dd620cee92d1ac33a2d3505cd1d3ca55df167595b82c18991e7cb06d8399a6d25adf3bf6fd +DIST go-bootstrap-1.22.12-linux-arm64.tbz 60296549 BLAKE2B 29417911aa5c9096c1fddb6bff4684865c873a51a2acbdf8fff18556cd3d920d92bce6df8cf8401e34c187ee44dd840e521bd9457aef76ba8948170ef755e337 SHA512 7bb3a375a65eab9d5e5a66bf070948034734af245b4cb06825009fb10f122a7a41f0f718f3838e2a8d37dcf8440348c1dfbc12370f65651388c473400850e84f +DIST go-bootstrap-1.22.12-linux-loong64.tbz 60917942 BLAKE2B 59904642dcf0874afafb714dc31e2dd71920615d45f4111933661786921436a20f10bd1625e3742f040d250934b103f9ffe37f317ca1ba55dd92bd96bbb759cf SHA512 f170b92ed621a7ec0c83c77b4cdd8ce7ccac3fa05f659a40cbf729b3e28a20181dc0295464ca627100cc8141e3a3d7f05e0a811d55d7abf661020faf7511755c +DIST go-bootstrap-1.22.12-linux-mips.tbz 58135007 BLAKE2B f84fddc176549fa3b903c307c90df9b5177d79322b61b6647795fbdfc728fd9d642c7eda0634e41f6ed3563c5fdc1ce7d4d26ff179a19c60270ac9c9752cae03 SHA512 eb0642cbf7f5cef2ea40809f98fb66f882236defb948c0034deeb6e7b332ed7eabda6f4028bd417d1b6a48c06d7c970dff818f54dd9f20db3bcff9322070382a +DIST go-bootstrap-1.22.12-linux-mips64.tbz 57252236 BLAKE2B 1ef06b548fbeb7fbafde5119b62259bec42e234deedc48e7909bd5699eede30dd5ef019416879959e302775f7e685079e1f8ebc393c48c8b6321722d5ed139cc SHA512 ade5f0e2b5d9de43e09bf281b6ce83784684a03e6fde5197283efba24bdefba20d938378f0c6d7a31db74762a0542de1473f866abf41f0e6271d140f993c7b6e +DIST go-bootstrap-1.22.12-linux-mips64le.tbz 57548639 BLAKE2B edb1866b1940f3c213f3a4090086e4be814947bccf5b27b492584e241ca3a723bd5b895d87d4fb8e68cb50b7f046aeb76f734a17290e61a4cd1e1b1b9bc42238 SHA512 2956596b9ae5
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go-bootstrap/files/
commit: 037dca29a9ebfd9217abc98d798cd15280537251 Author: William Hubbs gentoo org> AuthorDate: Thu Feb 20 18:05:07 2025 + Commit: William Hubbs gentoo org> CommitDate: Thu Feb 20 18:05:07 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=037dca29 dev-lang/go-bootstrap/files/make-go-bootstraps: cleanups - fix the definitions of GO_TAG and GO_VERSION - use a shallow clone when we clone the source - clean up the build directory as we go - store the tarballs under the user's home directory - remove some verbose output - fix array expansion Signed-off-by: William Hubbs gentoo.org> dev-lang/go-bootstrap/files/make-go-bootstraps | 32 -- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/dev-lang/go-bootstrap/files/make-go-bootstraps b/dev-lang/go-bootstrap/files/make-go-bootstraps index 8340dbaecfd8..6ad27296b57e 100755 --- a/dev-lang/go-bootstrap/files/make-go-bootstraps +++ b/dev-lang/go-bootstrap/files/make-go-bootstraps @@ -31,25 +31,23 @@ go_tuples=( solaris-amd64 ) -go_version=$(go version) -go_version=${go_version##*go} -go_version=${go_version%% *} +go_tag=$(go env GOVERSION) +go_version=${go_tag#go} +go_repo="https://github.com/golang/go"; build_path=$(mktemp -d /tmp/go-bootstraps-XX) -pushd "${build_path}" -git clone https://github.com/golang/go.git -cd go -git checkout go"${go_version}" -cd src -for tuple in ${go_tuples[@]}; do +pushd "${build_path}" > /dev/null +git clone --depth 1 --quiet --branch "${go_tag}" "${go_repo}" "${build_path}/go" +for tuple in "${go_tuples[@]}"; do printf "Building go version %s bootstrap tarball for %s\n" "${go_version}" "${tuple}" + pushd go/src > /dev/null GO386=softfloat GOOS=${tuple%%-*} GOARCH=${tuple##*-} ./bootstrap.bash - rm -fr ../../go-${tuple}-bootstrap + git clean -d -f -x + popd > /dev/null + rm -fr "go-${tuple}-bootstrap" + mv "go-${tuple}-bootstrap.tbz" "go-bootstrap-${go_version}-${tuple}.tbz" done -cd ../.. rm -fr go -for f in *tbz; do - mv "${f}" "${f/go/go-${go_version}}" - done -popd -mv "${build_path}" "${build_path%-*}" -printf "The bootstrap tarballs are stored in %s\n" "${build_path%-*}" +popd /dev/null +final_path="${HOME}/go-bootstrap-${go_version}" +mv "${build_path}" "${final_path}" +printf "The bootstrap tarballs are stored in %s\n" "${final_path}"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 240f8d2e444564fcaea2bd8305f8c68745d0509c Author: William Hubbs gentoo org> AuthorDate: Mon Feb 10 16:38:10 2025 + Commit: William Hubbs gentoo org> CommitDate: Mon Feb 10 16:39:15 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=240f8d2e dev-lang/go: stabilize 1.23.6 for amd64, #949407 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.23.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.6.ebuild b/dev-lang/go/go-1.23.6.ebuild index bdfada7c265e..ce6eb102c49e 100644 --- a/dev-lang/go/go-1.23.6.ebuild +++ b/dev-lang/go/go-1.23.6.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: b1056b0dc6de9a4708c32c45213be7a90a8e4998 Author: William Hubbs gentoo org> AuthorDate: Mon Feb 10 16:38:10 2025 + Commit: William Hubbs gentoo org> CommitDate: Mon Feb 10 16:39:15 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1056b0d dev-lang/go: stabilize 1.22.12 for amd64, #949406 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.22.12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.22.12.ebuild b/dev-lang/go/go-1.22.12.ebuild index 57a3e9a8de86..9ea7cd6c0feb 100644 --- a/dev-lang/go/go-1.22.12.ebuild +++ b/dev-lang/go/go-1.22.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: 3925263425165225264833d09f8868b02af52efa Author: William Hubbs gentoo org> AuthorDate: Fri Feb 7 20:28:26 2025 + Commit: William Hubbs gentoo org> CommitDate: Fri Feb 7 20:28:56 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39252634 dev-lang/go: add 1.22.12, 1.23.6 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 2 + dev-lang/go/go-1.22.12.ebuild | 166 ++ dev-lang/go/go-1.23.6.ebuild | 162 + 3 files changed, 330 insertions(+) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index d080a95cfd47..39b7ef1b567e 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,2 +1,4 @@ DIST go1.22.11.src.tar.gz 27565913 BLAKE2B d4b8f746846f0ba45307ecf732e035c2628483d59402f0868bc42a2fd1ae3447f61d9c3a6eacbc28b1f25e0b35b99ccf8831baeba4203601810b09267d8743f6 SHA512 40c133d6008df7c7cc3bb95a41c29f7442a6af2dd78b807007daf732471c88e2c641aed32878414d57be3904e5efa580d2ecd13fff5412ee668e753e50f1356e +DIST go1.22.12.src.tar.gz 27566409 BLAKE2B ea8ce4abd7d6548aef14c0803a07b4beba8728f40f96db5feb6eb4b48fce5866fbccd0b2d1e670dafd2e58e6ec814ef6f83a16ed6b6214be76597748bf87ec9d SHA512 de498f72c398c5587abb6e6943a21b1b9835fde16dbda4d64a1ad847f5b2399ed289fe327255dcde104ad9e7f3fd6c520ddb13ee1900ba5d5c45aa5e1c1e30c8 DIST go1.23.5.src.tar.gz 28179014 BLAKE2B 6fe6101054a0c10ce415aea65367a48ef8397c88d66bad01b7c72107a6c60daf0b9a47f7c1cd6c8da9855ab04309f25941cc867e6a9f90ac51d1ab0c54662313 SHA512 b04317afeab2d0ced7c36b8682dd32ac085d95d874cf3f614daa34859d7f7f2b75138132e7a64e237c6b4d711d5b03a4d20533f92a44840915630f4ea7cfafa2 +DIST go1.23.6.src.tar.gz 28179132 BLAKE2B 25c988547604c35de65aedfdee5af9f35f7a1c43f634c0147373d9c86baf2bb10068463f70013ef60acd3088149eb16502958b1ca63d7cee310e32eaddf1578a SHA512 c504476d42cdbcd1b6afe53c0974e82c19eb0efac974bc06d41c1641440676891cfe6416455a0cfc81fe82902a9b82ea0a1d95089c676667d05487e45f5e04e3 diff --git a/dev-lang/go/go-1.22.12.ebuild b/dev-lang/go/go-1.22.12.ebuild new file mode 100644 index ..57a3e9a8de86 --- /dev/null +++ b/dev-lang/go/go-1.22.12.ebuild @@ -0,0 +1,166 @@ +# 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-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 + + export GOROOT_FINAL="${EPREFIX}"/usr/lib/go + export GOROOT="${PWD}" + export GOBIN="${GOROOT}/bin" + + # Go's build script does not use BUILD/HOST/TARGET consistently. :( + export GOHOSTARCH=$(go-env_goarch ${CBUILD}) + export GOHOSTOS=$(go-env_goos ${CBUILD}) + export
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: e0d5382b6ad5a96fe2451a8d42bd6bf11b24531d Author: Andreas K. Hüttel gentoo org> AuthorDate: Mon Feb 3 17:39:20 2025 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Mon Feb 3 17:39:20 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0d5382b dev-lang/go: binutils will lose the gold useflag Signed-off-by: Andreas K. Hüttel gentoo.org> dev-lang/go/{go-1.22.11.ebuild => go-1.22.11-r1.ebuild} | 4 ++-- dev-lang/go/{go-1.23.5.ebuild => go-1.23.5-r1.ebuild} | 4 ++-- dev-lang/go/go-.ebuild | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-lang/go/go-1.22.11.ebuild b/dev-lang/go/go-1.22.11-r1.ebuild similarity index 98% rename from dev-lang/go/go-1.22.11.ebuild rename to dev-lang/go/go-1.22.11-r1.ebuild index bd8a9171cf67..c9c7981b3aa0 100644 --- a/dev-lang/go/go-1.22.11.ebuild +++ b/dev-lang/go/go-1.22.11-r1.ebuild @@ -36,8 +36,8 @@ SLOT="0/${PV}" IUSE="cpu_flags_x86_sse2" RDEPEND=" -arm? ( sys-devel/binutils[gold] ) -arm64? ( sys-devel/binutils[gold] )" +arm? ( sys-devel/binutils[gold(-)] ) +arm64? ( sys-devel/binutils[gold(-)] )" BDEPEND="|| ( >=dev-lang/go-${GO_BOOTSTRAP_MIN} >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )" diff --git a/dev-lang/go/go-1.23.5.ebuild b/dev-lang/go/go-1.23.5-r1.ebuild similarity index 98% rename from dev-lang/go/go-1.23.5.ebuild rename to dev-lang/go/go-1.23.5-r1.ebuild index 7958019d7f93..8e165768f1e3 100644 --- a/dev-lang/go/go-1.23.5.ebuild +++ b/dev-lang/go/go-1.23.5-r1.ebuild @@ -36,8 +36,8 @@ SLOT="0/${PV}" IUSE="cpu_flags_x86_sse2" RDEPEND=" -arm? ( sys-devel/binutils[gold] ) -arm64? ( sys-devel/binutils[gold] )" +arm? ( sys-devel/binutils[gold(-)] ) +arm64? ( sys-devel/binutils[gold(-)] )" BDEPEND="|| ( >=dev-lang/go-${GO_BOOTSTRAP_MIN} >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )" diff --git a/dev-lang/go/go-.ebuild b/dev-lang/go/go-.ebuild index 485f2a1bde8d..3625ad651259 100644 --- a/dev-lang/go/go-.ebuild +++ b/dev-lang/go/go-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -36,8 +36,8 @@ SLOT="0/${PV}" IUSE="cpu_flags_x86_sse2" RDEPEND=" -arm? ( sys-devel/binutils[gold] ) -arm64? ( sys-devel/binutils[gold] )" +arm? ( sys-devel/binutils[gold(-)] ) +arm64? ( sys-devel/binutils[gold(-)] )" BDEPEND="|| ( >=dev-lang/go-${GO_BOOTSTRAP_MIN} >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: a1cbaebe28de048b8120c353b0669b3829a34d6f Author: William Hubbs gentoo org> AuthorDate: Mon Jan 27 15:53:21 2025 + Commit: William Hubbs gentoo org> CommitDate: Mon Jan 27 15:53:21 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1cbaebe dev-lang/go: drop versions Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 7 -- dev-lang/go/go-1.22.10.ebuild | 166 -- dev-lang/go/go-1.22.6.ebuild | 166 -- dev-lang/go/go-1.22.7.ebuild | 166 -- dev-lang/go/go-1.22.9.ebuild | 166 -- dev-lang/go/go-1.23.1.ebuild | 162 - dev-lang/go/go-1.23.3.ebuild | 162 - dev-lang/go/go-1.23.4.ebuild | 162 - 8 files changed, 1157 deletions(-) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 12725ac71cd5..d080a95cfd47 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,9 +1,2 @@ -DIST go1.22.10.src.tar.gz 27565306 BLAKE2B e2dd36c28c0e9cea1239afc139ef79d9b1a4a0f631d5e53b88518e36f0f669433edc1546c6a47f5d790b56da3be093aee7affa125c291f793e1a4bf0ad1cf827 SHA512 0ccf4a42a8bf40c94f21b014fea3ea002d46e8ecb1142be7444148c4937b3d10ce863fb5556f2c1a8f4b51d34d85efe16efa892255eeb4447108c44ac080ce13 DIST go1.22.11.src.tar.gz 27565913 BLAKE2B d4b8f746846f0ba45307ecf732e035c2628483d59402f0868bc42a2fd1ae3447f61d9c3a6eacbc28b1f25e0b35b99ccf8831baeba4203601810b09267d8743f6 SHA512 40c133d6008df7c7cc3bb95a41c29f7442a6af2dd78b807007daf732471c88e2c641aed32878414d57be3904e5efa580d2ecd13fff5412ee668e753e50f1356e -DIST go1.22.6.src.tar.gz 27561569 BLAKE2B 55ce88dc2039d68f14aea0792ed6a1b45c8e262aa73f76f852941aed12019318b3be7938c954fb7c03d7583f930f7a0e5164effc1ec10fc6d0fc282484390e49 SHA512 59f84ba390203271d9fe2d3f04624449d54d3bb73c2b6e54b5f7dc9e9e2dce2192bae07ef56a2afee871cff84d457b90f8a00f4433e072028b97af987f3799e1 -DIST go1.22.7.src.tar.gz 27562038 BLAKE2B c4dd868ac6966029fd72e61d9c82ac26162f4eb26f77a3a6a7e8bc609223069c004786066ca66f24f4d595de1da4f4ee18b368f80ac94e832c8bd9edde407094 SHA512 60b37916e31c3482e8395580a29757971df5e1783dc13a9914261007e07aa8b1b9c1a0b874883e297903e16c7831117b8f814aeff0a0d4398948c97c9d73b73a -DIST go1.22.9.src.tar.gz 27565135 BLAKE2B 14de2374ff196d19bc5c38852ee01813ef0a6d5178ada1cf58bd14822968fbc10ec98914402fa29eee95ae9cc408f66ad67cc60c3c97a9567776e612ae614202 SHA512 d9237212e82f6acb40685fdbe75f3e5c6a6340329c31a885e7f241a5868b5835052e90063db849a5960c8242da2971c55a3a3cab2c0e0e62754b8c33344887cf -DIST go1.23.1.src.tar.gz 28164249 BLAKE2B cabe5c50f2f674b53114e5bd692b6482143cda42fc36076b37b4644be0769c8325fe400d1646478d360697a3fba5f6e086b181eb68dfecbc325675be0af2f5ee SHA512 c1db053bab03c33b4ec4cbef6c8dfae279542cde433fdb787b564ccf797bb9ac6d191aae3152a860a9539956502f31003f746e924287040849afce5ccaaf0988 -DIST go1.23.3.src.tar.gz 28173788 BLAKE2B 70b228c2163eb054186daff96ca017243f2b16a61f1117fe3dc3ca89bda65c626c5721bc213c377c58e4af2c631634f236211f0e80663bb218d8498563b188bd SHA512 b9b0d36aa1c42f45434b839037f95201f20a1ac8e1c4a1ee4a646f49c85273038854540d36fca0ea3a9edc314431b410717331397d20a8d20c4bead78c060bbb -DIST go1.23.4.src.tar.gz 28177188 BLAKE2B 4702befb8bbf2d06ac2d10245420b01d77339d135eff62e2952e4bb160ed15d0d08c50c3049dbf080bc4bdc31a62d94f9808ee38779a2644499977cd6e659662 SHA512 5d1cce76b2cbdf628f86a1a8185a07f362becee053cb4270281520e77b36e3908faeaf5b2a6266e61dec9866dc1f3791f77e8dc1bf5f8beaf858c138d0e18c22 DIST go1.23.5.src.tar.gz 28179014 BLAKE2B 6fe6101054a0c10ce415aea65367a48ef8397c88d66bad01b7c72107a6c60daf0b9a47f7c1cd6c8da9855ab04309f25941cc867e6a9f90ac51d1ab0c54662313 SHA512 b04317afeab2d0ced7c36b8682dd32ac085d95d874cf3f614daa34859d7f7f2b75138132e7a64e237c6b4d711d5b03a4d20533f92a44840915630f4ea7cfafa2 diff --git a/dev-lang/go/go-1.22.10.ebuild b/dev-lang/go/go-1.22.10.ebuild deleted file mode 100644 index 7c04e5f93d0f.. --- a/dev-lang/go/go-1.22.10.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2024 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 program
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 6098117160a4185a3ebbff01322b0c6f72948452 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Jan 27 06:40:45 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Jan 27 06:40:45 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60981171 dev-lang/go: Stabilize 1.23.5 arm, #948231 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.23.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.5.ebuild b/dev-lang/go/go-1.23.5.ebuild index c613a8bf2214..7958019d7f93 100644 --- a/dev-lang/go/go-1.23.5.ebuild +++ b/dev-lang/go/go-1.23.5.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: 1c23e2f1ee40ec3bed8b3bc04b6735f92686e7f3 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Jan 27 06:40:45 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Jan 27 06:40:45 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c23e2f1 dev-lang/go: Stabilize 1.22.11 arm, #948231 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.22.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.22.11.ebuild b/dev-lang/go/go-1.22.11.ebuild index be6e281250fd..bd8a9171cf67 100644 --- a/dev-lang/go/go-1.22.11.ebuild +++ b/dev-lang/go/go-1.22.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: a4eb63c3786490097b16ed6ef8150d2b88742304 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 17 17:08:37 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 17 17:08:37 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4eb63c3 dev-lang/go: Stabilize 1.22.11 x86, #948231 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.22.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.22.11.ebuild b/dev-lang/go/go-1.22.11.ebuild index 2da8edbbd321..5eec042b2340 100644 --- a/dev-lang/go/go-1.22.11.ebuild +++ b/dev-lang/go/go-1.22.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: 420aa6c2e581504271aa791f344abecad66ff7c9 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 17 17:10:31 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 17 17:10:31 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=420aa6c2 dev-lang/go: Stabilize 1.23.5 arm64, #948231 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.23.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.5.ebuild b/dev-lang/go/go-1.23.5.ebuild index 73ce9602bfda..c613a8bf2214 100644 --- a/dev-lang/go/go-1.23.5.ebuild +++ b/dev-lang/go/go-1.23.5.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: d491be151fce913f1e79a8860659b65a8e2cac92 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 17 17:10:31 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 17 17:10:31 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d491be15 dev-lang/go: Stabilize 1.22.11 arm64, #948231 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.22.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.22.11.ebuild b/dev-lang/go/go-1.22.11.ebuild index 5eec042b2340..be6e281250fd 100644 --- a/dev-lang/go/go-1.22.11.ebuild +++ b/dev-lang/go/go-1.22.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: c8d06efd4096fd23cb3eab1a93ef2667a12f619d Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 17 17:08:37 2025 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 17 17:08:37 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8d06efd dev-lang/go: Stabilize 1.23.5 x86, #948231 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/go/go-1.23.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.5.ebuild b/dev-lang/go/go-1.23.5.ebuild index f091242a0236..73ce9602bfda 100644 --- a/dev-lang/go/go-1.23.5.ebuild +++ b/dev-lang/go/go-1.23.5.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: 241d2faef22bf43d5b799c7a35dcc1417b773a8a Author: William Hubbs gentoo org> AuthorDate: Fri Jan 17 16:23:04 2025 + Commit: William Hubbs gentoo org> CommitDate: Fri Jan 17 16:25:31 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=241d2fae dev-lang/go: stabilize 1.23.5 for amd64, #948231 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.23.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.5.ebuild b/dev-lang/go/go-1.23.5.ebuild index e82cfd61c7dc..f091242a0236 100644 --- a/dev-lang/go/go-1.23.5.ebuild +++ b/dev-lang/go/go-1.23.5.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: 4a69e60ca0573e57344fb8fb425f9601bc36a9a1 Author: William Hubbs gentoo org> AuthorDate: Fri Jan 17 16:20:41 2025 + Commit: William Hubbs gentoo org> CommitDate: Fri Jan 17 16:25:17 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a69e60c dev-lang/go: stabilize 1.22.11 for amd64, #948231 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.22.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.22.11.ebuild b/dev-lang/go/go-1.22.11.ebuild index b53bce26f1d4..2da8edbbd321 100644 --- a/dev-lang/go/go-1.22.11.ebuild +++ b/dev-lang/go/go-1.22.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: ab66ad514761838d495c0ca58cc456f3de994b1e Author: Sam James gentoo org> AuthorDate: Fri Jan 17 16:00:17 2025 + Commit: Sam James gentoo org> CommitDate: Fri Jan 17 16:11:08 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab66ad51 dev-lang/go: Stabilize 1.22.11 ppc64, #948231 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.22.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.22.11.ebuild b/dev-lang/go/go-1.22.11.ebuild index feb925aa1025..b53bce26f1d4 100644 --- a/dev-lang/go/go-1.22.11.ebuild +++ b/dev-lang/go/go-1.22.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: 9b9bcef3af38688d4a0ea05e410feaf111ab4ced Author: Sam James gentoo org> AuthorDate: Fri Jan 17 16:00:18 2025 + Commit: Sam James gentoo org> CommitDate: Fri Jan 17 16:11:09 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9bcef3 dev-lang/go: Stabilize 1.23.5 ppc64, #948231 Signed-off-by: Sam James gentoo.org> dev-lang/go/go-1.23.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.23.5.ebuild b/dev-lang/go/go-1.23.5.ebuild index d7759d1295dc..e82cfd61c7dc 100644 --- a/dev-lang/go/go-1.23.5.ebuild +++ b/dev-lang/go/go-1.23.5.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: b8ffe1b8c02db1ada140076f1eb21bd26f0d7c91 Author: William Hubbs gentoo org> AuthorDate: Fri Jan 17 14:04:08 2025 + Commit: William Hubbs gentoo org> CommitDate: Fri Jan 17 14:15:25 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8ffe1b8 dev-lang/go: add 1.22.11 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 + dev-lang/go/go-1.22.11.ebuild | 166 ++ 2 files changed, 167 insertions(+) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 1e7ae9832827..45214b67760c 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,4 +1,5 @@ DIST go1.22.10.src.tar.gz 27565306 BLAKE2B e2dd36c28c0e9cea1239afc139ef79d9b1a4a0f631d5e53b88518e36f0f669433edc1546c6a47f5d790b56da3be093aee7affa125c291f793e1a4bf0ad1cf827 SHA512 0ccf4a42a8bf40c94f21b014fea3ea002d46e8ecb1142be7444148c4937b3d10ce863fb5556f2c1a8f4b51d34d85efe16efa892255eeb4447108c44ac080ce13 +DIST go1.22.11.src.tar.gz 27565913 BLAKE2B d4b8f746846f0ba45307ecf732e035c2628483d59402f0868bc42a2fd1ae3447f61d9c3a6eacbc28b1f25e0b35b99ccf8831baeba4203601810b09267d8743f6 SHA512 40c133d6008df7c7cc3bb95a41c29f7442a6af2dd78b807007daf732471c88e2c641aed32878414d57be3904e5efa580d2ecd13fff5412ee668e753e50f1356e DIST go1.22.6.src.tar.gz 27561569 BLAKE2B 55ce88dc2039d68f14aea0792ed6a1b45c8e262aa73f76f852941aed12019318b3be7938c954fb7c03d7583f930f7a0e5164effc1ec10fc6d0fc282484390e49 SHA512 59f84ba390203271d9fe2d3f04624449d54d3bb73c2b6e54b5f7dc9e9e2dce2192bae07ef56a2afee871cff84d457b90f8a00f4433e072028b97af987f3799e1 DIST go1.22.7.src.tar.gz 27562038 BLAKE2B c4dd868ac6966029fd72e61d9c82ac26162f4eb26f77a3a6a7e8bc609223069c004786066ca66f24f4d595de1da4f4ee18b368f80ac94e832c8bd9edde407094 SHA512 60b37916e31c3482e8395580a29757971df5e1783dc13a9914261007e07aa8b1b9c1a0b874883e297903e16c7831117b8f814aeff0a0d4398948c97c9d73b73a DIST go1.22.9.src.tar.gz 27565135 BLAKE2B 14de2374ff196d19bc5c38852ee01813ef0a6d5178ada1cf58bd14822968fbc10ec98914402fa29eee95ae9cc408f66ad67cc60c3c97a9567776e612ae614202 SHA512 d9237212e82f6acb40685fdbe75f3e5c6a6340329c31a885e7f241a5868b5835052e90063db849a5960c8242da2971c55a3a3cab2c0e0e62754b8c33344887cf diff --git a/dev-lang/go/go-1.22.11.ebuild b/dev-lang/go/go-1.22.11.ebuild new file mode 100644 index ..feb925aa1025 --- /dev/null +++ b/dev-lang/go/go-1.22.11.ebuild @@ -0,0 +1,166 @@ +# 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-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 + + export GOROOT_FINAL="${EPREFIX}"/usr/lib/go + export GOROOT="${PWD}" + export
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 2e31f1c473b84737e825ee229e3bb5967414a8ca Author: William Hubbs gentoo org> AuthorDate: Fri Jan 17 14:13:23 2025 + Commit: William Hubbs gentoo org> CommitDate: Fri Jan 17 14:15:45 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e31f1c4 dev-lang/go: add 1.23.5 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 1 + dev-lang/go/go-1.23.5.ebuild | 162 +++ 2 files changed, 163 insertions(+) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 45214b67760c..12725ac71cd5 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -6,3 +6,4 @@ DIST go1.22.9.src.tar.gz 27565135 BLAKE2B 14de2374ff196d19bc5c38852ee01813ef0a6d DIST go1.23.1.src.tar.gz 28164249 BLAKE2B cabe5c50f2f674b53114e5bd692b6482143cda42fc36076b37b4644be0769c8325fe400d1646478d360697a3fba5f6e086b181eb68dfecbc325675be0af2f5ee SHA512 c1db053bab03c33b4ec4cbef6c8dfae279542cde433fdb787b564ccf797bb9ac6d191aae3152a860a9539956502f31003f746e924287040849afce5ccaaf0988 DIST go1.23.3.src.tar.gz 28173788 BLAKE2B 70b228c2163eb054186daff96ca017243f2b16a61f1117fe3dc3ca89bda65c626c5721bc213c377c58e4af2c631634f236211f0e80663bb218d8498563b188bd SHA512 b9b0d36aa1c42f45434b839037f95201f20a1ac8e1c4a1ee4a646f49c85273038854540d36fca0ea3a9edc314431b410717331397d20a8d20c4bead78c060bbb DIST go1.23.4.src.tar.gz 28177188 BLAKE2B 4702befb8bbf2d06ac2d10245420b01d77339d135eff62e2952e4bb160ed15d0d08c50c3049dbf080bc4bdc31a62d94f9808ee38779a2644499977cd6e659662 SHA512 5d1cce76b2cbdf628f86a1a8185a07f362becee053cb4270281520e77b36e3908faeaf5b2a6266e61dec9866dc1f3791f77e8dc1bf5f8beaf858c138d0e18c22 +DIST go1.23.5.src.tar.gz 28179014 BLAKE2B 6fe6101054a0c10ce415aea65367a48ef8397c88d66bad01b7c72107a6c60daf0b9a47f7c1cd6c8da9855ab04309f25941cc867e6a9f90ac51d1ab0c54662313 SHA512 b04317afeab2d0ced7c36b8682dd32ac085d95d874cf3f614daa34859d7f7f2b75138132e7a64e237c6b4d711d5b03a4d20533f92a44840915630f4ea7cfafa2 diff --git a/dev-lang/go/go-1.23.5.ebuild b/dev-lang/go/go-1.23.5.ebuild new file mode 100644 index ..d7759d1295dc --- /dev/null +++ b/dev-lang/go/go-1.23.5.ebuild @@ -0,0 +1,162 @@ +# 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-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) +
[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/
commit: 4b35fe54951302ef973b4803b73cd7da60c71b1f Author: William Hubbs gentoo org> AuthorDate: Thu Dec 26 17:35:31 2024 + Commit: William Hubbs gentoo org> CommitDate: Thu Dec 26 17:35:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b35fe54 dev-lang/go: drop 1.22.8, 1.23.2 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/Manifest | 2 - dev-lang/go/go-1.22.8.ebuild | 166 --- dev-lang/go/go-1.23.2.ebuild | 162 - 3 files changed, 330 deletions(-) diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index b9fd6c4a4a58..1e7ae9832827 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,9 +1,7 @@ DIST go1.22.10.src.tar.gz 27565306 BLAKE2B e2dd36c28c0e9cea1239afc139ef79d9b1a4a0f631d5e53b88518e36f0f669433edc1546c6a47f5d790b56da3be093aee7affa125c291f793e1a4bf0ad1cf827 SHA512 0ccf4a42a8bf40c94f21b014fea3ea002d46e8ecb1142be7444148c4937b3d10ce863fb5556f2c1a8f4b51d34d85efe16efa892255eeb4447108c44ac080ce13 DIST go1.22.6.src.tar.gz 27561569 BLAKE2B 55ce88dc2039d68f14aea0792ed6a1b45c8e262aa73f76f852941aed12019318b3be7938c954fb7c03d7583f930f7a0e5164effc1ec10fc6d0fc282484390e49 SHA512 59f84ba390203271d9fe2d3f04624449d54d3bb73c2b6e54b5f7dc9e9e2dce2192bae07ef56a2afee871cff84d457b90f8a00f4433e072028b97af987f3799e1 DIST go1.22.7.src.tar.gz 27562038 BLAKE2B c4dd868ac6966029fd72e61d9c82ac26162f4eb26f77a3a6a7e8bc609223069c004786066ca66f24f4d595de1da4f4ee18b368f80ac94e832c8bd9edde407094 SHA512 60b37916e31c3482e8395580a29757971df5e1783dc13a9914261007e07aa8b1b9c1a0b874883e297903e16c7831117b8f814aeff0a0d4398948c97c9d73b73a -DIST go1.22.8.src.tar.gz 27563052 BLAKE2B 8d39840275bf89ff5bef52f5eaccb266fed126246b1f850bb014eeb2b3171e9805bb3aaddd71fa122c0397a01126b8168e0e1dd037b8217708d62fbf91eb SHA512 ee63cdec73e63924449c56a5ea223a4ad05ec4839823591937889fb36052ebd34357f892a57193c6f697bf16cd9d8168e8fcb560472658b7b167c41b8557146f DIST go1.22.9.src.tar.gz 27565135 BLAKE2B 14de2374ff196d19bc5c38852ee01813ef0a6d5178ada1cf58bd14822968fbc10ec98914402fa29eee95ae9cc408f66ad67cc60c3c97a9567776e612ae614202 SHA512 d9237212e82f6acb40685fdbe75f3e5c6a6340329c31a885e7f241a5868b5835052e90063db849a5960c8242da2971c55a3a3cab2c0e0e62754b8c33344887cf DIST go1.23.1.src.tar.gz 28164249 BLAKE2B cabe5c50f2f674b53114e5bd692b6482143cda42fc36076b37b4644be0769c8325fe400d1646478d360697a3fba5f6e086b181eb68dfecbc325675be0af2f5ee SHA512 c1db053bab03c33b4ec4cbef6c8dfae279542cde433fdb787b564ccf797bb9ac6d191aae3152a860a9539956502f31003f746e924287040849afce5ccaaf0988 -DIST go1.23.2.src.tar.gz 28171276 BLAKE2B d97e6c974ac6a18bb3c6d3fe68448f7bbdb7f27be65c2ded0ad40132105702447ca652251d7594000a716bf34f102f5ff8e2e10f27591a2b222f8f463fb22716 SHA512 e4f9d17ed7888b89b6a72966f8681bbacb5b8bebb7959e530dc058d2fa94012d45067d1884eccd352a0fc8279e6814a932260a46140b65593679d28598bf4d5c DIST go1.23.3.src.tar.gz 28173788 BLAKE2B 70b228c2163eb054186daff96ca017243f2b16a61f1117fe3dc3ca89bda65c626c5721bc213c377c58e4af2c631634f236211f0e80663bb218d8498563b188bd SHA512 b9b0d36aa1c42f45434b839037f95201f20a1ac8e1c4a1ee4a646f49c85273038854540d36fca0ea3a9edc314431b410717331397d20a8d20c4bead78c060bbb DIST go1.23.4.src.tar.gz 28177188 BLAKE2B 4702befb8bbf2d06ac2d10245420b01d77339d135eff62e2952e4bb160ed15d0d08c50c3049dbf080bc4bdc31a62d94f9808ee38779a2644499977cd6e659662 SHA512 5d1cce76b2cbdf628f86a1a8185a07f362becee053cb4270281520e77b36e3908faeaf5b2a6266e61dec9866dc1f3791f77e8dc1bf5f8beaf858c138d0e18c22 diff --git a/dev-lang/go/go-1.22.8.ebuild b/dev-lang/go/go-1.22.8.ebuild deleted file mode 100644 index b16e86ae904f.. --- a/dev-lang/go/go-1.22.8.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2024 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' - -#