[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Meson can't recover from deletion of generated QAPI file(s)
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: Meson can't recover from deletion of generated QAPI file(s) |
Date: |
Wed, 9 Sep 2020 15:06:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 9/9/20 2:37 PM, Markus Armbruster wrote:
> Watch this:
>
> $ rm qapi/qapi-types-error.h
> $ make
> Generating qemu-version.h with a meson_exe.py custom command
> Compiling C object qom/libqom.fa.p/object_interfaces.c.o
> In file included from ../qom/object_interfaces.c:4:
> /work/armbru/qemu/include/qapi/error.h:275:10: fatal error:
> qapi/qapi-types-error.h: No such file or directory
> 275 | #include "qapi/qapi-types-error.h"
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make: *** [Makefile.ninja:348: qom/libqom.fa.p/object_interfaces.c.o]
> Error 1
>
> To recover, I have to run qapi-gen.py manually and exactly right, or
> blow away the build tree and start over.
>
> The old build system did what a build system should: it remade the files
> that are missing or out of date.
>
> I'm still too clueless about Meson to debug this, but I hope I can learn
> from watching you fix it.
Maybe related:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg736135.html
and later:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg738777.html
- Meson can't recover from deletion of generated QAPI file(s), Markus Armbruster, 2020/09/09
- Re: Meson can't recover from deletion of generated QAPI file(s),
Philippe Mathieu-Daudé <=
- Re: Meson can't recover from deletion of generated QAPI file(s), Claudio Fontana, 2020/09/09
- Re: Meson can't recover from deletion of generated QAPI file(s), Paolo Bonzini, 2020/09/09
- Re: Meson can't recover from deletion of generated QAPI file(s), Claudio Fontana, 2020/09/09
- Re: Meson can't recover from deletion of generated QAPI file(s), Claudio Fontana, 2020/09/09
- Re: Meson can't recover from deletion of generated QAPI file(s), Paolo Bonzini, 2020/09/09
- Re: Meson can't recover from deletion of generated QAPI file(s), Claudio Fontana, 2020/09/09
Re: Meson can't recover from deletion of generated QAPI file(s), Marc-André Lureau, 2020/09/09
Re: Meson can't recover from deletion of generated QAPI file(s), Paolo Bonzini, 2020/09/09