please transition to shared libraries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dh-golang (Ubuntu) |
Fix Released
|
High
|
Michael Hudson-Doyle | ||
golang-1.6 (Ubuntu) |
Fix Released
|
High
|
Michael Hudson-Doyle | ||
golang-defaults (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
juju-core (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
lxd (Ubuntu) |
Fix Released
|
Low
|
Michael Hudson-Doyle |
Bug Description
As part of the golang MIR (bug 1267393), golang 1.6 is going to gain shared library support and 1.6 has been targeted for the 16.04 release. The Ubuntu go maintainers (ie, Foundations and currently juju teams) committed to enabling shared library support by default for archive go builds with the option for people to opt into static builds. Currently we have a MIR process for golang packages that are statically compiled, but this process does not scale and once shared library support is available, the MIR team will require its use. This bug tracks that work.
The juju team committed to testing shared library support for 16.04 and defers on the decision to use shared libraries in juju-core for 16.04 until it can be thoroughly tested. If the testing results in instability, etc, the juju-core package will continue to be statically compiled for 16.04 and the juju team will work with the Ubuntu go maintainers to address issues so that juju-core will be built with shared library support in 16.10. This has MIR and security team approval.
Moving to shared library support was not yet discussed with the LXD team, but since they are a package in main they will need to adhere to the new MIR acceptance criteria after shared library support is available. The same concession should be made for LXD as for juju: please test shared library support with golang 1.6 and enable it if it is solid. If not, statically compile for 16.04 and work with the Ubuntu go maintainers to address issues so that LXD will be built with shared library support in 16.10.
Changed in lxd (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → ubuntu-16.04 |
assignee: | nobody → Stéphane Graber (stgraber) |
Changed in golang (Ubuntu): | |
assignee: | nobody → Michael Hudson-Doyle (mwhudson) |
Changed in dh-golang (Ubuntu): | |
importance: | Undecided → High |
Changed in golang (Ubuntu): | |
importance: | Undecided → High |
Changed in juju-core (Ubuntu): | |
importance: | Undecided → High |
affects: | golang (Ubuntu) → golang-1.6 (Ubuntu) |
Changed in lxd (Ubuntu): | |
milestone: | ubuntu-16.04 → ubuntu-16.10 |
tags: | added: block-proposed |
tags: | removed: block-proposed patch |
Changed in lxd (Ubuntu): | |
status: | Triaged → In Progress |
Changed in dh-golang (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in juju-core (Ubuntu): | |
status: | New → Confirmed |
Changed in lxd (Ubuntu): | |
assignee: | Stéphane Graber (stgraber) → nobody |
importance: | High → Low |
status: | In Progress → Triaged |
Changed in lxd (Ubuntu): | |
status: | In Progress → Fix Committed |
I'm attaching a debdiff for the golang package that builds the go standard library into a shared library, which is part 1 of this.