unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created
@ 2020-10-08  0:01 Andrew Whatson
  2020-10-08  7:42 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Whatson @ 2020-10-08  0:01 UTC (permalink / raw)
  To: 43858

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created
  2020-10-08  0:01 bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created Andrew Whatson
@ 2020-10-08  7:42 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2020-10-09  4:47   ` Andrew Whatson
  0 siblings, 1 reply; 4+ messages in thread
From: Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-10-08  7:42 UTC (permalink / raw)
  To: Andrew Whatson; +Cc: 43858

Andrew Whatson <whatson@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created
  2020-10-08  7:42 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2020-10-09  4:47   ` Andrew Whatson
  2020-10-09  6:32     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Whatson @ 2020-10-09  4:47 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 43858

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@sdf.org> wrote:
>
> Andrew Whatson <whatson@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created
  2020-10-09  4:47   ` Andrew Whatson
@ 2020-10-09  6:32     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 4+ messages in thread
From: Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-10-09  6:32 UTC (permalink / raw)
  To: Andrew Whatson; +Cc: 43858-done

Andrew Whatson <whatson@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-09  6:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08  0:01 bug#43858: 28.0.50; [feature/native-comp] Missing eln cache not created Andrew Whatson
2020-10-08  7:42 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-09  4:47   ` Andrew Whatson
2020-10-09  6:32     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).