GNU bug report logs - #43858
28.0.50; [feature/native-comp] Missing eln cache not created

Previous Next

Package: emacs;

Reported by: Andrew Whatson <whatson <at> gmail.com>

Date: Thu, 8 Oct 2020 00:02:01 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43858 in the body.
You can then email your comments to 43858 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#43858; Package emacs. (Thu, 08 Oct 2020 00:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrew Whatson <whatson <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 08 Oct 2020 00:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrew Whatson <whatson <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; [feature/native-comp] Missing eln cache not created
Date: Thu, 8 Oct 2020 10:01:23 +1000
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43858; Package emacs. (Thu, 08 Oct 2020 07:43:01 GMT) Full text and rfc822 format available.

Message #8 received at 43858 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Andrew Whatson <whatson <at> gmail.com>
Cc: 43858 <at> debbugs.gnu.org
Subject: Re: bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not
 created
Date: Thu, 08 Oct 2020 07:42:25 +0000
Andrew Whatson <whatson <at> gmail.com> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43858; Package emacs. (Fri, 09 Oct 2020 04:48:02 GMT) Full text and rfc822 format available.

Message #11 received at 43858 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Whatson <whatson <at> gmail.com>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 43858 <at> debbugs.gnu.org
Subject: Re: bug#43858: 28.0.50;
 [feature/native-comp] Missing eln cache not created
Date: Fri, 9 Oct 2020 14:47:40 +1000
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 <akrl <at> sdf.org> wrote:
>
> Andrew Whatson <whatson <at> gmail.com> 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




Reply sent to Andrea Corallo <akrl <at> sdf.org>:
You have taken responsibility. (Fri, 09 Oct 2020 06:33:02 GMT) Full text and rfc822 format available.

Notification sent to Andrew Whatson <whatson <at> gmail.com>:
bug acknowledged by developer. (Fri, 09 Oct 2020 06:33:02 GMT) Full text and rfc822 format available.

Message #16 received at 43858-done <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Andrew Whatson <whatson <at> gmail.com>
Cc: 43858-done <at> debbugs.gnu.org
Subject: Re: bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not
 created
Date: Fri, 09 Oct 2020 06:32:42 +0000
Andrew Whatson <whatson <at> gmail.com> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 Nov 2020 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.