Received: from eggs.gnu.org ([2001:4830:134:3::10]:55591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAF7C-0005DE-L0 for qemu-devel@nongnu.org; Tue, 07 Jun 2016 07:24:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAF78-0005vq-B3 for qemu-devel@nongnu.org; Tue, 07 Jun 2016 07:24:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAF78-0005vi-2W for qemu-devel@nongnu.org; Tue, 07 Jun 2016 07:24:06 -0400 References: <1465244731-29993-1-git-send-email-pbonzini@redhat.com> <010c7784-b43e-ec17-8cd4-4d63f012228b@redhat.com> <89b48d94-86e9-b314-228c-bd78b89a977c@redhat.com> From: Paolo Bonzini Message-ID: <5cc3ebec-de97-5294-ec75-71cb1b414e1a@redhat.com> Date: Tue, 7 Jun 2016 13:23:59 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL v2 0/9] Misc changes for 2016-06-06 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On 07/06/2016 13:13, Peter Maydell wrote: > On 7 June 2016 at 12:03, Paolo Bonzini wrote: >> On 07/06/2016 12:58, Peter Maydell wrote: >>> Worse, when I revert this merge attempt and do a build on the previou= sly >>> working master, it fails (all trees, all configs): >>> >>> /home/pm215/qemu/qemu-img.c: In function =E2=80=98help=E2=80=99: >>> /home/pm215/qemu/qemu-img.c:43:59: error: expected =E2=80=98,=E2=80=99= or =E2=80=98;=E2=80=99 before >>> =E2=80=98QEMU_PKGVERSION=E2=80=99 >>> #define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVE= RSION \ >>> ^ >>> /home/pm215/qemu/qemu-img.c:89:12: note: in expansion of macro >>> =E2=80=98QEMU_IMG_VERSION=E2=80=99 >>> QEMU_IMG_VERSION >>> ^ >>> /home/pm215/qemu/qemu-img.c: In function =E2=80=98main=E2=80=99: >>> /home/pm215/qemu/qemu-img.c:43:59: error: expected =E2=80=98)=E2=80=99= before =E2=80=98QEMU_PKGVERSION=E2=80=99 >>> #define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVE= RSION \ >>> ^ >>> /home/pm215/qemu/qemu-img.c:3520:16: note: in expansion of macro >>> =E2=80=98QEMU_IMG_VERSION=E2=80=99 >>> printf(QEMU_IMG_VERSION); >>> ^ >>> >>> The change is badly broken somehow. >> >> This is the same issue with PKGVERSION being defined twice (before) an= d >> 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. >=20 > It didn't. I've just spent a bunch of time manually going around > and forcing reconfigures in all my build trees to unwedge them again :-= ( This helped here: diff --git a/Makefile b/Makefile index 59af636..a27336d 100644 --- a/Makefile +++ b/Makefile @@ -168,8 +168,8 @@ endif all: $(DOCS) $(TOOLS) $(HELPERS-y) recurse-all modules =20 config-host.h: config-host.h-timestamp -config-host.h-timestamp: config-host.mak +config-host.h-timestamp: config-host.mak $(SRC_PATH)/scripts/create_conf= ig qemu-options.def: $(SRC_PATH)/qemu-options.hx $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@," GEN = $@") =20 SUBDIR_RULES=3D$(patsubst %,subdir-%, $(TARGET_DIRS)) Paolo