From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#64226: 30.0.50; emacs-lisp-native-compile-and-load permission error Date: Mon, 03 Jul 2023 04:50:53 -0400 Message-ID: References: <87bkh734u7.fsf@gmail.com> <83pm5n33zz.fsf@gnu.org> <87bkh7ts5r.fsf@gmail.com> <83o7l7327u.fsf@gnu.org> <87bkh731f1.fsf@gmail.com> <83h6qz2zaa.fsf@gnu.org> <877crv2yaw.fsf@gmail.com> <83cz1n2xjp.fsf@gnu.org> <83leg0qb8n.fsf@gnu.org> <87fs67wsto.fsf@gmail.com> <83r0prprki.fsf@gnu.org> <87bkgvwe05.fsf@gmail.com> <834jmmq2ez.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37054"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: No Wayman , 64226@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 03 10:52:31 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 1qGFIN-0009Pc-Hg for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Jul 2023 10:52:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGFI0-0005oj-8r; Mon, 03 Jul 2023 04:52:08 -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 1qGFHv-0005mx-CU for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2023 04:52:07 -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 1qGFHv-0004DT-3Z for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2023 04:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qGFHu-0002ti-Gg for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2023 04:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jul 2023 08:52:02 +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.168837426711073 (code B ref 64226); Mon, 03 Jul 2023 08:52:02 +0000 Original-Received: (at 64226) by debbugs.gnu.org; 3 Jul 2023 08:51:07 +0000 Original-Received: from localhost ([127.0.0.1]:33119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGFGy-0002sT-Bn for submit@debbugs.gnu.org; Mon, 03 Jul 2023 04:51:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGFGu-0002rw-Nb for 64226@debbugs.gnu.org; Mon, 03 Jul 2023 04:51:03 -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 1qGFGo-000459-G9; Mon, 03 Jul 2023 04:50:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=kgUyji4ZI+OVN5qdeothOmE1SHXTd/e9gb6sEuentHY=; b=lyFLlI016p4MG12aE/o/ 5KhOsfCywBLErjDvoIvIIK4SrwSKhlCwi3FIQuXIGKDLgX57TAKToFqn84A8q+hYRpze9fAvvMg7W 8YeD4qkRvA7kx5rp2S5ByGcfWYgqH27ly2xn8HeHrPK3LgJsiruOTQhzStbj+bN89wdvoVi+Tkd8e b+m1nK7hioOfaPaUbXAh/nVMiM4FnDLXEH5qOzIrn2crVzfVvNyS04iZH3reeQFz6ds6+OVN4cnwu ps+izM05/MVCaEYyQTESC8aBrD32MR468XPDI9CXDppJrcZVkCjd6VZ0+/lxNY6uWJfIuK4YK+iyA XM/zHmBRIuRxBA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qGFGn-0003VP-SO; Mon, 03 Jul 2023 04:50:54 -0400 In-Reply-To: <834jmmq2ez.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 02 Jul 2023 08:59:32 +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:264511 Archived-At: Eli Zaretskii writes: >> From: No Wayman >> Cc: acorallo@gnu.org, 64226@debbugs.gnu.org >> Date: Sat, 01 Jul 2023 15:14:16 -0400 >> >> >> Eli Zaretskii writes: >> >> > perhaps you could describe how to reproduce starting from "emacs >> > -Q" (and loading any packages or features you need for the minimal >> > reproduction recipe). The way you were showing the problem until >> > now obviously depends on your local setup, which is impossible to >> > reproduce without knowing the details. >> >> The instructions I gave here: >> >> https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-06/msg01224.html >> >> reproduce the error on my end from emacs -Q with a minimal file. >> To be crystal clear: >> >> 1. Save the following file to $HOME/test.el (or any path where the >> user has write permissions): >> >> --8<---------------cut here---------------start------------->8--- >> ;; -*- lexical-binding: t; -*- >> (defun +test () (message "PASS")) >> --8<---------------cut here---------------end--------------->8--- >> >> 2. emacs -Q $HOME/test.el >> 3. M-x emacs-lisp-native-compile-compile-and-load >> 4. Error is printed to message buffer. > > Thanks. I think Andrea couldn't reproduce this, but maybe he could > try again. (The error will only happen if the directory > usr/lib/emacs/30.0.50/native-lisp is not writable by your user, so > ensuring it's not writable should be part of the recipe.) Just retried and can finally reproduce the error. Will look at. Thanks Andrea