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: A more radical cleanup for make bootstrap? Date: Tue, 20 Sep 2022 15:55:17 +0300 Message-ID: <83o7vaw6h6.fsf@gnu.org> References: <83bkraydzu.fsf@gnu.org> <2b1180d2e522e2571f09@heytings.org> <87pmfqlao9.fsf@yahoo.com> <831qs6xpbu.fsf@gnu.org> <87wn9yjm53.fsf@yahoo.com> <83sfkmw8rl.fsf@gnu.org> <87o7vajjjr.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19525"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, larsi@gnus.org, monnier@iro.umontreal.ca, stefan@marxist.se, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 20 17:34:29 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 1oafGV-0004mK-56 for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Sep 2022 17:34:27 +0200 Original-Received: from localhost ([::1]:43882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oafGU-0006HA-2i for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Sep 2022 11:34:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oacn6-00081h-Sd for emacs-devel@gnu.org; Tue, 20 Sep 2022 08:55:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oacn4-00070g-Vi; Tue, 20 Sep 2022 08:55:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=e+1CzronKO9bmJ0D7qzhzWvnsXTeX4UkXQWpVMLAf5U=; b=OKYurWoorl4P +8Yg93MCVnTyKOkJq1NckmNSHPI5aVaPIb9BrDSWbNxMoI8dt2metUJd5ngaP1cmYxV7B/YTVKC9f G98/rjGdlkml1IquCd3Q/hUsw0+rMaTARyvriQp28Y9oD5fGsdNuZYDlKLun5DSxfHDiGAQVycmxx UrtDD6TD+1bNjQlUgkDgndkVA/XTbbH6xHk4Jq+jFj3GIONfGN7VupQJiaXAl13/9UgMSaipip2MD M0WnJbHN5q9swtzFfqu4cnB4ferfsnR0foh0mmbbK6oMKnyjxQaYWuLjCy1NSKQ1nQus0T0jFBOll Vlk9+kfwel3MCngfzpWTzw==; Original-Received: from [87.69.77.57] (port=3880 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 1oacmR-0004ML-7e; Tue, 20 Sep 2022 08:55:35 -0400 In-Reply-To: <87o7vajjjr.fsf@yahoo.com> (message from Po Lu on Tue, 20 Sep 2022 20:51:20 +0800) 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:295812 Archived-At: > From: Po Lu > Cc: gregory@heytings.org, larsi@gnus.org, monnier@iro.umontreal.ca, > stefan@marxist.se, emacs-devel@gnu.org > Date: Tue, 20 Sep 2022 20:51:20 +0800 > > Eli Zaretskii writes: > > > I usually have no problems identifying the offending *.elc files. > > Same, but when the error is a macroexpansion error in Tramp (or > something related to loaddefs.el), I almost universally fail. > > > And if that fails (which it does very rarely), then this never fails: > > > > $ find ./lisp -name "*.elc" -delete > > $ make > > Right, why don't we make "make bootstrap" do that instead? Because some (much rarer) changes need other generated files to be removed as well. So bootstrap-clean does the above, but it also does other things, including forcing the rebuild of temacs, which is almost never needed. OTOH, if someone wants to test a fresh build, or build a different configuration, or some other relatively rare jobs, they do need to remove all those other artifacts.