Public bug reported:

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.

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to