On 2025-07-30 13:51, Jochen Sprickerhof wrote:
> * 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
>> [...]
> 
> 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.

I tried to grok what was going on but I also hit the Perl knowledge
wall.

I did find the code [1] where the 'qemu' shortname should have been
converted to 'autopkgtest-virt-qemu', resp. same thing for all the other
backends.

Suspicion: could it be that the changes of 2dcaaca2 or 7e4c1404 no
longer trigger the above code path at the right time?

Best,
Christian

[1]: 
https://salsa.debian.org/debian/sbuild/-/blob/54766f522630b15f36bf1f0bbf1c3c4e473bc2a9/lib/Sbuild/Conf.pm#L455

Reply via email to