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

Ɓukasz Zemczak 1835406 at bugs.launchpad.net
Thu Jul 4 11:37:18 UTC 2019


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
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:
  New

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