27.0 package build failures focal riscv64 architecture
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
Fix Released
|
Undecided
|
Grant Orndorff | ||
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
|
Grant Orndorff |
Bug Description
[Impact]
* Local package build attempts on riscv64 platform as well as cloud image builds for riscv64 on Hirsute 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-
confirm package build success and does not include golang dependencies or
/usr/lib/
dpkg-deb -c *riscv64.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 Focal amd64:
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]
Unable to sbuild focal 27.0~20.04.1 package on riscv64 cpu arch
sbuild errors on build dependency errors w/ golang package:
....
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
Not removing build depends: cloned chroot in use
Keeping session: focal-riscv64-
E: Failed to explain bd-uninstallable
+------
| Summary |
+------
Build Architecture: riscv64
Build Type: binary
Build-Space: n/a
Build-Time: 0
Distribution: focal
Fail-Stage: explain-
Host Architecture: riscv64
Install-Time: 0
Job: ../out/
Machine Architecture: amd64
Package: ubuntu-
Package-Time: 0
Source-Version: 27.0~20.04.1
Space: n/a
Status: given-back
Version: 27.0~20.04.1
Changed in ubuntu-advantage-tools (Ubuntu): | |
status: | New → Fix Committed |
assignee: | nobody → Grant Orndorff (orndorffgrant) |
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 |
tags: | added: verification-done-groovy |
Currently queued for upload into impish, hirsute, groovy, focal and bionic.
impish: https:/ /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402459
hirsute: https:/ /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402465
groovy: https:/ /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402466
focal: https:/ /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402467
bionic:https:/ /code.launchpad .net/~chad. smith/ubuntu/ +source/ ubuntu- advantage- tools/+ git/ubuntu- advantage- tools/+ merge/402469