emacs-lsp / lsp-mode

Emacs client/library for the Language Server Protocol
https://emacs-lsp.github.io/lsp-mode
GNU General Public License v3.0
4.79k stars 890 forks source link

Compile lisp failed after updating lsp-mode #2930

Closed dackon closed 3 years ago

dackon commented 3 years ago

Thank you for the bug report

Bug description

When I update the lsp-mode (lsp-mode-20210613.1645), I got lots of errors in compile-log

Steps to reproduce

M-x package-reinstall Enter lsp-mode

Compile-Log output:

In toplevel form:
lsp-actionscript.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-ada.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-angular.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-bash.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-beancount.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-clangd.el:35:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-clojure.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-cmake.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-completion.el:24:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-crystal.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-csharp.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-css.el:28:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-d.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-dhall.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-diagnostics.el:24:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-dired.el:28:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-dockerfile.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-elixir.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-elm.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-erlang.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-eslint.el:28:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-fortran.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-fsharp.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-gdscript.el:26:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-go.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-groovy.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-hack.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-haxe.el:30:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-headerline.el:24:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-html.el:23:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-icons.el:23:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-ido.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-iedit.el:26:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-javascript.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-json.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-kotlin.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-lens.el:24:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-lua.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-markdown.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-mode.el:44:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-modeline.el:24:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-nim.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-nix.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-ocaml.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-perl.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-php.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-prolog.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-purescript.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-pwsh.el:33:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-pyls.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-pylsp.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-r.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-racket.el:28:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-rf.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-rust.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-semantic-tokens.el:25:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-solargraph.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-sorbet.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-sqls.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-steep.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-svelte.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-terraform.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-tex.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-vala.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-verilog.el:33:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-vetur.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-vhdl.el:44:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-vimscript.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-xml.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-yaml.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp-zig.el:27:1:Error: Symbol’s value as variable is void: Process

In toplevel form:
lsp.el:2:1:Error: Symbol’s value as variable is void: Process

Expected behavior

No error

Which Language Server did you use?

lsp-go lsp-pyright

OS

MacOS

Error callstack

No response

Anything else?

No response

yyoncho commented 3 years ago

From Troubleshooting section:

- If you manage your Emacs packages with the built-in package.el, we recommend the following procedure to update your packages:

* Delete your LSP-related packages
* Restart Emacs
* Install the new versions of the packages.
dackon commented 3 years ago

Thank you for reply. I found the issue, it was because someone broke markdown-mode package, put 'Process deleted ...' in 'markdown-mode.el'. That is the reason compiler complains variable 'Process'. They just restored the package. After I reinstall markdown-mode, the problem was fixed.