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.bugs Subject: bug#74382: `compile-first` Make rule is no longer using `load-prefer-newer` Date: Sat, 16 Nov 2024 22:00:56 +0200 Message-ID: <86y11jvthj.fsf@gnu.org> References: <6bc3a410f0857c3e3433070ac19deaf7eae88c63.camel@yandex.ru> <86o72ff2h0.fsf@gnu.org> <2b134414542a4af7b87435099570fd88c7d25aa6.camel@yandex.ru> 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="9242"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 74382@debbugs.gnu.org To: Konstantin Kharlamov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 16 21:04:27 2024 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 1tCP1u-0002G6-Mr for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Nov 2024 21:04:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCP1Y-0005vK-TA; Sat, 16 Nov 2024 15:04:05 -0500 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 1tCP1W-0005ux-PW for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 15:04:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCP1W-0001Gc-HE for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 15:04:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=U78X4149LrM6lWajhdzr+RW1o9iv3DFfQjhUnEZhYks=; b=jD7aCamka/n6fi+Rapwo5t6UTp8VocOUlE6XuikpnVbI3gZard7XcfpCxZ1cHqKzZ6U3QZwfhwmkmVz8XwY8ZtkTGDfpdfFLzFMwv6XSaSv7CQ8qHQqu6ryQ5Eleuwbe9Lf9or/YAseloomuqpwKCITtAv8HmQSSMp6BIY/DnRi+PTaRg6FeK6+NuA0C6zhHOw+928FVDMhz3Qt4OfzkmthUIlCXPHIfbvW7KnDAgRnwIebClqg+g/CI8GbUxzasUPvwM/LAFLjPxvZtQVGyxml9fKu/caQci5xYpWj1tCnj8Hg4xIeQ7wMPO8yf5Zhg4goO5on04f0BNactjfca3w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCP1W-0004XW-2O for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 15:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Nov 2024 20:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74382 X-GNU-PR-Package: emacs Original-Received: via spool by 74382-submit@debbugs.gnu.org id=B74382.173178741617417 (code B ref 74382); Sat, 16 Nov 2024 20:04:02 +0000 Original-Received: (at 74382) by debbugs.gnu.org; 16 Nov 2024 20:03:36 +0000 Original-Received: from localhost ([127.0.0.1]:54891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCP16-0004Wr-07 for submit@debbugs.gnu.org; Sat, 16 Nov 2024 15:03:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCP12-0004Wb-IX for 74382@debbugs.gnu.org; Sat, 16 Nov 2024 15:03:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCOyn-00017d-Us; Sat, 16 Nov 2024 15:01:13 -0500 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=U78X4149LrM6lWajhdzr+RW1o9iv3DFfQjhUnEZhYks=; b=KrgECa4V/SQ3UWRURdYM CT1zQyn3vVnhYFEOLeWVwTicp70xjWL8cA+B0emYRPPx7esR+mZYQYj5kLDkHqYgvLZfF6NXdk2JR Df+Oia1MoEjj7jNO17iGm1rHwx/0GxPZ14JKVt9AzFD7Bo7FTRzHY0hS1IiyO/ggY6DJ2aGtn2tUO tHqwRo/rV3gnVlQvqtYuT3400vQUDMGibTsAY2jwQBrII+6GkMWjc/goJ/w5YcZP1hcYkNKbqxVws my02JxP1c4b6irB583Q55n6I5T8N4+p6xkoAnLKj2PD33ibj0HUrX94ou2rnMBIyIDpmTX2r9MpcV pYpjhSNAayhGig==; In-Reply-To: <2b134414542a4af7b87435099570fd88c7d25aa6.camel@yandex.ru> (message from Konstantin Kharlamov on Sat, 16 Nov 2024 21:43:41 +0300) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295489 Archived-At: > Cc: acm@muc.de, 74382@debbugs.gnu.org > From: Konstantin Kharlamov > Date: Sat, 16 Nov 2024 21:43:41 +0300 > > > I don't think this is related to what lisp/Makefile does.  When > > macroexp.el is updated, builds are known to fail until you remove > > macroexp.elc (or bootstrap). > > Okay, but why you need to remove macroexp.elc Because macroexp.el contains macros, which might have been already expanded in the .elc file(s). > isn't it the build system job to rebuild it when it's changed? It's impractical, because we have many files with macros. Tracking all of those dependencies would mean that changes in any file will trigger unnecessary recompilation of many other files. If you don't mind spending that time waiting for the build, just "make bootstrap" every time you update from Git, and you will have that. > I think so, and the > macroexp.el is among the `COMPILE_FIRST` files in lisp/Makefile.in. Yes, because it is needed to bootstrap the native-compilation stuff, and using the .el file makes that extremely slow. There's no bug here.