From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#74382: `compile-first` Make rule is no longer using `load-prefer-newer` Date: Sun, 17 Nov 2024 08:25:12 +0100 Message-ID: References: <6bc3a410f0857c3e3433070ac19deaf7eae88c63.camel@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18655"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Alan Mackenzie , 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 08:27:29 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 1tCZgv-0004kC-8u for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Nov 2024 08:27:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCZgX-0002WC-De; Sun, 17 Nov 2024 02:27: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 1tCZgV-0002Vz-Ku for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 02:27: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 1tCZgT-00013b-VO for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 02:27: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:Date:References:In-Reply-To:From:To:Subject; bh=cZDRqKASN2VWUE0iMOsYBXi860slY64zZk++gxJIw8E=; b=q6a3JO6l6c9PsuV8P7PglsWDQ9f3Nn+yZ+e3OIC8dCemT1IPV0wAgzWkmho4U422Vj45omHyhuYK+us8/GMCwP97zH8ITLT9PT6hncRVS1Qfmb4I6bYbFBOOcOnJ56RSmmY/XtMwsu8Zm0rM99+qikSy7ZaUQr9xy6ztnXV9jnpL0xgqdSs9Cg/O0UEWUMDQFT9Y9AsBbhjrZ3kCTLmBdRCpTR4f/RoOi9h+xeKITmsSUUmukUvP4xVVdGOR3L+DoPPq+4h/O87eThXW6HFrbrSQ1K7lHmoQkbGHlDcxpJmocZJnZAL41paTQXLULl7rkXkbIqIwZ6ZBzFo+gmwCKg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCZgT-0002QD-QZ for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 02:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Nov 2024 07:27:01 +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.17318283799241 (code B ref 74382); Sun, 17 Nov 2024 07:27:01 +0000 Original-Received: (at 74382) by debbugs.gnu.org; 17 Nov 2024 07:26:19 +0000 Original-Received: from localhost ([127.0.0.1]:55770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCZfn-0002Oz-3k for submit@debbugs.gnu.org; Sun, 17 Nov 2024 02:26:19 -0500 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:51510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCZfk-0002Oq-Ao for 74382@debbugs.gnu.org; Sun, 17 Nov 2024 02:26:17 -0500 Original-Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3823cae4be1so538547f8f.3 for <74382@debbugs.gnu.org>; Sat, 16 Nov 2024 23:26:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731828315; x=1732433115; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=cZDRqKASN2VWUE0iMOsYBXi860slY64zZk++gxJIw8E=; b=DL77T1hEaXQH3TmHWZO77iDrzTJVVXBwOLUUiUBaYJXqVriJSeFux6lTInTqf3WoZm jrMOy0qmo6f11YZHVV/Zler2wOpUFI1CSpI/ujC6bUAyuZtifxv1jne5DN/ensnXa1rj 52k0JsgskIkrSsUAOHFhPRGmhYevPClwfdCc8ZsZlgIYoJPsgP7df96cbY+pyzL3Na8m wU6CLkJ3g4f5OKdH+AxQMPDYKbQuZx3qcmJ1wilIcrqdhzW3UzTir0fo3WW1sLt7JQzj Lo2RvTLZ8pWYg7AoSrHijadBEasC/sVU4CBLhiRGJ9VInkk3AO6xP3dT5t5Lo56ZDY2J MnDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731828315; x=1732433115; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cZDRqKASN2VWUE0iMOsYBXi860slY64zZk++gxJIw8E=; b=OwrIeB2XRmHzWmYZglaz4/lkc8Lxk4hVzefFMhMqYt1sAGn2ewmMdiO2qVm8CntNO+ gLH+tSsLW55DyenuzCEHRIKsaxdSRviFX88ZoQCpequjZZT70fc76neA26UPzXQwt2KT niAtq9A/aw9OgA+L07//hwjoKvGAYy8SNj49F2uXg/jKcDbEIcWW9dr2rPkxF6kKWxmi UD6fVBMXV/wYt/qYAQ+um9zhrFCAyFC9xhZ9LdUGedcnJKTHAF8DNwEJkz/mJO83cg4q msaayKiYOVrrdPF4oTnvkx0IF8zI3q+dtqwi9QAO9DOAlIgfb/YMsCLd+AbZNblI1Bh9 3tzA== X-Forwarded-Encrypted: i=1; AJvYcCXCEqA3xV5cPo/S1O5VgrBfYkXmCCWqUj106N+Rk+O+zndLIcaMtiR1LRBAJ0skKyAMDWkgtQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yxd0eAmy7l2mj5rG9s70UNTeEw2oOdsb0oLr/zHAO/JAjdgSMKo GxFIqVlfekSs97yBv7iyOuRq+pjhJeF0sLJDxEZOPIu2L5xs2fdK/adV2g== X-Google-Smtp-Source: AGHT+IGOhZSEsmwV9GRJlHXUV9OAV74M64pUjHo1tul8429SCvd9zI3+o9PYpiR4EhluxiGV+xMunw== X-Received: by 2002:a05:6000:1864:b0:381:cde6:4ced with SMTP id ffacd0b85a97d-38225acd3b8mr6304061f8f.45.1731828315197; Sat, 16 Nov 2024 23:25:15 -0800 (PST) Original-Received: from pro2 (pd9e36919.dip0.t-ipconnect.de. [217.227.105.25]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-382398aa925sm3086964f8f.50.2024.11.16.23.25.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Nov 2024 23:25:14 -0800 (PST) In-Reply-To: (Konstantin Kharlamov's message of "Sat, 16 Nov 2024 20:45:47 +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:295513 Archived-At: 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?