From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#74382: `compile-first` Make rule is no longer using `load-prefer-newer` Date: Sun, 17 Nov 2024 18:43:17 +0300 Message-ID: References: <6bc3a410f0857c3e3433070ac19deaf7eae88c63.camel@yandex.ru> <31dfd7d1c1c19d3fff5609b86ce85c1533a84af0.camel@yandex.ru> <861pz9x45w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39402"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.54.1 Cc: gerd.moellmann@gmail.com, acm@muc.de, 74382@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 17 16:44:18 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 1tChRh-000A9E-E3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Nov 2024 16:44:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tChRU-0005fH-Cl; Sun, 17 Nov 2024 10:44:04 -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 1tChRS-0005f8-I1 for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:44: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 1tChRS-0005Yc-9n for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:44: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:Date:From:To:Subject; bh=k8Xq2/YnN3vO4yijWrRpTHmZNWih4f4aLkevckcpjp0=; b=QUr2SjXUzTkvSLQd154iOcreXHZRjTz+w9NE/eDd6IwU0w1JxiI+0DxtBue1UttkGo63tm8V0OswRawtEJ6JC+9ZvMqXfiX57BZO3qK1k7699ub5WFAYp8OMr0KXLwILGWP+FmtzLiJpTc8w4oBs9zQeqPpziRfhfKSwRsqLrcBHSBv5mycFVp/Np+zsfY+W91vngNOuGcwqb9HfeCry+Xdw3XIM3GZyaHiIiPGUl/wIum5sQWn+bxXOFmHIZ7MoPIRTBRDDq9DTwxeeGwfJFDi5cv8swl4PFumt9Wv6y7c7mI4PADIR1OuDbWuRqJle8z+mftnjj3TFh5/oNtgjBw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tChRS-0008Te-3b for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Nov 2024 15:44: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.173185820832529 (code B ref 74382); Sun, 17 Nov 2024 15:44:02 +0000 Original-Received: (at 74382) by debbugs.gnu.org; 17 Nov 2024 15:43:28 +0000 Original-Received: from localhost ([127.0.0.1]:58150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tChQu-0008Sa-Fq for submit@debbugs.gnu.org; Sun, 17 Nov 2024 10:43:28 -0500 Original-Received: from forward500b.mail.yandex.net ([178.154.239.144]:36084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tChQr-0008S9-Oq for 74382@debbugs.gnu.org; Sun, 17 Nov 2024 10:43:26 -0500 Original-Received: from mail-nwsmtp-smtp-production-main-57.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-57.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261a:0:640:f38:0]) by forward500b.mail.yandex.net (Yandex) with ESMTPS id 1654360CC6; Sun, 17 Nov 2024 18:43:19 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-57.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id HhR6W9DOpKo0-gNvfYmCk; Sun, 17 Nov 2024 18:43:18 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1731858198; bh=k8Xq2/YnN3vO4yijWrRpTHmZNWih4f4aLkevckcpjp0=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=U2fAuRWT+iHcG1e3lBuek1OXH7E8qYNHM3ofu182UNpRr8EyH7PN6viQegnzb3jiv NNsMoe0MXsfO6ro5ZfyLiEW8esf0TBM5UwIE2NrWv9UnTafgw9+hukWVAaNfvfDdJ+ IXvBOZmxn20Uk2Y5IdnuG0Ko5LzOBHa6gSXO7q+8= Authentication-Results: mail-nwsmtp-smtp-production-main-57.myt.yp-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: <861pz9x45w.fsf@gnu.org> 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:295534 Archived-At: On Sun, 2024-11-17 at 17:37 +0200, Eli Zaretskii wrote: > > Cc: Alan Mackenzie , 74382@debbugs.gnu.org > > From: Konstantin Kharlamov > > Date: Sun, 17 Nov 2024 18:21:36 +0300 > >=20 > > On Sun, 2024-11-17 at 08:25 +0100, Gerd M=C3=B6llmann wrote: > > > Konstantin Kharlamov writes: > > >=20 > > > > Sure, I just reproduced it after removing all `.elc` files in > > > > the > > > > repo, > > > > here how: > > > >=20 > > > > 1. `git checkout f2f13fa630b` (a commit from April) > > > > 2. `make -j$(nproc)` to compile. Note: you don't need to wait > > > > for > > > > build > > > > to finish, I just waited for all files under `lisp/emacs-lisp` > > > > directory to finish compilation, and then ^C'ed it. > > > > 3. `git checkout 29098a291f5` (a November commit). > > > > 4. `make -j$(nproc)` > > >=20 > > > This would always work if lisp/Makefile would rm the .elc files > > > from > > > COMPILE_FIRST, right? I suspect this isn't done to speed up the > > > build > > > in > > > the usual case, and because it's a bit difficult to automatically > > > determine if it has to done or not. > > >=20 > > > Does a "make clean" after the checkout in (3) make it work? > >=20 > > I don't think so, because `make clean` for some reason doesn't > > remove > > `.elc` artifacts. >=20 > And it shouldn't, because *.elc files are part of a release tarball. But if someone decided to build from a release tarball, sure they can produce .elc files as well, can't they?