From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Whatson Newsgroups: gmane.emacs.bugs Subject: bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created Date: Fri, 9 Oct 2020 14:47:40 +1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18759"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43858@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 09 06:48: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 1kQkKC-0004lf-2r for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 06:48:12 +0200 Original-Received: from localhost ([::1]:39038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQkKB-0005R8-3F for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 00:48:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQkK2-0005Qp-Ef for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 00:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQkK2-0006qL-5P for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 00:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQkK2-0007o0-3v for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 00:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Whatson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Oct 2020 04:48:02 +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.160221887829803 (code B ref 43858); Fri, 09 Oct 2020 04:48:02 +0000 Original-Received: (at 43858) by debbugs.gnu.org; 9 Oct 2020 04:47:58 +0000 Original-Received: from localhost ([127.0.0.1]:33886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQkJy-0007kU-Df for submit@debbugs.gnu.org; Fri, 09 Oct 2020 00:47:58 -0400 Original-Received: from mail-vs1-f50.google.com ([209.85.217.50]:35937) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQkJx-0007hP-9j for 43858@debbugs.gnu.org; Fri, 09 Oct 2020 00:47:57 -0400 Original-Received: by mail-vs1-f50.google.com with SMTP id f8so4327040vsl.3 for <43858@debbugs.gnu.org>; Thu, 08 Oct 2020 21:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5Dw/GRog2fjPCFSIW+c+ztcNMmwHXTrqHkjmPgwadIA=; b=iMozPBNnbIRfcT5IT5ZM0rgc98aWr6ktFVuyoqg/Jh0lUKyVYH9/qtsNuHTm1/u7cn n/eg+T1dyzbXGHeijJfHl5CXrVlRz/3VVYDGKiTZvMkxSv2y/8DD6Hwk68k/4O2JjtoO CP+y6sX+jNQSTggbHgLRVkf82r1YcoVwe93KuhEND92SruaKvymQT3T/1W+JNLj5WFjY R7t+W9wlzni3YU0C2iU9USl/xjIi+TVbADGg3PrOburEYzt/ajXqPaUkG04UMVNFXB88 w+3+nDWQ1tIT5ci4AK4E0piviyTg1adHdsCgLPb5/pFQtPZedr4FVXK+7k80j+Ax0JKy OWDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5Dw/GRog2fjPCFSIW+c+ztcNMmwHXTrqHkjmPgwadIA=; b=JA+uid0ubmIPWtnH+w9wt5ZzpGClCRszRsvujPFx0AYAThTNR5zoZDRiVU2LG9fC3k XG7g1E87KR7nlImXugCn8iHTCSra5gDYWOBVNYYnZF/JkOSZJe6+bekvQ7RTvV/fcFoy ngykc8kJHZGFSlMiTsNd8ZJQqB9n8KAKvxRDuIHDKbpXkniricarctuDlprR9kh/Dpbd 2SPfzwTfYCSGJ5MZLWwl6gNYXt4TcKPd0GSXE/GKWBXIBUNsuZ4CIQZLMpQ0SxcFiKOl gRV/L4wfX357SEzHCTeOhNPXPAkHTtCFJx+rfE91LldJ7XWse1UjVjmdf9bXbavqBET7 VJyA== X-Gm-Message-State: AOAM5304nmn/zeYv4x1f7WTKpSW/1Lb7GSiY/W4t4/UujPlzuXPykGGZ R6EJW98/S3kAtRKhC2T+T0rVjpwxK7h4Y6AChRQ= X-Google-Smtp-Source: ABdhPJyAiEaMBUHBc4c7JLesegfGmUtuWbXU/DXXfmJxoDMFVkJ+25urj85i9LcI4CLQqyPK5UmiwgD36U4iZqla6tE= X-Received: by 2002:a67:444:: with SMTP id 65mr3060027vse.0.1602218871563; Thu, 08 Oct 2020 21:47:51 -0700 (PDT) In-Reply-To: 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:190136 Archived-At: Hi Andrea, Thanks, yes, that fixed the main case where the missing directory wasn't created. While testing it, I've found another one in subr trampoline creation; patch submitted as #43875. Cheers! On Thu, 8 Oct 2020 at 17:42, Andrea Corallo wrote: > > 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