[Bug 1794395] Re: upload golang-1.10 1.10.4 to all supported releases of ubuntu

Michael Hudson-Doyle mwhudsonlp at fastmail.fm
Thu Oct 18 02:04:10 UTC 2018


Verification done on Xenial:

root at xenial:~# PATH=/usr/lib/go-1.10/bin:$PATH
root at xenial:~# go version
go version go1.10.4 linux/amd64
root at xenial:~# cat > trivial.go
package main
func main() {}
root at xenial:~# go run trivial.go
root at xenial:~# cat > trivialcgo.go
package main
import "C"
func main() {}
root at xenial:~# go run trivialcgo.go
root at xenial:~# 

and
https://launchpad.net/~mwhudson/+archive/ubuntu/devirt/+packages?field.name_filter=snapd&field.series_filter=xenial

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

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

Title:
  upload golang-1.10 1.10.4 to all supported releases of ubuntu

Status in golang-1.10 package in Ubuntu:
  Fix Released
Status in golang-1.10 source package in Trusty:
  Fix Committed
Status in golang-1.10 source package in Xenial:
  Fix Committed
Status in golang-1.10 source package in Bionic:
  Fix Released

Bug description:
  [impact]
  To enable packages that are backported wholesale to all releases of Ubuntu (i.e. snapd) to stop depending on what is now a fairly ancient version of Go, we are going to upload 1.10 (the version of Go in 18.04 LTS) to xenial and trusty as well. 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 case]
  A smoke test, like this:

  $ apt install golang-1.10-go
  $ PATH=/usr/lib/go-1.10/bin:$PATH
  $ go version
  < check it's 1.10 >
  $ 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 snapd builds with the golang-1.10 in
  proposed take the snapd packaging for each distro series, edit this
  line in debian/rules:

  export PATH:=/usr/lib/go-1.6/bin:${PATH}

  to reference go-1.10 instead, edit the build-dependencies, and upload
  that to a PPA that has proposed enabled and check it builds
  everywhere.

  [regression potential]
  It's a new package so should not impact any existing behaviour. I'm not at all proposing to update the default version of Go in a stable release.

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



More information about the foundations-bugs mailing list