Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] go: update to 1.21.5.
@ 2023-12-07 10:16 g4s8
  2023-12-07 14:57 ` dkwo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: g4s8 @ 2023-12-07 10:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

There is a new pull request by g4s8 against master on the void-packages repository

https://github.com/g4s8/void-packages go-1.21.5
https://github.com/void-linux/void-packages/pull/47633

go: update to 1.21.5.
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, (amd64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - i686
  - armv7l
  - aarch64

--------------------------------------------

### CHANGELOG

go1.21.5 (released 2023-12-05) includes security fixes to the go command, and the `net/http` and `path/filepath` packages, as well as bug fixes to the compiler, the go command, the runtime, and the crypto/rand, net, os, and syscall packages. See the [Go 1.21.5 milestone](https://github.com/golang/go/issues?q=milestone%3AGo1.21.5+label%3ACherryPickApproved) on our issue tracker for details.

See: https://go.dev/doc/devel/release#go1.21.minor


A patch file from https://github.com/void-linux/void-packages/pull/47633.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-go-1.21.5-47633.patch --]
[-- Type: text/x-diff, Size: 983 bytes --]

From bab3a8f36cac3f2f002eab6e907e8df5bf0e1a3b Mon Sep 17 00:00:00 2001
From: Kirill <g4s8.public@gmail.com>
Date: Thu, 7 Dec 2023 14:11:38 +0400
Subject: [PATCH] go: update to 1.21.5.

---
 srcpkgs/go/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/go/template b/srcpkgs/go/template
index 8e14f7d49a485..7bb7a8bb590a9 100644
--- a/srcpkgs/go/template
+++ b/srcpkgs/go/template
@@ -1,6 +1,6 @@
 # Template file for 'go'
 pkgname=go
-version=1.21.4
+version=1.21.5
 revision=1
 create_wrksrc=yes
 build_wrksrc=go
@@ -12,7 +12,7 @@ license="BSD-3-Clause"
 homepage="https://go.dev/"
 changelog="https://go.dev/doc/devel/release.html"
 distfiles="https://go.dev/dl/go${version}.src.tar.gz"
-checksum=47b26a83d2b65a3c1c1bcace273b69bee49a7a7b5168a7604ded3d26a37bd787
+checksum=285cbbdf4b6e6e62ed58f370f3f6d8c30825d6e56c5853c66d3c23bcdb09db19
 nostrip=yes
 noverifyrdeps=yes
 # on CI it tries to use `git submodule`, which is not part of chroot-git

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: go: update to 1.21.5.
  2023-12-07 10:16 [PR PATCH] go: update to 1.21.5 g4s8
@ 2023-12-07 14:57 ` dkwo
  2023-12-10  0:43 ` [PR PATCH] [Updated] " classabbyamp
  2023-12-10  0:50 ` [PR PATCH] [Merged]: " classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: dkwo @ 2023-12-07 14:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/47633#issuecomment-1845497054

