From unknown Thu Sep 11 00:24:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#59658 <59658@debbugs.gnu.org> To: bug#59658 <59658@debbugs.gnu.org> Subject: Status: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories Reply-To: bug#59658 <59658@debbugs.gnu.org> Date: Thu, 11 Sep 2025 07:24:42 +0000 retitle 59658 native-compile-prune-cache deletes *.eln files in the build's= native-lisp directories reassign 59658 emacs submitter 59658 Juanma Barranquero severity 59658 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 28 09:11:55 2022 Received: (at submit) by debbugs.gnu.org; 28 Nov 2022 14:11:55 +0000 Received: from localhost ([127.0.0.1]:48832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozerT-0004j7-78 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 09:11:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:46662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozerQ-0004iz-D0 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 09:11:54 -0500 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 1ozerQ-0006V8-3y for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 09:11:52 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozerO-0004Kf-Iv for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 09:11:51 -0500 Received: by mail-ej1-x635.google.com with SMTP id ha10so26154447ejb.3 for ; Mon, 28 Nov 2022 06:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=AbAumf46Fnxola8zEpPMgp5pP4+GEfU8x283Lr3Ef4Y=; b=qVu2wQy8wXHWSoC7vcWFV+BTSfpHfLk/R+FhNPWPjgNU07JvuoZbzP3yGY3QI1U7ox dJ4HQbdwIy/FiRFw0JvINcr4atyYFsr7RPaf4zG7b5dSVHb/nkzl2T+Vpa8yD3KnDqZQ 2aohkS+lb2YfPMAJIAoLSR3ne1bjdD8UNuQkrwV8rrg55dR6Qu6yxNgzEhUyI/By22aE /jv8qqzHLKyWTav851sASxnRix9eWLa7hnmTQDpBHk8c7hnHncUGB8UBazhRqp29TxNd kRF0CWq+kdhVIk5nIlNTaujuAz1gZpyyEVH6kjrxW6+uKmawz10YZJgErKQFAC22w/mg oCFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AbAumf46Fnxola8zEpPMgp5pP4+GEfU8x283Lr3Ef4Y=; b=JQB4PUh+M7EGzVKmlgy8hYI/XndcQ44vXfZOGCmkxytnOGfLjHlx06jlWXOMVBSEK2 xxIE/EDDyj+4IXFDF7P1vDXt1YkpkYZrh9PgtgI2Y7yM/2wRenTP6FRXERyH8yv2gYHa 6CG8d7SlYqkUTcz2HaFiZnPyJ+LRmiotWbeQHI1cyChcnUuw0ZhhzdB2gwZ8ElfJv2VF 3aeJKQ7b8liUvLEIN6LhaUJA+xNEaED2zJR3ytB4ZWxD07TXzb3GYf9iV4b7nqkeY50g 5fooXY0I4ZtbetiWGv5icwW3Q8NOiz5u9LmwWhXomzj4lx7UXklHtg977xXcAUiTOpDw djqw== X-Gm-Message-State: ANoB5pknZgBey0iwLNyUJ0KGubFmyhTUaGqM7TROAHcezh6iaOCzCWWc sHdMDWHFKy5HwE21T1pj9/ZIeQEWrNPA0pFCZ/fJK4ESbZo= X-Google-Smtp-Source: AA0mqf5jVo5vb7GZBiBU/wB7UTWk9L+u160Jn3sTsgNG66BsmSdUiRt7hW5Twu2uNOxKjKhOjYTPFbK+RKIfpUwIcg4= X-Received: by 2002:a17:906:6dc9:b0:7bc:5700:490 with SMTP id j9-20020a1709066dc900b007bc57000490mr13844485ejt.592.1669644707100; Mon, 28 Nov 2022 06:11:47 -0800 (PST) MIME-Version: 1.0 From: Juanma Barranquero Date: Mon, 28 Nov 2022 15:11:10 +0100 Message-ID: Subject: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories To: Bug-Gnu-Emacs Content-Type: multipart/alternative; boundary="000000000000aafc5705ee88735e" Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=lekktu@gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000aafc5705ee88735e Content-Type: text/plain; charset="UTF-8" This is on Windows, and running Emacs in-place after building from trunk (no installation). If you have several VERSION-xxxxxxxx directories under native-lisp/ and do M-x native-compile-prune-cache this deletes any .eln files in the VERSION-xxxxxxxx directories of the stale caches. Their preloaded/ subdirectories and content are not affected. Presumably this should skip the last entry in native-comp-eln-load-path, which is documented as being "assumed to be the system one". --000000000000aafc5705ee88735e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is on Windows, and running Emacs in-place after building fro= m trunk (no installation).

