[Bug 2143295] [NEW] [FFE] Update golang-defaults to 1.25

Anshul Singh 2143295 at bugs.launchpad.net
Thu Mar 5 01:38:12 UTC 2026


Public bug reported:

## FFE ##

=========
Rationale
=========
This is a Feature Freeze Exception request to update `golang-defaults` from [Current Version] to [New Version] in Resolute Raccoon. 
golang-defaults in Ubuntu currently points to Go 1.25. Debian unstable uses Go 1.26 as its Go version.

This update is necessary because the newer version contains a lot of performance and security updates which our archive will benefit from. 
Upgrading the default Go compiler now ensures the Resolute archive is built against a fully supported, secure, and modern Go toolchain for the lifetime of the 26.04 LTS release.

================
Proposed Changes
================
- golang-defaults now points to golang-1.26 instead of golang-1.25, meaning
  that future Rust package builds will use Go 1.26 instead of 1.25.
  * The upstream Go team maintains a strict policy of backwards
    compatibility, meaning that any future rebuilds of packages are
    expected to work without issue.

================
seeded-in-ubuntu
================
$ seeded-in-ubuntu golang-defaults
golang-defaults's binaries are not seeded.

==========
PPA builds
==========
The package builds for all architectures in a PPA:
https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/golang-1.26-transition/+packages?field.name_filter=golang-defaults&field.status_filter=published&field.series_filter=

============
autopkgtests
============


==================
Additional testing
==================
Test rebuild of rdeps in ppa:
https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/golang-1.26-transition/+packages

Most of the remaining failures are either not regressions or packages
which are to be removed from the archive.

==============================
Installation and local testing
==============================
root at nami:~# add-apt-repository -y ppa:ubuntu-toolchain-r/golang-1.26-transition
[...]
root at nami:~# apt update && apt install -y golang
[...]
root at nami:~# go version
go version go1.26.0 linux/amd64
root at nami:~# mkdir hello && cd hello
root at nami:~/hello# go mod init hello
go: creating new go.mod: module hello
root at nami:~/hello# cat <<EOF > main.go
package main

import "fmt"

func main() {
    fmt.Println("Hello, world!")
}
EOF
root at nami:~/hello# go run .
Hello, world!
root at nami:~/hello# go build .
root at nami:~/hello# ./hello 
Hello, world!

** Affects: golang-defaults (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/2143295

Title:
  [FFE] Update golang-defaults to 1.25

Status in golang-defaults package in Ubuntu:
  New

Bug description:
  ## FFE ##

  =========
  Rationale
  =========
  This is a Feature Freeze Exception request to update `golang-defaults` from [Current Version] to [New Version] in Resolute Raccoon. 
  golang-defaults in Ubuntu currently points to Go 1.25. Debian unstable uses Go 1.26 as its Go version.

  This update is necessary because the newer version contains a lot of performance and security updates which our archive will benefit from. 
  Upgrading the default Go compiler now ensures the Resolute archive is built against a fully supported, secure, and modern Go toolchain for the lifetime of the 26.04 LTS release.

  ================
  Proposed Changes
  ================
  - golang-defaults now points to golang-1.26 instead of golang-1.25, meaning
    that future Rust package builds will use Go 1.26 instead of 1.25.
    * The upstream Go team maintains a strict policy of backwards
      compatibility, meaning that any future rebuilds of packages are
      expected to work without issue.

  ================
  seeded-in-ubuntu
  ================
  $ seeded-in-ubuntu golang-defaults
  golang-defaults's binaries are not seeded.

  ==========
  PPA builds
  ==========
  The package builds for all architectures in a PPA:
  https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/golang-1.26-transition/+packages?field.name_filter=golang-defaults&field.status_filter=published&field.series_filter=

  ============
  autopkgtests
  ============

  
  ==================
  Additional testing
  ==================
  Test rebuild of rdeps in ppa:
  https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/golang-1.26-transition/+packages

  Most of the remaining failures are either not regressions or packages
  which are to be removed from the archive.

  ==============================
  Installation and local testing
  ==============================
  root at nami:~# add-apt-repository -y ppa:ubuntu-toolchain-r/golang-1.26-transition
  [...]
  root at nami:~# apt update && apt install -y golang
  [...]
  root at nami:~# go version
  go version go1.26.0 linux/amd64
  root at nami:~# mkdir hello && cd hello
  root at nami:~/hello# go mod init hello
  go: creating new go.mod: module hello
  root at nami:~/hello# cat <<EOF > main.go
  package main

  import "fmt"

  func main() {
      fmt.Println("Hello, world!")
  }
  EOF
  root at nami:~/hello# go run .
  Hello, world!
  root at nami:~/hello# go build .
  root at nami:~/hello# ./hello 
  Hello, world!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-defaults/+bug/2143295/+subscriptions




More information about the foundations-bugs mailing list