emacs-lsp / dap-mode

Emacs :heart: Debug Adapter Protocol
https://emacs-lsp.github.io/dap-mode
GNU General Public License v3.0
1.3k stars 181 forks source link

Compilation errors #732

Open seagle0128 opened 1 year ago

seagle0128 commented 1 year ago

In Emacs 28.1 on Ubuntu 20.04, I got these errors while installing the latest dap-mode. No errors are observed in 29.x.

Compiling file /home/vincent/.emacs.d/elpa/dap-mode-20230425.1859/dap-chrome.el at Wed Apr 26 10:15:47 2023 
dap-chrome.el:30:1: Error: Wrong type argument: stringp, nil
───────────────────────────────────────────────────────────────────────────────
Compiling file /home/vincent/.emacs.d/elpa/dap-mode-20230425.1859/dap-codelldb.el at Wed Apr 26 10:15:47 2023
dap-codelldb.el:21:1: Error: Wrong type argument: stringp, nil         
───────────────────────────────────────────────────────────────────────────────
Compiling file /home/vincent/.emacs.d/elpa/dap-mode-20230425.1859/dap-cpptools.el at Wed Apr 26 10:15:47 2023 
dap-cpptools.el:27:1: Error: Wrong type argument: stringp, nil     
───────────────────────────────────────────────────────────────────────────────
Compiling file /home/vincent/.emacs.d/elpa/dap-mode-20230425.1859/dap-dlv-go.el at Wed Apr 26 10:15:48 2023
dap-dlv-go.el:30:1: Error: Wrong type argument: stringp, nil   
───────────────────────────────────────────────────────────────────────────────
Compiling file /home/vincent/.emacs.d/elpa/dap-mode-20230425.1859/dap-ui.el at Wed Apr 26 10:15:56 2023
dap-ui.el:30:1: Error: Wrong type argument: stringp, nil  
... 
jcs090218 commented 1 year ago

Our CI report without errors, see https://github.com/emacs-lsp/dap-mode/actions/runs/4801176315/jobs/8543058212.

Can you try re-install the package? 🤔

seagle0128 commented 1 year ago

The CI report is for 28.2. I still encountered the errors on 28.1.

seagle0128 commented 1 year ago

Now it occurs on 30.0.50 as well.

My config: https://github.com/seagle0128/.emacs.d/blob/f9116b87501ef8396b55bf471f5cc07250304057/lisp/init-lsp.el#L312.