xenial powerpc build failures golang dependency issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Local package build attempts on powerpc platform as well as cloud image builds for powerpc on Xenial were affected by inability to resolve correct golang dependencies. Allowing debian/control and package Makefiles to ignore building and packaging ubuntu-
[Test Plan]
1. Run sbuild --resolve-
/usr/lib/
dpkg-deb -c *powerpc.deb | grep hook # expect only apt-esm-hook
2. Upload to ppa:ua-
3. Ensure go APT hook is still built and included in binary package as
/usr/lib/
dpkg-deb -c *amd64.deb | grep hook # expect both apt-esm-hook & apt-esm-json-hook
4. Test functionality of go json hook on Xenial:
4a. get token from ubuntu.
4b. ua attach <token_from_4a>
4c ua disable esm-infra
4d apt upgrade # check output for esm-infra package updates available.
[Where problems could occur]
* This is a low risk update as most problems will occur at package build time.
* Accidental exclusion of /usr/lib/
"1 standard security update, 1 esm-infra update and 2 esm-apps updates"
* Without a packaged json hook, the message will be absent and no tracebacks or non-zero exits from APT
* [racb] Mutating the Build-Depends line could cause alternatives to be resolved differently on the buildds, resulting in toolchain changes that might result in different sets of build failures or different build output causing functional issues.
[Other Info]
[Original Description]
* Anything else you think is useful to include
* Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
* and address these questions in advance
ubuntu-
$ sbuild --resolve-
....
Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot
Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot
dpkg-deb: building package 'sbuild-
Ign:1 copy:/<
Get:2 copy:/<
Ign:3 copy:/<
Get:4 copy:/<
Get:5 copy:/<
Fetched 2003 B in 0s (9192 B/s)
Reading package lists...
Reading package lists...
Install main build dependencies (apt-based resolver)
-------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sbuild-
E: Unable to correct problems, you have held broken packages.
apt-get failed.
E: Package installation failed
...
missing:
pkg:
package: golang:powerpc
version: 2:1.6-1ubuntu4
architecture: all
essential: false
unsat-
depchains:
-
depchain:
-
package: sbuild-
version: 0.invalid.0
essential: false
depends: golang:powerpc
description: | updated |
Changed in ubuntu-advantage-tools (Ubuntu): | |
status: | New → Fix Committed |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in ubuntu-advantage-tools (Ubuntu Groovy): | |
status: | New → Fix Committed |
Changed in ubuntu-advantage-tools (Ubuntu Bionic): | |
status: | New → Fix Committed |
FYI: /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402510 /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402508 /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402513 /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402505 /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402502
an update on the latest set of MPs
X: https:/
B: https:/
F: https:/
G: https:/
H: https:/
^^ all of the above are just changelog stanza updates to the impish MP
I: https:/ /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402459