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#58267: 29.0.50; Native-compiling the same files at every start Date: Mon, 03 Oct 2022 19:51:46 +0300 Message-ID: <83wn9gyhnh.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30498"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58267@debbugs.gnu.org To: Holger Schurig Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 03 18:54:28 2022 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 1ofOi4-0007lb-45 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Oct 2022 18:54:28 +0200 Original-Received: from localhost ([::1]:58338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofOi3-0003ZZ-0E for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Oct 2022 12:54:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofOfi-0002Gt-3V for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 12:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofOfh-0004WY-Qp for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 12:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofOfh-0003Rc-M8 for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 12:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Oct 2022 16:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58267 X-GNU-PR-Package: emacs Original-Received: via spool by 58267-submit@debbugs.gnu.org id=B58267.166481591813232 (code B ref 58267); Mon, 03 Oct 2022 16:52:01 +0000 Original-Received: (at 58267) by debbugs.gnu.org; 3 Oct 2022 16:51:58 +0000 Original-Received: from localhost ([127.0.0.1]:51619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofOfe-0003RM-JF for submit@debbugs.gnu.org; Mon, 03 Oct 2022 12:51:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofOfc-0003R9-Q5 for 58267@debbugs.gnu.org; Mon, 03 Oct 2022 12:51:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofOfX-0004Vj-Jn; Mon, 03 Oct 2022 12:51:51 -0400 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=movaR3kCUQuV3pC4pPu3Fh902+5J2p8bizC5K6Sk9EY=; b=Lq2lz+9PKVs8 i/YcxrEYPdZpBFeUGSPMpl4GLrxsh0y5DFz4GhPyc0lrnIqd7iOVAIqmZ6knooakmOio2bx7LDeIX UeQNZD40HiOx0Ry5WKrO9s2kSQcJTp3LEBsPW/DCvyGw8sZszLFDuELvW63Ekg36Nob1+DhyJqsSc J8IphyK8WP5MPLU6jJFXrYo8XDdpjI/Z8FgGOwEjEZ/yr8OchA3rUgqiugd8Cz0+cC9aNDP/wl/w/ PMzacXoyMQfw3UUh9Y05gNs/aRjEDiXHr1M0wZRHHQvytZQ1z02OZucK32IVjxguBTdW9m20KDk6k ctwh1PnNvGyHgNnMkSeh3A==; Original-Received: from [87.69.77.57] (port=2646 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 1ofOfX-0003yn-30; Mon, 03 Oct 2022 12:51:51 -0400 In-Reply-To: (message from Holger Schurig on Mon, 3 Oct 2022 00:11:38 -0700) 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" Xref: news.gmane.io gmane.emacs.bugs:244314 Archived-At: > From: Holger Schurig > Date: Mon, 3 Oct 2022 00:11:38 -0700 > > So, when I stop Emacs and start it again, I get the same behavior. > > I think the underlying problem is that /usr/local/share is root owned, > and my running Emacs as a user don't have write access. So no *.eln > files end up in this path. And this makes Emacs trying to byte-compile > them again. But Emacs is not supposed to write the *.eln files into /usr/local/share, it's supposed to write them to your .emacs.d/eln-cache directory under your home directory. Is your home directory writable? What is the value of native-comp-eln-load-path in that session? > Couldn't Emacs byte-compile them at "make" or "make install" steps? How would that help if Emacs is unable to write the *.eln files for some reason?