Control: block 1034351 by 1076739

Thanks. This is a specific case of #1034351, so I'm marking this as a
blocker for the general bug.

Fixing this is not as easy as adding fakemachine in the same place where
vmdb2 is checked, and we should come up with some re-usable way to check
for dependencies that we can use in all the tools.

Or we should split the package and use proper dependencies, as suggested
in [1], but there are points against it [2].

--
Paride

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039958#22
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039958#37

On Mon, 22 Jul 2024 13:51:35 -0700 Diane Trout <di...@ghic.org> wrote:
> Package: autopkgtest
> Version: 5.28
> Severity: wishlist
> 
> Dear Maintainer,
> 
> Hi while setting up a qemu test image on a fairly recently configured
> machine I tried running autopkgtest-build-qemu, and it helpfully told me
> that it needed vmdb to run.
> 
> However shortly thereafter it crashed with 
> 
> Traceback (most recent call last):
>   File "/usr/bin/autopkgtest-build-qemu", line 596, in <module>
>     BuildQemu().run()
>   File "/usr/bin/autopkgtest-build-qemu", line 347, in run
>     subprocess.check_call(argv)
>   File "/usr/lib/python3.11/subprocess.py", line 408, in check_call
>     retcode = call(*popenargs, **kwargs)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/subprocess.py", line 389, in call
>     with Popen(*popenargs, **kwargs) as p:
>          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
>     self._execute_child(args, executable, preexec_fn, close_fds,
>   File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
>     raise child_exception_type(errno_num, err_msg, err_filename)
> FileNotFoundError: [Errno 2] No such file or directory: 'fakemachine'
> 
> I figured out that it needs the fakemachine package, but it might be
> nice if the command suggested the tool was needed like it does with vmdb
> 
> Thank you,
> Diane
> 
> 

Reply via email to