Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] go: update to 1.20.
Date: Sat, 11 Feb 2023 20:07:56 +0100	[thread overview]
Message-ID: <20230211190756.DZ_IgzNdgUiTScia-le6OdHjnx2G39wt2r0JPmbjPiI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42038@inbox.vuxu.org>

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

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

https://github.com/paper42/void-packages go1.12
https://github.com/void-linux/void-packages/pull/42038

go: update to 1.20.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-go1.12-42038.patch --]
[-- Type: text/x-diff, Size: 6540 bytes --]

From b897c8cf7c8b1db4fb12a809496bb33e126be5f5 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 2 Feb 2023 19:20:37 +0100
Subject: [PATCH 1/3] New package: go1.17-bootstrap-1.17.13

---
 srcpkgs/go1.17-bootstrap/INSTALL.msg |  4 +++
 srcpkgs/go1.17-bootstrap/template    | 51 ++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
 create mode 100644 srcpkgs/go1.17-bootstrap/INSTALL.msg
 create mode 100644 srcpkgs/go1.17-bootstrap/template

diff --git a/srcpkgs/go1.17-bootstrap/INSTALL.msg b/srcpkgs/go1.17-bootstrap/INSTALL.msg
new file mode 100644
index 000000000000..142aeabbc1b1
--- /dev/null
+++ b/srcpkgs/go1.17-bootstrap/INSTALL.msg
@@ -0,0 +1,4 @@
+This is a copy of the official Go language toolchain binaries as provided by
+the project on its download page. Please do keep in mind that it is almost
+definitely not what you want to use and exists purely for the purpose of
+bootstrapping the official compiler package (called simply 'go').
diff --git a/srcpkgs/go1.17-bootstrap/template b/srcpkgs/go1.17-bootstrap/template
new file mode 100644
index 000000000000..555eb97f52e7
--- /dev/null
+++ b/srcpkgs/go1.17-bootstrap/template
@@ -0,0 +1,51 @@
+# Template file for 'go1.17-bootstrap'
+pkgname=go1.17-bootstrap
+version=1.17.13
+revision=1
+archs="x86_64* i686* armv[67]l* aarch64* ppc64le*"
+short_desc="Go 1.17 (bootstrap compiler)"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="BSD-3-Clause"
+homepage="https://golang.org"
+nostrip=yes
+noverifyrdeps=yes
+nocross=yes
+lib32disabled=yes
+repository=bootstrap
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	depends+=" gcompat"
+fi
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*)
+		_dist_arch="amd64"
+		checksum="4cdd2bc664724dc7db94ad51b503512c5ae7220951cac568120f64f8e94399fc"
+		;;
+	i686*)
+		_dist_arch="386"
+		checksum="5e02f35aecc6b89679f631e0edf12c49922dd31c8140cf8dd725c5797a9f2425"
+		;;
+	arm*)
+		_dist_arch="armv6l"
+		checksum="260431d7deeb8893c21e71fcbbb1fde3258616d8eba584c8d72060228ab42c86"
+		;;
+	aarch64*)
+		_dist_arch="arm64"
+		checksum="914daad3f011cc2014dea799bb7490442677e4ad6de0b2ac3ded6cee7e3f493d"
+		;;
+	ppc64le*)
+		_dist_arch="ppc64le"
+		checksum="bd0763fb130f8412672ffe1e4a8e65888ebe2419e5caa9a67ac21e8c298aa254"
+		;;
+esac
+
+distfiles="https://dl.google.com/go/go${version}.linux-${_dist_arch}.tar.gz"
+
+do_install() {
+	vmkdir usr/lib/go${version}
+	vcopy bin usr/lib/go${version}
+	vcopy src usr/lib/go${version}
+	vcopy pkg usr/lib/go${version}
+	vlicense LICENSE
+}

From fa343bb661a20435b1d0bd193ba46c20ed39af6e Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 1 Feb 2023 09:40:37 +0100
Subject: [PATCH 2/3] go: update to 1.20.

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

diff --git a/srcpkgs/go/template b/srcpkgs/go/template
index 029c00cc09e1..80469c3b6c43 100644
--- a/srcpkgs/go/template
+++ b/srcpkgs/go/template
@@ -1,10 +1,10 @@
 # Template file for 'go'
 pkgname=go
-version=1.19.5
+version=1.20
 revision=1
 create_wrksrc=yes
 build_wrksrc=go
-hostmakedepends="go1.12-bootstrap"
+hostmakedepends="go1.17-bootstrap"
 checkdepends="iana-etc clang gcc-fortran"
 short_desc="Go Programming Language"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
@@ -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=8e486e8e85a281fc5ce3f0bedc5b9d2dbf6276d7db0b25d3ec034f313da0375f
+checksum=3a29ff0421beaf6329292b8a46311c9fbf06c800077ceddef5fb7f8d5b1ace33
 nostrip=yes
 noverifyrdeps=yes
 # on CI it tries to use `git submodule`, which is not part of chroot-git
