Control: reassign -1 vmdb2 0.27+really.0.26-1+deb12u1 Control: retitle vmdb2: Creating arm64 unstable img using sbuild-qemu fails
Hi Christian, Christian Kastner <[email protected]> writes: > Hi Xiyue, > > On 2025-01-16 03:10, Xiyue Deng wrote: >> Package: sbuild-qemu >> Version: 0.88.1~bpo12+1 >> Severity: normal > >> Trying to create an unstable arm64 sbuild qemu img from a stable system >> fails. The command I use: >> >> ,---- >> | $ time sudo sbuild-qemu-create unstable --arch arm64 >> https://deb.debian.org/debian >> --authorized-keys=<path_to_authorized_keys_file> # Removed authorized_keys >> file path to avoid privacy leak. File does exist. >> >> And it fails with the following error (first Python exception I observe >> from the log): >> >> ,---- >> | 2025-01-15 17:19:39 INFO Exec: ['mount', '/dev/mapper/loop0p1', >> '/tmp/tmp0n3zu1jh/boot/efi'] >> | 2025-01-15 17:19:39 DEBUG STDOUT: >> | 2025-01-15 17:19:39 DEBUG STDERR: mount: /tmp/tmp0n3zu1jh/boot/efi: >> /dev/mapper/loop0p1 already mounted on /tmp/tmp0n3zu1jh/boot/efi. >> | dmesg(1) may have more information after failed mount system call. >> | >> | 2025-01-15 17:19:39 ERROR Program failed: 32 >> | Traceback (most recent call last): >> | File "/usr/lib/python3/dist-packages/vmdb/app.py", line 243, in >> run_steps_helper >> | method(values, settings, state) >> | File "/usr/lib/python3/dist-packages/vmdb/plugins/grub_plugin.py", line >> 103, in run >> | self.install_uefi(values, settings, state) >> | File "/usr/lib/python3/dist-packages/vmdb/plugins/grub_plugin.py", line >> 133, in install_uefi >> | self.install_grub(values, settings, state, grub_package, grub_target) >> | File "/usr/lib/python3/dist-packages/vmdb/plugins/grub_plugin.py", line >> 179, in install_grub >> | self.mount(chroot, efi_dev, "/boot/efi", state) >> | File "/usr/lib/python3/dist-packages/vmdb/plugins/grub_plugin.py", line >> 350, in mount >> | vmdb.runcmd(["mount"] + mount_opts + [path, chroot_path]) >> | File "/usr/lib/python3/dist-packages/vmdb/runcmd.py", line 58, in runcmd >> | raise RuncmdError("Program failed: {}".format(p.returncode)) >> | vmdb.runcmd.RuncmdError: Program failed: 32 >> `---- >> >> This seems to suggest that it's a vmdb2 issue, but as the failure >> originates from running sbuild-qemu-create I'm reporting to sbuild-qemu >> as a first step just to be sure. Please feel free to reassign. > > I can reproduce this on stable with vmdb2=0.27+really.0.26-1+deb12u1, > and it seems to be resolved with 0.28-2 which I still had around. > > I guess sbuild-qemu should depend on at least 0.28 anyway, as that > version fixes Ubuntu EFI image builds which are otherwise broken > entirely (regardless of arch). > Thanks for the info! Is it possible to request a stable update for this issue? Personally if a newer vmdb2 version can be backported to stable I'm happy :) > Best, > Christian -- Regards, Xiyue Deng