Comment:
see https://github.com/void-linux/void-packages/pull/46958 (it was suggested to apply it at next go release)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] go: update to 1.21.5.
  2023-12-07 10:16 [PR PATCH] go: update to 1.21.5 g4s8
  2023-12-07 14:57 ` dkwo
@ 2023-12-10  0:43 ` classabbyamp
  2023-12-10  0:50 ` [PR PATCH] [Merged]: " classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2023-12-10  0:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/g4s8/void-packages go-1.21.5
https://github.com/void-linux/void-packages/pull/47633

go: update to 1.21.5.
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, (amd64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - i686
  - armv7l
  - aarch64

--------------------------------------------

### CHANGELOG

go1.21.5 (released 2023-12-05) includes security fixes to the go command, and the `net/http` and `path/filepath` packages, as well as bug fixes to the compiler, the go command, the runtime, and the crypto/rand, net, os, and syscall packages. See the [Go 1.21.5 milestone](https://github.com/golang/go/issues?q=milestone%3AGo1.21.5+label%3ACherryPickApproved) on our issue tracker for details.

See: https://go.dev/doc/devel/release#go1.21.minor


A patch file from https://github.com/void-linux/void-packages/pull/47633.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-go-1.21.5-47633.patch --]
[-- Type: text/x-diff, Size: 2575 bytes --]

From 12ba34db794cdecb37f03a70f7f437aab32f7d45 Mon Sep 17 00:00:00 2001
From: Kirill <g4s8.public@gmail.com>
Date: Thu, 7 Dec 2023 14:11:38 +0400
Subject: [PATCH] go: update to 1.21.5.

fixes #46717

Co-authored-by: dkwo <nicolopiazzalunga@gmail.com>
---
 srcpkgs/go/template | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/go/template b/srcpkgs/go/template
index 8e14f7d49a485..a5892ddbaeefc 100644
--- a/srcpkgs/go/template
+++ b/srcpkgs/go/template
@@ -1,6 +1,6 @@
 # Template file for 'go'
 pkgname=go
-version=1.21.4
+version=1.21.5
 revision=1
 create_wrksrc=yes
 build_wrksrc=go
@@ -12,20 +12,26 @@ license="BSD-3-Clause"
 homepage="https://go.dev/"
 changelog="https://go.dev/doc/devel/release.html"
 distfiles="https://go.dev/dl/go${version}.src.tar.gz"
-checksum=47b26a83d2b65a3c1c1bcace273b69bee49a7a7b5168a7604ded3d26a37bd787
+checksum=285cbbdf4b6e6e62ed58f370f3f6d8c30825d6e56c5853c66d3c23bcdb09db19
 nostrip=yes
 noverifyrdeps=yes
 # on CI it tries to use `git submodule`, which is not part of chroot-git
 make_check=ci-skip
 
+# keep in sync with common/environment/build-style/go.sh
 case "${XBPS_TARGET_MACHINE}" in
-	aarch64*) _goarch=arm64 ;;
-	arm*) _goarch=arm ;;
-	i686*) _goarch=386 ;;
-	x86_64*) _goarch=amd64 ;;
-	ppc64le*) _goarch=ppc64le ;;
-	mips*) _goarch=mips ;;
-	riscv64*) _goarch=riscv64 ;;
+	aarch64*) export GOARCH=arm64 ;;
+	armv5*) export GOARCH=arm; export GOARM=5 ;;
+	armv6*) export GOARCH=arm; export GOARM=6 ;;
+	armv7*) export GOARCH=arm; export GOARM=7 ;;
+	i686*) export GOARCH=386 ;;
+	x86_64*) export GOARCH=amd64 ;;
+	ppc64le*) export GOARCH=ppc64le ;;
+	ppc64*) export GOARCH=ppc64 ;;
+	ppc*) export GOARCH=ppc ;;
+	mipsel*) export GOARCH=mipsle ;;
+	mips*) export GOARCH=mips ;;
+	riscv64*) export GOARCH=riscv64 ;;
 	*) broken="Unsupported architecture ${XBPS_TARGET_MACHINE}" ;;
 esac
 
@@ -56,7 +62,6 @@ do_build() {
 
 	export GOROOT_BOOTSTRAP="/usr/lib/go1.17.13"
 	export GOROOT=$PWD
-	export GOARCH=${_goarch}
 
 	cd "src"
 
@@ -76,7 +81,7 @@ do_install() {
 	local bindir
 
 	if [ "$CROSS_BUILD" ]; then
-		bindir=bin/linux_${_goarch}
+		bindir=bin/linux_${GOARCH}
 	else
 		bindir=bin
 	fi
@@ -85,7 +90,7 @@ do_install() {
 	vmkdir usr/lib/go
 	vmkdir usr/lib/go/bin
 	vmkdir usr/share/go
-	cp -d --preserve=all ${bindir}/* ${DESTDIR}/usr/lib/go/bin || true
+	cp -d --preserve=all ${bindir}/* ${DESTDIR}/usr/lib/go/bin
 	cp -a pkg src lib ${DESTDIR}/usr/lib/go
 	cp -r doc misc -t ${DESTDIR}/usr/share/go
 	ln -s /usr/share/go/doc ${DESTDIR}/usr/lib/go/doc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: go: update to 1.21.5.
  2023-12-07 10:16 [PR PATCH] go: update to 1.21.5 g4s8
  2023-12-07 14:57 ` dkwo
  2023-12-10  0:43 ` [PR PATCH] [Updated] " classabbyamp
@ 2023-12-10  0:50 ` classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2023-12-10  0:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

There's a merged pull request on the void-packages repository

go: update to 1.21.5.
https://github.com/void-linux/void-packages/pull/47633

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, (amd64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - i686
  - armv7l
  - aarch64

--------------------------------------------

### CHANGELOG

go1.21.5 (released 2023-12-05) includes security fixes to the go command, and the `net/http` and `path/filepath` packages, as well as bug fixes to the compiler, the go command, the runtime, and the crypto/rand, net, os, and syscall packages. See the [Go 1.21.5 milestone](https://github.com/golang/go/issues?q=milestone%3AGo1.21.5+label%3ACherryPickApproved) on our issue tracker for details.

See: https://go.dev/doc/devel/release#go1.21.minor


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-10  0:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-07 10:16 [PR PATCH] go: update to 1.21.5 g4s8
2023-12-07 14:57 ` dkwo
2023-12-10  0:43 ` [PR PATCH] [Updated] " classabbyamp
2023-12-10  0:50 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).