I have uploaded the cherry-pick of snapd
(https://github.com/snapcore/snapd/pull/7038) to xenial. I would still
like to get the livecd-rootfs change released along with snapd as the
snapd dependency *should* be arch-specific anyway. There is no user-
impact in getting livecd-rootfs released along with snapd (it's a
package only used during builds).

** Description changed:

  [Impact]
  
- Currenty powerpc image builds are failing on xenial. livecd-rootfs is
- used to build our Ubuntu images and it depends on ubuntu-image.  With
- ubuntu-image 1.7 the snapd dependency was bumped to >= 2.38; which is
- not satisfiable on powerpc because snapd is not buildable on powerpc
- with gccgo (vs golang).
+ 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 which was never
- used (as it was not possible to work).
+ 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://git.launchpad.net/livecd-
  
rootfs/commit/debian/control?h=ubuntu/xenial&id=b8b2e343827adb9020d5b71f232c0361bd72685f
  added a depends on ubuntu-image but that package is not available on
  xenial for powerpc.  So powerpc image builds are failing. :(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830823

Title:
  Ubuntu image builds broken for powerpc on xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1830823/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to