Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1114072

Bug#1017739: emacs-lucid cannot start after upgrade

From Andrea Corallo <akrl@sdf.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1017739: emacs-lucid cannot start after upgrade
Date 2022-08-22 11:30 +0200
Message-ID <EXbUR-2gws-3@gated-at.bofh.it> (permalink)
References <EWfe9-1G9K-3@gated-at.bofh.it> <EX2HT-2am2-3@gated-at.bofh.it> <EWfe9-1G9K-3@gated-at.bofh.it> <EX2HT-2am2-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Russ Allbery [2022-08-19 11:42:30] wrote:
>> The 28.1 version of emacs-lucid fails on startup with a cryptic error
>> message:
>>
>> % emacs
>> Cannot find suitable directory for output in ‘comp-native-load-path’.
>>
>> Running emacs -q allows it to start, but it still reports the same error
>> immediately during startup, and attempting to do someting as basic as
>> M-x set-variable (to try to enable debug-on-error) fails with a similar
>> error message:
>>
>> defalias: Cannot find suitable directory for output in ‘comp-native-load-path’.
>>
>> emacs -q --no-site-file avoids the error on startup, but M-x set-variable
>> still immediately fails with the same error.
>
> This error is signaled by `comp-el-to-eln-filename` and it usually
> indicates that that function was unable to find a writable directory in
> which to put the auto-generated `.eln` native-compiled files.
>
> I don't know why it fails to find a writable directory.  Maybe
>
>     emacs --debug-init` would help
> or
>     emacs -e '(message "%S" comp-native-load-path)'
>
> might help track down the origin of the problem.
>
> This said, Emacs shouldn't become unusable in such a circumstance, so we
> should maybe use a patch along the lines of the one below (not sure if
> it wraps the relevant invocation of `comp-el-to-eln-filename`, tho).

Agree Emacs should stay usable and I think the one you've identified
should be the right invocation to be wrapped.

Best Regards

  Andrea

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1017739: emacs-lucid cannot start after upgrade Russ Allbery <rra@debian.org> - 2022-08-19 20:50 +0200
  Bug#1017739: emacs-lucid cannot start after upgrade Stefan Monnier <monnier@iro.umontreal.ca> - 2022-08-22 01:40 +0200
    Bug#1017739: emacs-lucid cannot start after upgrade Andrea Corallo <akrl@sdf.org> - 2022-08-22 11:30 +0200
  Bug#1017739: emacs-lucid cannot start after upgrade Adam Lackorzynski <adam@os.inf.tu-dresden.de> - 2022-08-22 21:30 +0200
  Bug#1017739: emacs-lucid cannot start after upgrade Rob Browning <rlb@defaultvalue.org> - 2022-08-23 06:30 +0200
    Bug#1017739: emacs-lucid cannot start after upgrade Russ Allbery <rra@debian.org> - 2022-08-23 06:50 +0200
      Bug#1017739: emacs-lucid cannot start after upgrade Rob Browning <rlb@defaultvalue.org> - 2022-08-23 07:10 +0200
  Bug#1017739: emacs-lucid cannot start after upgrade Adam Lackorzynski <adam@os.inf.tu-dresden.de> - 2022-08-23 11:10 +0200
  Bug#1017739: emacs-lucid cannot start after upgrade Stefan Monnier <monnier@iro.umontreal.ca> - 2022-08-23 16:40 +0200
    Bug#1017739: emacs-lucid cannot start after upgrade Rob Browning <rlb@defaultvalue.org> - 2022-08-24 04:00 +0200
      Bug#1017739: emacs-lucid cannot start after upgrade Stefan Monnier <monnier@iro.umontreal.ca> - 2022-08-24 04:10 +0200
        Bug#1017739: emacs-lucid cannot start after upgrade Russ Allbery <rra@debian.org> - 2022-08-24 05:10 +0200
          Bug#1017739: emacs-lucid cannot start after upgrade Stefan Monnier <monnier@iro.umontreal.ca> - 2022-08-24 14:00 +0200
          Bug#1017739: emacs-lucid cannot start after upgrade David Bremner <bremner@debian.org> - 2022-09-12 00:20 +0200
            Bug#1017739: emacs-lucid cannot start after upgrade Stefan Monnier <monnier@iro.umontreal.ca> - 2022-09-12 03:40 +0200
              Bug#1017739: emacs-lucid cannot start after upgrade David Bremner <bremner@debian.org> - 2022-09-13 02:10 +0200

csiph-web