Skip to content

go 1.27rc2, go@1.26 1.26.5 (new formula)#288803

Draft
stefanb wants to merge 5 commits into
mainfrom
go1.27
Draft

go 1.27rc2, go@1.26 1.26.5 (new formula)#288803
stefanb wants to merge 5 commits into
mainfrom
go1.27

Conversation

@stefanb

@stefanb stefanb commented Jun 19, 2026

Copy link
Copy Markdown
Member

Announcements:

Release notes:

Go 1.27 milestone: GitHub milestone details (release blockers, commits, PRs)

Go release dashboard: https://dev.golang.org/release

Downloads: https://go.dev/dl/

Related/similar previous major releases:

Builds:

Problematic formulae

Test failure - Needs revision bump

Build failure due to bug in Go 1.27

Build failure internal compiler error: bad live variable

Build failure undefined: http2.TrailerPrefix in google.golang.org/grpc module

Upstream:

Fixable by either

  • upgrading golang.org/x/net module to v0.55.0 or later,
  • adding go build -tags=http2legacy, or
  • upgrading google.golang.org/grpc release to >= 1.83.0 (or maybe even >=1.82.2) once available

Formulae issues:

Formula reports different checksum

Gitea unstable checksum:

Others

Build failure undefined: json.SkipFunc / undefined: json.DiscardUnknownMembers

Caused by github.com/go-json-experiment/json module being incompatible with Go 1.27's new stdlib encoding/json/v2. All macOS arm64. Upstream:

Formulae:

  • dagu (2.7.17) build failure: go-json-experiment/json alias.go:618:21: undefined: json.SkipFunc / alias.go:957:14: undefined: json.DiscardUnknownMembers
  • sing-box (1.13.14) build failure: go-json-experiment/json alias.go:618:21: undefined: json.SkipFunc / alias.go:957:14: undefined: json.DiscardUnknownMembers — all macOS arm64
  • trivy (0.71.2) build failure: github.com/aquasecurity/trivy pkg/x/json/json.go:109:16: undefined: json.SkipFunc Cannot build with `go install` with 1.27rc2 aquasecurity/trivy#10897
  • vuls (0.39.3) build failure: undefined: json.SkipFunc (transitive dep on trivy)

Build failure undefined: checkMapABI in github.com/pingcap/tidb

Build failure undefined: hashFn / getRuntimeHasher / fastrand64 in cockroachdb/swiss

Uses Go build flags to not work in untested Go 1.27. Upstream: https://github.com/cockroachdb/swiss

Formulae:

  • ipget (0.13.1) build failure: cockroachdb/swiss map.go:286:7: undefined: hashFn / map.go:337:14: undefined: getRuntimeHasher / map.go:338:22: undefined: fastrand64
  • kubo (0.42.0) build failure: cockroachdb/swiss map.go: undefined: hashFn, getRuntimeHasher, fastrand64
  • plakar (1.1.4) build failure: cockroachdb/swiss map.go: undefined: hashFn, getRuntimeHasher, fastrand64
  • pomerium (0.32.9) build failure: cockroachdb/swiss map.go: undefined: hashFn, getRuntimeHasher, fastrand64

Build failure link: invalid reference to runtime.nanotime1

Go 1.27 removed/renamed runtime.nanotime1. Needs upstream tailscale.com/tstime/mono update. All macOS arm64.

  • coder (2.34.5) build failure: link: tailscale.com/tstime/mono: invalid reference to runtime.nanotime1
  • tailscale (1.98.8) build failure: ./build_dist.sh shellvars exited with 1

Runtime panic

panic: crypto: RegisterHash of unknown hash function

in https://go.dev/src/crypto/crypto.go#:~:text=crypto%3A%20RegisterHash%20of%20unknown%20hash%20function

  • cloudfoundry-cli (8.18.3) test failure: panic: crypto: RegisterHash of unknown hash function — all macOS arm64

panic: strcase.UnicodeVersion "15.0.0" != unicode.Version "17.0.0"

Needs rebuild with updated strcase module matching Go 1.27's Unicode 17.0.0 tables, pending

Formulae:

panic: jsontext: invalid nil io.Reader

  • grpcurl (1.9.3) test failure: panic: jsontext: invalid nil io.Reader — all macOS arm64

Go 1.27 internal error — package "X" without types was imported

  • anubis (1.25.0) build failure: stringer: internal error: package "errors" without types was imported from "github.com/TecharoHQ/anubis/internal/dnsbl" — all macOS arm64
  • go-critic (0.14.3) test failure: internal error: package "fmt" without types was imported from "command-line-arguments" — all macOS arm64 + Linux x86_64/arm64 chore: update goStdlib to go1.27 go-critic/go-critic#1530 go-critic 0.14.4 #289713
  • tfproviderlint (0.31.0_1) test failure: internal error: package "log" without types was imported from "github.com/russellcardullo/terraform-provider-pingdom/pingdom" — all macOS arm64 + Linux x86_64/arm64

Go 1.27 runtime analysis failure

  • go-size-analyzer (1.13.0) test failure: the length of module data section is to big: address 0x50f490, base 0x50f490, length 0xffffffffffaf6e10 — Linux x86_64/arm64 only
  • xgo (1.7.2) test failure: panic: runtime error: invalid memory address or nil pointer dereference in gogen.(*Package).ForEachFile — all macOS arm64 + Linux x86_64/arm64

