qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Meson can't recover from deletion of generated QAPI file(s)
@ 2020-09-09 12:37 Markus Armbruster
  2020-09-09 13:06 ` Philippe Mathieu-Daudé
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Markus Armbruster @ 2020-09-09 12:37 UTC (permalink / raw)
  To: Paolo Bonzini, Marc-André Lureau; +Cc: qemu-devel

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.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-09-10 10:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-09 12:37 Meson can't recover from deletion of generated QAPI file(s) Markus Armbruster
2020-09-09 13:06 ` Philippe Mathieu-Daudé
2020-09-09 13:35   ` Claudio Fontana
2020-09-09 14:35     ` Paolo Bonzini
2020-09-09 14:36       ` Claudio Fontana
2020-09-09 15:05         ` Claudio Fontana
2020-09-09 15:10           ` Paolo Bonzini
2020-09-09 21:25             ` Claudio Fontana
2020-09-09 14:00 ` Marc-André Lureau
2020-09-09 14:34 ` Paolo Bonzini
2020-09-10  7:44   ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).