qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: meson incremental build doesn't handle config file going away


From: Thomas Huth
Subject: Re: meson incremental build doesn't handle config file going away
Date: Fri, 18 Feb 2022 13:08:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 18/02/2022 12.59, Peter Maydell wrote:
I've noticed that the meson incremental build doesn't seem to
cleanly handle a config file going away, as ppc64abi32-linux-user
has recently. The build fails with:

../../meson.build:1941:2: ERROR: Failed to load
/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/configs/targets/ppc64abi32-linux-user.mak:
[Errno 2] No such file or directory:
'/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/configs/targets/ppc64abi32-linux-user.mak'

where line 1941 is
   config_target += keyval.load('configs/targets' / target + '.mak')

Rerunning make doesn't help; you have to manually re-run
configure.

Something here should figure out that "config file deleted" means
it needs to rerun configure, I think.

That's weird, since the patch that removed that target actually change the configure script, too, so it should have re-run configure afterwards... or is that broken, too?

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]