** Description changed:

  [Impact]
  
  To enable packages that are backported wholesale to all releases of
  Ubuntu (i.e. runc and docker.io) to stop depending on what is now a
  fairly ancient version of Go (some of them require at least Go 1.16), we
  are going to upload 1.16 to bionic (this version is in focal already).
  This is an unusual "SRU" but the plan has been concocted with the
  approval of the Ubuntu security team (who I will ask to comment here to
  confirm their acceptance of the plan).
  
  [Test Plan]
  
  A smoke test, like this:
  
  $ apt install golang-1.16-go
  $ PATH=/usr/lib/go-1.16/bin:$PATH
  $ go version
  < check it's 1.16 >
  $ cat > trivial.go
  package main
  func main() {}
  $ go run trivial.go
  $ cat > trivialcgo.go
  package main
  import "C"
  func main() {}
  $ go run trivialcgo.go
  
- Then we should verify that runc from Jammy builds with the golang-1.16
- in proposed, take the runc package, edit this line in debian/rules:
+ Then we should verify that runc/1.1.0-0ubuntu1~20.04.1 from Focal (in
+ unapproved queue at the moment) builds in Bionic with the golang-1.16 in
+ proposed, take the runc package (https://github.com/tianon/debian-
+ runc/tree/focal), add the following line to debian/rules:
  
- export PATH:=/usr/lib/go-1.16/bin:${PATH}
+ +export GO111MODULE := off
+ +export GOCACHE := $(CURDIR)/.cache
  
- to reference go-1.16 instead, edit the build-dependencies, and upload
- that to a PPA that has proposed enabled and check it builds everywhere.
+ Also add a new changelog entry with something like this:
+ 
+ $ dch -v 1.1.0-0ubuntu1~18.04.1 -D bionic -b "Backport to Bionic."
+ 
+ and upload that to a PPA that has bionic-proposed enabled and check it
+ builds everywhere.
  
  [Where problems could occur]
  
  It's a new package so should not impact any existing behavior. I'm not
  at all proposing to update the default version of Go in a stable
  release.

** Description changed:

  [Impact]
  
  To enable packages that are backported wholesale to all releases of
  Ubuntu (i.e. runc and docker.io) to stop depending on what is now a
  fairly ancient version of Go (some of them require at least Go 1.16), we
  are going to upload 1.16 to bionic (this version is in focal already).
  This is an unusual "SRU" but the plan has been concocted with the
  approval of the Ubuntu security team (who I will ask to comment here to
  confirm their acceptance of the plan).
  
  [Test Plan]
  
  A smoke test, like this:
  
  $ apt install golang-1.16-go
  $ PATH=/usr/lib/go-1.16/bin:$PATH
  $ go version
  < check it's 1.16 >
  $ cat > trivial.go
  package main
  func main() {}
  $ go run trivial.go
  $ cat > trivialcgo.go
  package main
  import "C"
  func main() {}
  $ go run trivialcgo.go
  
  Then we should verify that runc/1.1.0-0ubuntu1~20.04.1 from Focal (in
  unapproved queue at the moment) builds in Bionic with the golang-1.16 in
  proposed, take the runc package (https://github.com/tianon/debian-
  runc/tree/focal), add the following line to debian/rules:
  
  +export GO111MODULE := off
  +export GOCACHE := $(CURDIR)/.cache
  
  Also add a new changelog entry with something like this:
  
  $ dch -v 1.1.0-0ubuntu1~18.04.1 -D bionic -b "Backport to Bionic."
  
  and upload that to a PPA that has bionic-proposed enabled and check it
  builds everywhere.
  
  [Where problems could occur]
  
  It's a new package so should not impact any existing behavior. I'm not
  at all proposing to update the default version of Go in a stable
- release.
+ release. FWIW golang-1.16 is already co-installable with other golang
+ versions in other releases.

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

Title:
  Backport golang 1.16 to Bionic

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to