qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Claudio Fontana" <cfontana@suse.de>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: Meson can't recover from deletion of generated QAPI file(s)
Date: Wed, 9 Sep 2020 16:35:31 +0200	[thread overview]
Message-ID: <2d49cdbb-41e2-ae1d-79cd-3a05678e9b87@redhat.com> (raw)
In-Reply-To: <26432e3f-2b22-4966-ebea-8be448636fbb@suse.de>

On 09/09/20 15:35, Claudio Fontana wrote:
> On 9/9/20 3:06 PM, Philippe Mathieu-Daudé wrote:
>> 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
>>
> 
> My use case is this:

Hi Claudio,

unlike Markus's, your issue is a genuine meson.build bug.  It should be
fixed like so:

diff --git a/tests/meson.build b/tests/meson.build
index 998e4c48f9..721641afbb 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -223,7 +223,7 @@ foreach test_name, extra: tests
     src += test_ss.all_sources()
     deps += test_ss.all_dependencies()
   endif
-  exe = executable(test_name, src, dependencies: deps)
+  exe = executable(test_name, src, genh, dependencies: deps)

   test(test_name, exe,
        depends: test_deps.get(test_name, []),


Paolo



  reply	other threads:[~2020-09-09 14:36 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é
2020-09-09 13:35   ` Claudio Fontana
2020-09-09 14:35     ` Paolo Bonzini [this message]
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=2d49cdbb-41e2-ae1d-79cd-3a05678e9b87@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=armbru@redhat.com \
    --cc=cfontana@suse.de \
    --cc=marcandre.lureau@redhat.com \
    --cc=philmd@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).