From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Abysmal state of GTK build Date: Wed, 24 Aug 2022 14:08:55 +0300 Message-ID: <838rnd7vaw.fsf@gnu.org> References: <83wnb1bt96.fsf@gnu.org> <87a67vuwmo.fsf@gnus.org> <41a702f1-60fb-65fb-3862-d198c46cd6e6@gmail.com> <87sflnqaub.fsf@gnus.org> <831qt77xmk.fsf@gnu.org> <708f1ee9-a3f4-28a2-835e-5d901e6a5f85@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15103"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org, luangruo@yahoo.com To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 24 13:52:14 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQove-0003mM-81 for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Aug 2022 13:52:14 +0200 Original-Received: from localhost ([::1]:33748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQovc-0003Jy-Ps for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Aug 2022 07:52:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQoFd-0002B1-8g for emacs-devel@gnu.org; Wed, 24 Aug 2022 07:08:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35040) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQoFc-0006fh-My; Wed, 24 Aug 2022 07:08:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ZeaGZPqY+hgD3qzzIQpdnNQWjlWpIASCcjQ+xFJQdJI=; b=HK61rFajTAOdq6fejyUN gnrXX5AN+O4yzizPozR3mpi8wvTZXXDh2ZTEi9GJHhhVcwlQP3Uh4utrk6x8bB8C2JXR5gKNoQNQo cFJ25PIe4OXf6eX0ps70ELDM1lLE77z3PehouxZH5Np1DesqWHSoeDnibxL70LRdjdEipc5VtCvGz MbhHGGfM2YTXgknfXWJmM3MbQ4HKOdrfuQVQ55zIQhU6/vwL7rrrqW7x3pig3Z+XYNKzpEeQeldDj oiAfomlKzGyrqwXB7NHFlO1a8B9qjeqMu7bovs/mts0bKs1PSwk+aLZaQ+e/uxzRGAzBJgImTKmM+ Jvwvi0xSiGgR6w==; Original-Received: from [87.69.77.57] (port=3444 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQoFa-0007oe-Oc; Wed, 24 Aug 2022 07:08:48 -0400 In-Reply-To: <708f1ee9-a3f4-28a2-835e-5d901e6a5f85@gmail.com> (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Wed, 24 Aug 2022 08:38:38 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293977 Archived-At: > Date: Wed, 24 Aug 2022 08:38:38 +0200 > Cc: emacs-devel@gnu.org, luangruo@yahoo.com > From: Gerd Möllmann > > On 22-08-23 18:06 , Eli Zaretskii wrote: > >> From: Lars Ingebrigtsen > >> Cc: eliz@gnu.org, emacs-devel@gnu.org, luangruo@yahoo.com > >> Date: Tue, 23 Aug 2022 16:43:40 +0200 > >> > >> The most recalcitrant thing is ./configure, of course -- it's > >> single-threaded. > > Are you using -C ? It makes the configure script fly. Most of the > > changes in the script nowadays don't need a full reconfiguration, and > > seldom even add new variables. > > > Interesting.   How are you using --config-cache? I just make a point of using it the first time I build a new worktree. Thereafter, I just use "make", and if it needs to re-run configure, it uses -C automatically. > I tried here two './configure --config-cache --with-native-compilation' > in a row (no config.cache initially), and the second run failed because > of something I don't understand.  Basically, it first says libgccjit.h > found, and then fails because it can't find libgccjit.h. > > Is this a bug, or am I doing it wrong? It's some kind of bug, but I'm not sure where. I have this from time to time on one particular system where I regularly build Emacs, but not on others. Usually, a second "make" right after that succeeds. I always thought that it's because some system-wide snafu unrelated to Emacs on that single system. But now I'm not so sure. (There's no longer any need to run 'configure', except, perhaps, the first time you build a clean clone. Just "make" does everything, including running autogen.sh and the configure script, if needed.)