From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62762: circular dependencies in elisp files and make Date: Sat, 13 May 2023 10:49:50 -0400 Message-ID: References: <17b74a48-94e1-9106-cc79-d31972313910@gutov.dev> <38c89611-a929-1869-e70d-983bd7edad14@gmail.com> <83jzxnhv2o.fsf@gnu.org> <59ccf87f-effb-2168-2c17-34d950060b1b@gmail.com> <83354aixqy.fsf@gnu.org> <3ce7d18d-8190-a379-f503-5b0fef1dcb88@gmail.com> <831qjuisa4.fsf@gnu.org> <83y1lu505p.fsf@gnu.org> <9d8db5af-1917-1d0a-0360-ac122e137a53@gmail.com> <83ttwhbn7b.fsf@gnu.org> <9aa7edb6-c6c4-39ad-4302-371e5e58b4f6@gmail.com> <83sfc1bkt3.fsf@gnu.org> <83zg68afn9.fsf@gnu.org> <16f3f59c-ce2c-2b0d-fe56-8a85b79a1b3f@gmail.com> <83y1lsaaay.fsf@gnu.org> <63ccd7e3-f622-eef3-0ce4-4e7da4b92bb6@gmail.com> <83wn1ca46m.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32986"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, 62762@debbugs.gnu.org, bzg@gnu.org, dmitry@gutov.dev, acm@muc.de, Eli Zaretskii To: Max Nikulin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 13 16:50:23 2023 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 1pxqZj-0008MC-Gd for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 May 2023 16:50:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxqZU-0007SN-6z; Sat, 13 May 2023 10:50:08 -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 1pxqZO-0007SD-SS for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 10:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pxqZO-0006g3-K4 for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 10:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pxqZO-0006kj-BT for bug-gnu-emacs@gnu.org; Sat, 13 May 2023 10:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 May 2023 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62762 X-GNU-PR-Package: emacs Original-Received: via spool by 62762-submit@debbugs.gnu.org id=B62762.168398940125947 (code B ref 62762); Sat, 13 May 2023 14:50:02 +0000 Original-Received: (at 62762) by debbugs.gnu.org; 13 May 2023 14:50:01 +0000 Original-Received: from localhost ([127.0.0.1]:39285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxqZN-0006kQ-72 for submit@debbugs.gnu.org; Sat, 13 May 2023 10:50:01 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:32479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxqZL-0006kE-0T for 62762@debbugs.gnu.org; Sat, 13 May 2023 10:49:59 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id ACF3A1000BF; Sat, 13 May 2023 10:49:53 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B72621000A3; Sat, 13 May 2023 10:49:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1683989391; bh=Imt7uXyQs8L7NnENecNpUpO6x2JpyGpwyi8KcWguwKU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=oKB0IsllXTOqtrNL3qiBMmhSXOml5YS+/PyjslkeQIJSqATanVGpJaBn/FmOXIwVW EtkpqEvzmFNXvDpytI+0WfYt63NEoHnR/kdT/IduERfEWwMS0MSxv0gfG41OlqVvaL dqYydGbTCcMZRpPOyDkqez0lH8r1YVJZ1jk6ewrte0qmhVBzD9+UHCOHXBAPq5fFjA fr5bvEj760lpQVWtABmqmMjDhe4Xs8kuijqfQveGQeTpHrf5RsXfNhHHEUlRUMWUNQ PYLy++bDAgeuUC2Lr1tSUCjK1MGCc2fTksT8pFwPb18n+uV3EB1aVO7bGrfpLOeEjP yMhkDR3n+HHNw== Original-Received: from pastel (unknown [45.72.217.176]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5456D12080A; Sat, 13 May 2023 10:49:51 -0400 (EDT) In-Reply-To: (Max Nikulin's message of "Sat, 13 May 2023 18:21:56 +0700") 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:261688 Archived-At: > Writing "stale" I mean more than comparison timestamps of a.el and > a.elc. Dependency files may contain > > a.elc: a.el d.elc > d.elc: d.el > > the script walks through dependency graph, compares timestamps and when it > d.el is newer than d.elc, *both* "a.elc" and "d.elc" are removed. Make will already take care of this dependency and recompile `d.elc` before `a.elc`. Stefan