From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaR0s-0003fm-Ip for qemu-devel@nongnu.org; Mon, 29 Feb 2016 11:49:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaR0o-0002jG-DF for qemu-devel@nongnu.org; Mon, 29 Feb 2016 11:49:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaR0o-0002jA-7a for qemu-devel@nongnu.org; Mon, 29 Feb 2016 11:49:34 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 57F97627F1 for ; Mon, 29 Feb 2016 16:49:33 +0000 (UTC) References: <56BB8F66.5080406@redhat.com> <20160214071711.GD31933@ad.usersys.redhat.com> From: John Snow Message-ID: <56D4769C.5080808@redhat.com> Date: Mon, 29 Feb 2016 11:49:32 -0500 MIME-Version: 1.0 In-Reply-To: <20160214071711.GD31933@ad.usersys.redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] make distclean can fail do to a configuration check List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: qemu-devel On 02/14/2016 02:17 AM, Fam Zheng wrote: > On Wed, 02/10 14:28, John Snow wrote: >> Stuff like this: >> >>> ~/s/q/b/git> make distclean >>> config-host.mak is out-of-date, running configure >>> >>> ERROR: sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T. >>> You probably need to set PKG_CONFIG_LIBDIR >>> to point to the right pkg-config files for your >>> build target >>> >>> Makefile:35: recipe for target 'config-host.mak' failed >>> make: *** [config-host.mak] Error 1` >> >> is obnoxious. We had patches from Fam to allow some targets to bypass >> the configuration check, did those die? Did we not want them for some >> reason? > > What are your preceding commands? I have a clean checkout here (git clean -dfx) > and "make distclean" works for me. > > Fam > This is due to the new glib-version-detection code that was checked in. I had a configuration using clang, which does not appear to support the mechanisms that are being used to tell what version of glib is being linked against. Practical upshot is that I can't even clean my clang configuration because our makefile insists on re-configuring before it tries to clean. Fam, didn't you have patches to allow e.g. cleans and "make tags" and so on without re-incurring a full reconfiguration? --js