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:21:36 +0300 Message-ID: <31dfd7d1c1c19d3fff5609b86ce85c1533a84af0.camel@yandex.ru> References: <6bc3a410f0857c3e3433070ac19deaf7eae88c63.camel@yandex.ru> 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="38347"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.54.1 Cc: Alan Mackenzie , 74382@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 17 16:22:28 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 1tCh6Z-0009pj-2w for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Nov 2024 16:22:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCh6E-0002fy-HL; Sun, 17 Nov 2024 10:22:06 -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 1tCh6B-0002fp-CP for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:22: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 1tCh6B-0001VV-4L for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:22:03 -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=djoHjKCD4J7TcJJ2IFeu4ZDiHSJcEYmEUOxfVZkUjrE=; b=aWhB5Eu3ahxnHBv2CNv9xQhhGVMZcc35m8NpuN/H49tCohMhr+o8zHHgLSj1DdctgpnaaxuJVlAeGIHXPUcdWBEDmcKALeW+1HS5/8N67QFAsUXVN8tiBGNxkYcgwC918lhrOiDTMREUVYOrOMusNiDEu4VjT2cnn0zI3OlrjjRE7YFyndqmfBK1qGQ2VMzqSh30Zj/xtRcRLFKNX3QaIALX9XKZC1x7o6sfmOtM5RK43Abbv1MD0FEY2tpfOmmfqk2nXJ8AAkaKQ6TVOI0woLhY8Ug+QIa6MRQZBwaPGCyXKEdF/IcuGz9hjqUh1GwEPI2K3O0llBvMITm2Ubu1mQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCh6A-0007SK-Hp for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:22: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:22: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.173185691028640 (code B ref 74382); Sun, 17 Nov 2024 15:22:02 +0000 Original-Received: (at 74382) by debbugs.gnu.org; 17 Nov 2024 15:21:50 +0000 Original-Received: from localhost ([127.0.0.1]:58081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCh5x-0007Rs-KD for submit@debbugs.gnu.org; Sun, 17 Nov 2024 10:21:49 -0500 Original-Received: from forward500d.mail.yandex.net ([178.154.239.208]:39786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCh5t-0007RY-VL for 74382@debbugs.gnu.org; Sun, 17 Nov 2024 10:21:48 -0500 Original-Received: from mail-nwsmtp-smtp-production-main-84.klg.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-84.klg.yp-c.yandex.net [IPv6:2a02:6b8:c42:2322:0:640:6062:0]) by forward500d.mail.yandex.net (Yandex) with ESMTPS id 8556860D07; Sun, 17 Nov 2024 18:21:38 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-84.klg.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id bLRscLTOoa60-2TLdwnYO; Sun, 17 Nov 2024 18:21:38 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1731856898; bh=djoHjKCD4J7TcJJ2IFeu4ZDiHSJcEYmEUOxfVZkUjrE=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=PzMu2dwmvgMMGqZOcH6z54DWd3xlXPJBDkwvG8Wp+p2vuAw7Dn4l40c5g43z7HhJX fKv3ibwKNw2xG/LH0DWlkcnqNufaICAQQxSZLNEbYlz81baKZySo/gTAZUClWUuK/M bcMgy+N+geXd7eE/tqSBlp9+6NcYPdY+4Crwe+HE= Authentication-Results: mail-nwsmtp-smtp-production-main-84.klg.yp-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: 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:295531 Archived-At: 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? I don't think so, because `make clean` for some reason doesn't remove `.elc` artifacts.