If you have several VERSION-xxxxxxxx dire= ctories under native-lisp/ and do=C2=A0

M-x native-compile-prune-cache &l= t;RET>

this deletes any .eln files in the VERSION-xxxxxxxx director= ies of the stale caches. Their preloaded/ subdirectories and content are no= t affected.

Presumably this should skip the last entry in native-com= p-eln-load-path, which is documented as being "assumed to be the syste= m one".

--000000000000aafc5705ee88735e-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 28 09:46:28 2022 Received: (at 59658) by debbugs.gnu.org; 28 Nov 2022 14:46:28 +0000 Received: from localhost ([127.0.0.1]:48999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozfOt-00050n-Pd for submit@debbugs.gnu.org; Mon, 28 Nov 2022 09:46:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozfOs-00050h-AB for 59658@debbugs.gnu.org; Mon, 28 Nov 2022 09:46:26 -0500 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 1ozfOm-00030X-TM; Mon, 28 Nov 2022 09:46:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hYhXX0ajkGteCMbwFve9b0b3l8CT7W3NyvpAE3V8DK4=; b=AQTiaMARB2De CTWAUp0rWfqTHCM6LkKCWn7cU3vU0GBz8EOaqpcLbOfqAzSwoa4dxTo4X2nBpIODYqTbsQ3PMZsyY 6XW5SteAp1+5ycTLjbGoCvDXuTPN4vumqYyp9qulyWm7fwuUIwarN9EfQ/ahgQGfzH1PfA9VsBObm pg6Fw0aeOOlvpwuYWWBLF7A9aZGv3VhH5XLxZl+UNc9wNweUlJJ4clW8ONYwbD5hBzXNNElc8sqZV OP+q5+La7zN/nrjTRzfZuTaF74Q/Os3YHoPAFWXqjLR7ZZ6tMH2C6anFZvZrUl8JZ0vLnXeRylFHM QhDBqJwIbX/RPZeHlbzUIw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozfOU-0007r4-I8; Mon, 28 Nov 2022 09:46:20 -0500 Date: Mon, 28 Nov 2022 16:46:32 +0200 Message-Id: <83bkornnlj.fsf@gnu.org> From: Eli Zaretskii To: Juanma Barranquero In-Reply-To: (message from Juanma Barranquero on Mon, 28 Nov 2022 15:11:10 +0100) Subject: Re: bug#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59658 Cc: 59658@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juanma Barranquero > Date: Mon, 28 Nov 2022 15:11:10 +0100 > > This is on Windows, and running Emacs in-place after building from trunk (no installation). > > If you have several VERSION-xxxxxxxx directories under native-lisp/ and do > > M-x native-compile-prune-cache > > this deletes any .eln files in the VERSION-xxxxxxxx directories of the stale caches. Their preloaded/ > subdirectories and content are not affected. > > Presumably this should skip the last entry in native-comp-eln-load-path, which is documented as being > "assumed to be the system one". Yes, I think it should skip the last entry. AFAIR, that was the intent with this command, in which case what it does now is an oversight of sorts. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 28 11:49:45 2022 Received: (at 59658-done) by debbugs.gnu.org; 28 Nov 2022 16:49:45 +0000 Received: from localhost ([127.0.0.1]:49648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozhKD-00068R-0Q for submit@debbugs.gnu.org; Mon, 28 Nov 2022 11:49:45 -0500 Received: from mail-ej1-f41.google.com ([209.85.218.41]:42799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozhKB-00068K-B5 for 59658-done@debbugs.gnu.org; Mon, 28 Nov 2022 11:49:43 -0500 Received: by mail-ej1-f41.google.com with SMTP id n21so27332248ejb.9 for <59658-done@debbugs.gnu.org>; Mon, 28 Nov 2022 08:49:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dexL6nRwv2Yv716NYxbsxbL7EN6FDASCeKPDCtPnPqs=; b=KfXoQjK4xFWXuryVxlHG1U8dt71wLY8hrSdz+pF/E1sfFWbTRT4+hf9ZBoRjBhlIbv /tQN9ZWLxgBvcBgzQtphywRpwvDOgDK7aKGWh2WluLMtZMvZIA/1I4qaVKGF1yjiaXLd W3pa7PoGO/L+ObZ+8l8+gVg9DAnIPK6OPmsP2DTMDkqC3WkTQJyvxnNbmpbSAQdAb5wL uecElv0Wl59YdhikKEGdEmDBAju4thdDhYYZ5VsRqw1QDzSklaYclHAzcuQ3zJyY2q3n Yc+4qatFmWNZHjZqMsCee9QKuM0orUOlCzHm1/SZvEm1Q4NZ1+kf5kZ1LT3SKusKqKGi tJvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dexL6nRwv2Yv716NYxbsxbL7EN6FDASCeKPDCtPnPqs=; b=OL66U9kMELYN7d2tO9L/fIIj2pvlp+PsBxy7M23JIGUj8tLAOgwS9AdP1J1nCrFe++ bmdX3Vmt/Bfc+lPgUeXttD+RF8MBOhVV6BZRM/GtUE59/4DflIfgmr4Fcoklj+GdMDCH zi5ux4vCwA5eVqOF+hrsbctFNZTEt9AvrywFDEhAyllOw2B2jZ0fcTUMUMclsPkDEVt5 qjp8kqljTLatlCGuM3DZnQEPOhQDnNaddEjdrqIpexXJRc2SForrp9tO+CEk1gx/C20C OkEQLzrtmCTZClQhkbLA0rzsYiAYrh6STIzVm5VFSmC8PHCUvIjNZxQofDOgaHFnu6/N OUYw== X-Gm-Message-State: ANoB5pl88kgELvw46f3+nkoD16ycpo9H6Hwo6/10JXNLYeKsLdicBh5X mJYZNQ/hPGO+8v4sgEVaweV1OOVNTa1tNU6goPg= X-Google-Smtp-Source: AA0mqf7xWQpT/WXnf/bz3VahySJNkPYGaXSlza+fhj7mcz8UIY1fxO1fJYsw0hDHsCuPohqja7A0NumT97zhYOhOvyw= X-Received: by 2002:a17:906:4bcc:b0:7be:6ab8:4ccc with SMTP id x12-20020a1709064bcc00b007be6ab84cccmr8606462ejv.713.1669654177381; Mon, 28 Nov 2022 08:49:37 -0800 (PST) MIME-Version: 1.0 References: <83bkornnlj.fsf@gnu.org> In-Reply-To: <83bkornnlj.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 28 Nov 2022 17:49:01 +0100 Message-ID: Subject: Re: bug#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories To: Eli Zaretskii Content-Type: multipart/alternative; boundary="0000000000002401cb05ee8aa885" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59658-done Cc: 59658-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000002401cb05ee8aa885 Content-Type: text/plain; charset="UTF-8" Fixed with commit 2772ebe366 of 2022-11-28: Do not prune native-compiled system directories (bug#59658) --0000000000002401cb05ee8aa885 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Fixed with commit=C2=A02772ebe366 of 2022-11-28:
Do not prune = native-compiled system directories (bug#59658)
--0000000000002401cb05ee8aa885-- From unknown Thu Sep 11 00:24:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 27 Dec 2022 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator