From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: Build failure with --with-x-toolkit=no Date: Sat, 30 Mar 2024 10:54:08 +0100 Message-ID: References: <9398af06-c6aa-409d-a8d4-70c217d4776b@gmx.at> <87h6gr6hwm.fsf@yahoo.com> <69864b96-e604-4d05-8a31-55ec1e45c5f1@gmx.at> <868r22hcv5.fsf@gnu.org> <8634s9fh28.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="taacASnQpIX8qHdf" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27908"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , luangruo@yahoo.com, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 30 10:55:15 2024 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 1rqVQh-0006zN-91 for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Mar 2024 10:55:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqVPr-0002Pl-43; Sat, 30 Mar 2024 05:54:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rqVPo-0002PU-E4 for emacs-devel@gnu.org; Sat, 30 Mar 2024 05:54:20 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rqVPj-0008Dz-V4; Sat, 30 Mar 2024 05:54:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1RI1Lg5SrlUO245hqBb3zFVfHzxPG74IhdygLrvKXhg=; b=IQ3DG6E74pHG6M2MwRXn95c2PH u8lmGyrYEVYjHOfqSCxC/F1HoFpabrfsTj3tB2oqan62bfww4wwW4x+NUNkkN86g8PuZBR3zYaO7y 8dA8SH+/3CJaQ926k+W/NdiIJ8GYcTOsPBs94XwUw7F1vCEhraar+76R3ggPSsigA25e4KtflAFji +Q4FeQkUI6ZhWrWJvllfRm5yfR0ra/pIAEmvn/lL0A4RYgAvAtzfDgpFw1Qan49Wxhr9kwz13LVDj 3u369U5z7hD31EeFNxQV9nGu78polu9gB3DwTXRW8kj2FA1LP+TVlSo5eRAgaHeLMWWYOvPvXu8TW cMaaOH2g==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1rqVPc-0004YW-OH; Sat, 30 Mar 2024 10:54:08 +0100 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317391 Archived-At: --taacASnQpIX8qHdf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 30, 2024 at 10:36:28AM +0100, martin rudalics wrote: > > You could then do "git -fdxn", which would show you the files that > > perhaps need to be removed, without actually removing them. >=20 > When I do git clean -fdxn it, probably correctly, does not descend into > the build directories but just tells me that it would remove them as a > whole (like the info directory, for example). >=20 > The great problem I never managed to fix appropriately is that when > removing a build directory as a whole, I also remove previous versions > of emacs builds which, however, I occasionally need to track down in > which version an error appeared first. So I'd need a regexp to tell git > clean which files it should delete for making builds succeed cleanly and > which ones to keep for future forensics. Having executables and object > files in the same directory is not helpful in this regard. There's the option -e to git-clean, which seems to do precisely what you want. See also the -i (interactive) option, which lets you test drive things. Cheers --=20 t --taacASnQpIX8qHdf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZgfhKAAKCRAFyCz1etHa Rl49AJ41mqZqE5olP8+uuaEDfsHn1+EtnQCeJZ+jrgExKOkBn3whXcGRoOOVM50= =6oM/ -----END PGP SIGNATURE----- --taacASnQpIX8qHdf--