Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: provide macOS downloads for Go 1.18.1 #52317

Closed
dmitshur opened this issue Apr 13, 2022 · 11 comments
Closed

all: provide macOS downloads for Go 1.18.1 #52317

dmitshur opened this issue Apr 13, 2022 · 11 comments
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. Soon This needs to be done soon. (regressions, serious bugs, outages)
Milestone

Comments

@dmitshur
Copy link
Contributor

dmitshur commented Apr 13, 2022

Updated Status

This issue has been resolved, and macOS binaries are available at https://go.dev/dl/.


The Go 1.18.1 release does not have macOS binaries available for download at https://go.dev/dl/ at this time. This is a known issue, and we are working on making those binaries available as soon as possible.

This is the tracking issue.

Until this is resolved, it's possible in the meantime to build Go 1.18.1 on macOS from source code or via the gotip command. If you can wait for this issue to be resolved, it'll become possible to download Go 1.18.1 macOS binaries as usual.

CC @cherrymui, @golang/release.

@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. Soon This needs to be done soon. (regressions, serious bugs, outages) labels Apr 13, 2022
@dmitshur dmitshur added this to the Go1.18.1 milestone Apr 13, 2022
@dmitshur dmitshur self-assigned this Apr 13, 2022
@dmitshur dmitshur pinned this issue Apr 13, 2022
@ghostsquad
Copy link

ghostsquad commented Apr 13, 2022

I tried to download 1.18.1 & unzip/untar from:

download_url="https://dl.google.com/go/go${version}.${platform}-${arch}.tar.gz"

on macOs, and received

tar: Error opening archive: Unrecognized archive format

Will that problem be solved at the same time that this is resolved?

@dmitshur
Copy link
Contributor Author

@ghostsquad Yes. What you're describing will work after this issue is fixed.

@amnonbc
Copy link

amnonbc commented Apr 13, 2022

Quite a lot of devs are using macs, and I imagine many are tripping up on the missing binaires.

So unless a fix is imminent, it might be worth adding
some text to https://go.dev/dl/ saying something on the lines of

"The mac binaries are missing right now. (This is a known issue +link to issue).
We are hoping to get it fixed by DD/MM/YYYY. If you are a mac user, then best to carry on using 1.18
till then (link to 1.18 mac installers for AMD and arm). If you can't wait, then you can install from source
+link in build from source instructions"

@alexellis
Copy link

I also had this issue this morning and it's really confusing.

Here's my workaround:

# Intel
curl -SL https://go.dev/dl/go1.18.darwin-amd64.pkg -o go1.18.darwin-amd64.pkg

# M1
curl -SL https://go.dev/dl/go1.18.darwin-amd64.pkg -o go1.18.darwin-arm64.pkg

Then open filename to install.

@amnonbc
Copy link

amnonbc commented Apr 13, 2022

I also had this issue this morning and it's really confusing.

Here's my workaround:

# Intel
curl -SL https://go.dev/dl/go1.18.darwin-amd64.pkg -o go1.18.darwin-amd64.pkg

# M1
curl -SL https://go.dev/dl/go1.18.darwin-amd64.pkg -o go1.18.darwin-arm64.pkg

Then open filename to install.

That will give you the 1.18 version from a few weeks ago.

Another option of mac users is to run brew install golang
which will install go 1.18.1

@ericvn
Copy link

ericvn commented Apr 13, 2022

Another option of mac users is to run brew install golang which will install go 1.18.1

Just remember to uninstall a normally installed version as that will override what brew installs. Check with go version to make sure what you are running.

@alexellis
Copy link

alexellis commented Apr 13, 2022

That will give you the 1.18 version from a few weeks ago.

Correct, however there's currently no download listed at all for Go 1.18 for Darwin, so at least you'll get something that you can use at work if you've adopted Go 1.18 features already and are blocked (like I was)

Screenshot 2022-04-13 at 14 12 25

@nezorflame
Copy link

nezorflame commented Apr 13, 2022

@alexellis it's there in the Archived versions section, since all previous releases go there:

sh

@alexellis
Copy link

Good to know. I couldn't find this when I looked 👍 or perhaps it could be more obvious

@amnonbc
Copy link

amnonbc commented Apr 13, 2022

Good to know. I couldn't find this when I looked 👍 or perhaps it could be more obvious

Generally we want everyone to be using the latest release.
So we normally would not want to make it easier for people to find older versions.
Today is an exception.

@dmitshur
Copy link
Contributor Author

We were able to resolve this problem by now, and all macOS downloads for Go 1.18.1 are available at https://go.dev/dl/ as usual, both for darwin/amd64 and darwin/arm64 ports.

Sorry for the trouble this delay caused, and thanks to everyone for your patience. We needed this extra time to resolve a problem in our release pipeline. There's ongoing work to improve our release process to minimize the chance of such occurrences in the future (for example, see #40279 for one of the high-level tracking issues).

I'm closing this since the issue is resolved, and will also unpin it after some time passes.

@dmitshur dmitshur added the Builders x/build issues (builders, bots, dashboards) label Apr 13, 2022
@heschi heschi unpinned this issue Apr 14, 2022
@golang golang locked and limited conversation to collaborators Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. Soon This needs to be done soon. (regressions, serious bugs, outages)
Projects
None yet
Development

No branches or pull requests

7 participants