@@ -53,7 +53,7 @@ do_build() {
 	# dependency
 	unset CGO_CXXFLAGS CGO_ENABLED # CGO_CFLAGS
 
-	export GOROOT_BOOTSTRAP="/usr/lib/go1.12"
+	export GOROOT_BOOTSTRAP="/usr/lib/go1.17.13"
 	export GOROOT=$PWD
 	export GOROOT_FINAL="/usr/lib/go"
 	export GOARCH=${_goarch}

From bde3ffbe0ac6c7acaae59e5a47705ffe11669516 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 2 Feb 2023 19:19:31 +0100
Subject: [PATCH 3/3] go1.12-bootstrap: remove package

unused, go (1.20) now uses go1.17-bootstrap
---
 srcpkgs/go1.12-bootstrap/INSTALL.msg |  4 ---
 srcpkgs/go1.12-bootstrap/template    | 51 ----------------------------
 2 files changed, 55 deletions(-)
 delete mode 100644 srcpkgs/go1.12-bootstrap/INSTALL.msg
 delete mode 100644 srcpkgs/go1.12-bootstrap/template

diff --git a/srcpkgs/go1.12-bootstrap/INSTALL.msg b/srcpkgs/go1.12-bootstrap/INSTALL.msg
deleted file mode 100644
index 142aeabbc1b1..000000000000
--- a/srcpkgs/go1.12-bootstrap/INSTALL.msg
+++ /dev/null
@@ -1,4 +0,0 @@
-This is a copy of the official Go language toolchain binaries as provided by
-the project on its download page. Please do keep in mind that it is almost
-definitely not what you want to use and exists purely for the purpose of
-bootstrapping the official compiler package (called simply 'go').
diff --git a/srcpkgs/go1.12-bootstrap/template b/srcpkgs/go1.12-bootstrap/template
deleted file mode 100644
index 304d2053d041..000000000000
--- a/srcpkgs/go1.12-bootstrap/template
+++ /dev/null
@@ -1,51 +0,0 @@
-# Template file for 'go1.12-bootstrap'
-pkgname=go1.12-bootstrap
-version=1.12.17
-revision=2
-archs="x86_64* i686* armv[67]l* aarch64* ppc64le*"
-short_desc="Go 1.12 (bootstrap compiler)"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="BSD-3-Clause"
-homepage="https://golang.org"
-nostrip=yes
-noverifyrdeps=yes
-nocross=yes
-lib32disabled=yes
-repository=bootstrap
-
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
-	depends+=" gcompat"
-fi
-
-case "$XBPS_TARGET_MACHINE" in
-	x86_64*)
-		_dist_arch="amd64"
-		checksum="a53dd476129d496047487bfd53d021dd17e0c96895865a0e7d0469ce3db8c8d2"
-		;;
-	i686*)
-		_dist_arch="386"
-		checksum="e33fc10c0486b02a019f120996d77792d8f19aae8bfdda97350a622a65d6b824"
-		;;
-	arm*)
-		_dist_arch="armv6l"
-		checksum="a883c806fccb3eddb26da4a1a1f8536de863aee6807ed6c99606261877af7b99"
-		;;
-	aarch64*)
-		_dist_arch="arm64"
-		checksum="9d0819cce1451abdb090071880fe8771f16a3bcee71d6f6906023d17799574e2"
-		;;
-	ppc64le*)
-		_dist_arch="ppc64le"
-		checksum="dca4df132da7579c352bccd9d6f4ecb8d8d61893a84b0feffcee2bb4246114a3"
-		;;
-esac
-
-distfiles="https://dl.google.com/go/go${version}.linux-${_dist_arch}.tar.gz"
-
-do_install() {
-	vmkdir usr/lib/go1.12
-	vcopy bin usr/lib/go1.12
-	vcopy src usr/lib/go1.12
-	vcopy pkg usr/lib/go1.12
-	vlicense LICENSE
-}

  parent reply	other threads:[~2023-02-11 19:07 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-02 18:23 [PR PATCH] " paper42
2023-02-02 18:28 ` NyaaaWhatsUpDoc
2023-02-02 18:40 ` paper42
2023-02-02 18:40 ` [PR PATCH] [Updated] " paper42
2023-02-02 18:45 ` paper42
2023-02-02 18:51 ` paper42
2023-02-02 18:54 ` [PR PATCH] [Updated] " paper42
2023-02-02 18:54 ` paper42
2023-02-02 18:54 ` paper42
2023-02-02 18:56 ` paper42
2023-02-02 21:12 ` paper42
2023-02-02 21:30 ` paper42
2023-02-02 22:02 ` paper42
2023-02-03 16:23 ` unrealjo
2023-02-04 11:32 ` daniel-eys
2023-02-04 18:03 ` paper42
2023-02-04 18:08 ` [PR PATCH] [Updated] " paper42
2023-02-04 18:11 ` paper42
2023-02-04 18:12 ` paper42
2023-02-04 18:12 ` [PR PATCH] [Updated] " paper42
2023-02-08 21:10 ` paper42
2023-02-08 21:11 ` paper42
2023-02-08 21:12 ` paper42
2023-02-08 21:19 ` paper42
2023-02-08 21:19 ` paper42
2023-02-08 21:25 ` [PR PATCH] [Updated] " paper42
2023-02-08 21:27 ` paper42
2023-02-09 10:32 ` paper42
2023-02-09 13:27 ` paper42
2023-02-09 18:53 ` paper42
2023-02-09 19:34 ` paper42
2023-02-11 14:27 ` paper42
2023-02-11 18:56 ` paper42
2023-02-11 19:04 ` paper42
2023-02-11 19:07 ` paper42
2023-02-11 19:07 ` paper42 [this message]
2023-02-11 19:14 ` [PR PATCH] [Updated] " paper42
2023-02-11 19:14 ` paper42
2023-02-13 21:53 ` paper42
2023-02-14 20:45 ` [PR PATCH] [Updated] " paper42
2023-02-14 20:45 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230211190756.DZ_IgzNdgUiTScia-le6OdHjnx2G39wt2r0JPmbjPiI@z \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).