From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL v2 0/9] Misc changes for 2016-06-06
Date: Tue, 7 Jun 2016 13:03:22 +0200 [thread overview]
Message-ID: <89b48d94-86e9-b314-228c-bd78b89a977c@redhat.com> (raw)
In-Reply-To: <CAFEAcA_QMeqB8mernjF8q=4ABaxbeaVfEfa6MP6s_L4jYydu1w@mail.gmail.com>
On 07/06/2016 12:58, Peter Maydell wrote:
> Worse, when I revert this merge attempt and do a build on the previously
> working master, it fails (all trees, all configs):
>
> /home/pm215/qemu/qemu-img.c: In function ‘help’:
> /home/pm215/qemu/qemu-img.c:43:59: error: expected ‘,’ or ‘;’ before
> ‘QEMU_PKGVERSION’
> #define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \
> ^
> /home/pm215/qemu/qemu-img.c:89:12: note: in expansion of macro
> ‘QEMU_IMG_VERSION’
> QEMU_IMG_VERSION
> ^
> /home/pm215/qemu/qemu-img.c: In function ‘main’:
> /home/pm215/qemu/qemu-img.c:43:59: error: expected ‘)’ before ‘QEMU_PKGVERSION’
> #define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \
> ^
> /home/pm215/qemu/qemu-img.c:3520:16: note: in expansion of macro
> ‘QEMU_IMG_VERSION’
> printf(QEMU_IMG_VERSION);
> ^
>
> The change is badly broken somehow.
This is the same issue with PKGVERSION being defined twice (before) and
nowhere (now), instead of once. And I suspect this is a long-standing
issue where config-host.mak and config-host.h are not being rebuilt
correctly.
However, if you force-rebuild config-host.h it should work.
Paolo
next prev parent reply other threads:[~2016-06-07 11:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-06 20:25 [Qemu-devel] [PULL v2 0/9] Misc changes for 2016-06-06 Paolo Bonzini
2016-06-07 10:24 ` Peter Maydell
2016-06-07 10:39 ` Peter Maydell
2016-06-07 10:54 ` Paolo Bonzini
2016-06-07 10:58 ` Peter Maydell
2016-06-07 11:03 ` Paolo Bonzini [this message]
2016-06-07 11:13 ` Peter Maydell
2016-06-07 11:23 ` Paolo Bonzini
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=89b48d94-86e9-b314-228c-bd78b89a977c@redhat.com \
--to=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--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).