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: Sun, 17 Nov 2024 17:37:15 +0200 Message-ID: <861pz9x45w.fsf@gnu.org> References: <6bc3a410f0857c3e3433070ac19deaf7eae88c63.camel@yandex.ru> <31dfd7d1c1c19d3fff5609b86ce85c1533a84af0.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="16941"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 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 Sun Nov 17 16:38:13 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 1tChLp-0004F9-JA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Nov 2024 16:38:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tChLg-00055z-Rz; Sun, 17 Nov 2024 10:38: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 1tChLf-00055r-0V for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:38:03 -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 1tChLe-0004FW-OK for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:38: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=SskHWetPHrdR74NmXCSmz+b+qq1DFO7M6taziNGd9MQ=; b=sHDB0pWpRnOH3nXdcAK8Fp5eT8HOIrRxek5pO8cQXfXMKSikdfsdpG0a6ej/LkmlOkjT6gY02hrO9H2zSQfZNu9gGHnKxYqCc8PeC7fcHz3m6kiGQBDDsu65wHQXzY0/KT5zAYjt4WNCyVaEKdOQ9QgTI+IdlMwZPq7hEJFciw/si/DZgxe2OL+7Ojlw87f/QZ6jJRlRwtsdb2z4BwuZL5HToktdDAeieZhZ7i8NwvsQOlCZ8i87zkLcYXGRWBJJ2XBO0nJEcojDfY6FIFoitrJ1rLdyKL5h94E8H3QXRNRj0CA9q75nIQp4d2Ap3kmRaGF9DvZmR9HFp/aaXYjQDg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tChLe-0008C6-JB for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:38: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: Sun, 17 Nov 2024 15:38: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.173185784631449 (code B ref 74382); Sun, 17 Nov 2024 15:38:02 +0000 Original-Received: (at 74382) by debbugs.gnu.org; 17 Nov 2024 15:37:26 +0000 Original-Received: from localhost ([127.0.0.1]:58126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tChL4-0008BB-44 for submit@debbugs.gnu.org; Sun, 17 Nov 2024 10:37:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tChL2-0008At-5r for 74382@debbugs.gnu.org; Sun, 17 Nov 2024 10:37:25 -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 1tChKv-0004BV-KK; Sun, 17 Nov 2024 10:37:17 -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=SskHWetPHrdR74NmXCSmz+b+qq1DFO7M6taziNGd9MQ=; b=j/7bLUyfWkfG5MtDG9K1 k0E+rW8LbWaTZKbM8fUtoKCWI+LqeApgnsjm/wrqHHQqQC4FcISAl40zrtNnuWwSkaXD1K2dyqgp4 4C8fFa/FjfFGCs2FgxOWvhCPfL+G2dqH3WvtudKYT+ZtFAiy5BAmFz0eUEZiL3r74GTfHRiHhzzpn zYdMlY5AieiLmfoXtx3F0VrgchJ9x3Ij3vkE1x8jqmqH8pchqZineTRWsf7dkmkQh4tuKjQV23IKI bQGoZM1blC4LIWvW/J8+RayfWoZnX0PUXZwF0APPe1g2dcKXA8SQTlgw+Z2ALb2NJoPs5qh+eSGsC XCYlxv+0C7taaw==; In-Reply-To: <31dfd7d1c1c19d3fff5609b86ce85c1533a84af0.camel@yandex.ru> (message from Konstantin Kharlamov on Sun, 17 Nov 2024 18:21:36 +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:295533 Archived-At: > Cc: Alan Mackenzie , 74382@debbugs.gnu.org > From: Konstantin Kharlamov > Date: Sun, 17 Nov 2024 18:21:36 +0300 > > On Sun, 2024-11-17 at 08:25 +0100, Gerd Möllmann wrote: > > Konstantin Kharlamov writes: > > > > > Sure, I just reproduced it after removing all `.elc` files in the > > > repo, > > > here how: > > > > > > 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)` > > > > 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. > > > > Does a "make clean" after the checkout in (3) make it work? > > I don't think so, because `make clean` for some reason doesn't remove > `.elc` artifacts. And it shouldn't, because *.elc files are part of a release tarball.