From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created Date: Thu, 08 Oct 2020 07:42:25 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28724"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43858@debbugs.gnu.org To: Andrew Whatson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 08 09:43:13 2020 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 1kQQa0-0007MU-Tm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 09:43:12 +0200 Original-Received: from localhost ([::1]:43494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQQZz-0004s5-Vj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 03:43:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQQZs-0004rs-UF for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 03:43:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQQZq-0008IR-0u for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 03:43:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQQZp-00038D-Ud for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 03:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Oct 2020 07:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43858 X-GNU-PR-Package: emacs Original-Received: via spool by 43858-submit@debbugs.gnu.org id=B43858.160214295011995 (code B ref 43858); Thu, 08 Oct 2020 07:43:01 +0000 Original-Received: (at 43858) by debbugs.gnu.org; 8 Oct 2020 07:42:30 +0000 Original-Received: from localhost ([127.0.0.1]:58623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQQZJ-00037P-SR for submit@debbugs.gnu.org; Thu, 08 Oct 2020 03:42:30 -0400 Original-Received: from mab.sdf.org ([205.166.94.33]:41384 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQQZH-00037G-Iq for 43858@debbugs.gnu.org; Thu, 08 Oct 2020 03:42:28 -0400 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kQQZF-00074N-S1; Thu, 08 Oct 2020 07:42:25 +0000 In-Reply-To: (Andrew Whatson's message of "Thu, 8 Oct 2020 10:01:23 +1000") 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:190061 Archived-At: Andrew Whatson writes: > After removing ~/.emacs.d/eln-cache, running "emacs -q" starts up with > the error "native-compile-async: Wrong type argument: stringp, nil". > This is caused by `comp-el-to-eln-filename' returning nil due to no > writeable eln cache directory being found. > > I think we should attempt to create the cache directories if they're > missing, and have a better error if there is *really* no writeable > cache directory. Hi Andrew, agree, that's acutally what we have been doing before I broke it two days ago with 4a1bb46260 :) c3bc348f5e * Fix failure when eln-cache is removed (introduced by 4a1bb46260) fix this for me. Could you please confirm? Thanks Andrea