[Bug 1595021] [NEW] Backport dh-golang 1.13 to trusty
Michael Hudson-Doyle
michael.hudson+lp at canonical.com
Wed Jun 22 02:46:30 UTC 2016
Public bug reported:
[Impact]
We want to backport docker and related packages to Trusty. The dh-golang in trusty is too old and lacks features used by the packages we want to backport (particularly the support for the DH_GOLANG_BUILDPKG and DH_GOLANG_EXCLUDES variables to control which packages are built, but also the support for reading the Go import path from the control file).
dh-golang is up to version 1.18 in sid/yakkety now but that causes 1
package (ngrok) in trusty to ftbfs. 1.13 seems to be a sweet spot in
terms of having features and fixes we need but not breaking any packages
in trusty.
[Test case]
In fact, there is already a package in trusty that uses tries to use the newer features and has a bug as a result: golang-logrus builds an _all golang-logrus-dev package that contains a i386 binary:
mwhudson at aeglos:~/tmp$ lintian golang-logrus-dev_0.7.3-1~ubuntu0.14.04.1_all.deb
E: golang-logrus-dev: arch-independent-package-contains-binary-or-object usr/bin/basic
So a test case would be to rebuild this package and see if this lintian
error goes away.
[Regression potential]
There is obviously some potential for regressions here, but I've rebuilt all reverse dependencies of dh-golang in trusty twice, once with the version of dh-golang in trusty:
https://launchpad.net/~mwhudson/+archive/ubuntu/trusty-go-rebuilds
and once with a backport of dh-golang 1.13:
https://launchpad.net/~mwhudson/+archive/ubuntu/trusty-go-rebuilds-
dh-golang-2
I debmirror-ed both PPAs and compared the results (with find and
debdiff). Apart from fixing the above bug in golang-logrus, the only
differences are in golang-doozer, golang-openldap, and golang-
goprotobuf-dev and are down to the fact that dh-golang now by default
includes .proto, .c and .s files in -dev packages. This is at worst
harmless and quite possibly would make the packages more useful.
** Affects: dh-golang (Ubuntu)
Importance: Undecided
Status: Invalid
** Affects: dh-golang (Ubuntu Trusty)
Importance: Undecided
Assignee: Michael Hudson-Doyle (mwhudson)
Status: In Progress
** Also affects: dh-golang (Ubuntu Trusty)
Importance: Undecided
Status: New
** Changed in: dh-golang (Ubuntu)
Status: New => Invalid
** Changed in: dh-golang (Ubuntu Trusty)
Status: New => In Progress
** Changed in: dh-golang (Ubuntu Trusty)
Assignee: (unassigned) => Michael Hudson-Doyle (mwhudson)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dh-golang in Ubuntu.
https://bugs.launchpad.net/bugs/1595021
Title:
Backport dh-golang 1.13 to trusty
Status in dh-golang package in Ubuntu:
Invalid
Status in dh-golang source package in Trusty:
In Progress
Bug description:
[Impact]
We want to backport docker and related packages to Trusty. The dh-golang in trusty is too old and lacks features used by the packages we want to backport (particularly the support for the DH_GOLANG_BUILDPKG and DH_GOLANG_EXCLUDES variables to control which packages are built, but also the support for reading the Go import path from the control file).
dh-golang is up to version 1.18 in sid/yakkety now but that causes 1
package (ngrok) in trusty to ftbfs. 1.13 seems to be a sweet spot in
terms of having features and fixes we need but not breaking any
packages in trusty.
[Test case]
In fact, there is already a package in trusty that uses tries to use the newer features and has a bug as a result: golang-logrus builds an _all golang-logrus-dev package that contains a i386 binary:
mwhudson at aeglos:~/tmp$ lintian golang-logrus-dev_0.7.3-1~ubuntu0.14.04.1_all.deb
E: golang-logrus-dev: arch-independent-package-contains-binary-or-object usr/bin/basic
So a test case would be to rebuild this package and see if this
lintian error goes away.
[Regression potential]
There is obviously some potential for regressions here, but I've rebuilt all reverse dependencies of dh-golang in trusty twice, once with the version of dh-golang in trusty:
https://launchpad.net/~mwhudson/+archive/ubuntu/trusty-go-rebuilds
and once with a backport of dh-golang 1.13:
https://launchpad.net/~mwhudson/+archive/ubuntu/trusty-go-
rebuilds-dh-golang-2
I debmirror-ed both PPAs and compared the results (with find and
debdiff). Apart from fixing the above bug in golang-logrus, the only
differences are in golang-doozer, golang-openldap, and golang-
goprotobuf-dev and are down to the fact that dh-golang now by default
includes .proto, .c and .s files in -dev packages. This is at worst
harmless and quite possibly would make the packages more useful.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-golang/+bug/1595021/+subscriptions
More information about the foundations-bugs
mailing list