Hi Christian,

* Christian Kastner <[email protected]> [2025-07-29 22:34]:
On trixie, with --chroot-mode=autopkgtest, something seems to have
happened in the virt server lookup for 'qemu'. The real command
'autopkgtest-virt-qemu' is no longer found:

 # Can be run in any directory to reproduce the error
 $ sbuild -d unstable --chroot-mode=autopkgtest --autopkgtest-virt-server=qemu 
sbuild

 
+==============================================================================+
 | sbuild (amd64)                               Tue, 29 Jul 2025 20:13:11 +0000 
|
 
+==============================================================================+

 Package: sbuild
 Distribution: unstable
 Machine Architecture: amd64
 Host Architecture: amd64
 Build Architecture: amd64
 Build Type: binary

 Can't exec "qemu": No such file or directory at 
/usr/share/perl5/Sbuild/ChrootAutopkgtest.pm line 94.
             ^^^^

When using --autopkgtest-virt-server=autopkgtest-virt-qemu, the issue
seems to be resolved. However, the man page says to use the short name.

I have no clue what could have caused this, and I cannot reproduce this
with the 0.88.4 packages (I was using those on bookworm before my upgrade).

I'd appreciate it if someone could try to reproduce this.

I reproduced this, though the last working version is 0.88.1 for me. More specifically 2dcaaca2 is the commit changing the behaviour.

The problem is that CHECK in AUTOPKGTEST_VIRT_SERVER tests against the DEFAULT value, not the value from the command line. This seems to be e general problem but I don't have enough Perl knowledge to fix this.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to