qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: "Markus Armbruster" <armbru@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: qemu-devel@nongnu.org, Claudio Fontana <cfontana@suse.de>
Subject: Re: Meson can't recover from deletion of generated QAPI file(s)
Date: Wed, 9 Sep 2020 15:06:21 +0200	[thread overview]
Message-ID: <ff7ef6e4-254a-b171-22bf-c5cca4945160@redhat.com> (raw)
In-Reply-To: <87pn6vw2he.fsf@dusky.pond.sub.org>

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



  reply	other threads:[~2020-09-09 13:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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é [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ff7ef6e4-254a-b171-22bf-c5cca4945160@redhat.com \
    --to=philmd@redhat.com \
    --cc=armbru@redhat.com \
    --cc=cfontana@suse.de \
    --cc=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).