[Bug 1835406] Re: minimize-manual crashes in cache.commit() when cross-building armhf images on amd64

Launchpad Bug Tracker 1835406 at bugs.launchpad.net
Wed Nov 13 23:18:55 UTC 2019


This bug was fixed in the package livecd-rootfs - 2.624

---------------
livecd-rootfs (2.624) focal; urgency=medium

  * Mark packages as autoinstalled using apt-mark in the chroot
    instead of using python-apt that potentially starts talking to the build
    system's dbus causing various problems. (LP: #1835406)

 -- Balint Reczey <rbalint at ubuntu.com>  Wed, 13 Nov 2019 21:01:51 +0100

** Changed in: livecd-rootfs (Ubuntu)
       Status: New => Fix Released

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

Title:
  minimize-manual crashes in cache.commit() when cross-building armhf
  images on amd64

Status in livecd-rootfs package in Ubuntu:
  Fix Released

Bug description:
  Ubuntu-image supports cross-building images since quite a while
  whenever qemu-user-static is available (it's using lb's cross-building
  capabilities). When building an armhf classic ubuntu-server image
  (preinstalled based on ubuntu-cpc) for ARCH=armhf on an amd64 host,
  the build fails on the `/usr/share/livecd-rootfs/minimize-manual
  chroot` line of auto/build. Commenting out this line makes the images
  build successfully.

  Ubuntu-image command used for the build:
  `sudo ubuntu-image classic --project ubuntu-cpc --suite disco --arch armhf --subarch raspi3 --workdir build pi3-gadget/prime/`

  (after priming the pi3 classic gadget)

  This results in the following Python traceback:
  Traceback (most recent call last):
    File "/usr/share/livecd-rootfs/minimize-manual", line 63, in <module>
      main()
    File "/usr/share/livecd-rootfs/minimize-manual", line 59, in main
      cache.commit()
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 648, in commit
      raise SystemError("installArchives() failed")
  SystemError: installArchives() failed

  The same has been observed for both ubuntu-server armhf+raspi3 and
  vanilla armhf.

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



More information about the foundations-bugs mailing list