jwiegley / use-package

A use-package declaration for simplifying your .emacs
https://jwiegley.github.io/use-package
GNU General Public License v3.0
4.42k stars 260 forks source link

Install from ELPA: Error: Attempt to set a constant symbol: nil #900

Closed mhugo closed 3 years ago

mhugo commented 3 years ago

Hi, I've just tried to install use-package through package-install with ELPA and got the following error. The error seems to come from (require 'use-package-core). I am doing something wrong ? Thanks for your help.

Compiling internal form(s) at Mon Jan 11 17:30:17 2021
Leaving directory ‘/Users/hugo/.emacs.d/elpa/use-package-20210106.2145’

Compiling file /Users/hugo/.emacs.d/elpa/use-package-20210106.2145/use-package-bind-key.el at Mon Jan 11 17:30:17 2021
Entering directory ‘/Users/hugo/.emacs.d/elpa/use-package-20210106.2145/’
use-package-bind-key.el:38:1:Error: Attempt to set a constant symbol: nil

Compiling file /Users/hugo/.emacs.d/elpa/use-package-20210106.2145/use-package-core.el at Mon Jan 11 17:30:17 2021

Compiling file /Users/hugo/.emacs.d/elpa/use-package-20210106.2145/use-package-delight.el at Mon Jan 11 17:30:18 2021
use-package-delight.el:36:1:Error: Attempt to set a constant symbol: nil

Compiling file /Users/hugo/.emacs.d/elpa/use-package-20210106.2145/use-package-diminish.el at Mon Jan 11 17:30:18 2021
use-package-diminish.el:36:1:Error: Attempt to set a constant symbol: nil

Compiling file /Users/hugo/.emacs.d/elpa/use-package-20210106.2145/use-package-ensure.el at Mon Jan 11 17:30:18 2021
use-package-ensure.el:37:1:Error: Attempt to set a constant symbol: nil

Compiling file /Users/hugo/.emacs.d/elpa/use-package-20210106.2145/use-package-jump.el at Mon Jan 11 17:30:18 2021
use-package-jump.el:38:1:Error: Attempt to set a constant symbol: nil

Compiling file /Users/hugo/.emacs.d/elpa/use-package-20210106.2145/use-package-lint.el at Mon Jan 11 17:30:18 2021
use-package-lint.el:36:1:Error: Attempt to set a constant symbol: nil

Compiling file /Users/hugo/.emacs.d/elpa/use-package-20210106.2145/use-package.el at Mon Jan 11 17:30:18 2021
use-package.el:42:1:Error: Attempt to set a constant symbol: nil
mhugo commented 3 years ago

Sorry for the noise, there was something strange in my config ((nil nil t)in custom-set-variables). The installation works fine.