Public bug reported: [Feature Freeze Exception] Go 1.27 transition regression fixes
SUMMARY ======= The default Go compiler has been switched to 1.27 (golang-defaults 2:1.27~0ubuntu1, MP 509678, LP: #2164597). In preparation for this, all reverse-build-dependencies of golang-defaults were test-rebuilt against Go 1.27 in ppa:levihackerman-102/1.27-transition well ahead of the switch. A number of packages need small, targeted fixes to build/pass their test suites under Go 1.27. All of these are already uploaded to the PPA and verified GREEN there (per-arch details and exceptions noted in the copy table below and in the MP description). We request an FFe to copy these packages from the PPA to stonking with the listed next archive versions. PACKAGES TO COPY FROM THE PPA ============================= | Source package | Next archive version | Fix summary | |---|---|---| | golang-github-klauspost-compress | 1.19.0+ds1-1ubuntu1 | go1.27 stdlib zlib ExampleNewWriter golden; unblocks ~42 rdeps | | golang-github-json-iterator-go | 1.1.12-2ubuntu1 | skip stdlib-compat tests diverged by go1.27; unblocks ~15 rdeps | | golang-k8s-sigs-json | 0.0~git20241014.cfa47c3-1ubuntu1 | keyed literals (UnmarshalTypeError gained a field) | | golang-starlark | 0.0~git20240725.42030a7-1ubuntu1 | testdata golden: raw U+FFFD + new escape error text | | golang-github-dvsekhvalnov-jose2go | 1.9-1ubuntu1 | flate size drift golden 32→28 | | golang-github-smallstep-crypto | 0.85.0-1ubuntu1 | cherry-pick upstream v0.86.0 (ecdsa digest-len + CSR field) | | golang-github-cactus-mlog | 1.0.10-1ubuntu1 | emit raw U+FFFD (invalid UTF-8) | | golang-github-xo-tblfmt | 0.15.1-1ubuntu1 | emit raw U+FFFD via utf8.EncodeRune | | golang-k8s-sigs-yaml | 1.4.0-2ubuntu1 | golden → raw U+FFFD | | golang-k8s-kube-openapi | 0.0~git20241212.2c72e55-3ubuntu1 | golden v1 → raw U+FFFD | | golang-k8s-apimachinery | 0.33.4-2ubuntu1 | golden ×2 → raw U+FFFD | | golang-github-wader-gojq | 0.0~git20231105.2b6d9e2-1ubuntu1 | streaming EOF golden fixture | | golang-github-openzipkin-zipkin-go | 0.4.3-1ubuntu1 | golden: pointer receiver type in MarshalJSON errors | | golang-github-google-go-github | 60.0.0-1ubuntu1 | golden: unmarshal field-path prefix ×3 | | golang-github-powerman-check | 1.13.0-1ubuntu1 | jsontext.Value golden + substring | | golang-github-tidwall-gjson | 1.17.1-1ubuntu1 | emit raw U+FFFD | | golang-github-launchdarkly-go-test-helpers | 3.0.2-1ubuntu1 | reorder type switch (RawMessage Stringer) | | golang-github-googleapis-gax-go | 2.14.1-2ubuntu1 | use Decoder.More() (end-of-array) | | golang-github-gorilla-handlers | 1.5.2-1ubuntu1 | flate size drift golden len | | golang-github-ant0ine-go-json-rest | 3.3.2-3ubuntu1 | flate +1 byte golden | | golang-github-protonmail-gopenpgp | 2.10.0-1ubuntu1 | flate larger for small input golden | | golang-github-peterbourgon-diskv | 3.0.0-2ubuntu1 | BestSpeed stores near-incompressible; deterministic test data | | panicparse | 2.5.0-1ubuntu1 | nested-closure naming golden | | golang-github-optiopay-kafka | 2.1.1-1ubuntu1 | gzip framing golden bytes | | golang-github-shopify-sarama | 1.22.1-1build1ubuntu1 | gzip framing golden bytes | | gojq | 0.12.13-1build1ubuntu1 | streaming EOF golden fixture | | golang-github-azure-go-autorest | 14.2.0+git20220726.711dde1-1ubuntu1 | TeeReader truncation (archived upstream) | | golang-github-azure-azure-sdk-for-go | 68.0.0+git20231220.f497335+dfsg1-5ubuntu1 | RawMessage alias golden (regexp accepts both) | | golang-github-go-logr-logr | 1.4.3-1ubuntu1 | skip self-format switch for RawMessage | | golang-github-frankban-quicktest | 1.14.6-1ubuntu1 | golden: pointer-type + Stringer | | golang-github-go-quicktest-qt | 1.101.0-2ubuntu1 | golden: pointer-type + Stringer | | delve | 1.27.1-2ubuntu1 | Debian 1.27.1-2 (upstream 1.27.1 incl. f1f9d0a1 + d716866a46) + FIXED ppc64le skips (Debian 0011 never fires; + TestCgoStacktrace ppc64le, delve#4423) | | ubuntu-report | 1.7.3ubuntu5 | symbols: allow threadentry (rc3 c-shared export) | | ubuntu-insights | 1.0.0ubuntu1 | symbols: allow threadentry (rc3 c-shared export) | | golang-honnef-go-tools | 2026.2~rc1-0ubuntu1 | new upstream rc (go1.27 support) + skip 2 vendored x/tools tests + GO111MODULE env typo fix (go-tools#1733) + vendored classify_call synced to x/tools 0.49 | | golang-github-go-git-go-git | 5.19.1-1ubuntu1 | accept both zlib empty-block encodings + 34/35B deflate size drift (3 test spots) | | golang-github-tetratelabs-wazero | 1.12.0-1ubuntu1 | cherry-pick upstream c6d3455 (wazero#2527): go1.27 debug/dwarf.New nil return broke source offsets | Blocked trio (code-verified, resolve at joint migration): snowflake (arrow-go Build-Depends), stargz-snapshotter (upstream footer fix 0398955aa5), containers-common — these sit in the otel-contrib/grpc and containerd 2.x dep clusters and will land as part of that migration. KNOWN EXCEPTIONS (pre-existing, NOT Go 1.27 regressions) ========================================================= * delve 1.27.1-2ubuntu1: riscv64 build fails — delve has no riscv64 backend (fails identically under go1.26 in the archive). * wazero 1.12.0-1ubuntu1: ppc64el fails — pre-existing (also armhf; engine unsupported arches, fails under go1.26 too). * dop251-goja, bingo: RC-version-string artifacts, self-resolve when the toolchain goes final (no action). * receptor test_tcp_control_service_tls: buildd-env-sensitive python TLS test, exonerated from Go 1.27 (LXC A/B identical under go1.26.5/rc3). UPSTREAM ENGAGEMENT =================== * wazero/wazero#2526 -> fixed upstream PR #2527 (cherry-picked) * dominikh/go-tools#1733 (GO111MODULE env typo) * go-delve/delve#4423 (ppc64le; Debian skip corrected, answered maintainer) * snapcore/snapd PR #17472 (json test patterns) RISK ASSESSMENT =============== * All changes are minimal test/build fixes (golden-output updates, test skips for toolchain-diverged cases, one upstream cherry-pick each for delve/wazero/honnef). No functional changes to shipped binaries beyond what rebuilding with the new default toolchain already implies. * Every listed version is verified green in the PPA against the same golang-1.27 the archive now has. * The copy-list mirrors the MP description (verified in parity). References: * MP: https://code.launchpad.net/~levihackerman-102/ubuntu/+source/golang-defaults/+git/golang-defaults/+merge/509678 * LP: #2164597 (Go 1.27 transition tracker) ** Affects: delve (Ubuntu) Importance: Undecided Status: New ** Affects: gojq (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-ant0ine-go-json-rest (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-azure-azure-sdk-for-go (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-azure-go-autorest (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-cactus-mlog (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-dvsekhvalnov-jose2go (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-frankban-quicktest (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-go-git-go-git (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-go-logr-logr (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-go-quicktest-qt (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-google-go-github (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-googleapis-gax-go (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-gorilla-handlers (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-json-iterator-go (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-klauspost-compress (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-launchdarkly-go-test-helpers (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-openzipkin-zipkin-go (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-optiopay-kafka (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-peterbourgon-diskv (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-powerman-check (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-protonmail-gopenpgp (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-shopify-sarama (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-smallstep-crypto (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-tetratelabs-wazero (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-tidwall-gjson (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-wader-gojq (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-xo-tblfmt (Ubuntu) Importance: Undecided Status: New ** Affects: golang-honnef-go-tools (Ubuntu) Importance: Undecided Status: New ** Affects: golang-k8s-apimachinery (Ubuntu) Importance: Undecided Status: New ** Affects: golang-k8s-kube-openapi (Ubuntu) Importance: Undecided Status: New ** Affects: golang-k8s-sigs-json (Ubuntu) Importance: Undecided Status: New ** Affects: golang-k8s-sigs-yaml (Ubuntu) Importance: Undecided Status: New ** Affects: golang-starlark (Ubuntu) Importance: Undecided Status: New ** Affects: panicparse (Ubuntu) Importance: Undecided Status: New ** Affects: ubuntu-insights (Ubuntu) Importance: Undecided Status: New ** Affects: ubuntu-report (Ubuntu) Importance: Undecided Status: New ** Tags: go1.27 transition upgrade-software-version -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2164619 Title: [FFe] Go 1.27 transition: regression fixes for reverse-build- dependencies To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/delve/+bug/2164619/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
