From unknown Fri Jun 20 07:17:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#43858 <43858@debbugs.gnu.org> To: bug#43858 <43858@debbugs.gnu.org> Subject: Status: 28.0.50; [feature/native-comp] Missing eln cache not created Reply-To: bug#43858 <43858@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:17:52 +0000 retitle 43858 28.0.50; [feature/native-comp] Missing eln cache not created reassign 43858 emacs submitter 43858 Andrew Whatson severity 43858 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 07 20:01:42 2020 Received: (at submit) by debbugs.gnu.org; 8 Oct 2020 00:01:42 +0000 Received: from localhost ([127.0.0.1]:58330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQJNO-0008LQ-2M for submit@debbugs.gnu.org; Wed, 07 Oct 2020 20:01:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:46518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQJNK-0008LH-Fg for submit@debbugs.gnu.org; Wed, 07 Oct 2020 20:01:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQJNK-0005Dg-7Z for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 20:01:38 -0400 Received: from mail-vs1-xe2e.google.com ([2607:f8b0:4864:20::e2e]:37179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQJNI-0002sq-NH for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 20:01:37 -0400 Received: by mail-vs1-xe2e.google.com with SMTP id y194so2114178vsc.4 for ; Wed, 07 Oct 2020 17:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=/2Z5n2wysLlI7mlyKY0YddIpvJgsPyVqCjf+r5b7WTQ=; b=IjtCWvLZM3n+Bb7am811C3QI1GJjvQAMa9MP5oWU0YlHNe9/oPHRcbF8bdOPKpMvzd 7T8p6Az8pDo8yra4pIjMLxTdmhW6K+rwVxw/S2HEBPX7f4VwqyMJJtEmNooL0wb2RRfD H9wROPzZ3b+pi3t7uLK0zhm7ktByQljAoI8ea7+S2pmPAh1af0nPw92LQ6i82muiwMbD 6AeoGPQOz7SLtjKD4MgypYH9aA9fIt/LXtu0QILWr88b6DLIVuNIgfBmBttyEMPjepRa OuAPW3nFdGF+8Z5GBCUZDkzejHYTkPQzNJsJxfm8Jvo1a4UReMrvySsLXjzH59/EhltZ nvRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/2Z5n2wysLlI7mlyKY0YddIpvJgsPyVqCjf+r5b7WTQ=; b=UOFE04CUrvmAif/uePS4KSV2+SrtvuC9bva6UWf+VYn8l3j/XrCJftzBTUhT73W4yd iFUcP1FjUSBRV76nTZ0HdAlggfR5hLowtbjIIZmoaR7/76v/ha0pywN+mEEdMROyry6l dXEjkKQwK93bH1kAuJeY2CDL4Z99K9Enqht46iG8YKIQV0VKFve4NU6hC+c0e3U1fcRF WxgZvo4oYv46KB1I3PkUbsv3Lb3P51F8HqAR6xy0aiFGcFBWGUVMwCXGGn2Ctpy1pVgv AYDbrxXp7ZLlgCbJycVQImuPfZYvNWpHEF95bGJmAwUorSOJqKMs4/842j6FEEKE+aAO 8lHQ== X-Gm-Message-State: AOAM532+nxRGfgK0KxJJlJTQnXjv0T1JqjWPMXSdCmqIu5gbBysyyG+/ a8c/oe2yJKwxotGBEeCrCIRjvyeEkZl6lC12XzaXu0F0X7U= X-Google-Smtp-Source: ABdhPJzoGjzWV6dPIW6aBhGWeAaMYFDofdzRW4ieK4+dwutXHROBYrh/D+gzV/QiLVmGyDIlf8cjD1MI3XHGV5hDs5I= X-Received: by 2002:a05:6102:2fa:: with SMTP id j26mr3654567vsj.40.1602115294872; Wed, 07 Oct 2020 17:01:34 -0700 (PDT) MIME-Version: 1.0 From: Andrew Whatson Date: Thu, 8 Oct 2020 10:01:23 +1000 Message-ID: Subject: 28.0.50; [feature/native-comp] Missing eln cache not created To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::e2e; envelope-from=whatson@gmail.com; helo=mail-vs1-xe2e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 08 03:42:30 2020 Received: (at 43858) by debbugs.gnu.org; 8 Oct 2020 07:42:30 +0000 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 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 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 From: Andrea Corallo To: Andrew Whatson Subject: Re: bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created References: Date: Thu, 08 Oct 2020 07:42:25 +0000 In-Reply-To: (Andrew Whatson's message of "Thu, 8 Oct 2020 10:01:23 +1000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43858 Cc: 43858@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 09 00:47:58 2020 Received: (at 43858) by debbugs.gnu.org; 9 Oct 2020 04:47:58 +0000 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 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 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) MIME-Version: 1.0 References: In-Reply-To: From: Andrew Whatson Date: Fri, 9 Oct 2020 14:47:40 +1000 Message-ID: Subject: Re: bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43858 Cc: 43858@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 09 02:32:47 2020 Received: (at 43858-done) by debbugs.gnu.org; 9 Oct 2020 06:32:47 +0000 Received: from localhost ([127.0.0.1]:33971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQlxP-0006Sp-Hh for submit@debbugs.gnu.org; Fri, 09 Oct 2020 02:32:47 -0400 Received: from mab.sdf.org ([205.166.94.33]:56914 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQlxM-0006Se-0I for 43858-done@debbugs.gnu.org; Fri, 09 Oct 2020 02:32:45 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kQlxK-0002zy-L6; Fri, 09 Oct 2020 06:32:42 +0000 From: Andrea Corallo To: Andrew Whatson Subject: Re: bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created References: Date: Fri, 09 Oct 2020 06:32:42 +0000 In-Reply-To: (Andrew Whatson's message of "Fri, 9 Oct 2020 14:47:40 +1000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43858-done Cc: 43858-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Andrew Whatson writes: > 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! Super! closing this Andrea From unknown Fri Jun 20 07:17:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 06 Nov 2020 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator