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 16:43:01 +0100 Message-ID: References: <6bc3a410f0857c3e3433070ac19deaf7eae88c63.camel@yandex.ru> <31dfd7d1c1c19d3fff5609b86ce85c1533a84af0.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="2562"; 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 16:45:12 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 1tChSZ-0000Rw-Uv for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Nov 2024 16:45:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tChSS-0005ok-6t; Sun, 17 Nov 2024 10:45: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 1tChSQ-0005nP-9U for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:45: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 1tChSP-0005dL-QL for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:45:01 -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=PRjj3Q8JQQoo8+HxHLpHIFPleTQlfKLh9EYYfqANL/4=; b=XsnsMN8I/8RdcFKXpaxA0QZxnc8lqxtQdfh+1rOOZK88CZoal07xXe5Kus2yNuOoR4sAl1TuG/276WXYDZvVed4I06+TUC2dsI7qIql0qe+ul/ZQ40+45qk+8qvYxXx6R38YQPAIAqUevjGrT5pkA2dMjEdM1rRTKWDbNkSTm9AQzobRkLjRN/qMFcp+Jw3gPG58z4UbnjPBdR7sGpONqqHgWKWSzYolyr8oW8m8aTpPVSaL2iDOSpGlhqaHK9u9jKlHKVQj9vFNfoSIIcRskzNLdfD3Jao+/KYFMYfyEHslS417zOao/EkqLvNnaTOQkW2Iy80y2j4QIaFm3f8mqQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tChSP-0008Ve-Jl for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2024 10:45: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 15:45: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.173185825132630 (code B ref 74382); Sun, 17 Nov 2024 15:45:01 +0000 Original-Received: (at 74382) by debbugs.gnu.org; 17 Nov 2024 15:44:11 +0000 Original-Received: from localhost ([127.0.0.1]:58154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tChRa-0008UD-Tx for submit@debbugs.gnu.org; Sun, 17 Nov 2024 10:44:11 -0500 Original-Received: from mail-wm1-f46.google.com ([209.85.128.46]:57807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tChRZ-0008U0-37 for 74382@debbugs.gnu.org; Sun, 17 Nov 2024 10:44:09 -0500 Original-Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4315839a7c9so30696515e9.3 for <74382@debbugs.gnu.org>; Sun, 17 Nov 2024 07:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731858183; x=1732462983; darn=debbugs.gnu.org; h=content-transfer-encoding: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=PRjj3Q8JQQoo8+HxHLpHIFPleTQlfKLh9EYYfqANL/4=; b=cWJWKmFtOZpHDSaEP4HfVb7H0gMumDGvLj6sBNinzVpZZcli/ObVMRMDEo0t6vqIfQ /ysFBX5DA8em5cGAP9kFyE3z5OxR8R1GPZbr9zOB4Cg+qEiQu49fqjw/z/TD8UG2Fkey HBQ/ZZ1cRDitk5RWTsPcXIWzlvc5UsOwYYlm+YMX4elUzIfg/Xi0mah8kK5UqeB1TvW6 cIAyZIt8eE1tYpuTINqo91do3pMXs3gL0wh3J1W/Pmr1ttR2J4CsZJhws6LnJQDgIspu xeidS2IsH8a3GehCJ5I1HMWv8j0OZFxAENfMrkGTLGKBx03yi5ElcCbTK5DYUhPNmKRc q02w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731858183; x=1732462983; h=content-transfer-encoding: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=PRjj3Q8JQQoo8+HxHLpHIFPleTQlfKLh9EYYfqANL/4=; b=WJNfZuDQYx21ARTmXPNBweVkyUPX4/GWrMlP8QPn09gVZfXQDljgEp18wqNnRzwLHx mRMXRHpdeewKtFkm4kYQ7CuhcY1SQzuO0tbGnoPTEjyJbLm0O5TjwDiN/SZMUU49WBsH mHciqlrW9b/8knaxxW8z8lrecoQf0u8reXh5sFf/28qZFWpY4T9OOm75yko1tqlKLCT/ T2eItIgt57aNKbbMnidvVab1SO4gBfbqM+7SIfaycTxQunYZwm1aPsnEgsDljdH6qtKo /AR31+DXsXpKeN/AYXkmQ+2qPbkihl6HdhrP2xgyfyqbQFvOB8DUvCL8OP0UZAPFY/Eg hKzQ== X-Forwarded-Encrypted: i=1; AJvYcCX++2H+NufHF4nE7OAFEP7xgyU/zkr/3kzbk9pSGiWcxKWGuNIYCJQ9UKHFxPiKlXZXUtPPfw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YytfQWdVk4l+SXDrg15nhoI8UYiHCOqu8hK5M4hvwhngb4/SBEb IOr448EKEGOzvh2IrWRYqm0R4tErRMkKx+PFEst/w5xWxuiqI4HVQtplXQ== X-Google-Smtp-Source: AGHT+IHiy+Jp0ZfdbMjnu1unETgb1meMx5XfffSkpbTiG9qNyXLd4I8naLWouxAr73Vs3vTiReISbw== X-Received: by 2002:a05:6000:184d:b0:382:46d2:52ae with SMTP id ffacd0b85a97d-38246d253f7mr604760f8f.21.1731858182673; Sun, 17 Nov 2024 07:43:02 -0800 (PST) Original-Received: from pro2 (pd9e36919.dip0.t-ipconnect.de. [217.227.105.25]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38223272da0sm8309298f8f.32.2024.11.17.07.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Nov 2024 07:43:02 -0800 (PST) In-Reply-To: <31dfd7d1c1c19d3fff5609b86ce85c1533a84af0.camel@yandex.ru> (Konstantin Kharlamov's message of "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:295535 Archived-At: Konstantin Kharlamov writes: > 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. Ah, right, it is bootstrap-clean that removes the .elc files.