Ubuntu image builds broken for powerpc on xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
snapd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-image (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Currenty powerpc image builds are failing on xenial. The main reason is that snapd now provides a powerpc 'empty' dummy package (as the architecture is not supported) but still ships regular maintainer scripts that try to do operations on installed files (which are not present due to the empty package). This basically makes the dummy snapd powerpc package uninstallable. And since launchpad-buildd pulls in snapd by default, this breaks any powerpc image builds currently.
Also, besides that, it seems that livecd-rootfs was directly depending on snapd as well. To save ourselves trouble, let's make that dependency arch-specific.
[Test Case]
Build test images on powerpc, those should now succeed.
A quick sanity run of snapd on non-powerpc architectures should also be performed, making sure that the no-change rebuild for those did not regress.
[Regression Potential]
None. This is only an arch-specific dependency change in livecd-rootfs and maintainer-script changes in snapd. It is highly unlikely that any of this could have effect in anything other than powerpc (which is not supported anyway).
The no-change rebuild of snapd might, as any rebuild, potentially regress, but the risk is very very low as the previous snapd has been built and updated recently (so not too many archive changes).
[Original Description]
livecd-rootfs is used to build our Ubuntu images and it depends on ubuntu-image. With ubuntu-image 1.7 being published to xenial-updates the diff
shows that the versioned dependency on snapd was bumped to >= 2.38; which is not satisfiable on powerpc because snapd is not buildable on powerpc with gccgo (vs golang).
This affects xenial cloud image builds.
Original description:
This commit https:/
tags: | added: id-5cedf33f9ba7dd31c0288490 |
summary: |
- livecd-rootfs xenial powerpc arch builds broken + Ubuntu image builds broken for powerpc on xenial |
description: | updated |
description: | updated |
tags: | added: id-5d1282825c51ad5266a3441a |
tags: | added: id-5d1349856ceb393262a58653 |
Changed in snapd (Ubuntu Xenial): | |
status: | New → In Progress |
tags: |
added: verification-done-xenial removed: verification-needed-done |
RUN: /usr/share/ launchpad- buildd/ bin/in- target buildlivefs --backend=lxd --series=xenial --arch=powerpc LIVEFSBUILD-167495 --project ubuntu-cpc --datestamp 20190523 --image-format ext4
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:
livecd-rootfs : Depends: ubuntu-image but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Install failed