* [PR PATCH] go: update to 1.16
@ 2021-02-25 15:38 endigma
2021-02-25 15:46 ` FollieHiyuki
` (2 more replies)
0 siblings, 3 replies; 17+ messages in thread
From: endigma @ 2021-02-25 15:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
There is a new pull request by endigma against master on the void-packages repository
https://github.com/endigma/void-packages patch-2
https://github.com/void-linux/void-packages/pull/29054
go: update to 1.16
A patch file from https://github.com/void-linux/void-packages/pull/29054.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-2-29054.patch --]
[-- Type: text/x-diff, Size: 915 bytes --]
From 1ce96d7216ca6f4ea3d399a98c8e5b8f9f3d969a Mon Sep 17 00:00:00 2001
From: endigma <endigmamc@gmail.com>
Date: Thu, 25 Feb 2021 11:36:52 -0400
Subject: [PATCH] go: update to 1.16
---
srcpkgs/go/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/go/template b/srcpkgs/go/template
index 186575b0676..6c21c781cec 100644
--- a/srcpkgs/go/template
+++ b/srcpkgs/go/template
@@ -1,6 +1,6 @@
# Template file for 'go'
pkgname=go
-version=1.15.8
+version=1.16
revision=1
create_wrksrc=yes
build_wrksrc=go
@@ -10,7 +10,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://golang.org/"
distfiles="https://golang.org/dl/go${version}.src.tar.gz"
-checksum=540c0ab7781084d124991321ed1458e479982de94454a98afab6acadf38497c2
+checksum=7688063d55656105898f323d90a79a39c378d86fe89ae192eb3b7fc46347c95a
nostrip=yes
noverifyrdeps=yes
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PR PATCH] go: update to 1.16
@ 2021-02-24 13:05 saqfish
2021-02-24 13:06 ` FollieHiyuki
0 siblings, 1 reply; 17+ messages in thread
From: saqfish @ 2021-02-24 13:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 724 bytes --]
There is a new pull request by saqfish against master on the void-packages repository
https://github.com/saqfish/void-packages go
https://github.com/void-linux/void-packages/pull/29026
go: update to 1.16
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
A patch file from https://github.com/void-linux/void-packages/pull/29026.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-go-29026.patch --]
[-- Type: text/x-diff, Size: 913 bytes --]
From 2fdb3f5190ed30eb6a14873f376c243b2d509a56 Mon Sep 17 00:00:00 2001
From: saqfish <saqfish@gmail.com>
Date: Wed, 24 Feb 2021 07:02:23 -0600
Subject: [PATCH] go: update to 1.16
---
srcpkgs/go/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/go/template b/srcpkgs/go/template
index 186575b0676..6c21c781cec 100644
--- a/srcpkgs/go/template
+++ b/srcpkgs/go/template
@@ -1,6 +1,6 @@
# Template file for 'go'
pkgname=go
-version=1.15.8
+version=1.16
revision=1
create_wrksrc=yes
build_wrksrc=go
@@ -10,7 +10,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://golang.org/"
distfiles="https://golang.org/dl/go${version}.src.tar.gz"
-checksum=540c0ab7781084d124991321ed1458e479982de94454a98afab6acadf38497c2
+checksum=7688063d55656105898f323d90a79a39c378d86fe89ae192eb3b7fc46347c95a
nostrip=yes
noverifyrdeps=yes
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PR PATCH] go: update to 1.16
@ 2021-02-17 18:49 4ricci
2021-02-17 21:36 ` the-maldridge
` (11 more replies)
0 siblings, 12 replies; 17+ messages in thread
From: 4ricci @ 2021-02-17 18:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2084 bytes --]
There is a new pull request by 4ricci against master on the void-packages repository
https://github.com/4ricci/void-packages go
https://github.com/void-linux/void-packages/pull/28825
go: update to 1.16
<!-- Mark items with [x] where applicable -->
Tested on x86_64-glibc.
According to the release notes, this version no more supports x87 on the 386 arch, but only SSE2 and softfloat. I think SSE2 was the default even in older releases.
Since Void's i686 port must not require SSE2, we should both export `GO386=softfloat` when building the compiler (if needed) and set it as the default for the package. I don't know how to do it however. Setting it in `do_build()` makes the build fail.
Also, `GO111MODULE` now defaults to `on` instead of `auto`. Should we provide an INSTALL.msg?
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/28825.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-go-28825.patch --]
[-- Type: text/x-diff, Size: 1011 bytes --]
From b9e5b9cd345495ee7b4684738c2da277f9feacae Mon Sep 17 00:00:00 2001
From: Roberto Ricci <ricci@disroot.org>
Date: Wed, 17 Feb 2021 10:23:09 +0100
Subject: [PATCH] go: update to 1.16
---
srcpkgs/go/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/go/template b/srcpkgs/go/template
index 186575b0676..20781ce682d 100644
--- a/srcpkgs/go/template
+++ b/srcpkgs/go/template
@@ -1,6 +1,6 @@
# Template file for 'go'
pkgname=go
-version=1.15.8
+version=1.16
revision=1
create_wrksrc=yes
build_wrksrc=go
@@ -9,8 +9,9 @@ short_desc="Go Programming Language"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://golang.org/"
+changelog="https://golang.org/doc/devel/release.html"
distfiles="https://golang.org/dl/go${version}.src.tar.gz"
-checksum=540c0ab7781084d124991321ed1458e479982de94454a98afab6acadf38497c2
+checksum=7688063d55656105898f323d90a79a39c378d86fe89ae192eb3b7fc46347c95a
nostrip=yes
noverifyrdeps=yes
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
@ 2021-02-17 21:36 ` the-maldridge
2021-02-18 16:32 ` 4ricci
` (10 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: the-maldridge @ 2021-02-17 21:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
New comment by the-maldridge on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-780870153
Comment:
INSTALL.msg is reserved for thing that will break your system if you don't attend to them (think sshd updates that require immediate restart). Since this is just a compiler, we should not ship an installer message for it. The build_style though should be updated to remove the now obsolete variables.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
2021-02-17 21:36 ` the-maldridge
@ 2021-02-18 16:32 ` 4ricci
2021-02-18 17:18 ` Chocimier
` (9 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: 4ricci @ 2021-02-18 16:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
New comment by 4ricci on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-781470555
Comment:
Sorry, but I'm not sure about what should be changed. The build style seems to work fine. Which variables are obsolete?
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
2021-02-17 21:36 ` the-maldridge
2021-02-18 16:32 ` 4ricci
@ 2021-02-18 17:18 ` Chocimier
2021-02-18 17:31 ` 4ricci
` (8 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Chocimier @ 2021-02-18 17:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-781502744
Comment:
Void i686 does require SSE2: https://github.com/void-linux/void-packages/issues/21486 , https://docs.voidlinux.org/installation/index.html
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
` (2 preceding siblings ...)
2021-02-18 17:18 ` Chocimier
@ 2021-02-18 17:31 ` 4ricci
2021-02-19 5:18 ` the-maldridge
` (7 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: 4ricci @ 2021-02-18 17:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
New comment by 4ricci on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-781511499
Comment:
> Void i686 does require SSE2: #21486 , https://docs.voidlinux.org/installation/index.html
I remember reading somewhere that Void i686 was without SSE2, but apparently I'm wrong. Well, better that way.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
` (3 preceding siblings ...)
2021-02-18 17:31 ` 4ricci
@ 2021-02-19 5:18 ` the-maldridge
2021-02-19 16:15 ` 4ricci
` (6 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: the-maldridge @ 2021-02-19 5:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
New comment by the-maldridge on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-781828607
Comment:
@4ricci its not entirely clear to me if the `GOPATH` is still in use. If it is not, then the configuration logic in `common/build-style/go.sh` should be removed.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
` (4 preceding siblings ...)
2021-02-19 5:18 ` the-maldridge
@ 2021-02-19 16:15 ` 4ricci
2021-02-20 6:40 ` ericonr
` (5 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: 4ricci @ 2021-02-19 16:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
New comment by 4ricci on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-782176506
Comment:
`GOPATH` mode is still supported but now it's not enabled by default. Almost all of our packages use modules, but some use `GOPATH`, so it can't be removed from the build style.
Theese few packages need `GO111MODULE=off` (or `=auto`). For instance, `keybase` does not build with go-1.16 and the current build style (I didn't notice this before).
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
` (5 preceding siblings ...)
2021-02-19 16:15 ` 4ricci
@ 2021-02-20 6:40 ` ericonr
2021-02-20 6:57 ` the-maldridge
` (4 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: ericonr @ 2021-02-20 6:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-782572720
Comment:
`vmdfmt` will probably fail to build as well.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
` (6 preceding siblings ...)
2021-02-20 6:40 ` ericonr
@ 2021-02-20 6:57 ` the-maldridge
2021-02-24 4:09 ` ericonr
` (3 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: the-maldridge @ 2021-02-20 6:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
New comment by the-maldridge on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-782574832
Comment:
vmdfmt is a disaster zone, I'm not convinced that we need to hold the release on it.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
` (7 preceding siblings ...)
2021-02-20 6:57 ` the-maldridge
@ 2021-02-24 4:09 ` ericonr
2021-03-01 11:30 ` ernierasta
` (2 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: ericonr @ 2021-02-24 4:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 899 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-784740352
Comment:
So, Go 1.16 seems to be behaving very weirdly
See https://gist.github.com/Foxboron/94163c11a2c43ab523d3bc5597e4c49d
And from IRC:
```
2021-02-23 12:01:55 ericonr Foxboron: what exactly am I looking at? are the results different just because of the command you used?
2021-02-23 12:02:03 Foxboron ericonr: Yes
2021-02-23 12:02:43 Foxboron ericonr: It's intended. -buildmode=pie uses another codepath that doesn't always include cgo. That introduces a 2 year old bug nobody has figured out where sometimes Go decides to not include CGO even if requested.
2021-02-23 12:03:01 Foxboron The workaround is to always use -ldflags=-extldflags. But you can't win that fight with GOFLAGS since the parser is broken
```
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
` (8 preceding siblings ...)
2021-02-24 4:09 ` ericonr
@ 2021-03-01 11:30 ` ernierasta
2021-03-01 11:32 ` the-maldridge
2021-03-15 9:20 ` kaey
11 siblings, 0 replies; 17+ messages in thread
From: ernierasta @ 2021-03-01 11:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
New comment by ernierasta on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-787877733
Comment:
Hi! Any news on that? I would love to have 1.16 in repo. ;-)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
` (9 preceding siblings ...)
2021-03-01 11:30 ` ernierasta
@ 2021-03-01 11:32 ` the-maldridge
2021-03-15 9:20 ` kaey
11 siblings, 0 replies; 17+ messages in thread
From: the-maldridge @ 2021-03-01 11:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 269 bytes --]
New comment by the-maldridge on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-787878622
Comment:
Resources are spread a bit thin right now with the gear up for the openssl rebuild. Your patience is greatly appreciated.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: go: update to 1.16
2021-02-17 18:49 [PR PATCH] " 4ricci
` (10 preceding siblings ...)
2021-03-01 11:32 ` the-maldridge
@ 2021-03-15 9:20 ` kaey
11 siblings, 0 replies; 17+ messages in thread
From: kaey @ 2021-03-15 9:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
New comment by kaey on void-packages repository
https://github.com/void-linux/void-packages/pull/28825#issuecomment-799257479
Comment:
> So, Go 1.16 seems to be behaving very weirdly
>
> See https://gist.github.com/Foxboron/94163c11a2c43ab523d3bc5597e4c49d
>
> And from IRC:
>
> ```
> 2021-02-23 12:01:55 ericonr Foxboron: what exactly am I looking at? are the results different just because of the command you used?
> 2021-02-23 12:02:03 Foxboron ericonr: Yes
> 2021-02-23 12:02:43 Foxboron ericonr: It's intended. -buildmode=pie uses another codepath that doesn't always include cgo. That introduces a 2 year old bug nobody has figured out where sometimes Go decides to not include CGO even if requested.
> 2021-02-23 12:03:01 Foxboron The workaround is to always use -ldflags=-extldflags. But you can't win that fight with GOFLAGS since the parser is broken
> ```
`ldflags` in this example are incorrect. it should be `-ldflags=all=-linkmode=external`.
In any case FORTIFY_SOURCE is completely useless for pure go binaries (which fzf is) and RELRO is useless (IIUC) for static binaries, which is again true for pure go binaries.
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2021-03-15 9:20 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 15:38 [PR PATCH] go: update to 1.16 endigma
2021-02-25 15:46 ` FollieHiyuki
2021-02-25 15:46 ` endigma
2021-02-25 15:46 ` [PR PATCH] [Closed]: " endigma
-- strict thread matches above, loose matches on Subject: below --
2021-02-24 13:05 [PR PATCH] " saqfish
2021-02-24 13:06 ` FollieHiyuki
2021-02-17 18:49 [PR PATCH] " 4ricci
2021-02-17 21:36 ` the-maldridge
2021-02-18 16:32 ` 4ricci
2021-02-18 17:18 ` Chocimier
2021-02-18 17:31 ` 4ricci
2021-02-19 5:18 ` the-maldridge
2021-02-19 16:15 ` 4ricci
2021-02-20 6:40 ` ericonr
2021-02-20 6:57 ` the-maldridge
2021-02-24 4:09 ` ericonr
2021-03-01 11:30 ` ernierasta
2021-03-01 11:32 ` the-maldridge
2021-03-15 9:20 ` kaey
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).