Various other build failures

  • argo (4.0.7) build failure: panic in k8s.io/code-generator deepcopy-gen — macOS 15 arm64
  • checkmake (0.3.2) build failure: golangci-lint goconst 27 issues — all macOS arm64
  • envoy (1.39.0) build failure: Target //source/exe:envoy-static.stripped failed to build — macOS 15 arm64 only
  • ffmate (2.0.18) build failure: ERR_PNPM_IGNORED_BUILDS — all macOS arm64
  • grafana (13.1.0) build failure: running dsymutil failed: exit status 1 — macOS 15/26 arm64
  • parca (0.28.0) build failure: ERR_PNPM_LOCKFILE_CONFIG_MISMATCH — all macOS arm64
  • syncthing (2.1.2) build failure: runtime go1.27rc2 not found in compat.yaml — all macOS arm64
  • terracognita (0.8.4) build failure: no space left on device — macOS 15 arm64 only (CI environment issue)

Test failure

Test failure — assertion mismatch (needs test fix)

  • fdroidcl (0.8.1) test failure: Expected [...] to include "Games" — F-Droid removed "Games" category: fdroidcl: fix test #292773
  • glider (0.16.4) test failure: Expected /The Missing Package Manager for macOS (or Linux)/ — brew.sh tagline changed to "The Package Manager for Everywhere": glider: test fix #292780
  • granted (0.39.0) test failure: Expected /Required flags "name, url" not set/mkdir .config/granted: no such file or directory — all macOS arm64
  • jprq (2.4) test failure: Expected /authentication failed/jprq is now invite-only service: jprq: fix test #292815
  • plow (1.4.0) test failure: Expected /2xx/ → httpbin.org returned 5xx — macOS 14 arm64
  • q (0.19.12) test failure: Expected /ns: ns1.dnsimple.com./ → DNS now returns ns1.dnsimple-edge.com. — all macOS arm64 q: fix test #294231

GitHub API rate limit (CI environment issue)

  • github-release (0.11.0) test failure: API rate limit exceeded — macOS 14/26 arm64
  • pinact (4.1.0) test failure: 403 API rate limit exceeded — macOS 14 arm64 only

External resource unavailable (CI environment issue)

  • amass (5.1.1) test failure: Failed to create a session with the Amass engine: status=500 Internal Server Error — all macOS arm64
  • netdata (2.10.3_1) test failure: CLAIM: cannot load cloud config — all macOS arm64
  • restish (2.2.0) test failure: 503 Service Temporarily Unavailable — macOS 15/26 arm64
  • squealer (1.2.12) test failure: fatal: could not read Username for 'https://github.com': terminal prompts disabled — all macOS arm64
  • wormhole-william (1.0.8) test failure: dial ws://relay.magic-wormhole.io:4000/v1: connection refused — all macOS arm64
  • xeol (0.10.8) test failure: the eol database was built 1 year ago (max allowed age is 12 weeks) — macOS 14/15 arm64

Failed to download resource (404/403)


  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>?
  • Is your test running fine brew test <formula>?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

@stefanb stefanb added in progress Stale bot should stay away prerelease-testing Pull request from upstream, testing a pre-release with homebrew dependencies CI-skip-recursive-dependents [DEPRECATED] Pass --skip-recursive-dependents to brew test-bot. CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. CI-build-dependents-from-source Pass --build-dependents-from-source to brew test-bot. CI-no-fail-fast-deps Continue dependent tests despite failing GitHub Actions matrix tests. long dependent tests Set a long timeout for dependent testing labels Jun 19, 2026
@github-actions github-actions Bot added automerge-skip `brew pr-automerge` will skip this pull request new formula PR adds a new formula to Homebrew/homebrew-core alias labels Jun 19, 2026
stefanb added a commit to stefanb/dolt that referenced this pull request Jul 11, 2026
Go 1.27 change:
* golang/go#60746
* golang/go#67810

$ go1.27rc1 build -v ./cmd/dolt
google.golang.org/grpc/internal/transport
# google.golang.org/grpc/internal/transport
../../../../go/pkg/mod/google.golang.org/grpc@v1.79.3/internal/transport/handler_server.go:271:18: undefined: http2.TrailerPrefix

$ go get golang.org/x/net@v0.55.0 && go mod tidy
go: upgraded golang.org/x/net v0.54.0 => v0.55.0

$ go1.27rc1 build -v ./cmd/dolt

Found in
* Homebrew/homebrew-core#288803
@stefanb stefanb changed the title go 1.27rc1, go@1.26 1.26.4 (new formula) go 1.27rc2, go@1.26 1.26.5 (new formula) Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

alias automerge-skip `brew pr-automerge` will skip this pull request CI-build-dependents-from-source Pass --build-dependents-from-source to brew test-bot. CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. CI-no-fail-fast-deps Continue dependent tests despite failing GitHub Actions matrix tests. CI-skip-recursive-dependents [DEPRECATED] Pass --skip-recursive-dependents to brew test-bot. in progress Stale bot should stay away long dependent tests Set a long timeout for dependent testing new formula PR adds a new formula to Homebrew/homebrew-core prerelease-testing Pull request from upstream, testing a pre-release with homebrew dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant