[pkg-golang-devel] putting the go version in the package names

Michael Hudson-Doyle michael.hudson at canonical.com
Wed Mar 16 01:14:35 UTC 2016


>>> What sort of testing can I do of this? I guess installing all the
>>> gccgo versions in a container, adding my ppa, and checking they all
>>> get removed when I upgrade the golang-go package?
>>
>>
>> yes, that sounds fine.
>
> OK. Once I've done this, are you happy to upload all the packages
> referenced in https://bugs.launchpad.net/ubuntu/+source/golang/+bug/1555856
> ? Or should I bug someone else about that?

I've done some of this testing now, and it seems to work. I installed
golang, gccgo-6 and gccgo-5 from the archive, enabled my ppa and then:

root at golang-coinst-test:~# apt-get install golang
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  cpp-5 g++-5 gcc-5 gcc-5-base gcc-6-base gccgo-5 gccgo-6 golang-1.6
golang-1.6-doc golang-1.6-go golang-1.6-src golang-doc golang-go
golang-src libasan2 libatomic1 libcc1-0
  libcilkrts5 libgcc-5-dev libgcc1 libgo7 libgo9 libgomp1 libitm1
liblsan0 libmpx0 libquadmath0 libstdc++-5-dev libstdc++6 libtsan0
libubsan0
Suggested packages:
  gcc-5-locales g++-5-multilib gcc-5-doc libstdc++6-5-dbg
gcc-5-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg
libasan2-dbg liblsan0-dbg libtsan0-dbg
  libubsan0-dbg libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg
gccgo-5-doc libgo7-dbg gccgo-6-doc libgo9-dbg bzr mercurial subversion
libstdc++-5-doc
The following NEW packages will be installed:
  golang-1.6 golang-1.6-doc golang-1.6-go golang-1.6-src
The following packages will be upgraded:
  cpp-5 g++-5 gcc-5 gcc-5-base gcc-6-base gccgo-5 gccgo-6 golang
golang-doc golang-go golang-src libasan2 libatomic1 libcc1-0
libcilkrts5 libgcc-5-dev libgcc1 libgo7 libgo9
  libgomp1 libitm1 liblsan0 libmpx0 libquadmath0 libstdc++-5-dev
libstdc++6 libtsan0 libubsan0
28 upgraded, 4 newly installed, 0 to remove and 5 not upgraded.
Need to get 246 MB of archives.
After this operation, 794 kB disk space will be freed.

which looks right to me -- upgrading golang causing the gccgo stuff to
be upgraded too.

The full log of the upgrade is at http://paste.ubuntu.com/15398878/ --
these messages

dpkg: warning: unable to delete old directory
'/usr/share/go/src/runtime/race': Directory not empty
dpkg: warning: unable to delete old directory
'/usr/share/go/src/runtime': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/go/src':
Directory not empty

are unrelated (https://bugs.launchpad.net/ubuntu/+source/golang-race-detector-runtime/+bug/1554401,
fixed in the golang-1.6-race-detector-runtime package in my ppa).

So *I* think they're ready but of course I can't upload them. (I'll
also look at making packages suitable for Debian soon).

Cheers,
mwh



More information about the pkg-golang-devel mailing list