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#64226: 30.0.50; emacs-lisp-native-compile-and-load permission error Date: Thu, 22 Jun 2023 20:16:13 +0300 Message-ID: <83h6qz2zaa.fsf@gnu.org> References: <87bkh734u7.fsf@gmail.com> <83pm5n33zz.fsf@gnu.org> <87bkh7ts5r.fsf@gmail.com> <83o7l7327u.fsf@gnu.org> <87bkh731f1.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14284"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acorallo@gnu.org, 64226@debbugs.gnu.org To: No Wayman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 22 19:17:13 2023 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 1qCNvl-0003WV-7U for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Jun 2023 19:17:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCNvc-0002Kz-Dg; Thu, 22 Jun 2023 13:17:04 -0400 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 1qCNva-0002Kc-8T for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 13:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCNva-0004jf-04 for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 13:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCNvZ-0005tf-SG for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 13:17: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: Thu, 22 Jun 2023 17:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64226 X-GNU-PR-Package: emacs Original-Received: via spool by 64226-submit@debbugs.gnu.org id=B64226.168745417122607 (code B ref 64226); Thu, 22 Jun 2023 17:17:01 +0000 Original-Received: (at 64226) by debbugs.gnu.org; 22 Jun 2023 17:16:11 +0000 Original-Received: from localhost ([127.0.0.1]:36640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCNuk-0005sZ-PN for submit@debbugs.gnu.org; Thu, 22 Jun 2023 13:16:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCNui-0005sK-HI for 64226@debbugs.gnu.org; Thu, 22 Jun 2023 13:16:09 -0400 Original-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 1qCNud-0004d1-5k; Thu, 22 Jun 2023 13:16:03 -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=5oZ06UqcWVRm6O1isDj5RxFJhtKi4CGRDPovparwko0=; b=jW//2F46loGH 2hRskDyeb/gBV9GBZrwaxDbxXKHT8gns4GQCx04+cF+iqgwtGbAVQfL81HFf7A57vYcD2z4TXpbSG eIg0RppP3qjGAj9bgmyq2wvEyd+SrdjnmQ2Euf7pi+jvU47ArR8v4mCVAxPRc1vumLpPEB6dkhRPe tJwIad4KO8fTxG3/CRy/HNkpcrdg6qmE01MiRCesRc0NCljAxhRtmtnskeEawtm7JwPDjItd17o+6 xORDQOe+Sa2s9picFO75LjV1x01TrQyKkkbhIHM18/vjkQTN9c+5757qFReQMTZMlnmZVADb+ng8V njxq/QImDasC/gVEIbF2qg==; Original-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 1qCNuc-0007oc-LC; Thu, 22 Jun 2023 13:16:02 -0400 In-Reply-To: <87bkh731f1.fsf@gmail.com> (message from No Wayman on Thu, 22 Jun 2023 12:22:07 -0400) 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:263899 Archived-At: > From: No Wayman > Cc: acorallo@gnu.org, 64226@debbugs.gnu.org > Date: Thu, 22 Jun 2023 12:22:07 -0400 > > > Eli Zaretskii writes: > > > No, I don't think so, not with > > emacs-lisp-native-compile-and-load. > > Andrea, am I right? > > See comp-final: That's not compilation, that's code generation, the last stage of compilation. > >> If, in "emacs -Q", you visit the source file, that is > >> > >> $HOME/.emacs.d/elpaca/builds/elpaca/elpaca.el > >> > >> and then type > >> > >> M-: (native-compile buffer-file-name) RET > >> > >> what file name do you see in the echo-area after the > >> compilation > >> finishes? > > The following file name is messaged with no error signaled: > > "/home/n/.emacs.d/eln-cache/30.0.50-58a66af6/elpaca-0646d6fc-1256ece5.eln" Which is exactly what emacs-lisp-native-compile-and-load does. So I wonder what went wrong in your case. What is the value of native-comp-eln-load-path? Also, can you show the contents of the file being compiled, which seems to be /home/n/.emacs.d/elpaca/repos/elpaca/elpaca.el ?