[Bug 1794395] Re: upload golang-1.10 1.10.4 to all supported releases of ubuntu
Michael Hudson-Doyle
mwhudsonlp at fastmail.fm
Sun Oct 14 23:58:37 UTC 2018
snapd built successfully with the golang-1.10 from bionic-proposed here:
https://launchpad.net/~mwhudson/+archive/ubuntu/devirt/+packages?field.name_filter=snapd&field.status_filter=published&field.series_filter=bionic
I ran through the smoke test as well:
mwhudson at ringil:/tmp$ PATH=/usr/lib/go-1.10/bin:$PATH
mwhudson at ringil:/tmp$ go version
go version go1.10.4 linux/amd64
mwhudson at ringil:/tmp$ cat > trivial.go
package main
func main() {}
mwhudson at ringil:/tmp$ go run trivial.go
mwhudson at ringil:/tmp$ cat > trivialcgo.go
package main
import "C"
func main() {}
mwhudson at ringil:/tmp$ go run trivialcgo.go
mwhudson at ringil:/tmp$ dpkg -l golang-1.10-go
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-=====================-=====================-=====================================================================
ii golang-1.10-go 1.10.4-2ubuntu1~18.04 amd64 Go programming language compiler, linker, compiled stdlib
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done-bionic
--
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:
New
Status in golang-1.10 source package in Xenial:
New
Status in golang-1.10 source package in Bionic:
Fix Committed
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