From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#57152: 29.0.50; Emacs executable isn't rebuilt when loaddefs.el is modified Date: Mon, 15 Aug 2022 12:07:15 +0200 Message-ID: <87a685akh8.fsf@gnus.org> References: <83k07endtb.fsf@gnu.org> <87zgg9o5nx.fsf@gnus.org> <8335e1o4yg.fsf@gnu.org> <878rnsl683.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37721"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57152@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 15 12:08:22 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oNX1B-0009YE-FD for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 12:08:21 +0200 Original-Received: from localhost ([::1]:37432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNX1A-0003Cd-9D for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 06:08:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNX0t-0003B9-4B for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 06:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNX0s-00018C-RH for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 06:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNX0s-0008Is-G4 for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 06:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Aug 2022 10:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57152 X-GNU-PR-Package: emacs Original-Received: via spool by 57152-submit@debbugs.gnu.org id=B57152.166055804731864 (code B ref 57152); Mon, 15 Aug 2022 10:08:02 +0000 Original-Received: (at 57152) by debbugs.gnu.org; 15 Aug 2022 10:07:27 +0000 Original-Received: from localhost ([127.0.0.1]:40923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNX0J-0008Hr-22 for submit@debbugs.gnu.org; Mon, 15 Aug 2022 06:07:27 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:57726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNX0H-0008HZ-2N for 57152@debbugs.gnu.org; Mon, 15 Aug 2022 06:07:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From: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=Bcdpe/wemLiAFVW+hbCESc5FR+kBqzLhkZ25jQkkt8o=; b=udhCPb2cc61guphhUUeb4qaebE cFGRpZ6YwKA6cuYgUv8zReKF8lcX6hsFAcGvSUJjsO74aK9uaZTMYmHwJe5FErj8/06Jo33McWqQ5 B2GnzNNxmPCTLBP1GSZumnfI9nULBr4I6XIDumKL3oYaCripSiPfyjX6HNOfdysWQI2I=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oNX07-0006CC-VO; Mon, 15 Aug 2022 12:07:18 +0200 In-Reply-To: <878rnsl683.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 13 Aug 2022 13:42:52 +0200") X-Now-Playing: Deutsch Amerikanische Freundschaft's _Gold und Liebe_: "Absolute =?UTF-8?Q?K=C3=B6rperkontrolle?=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239767 Archived-At: I've spent an hour poking at this. Here's the recipe to reproduce: echo ";;;###autoload ;;(+ 1 2)" >> lisp/foo.el make This will update loaddefs.el(c), but won't rebuild src/emacs.pdmp. Then, if you say make it'll rebuild src/emacs.pdmp. I've tried various things, like making autoloads an order-only prerequisite for $(pdmp) (and various other targets), but the main problem seems to be that Make has already computed the timestamps/dependencies at this point, so even if we're running the update at the "right" time, we don't trigger the $(pdmp) rule. And moving this earlier results in problems with the boot build. I think it'd be helpful if somebody with fresh eyes could take a look at this.