[Bug 1967425] [NEW] Backport golang 1.16 to Bionic
Lucas Kanashiro
1967425 at bugs.launchpad.net
Thu Mar 31 19:24:57 UTC 2022
Public bug reported:
[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:
export PATH:=/usr/lib/go-1.16/bin:${PATH}
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.
[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.
** Affects: golang-1.16 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.16 in Ubuntu.
https://bugs.launchpad.net/bugs/1967425
Title:
Backport golang 1.16 to Bionic
Status in golang-1.16 package in Ubuntu:
New
Bug description:
[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:
export PATH:=/usr/lib/go-1.16/bin:${PATH}
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.
[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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-1.16/+bug/1967425/+subscriptions
More information about the foundations-bugs
mailing list