Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error (use-package) - symbol's fuction definition is void #16422

Closed
Kan-Rup opened this issue May 30, 2024 · 9 comments
Closed

error (use-package) - symbol's fuction definition is void #16422

Kan-Rup opened this issue May 30, 2024 · 9 comments

Comments

@Kan-Rup
Copy link

Kan-Rup commented May 30, 2024

First time install of spacemacs. problems. install in debian was even more difficult. got a better result in mint.

undo did not work.

Error (use-package) : hl-todo:/init: symbol's function definition is void : global-bl-todo-mode
Error (use-package) : undo-tree/:init: symbol's function definition is void : global-undo-tree-mode

how to fix.

why do you not offer a stable version?

the main page says three errors occurred :
error package 'spinner-1.7.3' is unavailable
error package 'compat-29' is unavailable
error package 'compat-29.1.4.2' is unavailable

warnings : cannot find any of the specified fonts (source code pro) font settings may not be correct

@Kan-Rup
Copy link
Author

Kan-Rup commented May 30, 2024

look, I know I am not entitled to anything. so, why waste my time? does anyone have an answer to why the errors are. elpa is supposed to have some packages but they don't install. I manually fixed the spinner-1.7.3 problem by downloading from my package manager. There are plenty of decent IDEs out there, so if I don't get a reply soon, and by the look of the amount of fixes posted on the FAQ, I will assume this is not worth the time and effort and these errors will repeat in the future, and I will move on. thanks.

@Kan-Rup
Copy link
Author

Kan-Rup commented May 30, 2024

I got compat and spinner working. undo-tree does not seem to exist in those repos. I had to install undo-fu. it still leaves a warning message. Got to love the plug-and-stress mentality of linux devs. I'd still probably have to use VS code in the end. bye.

@BenedictHW
Copy link
Contributor

I found this by googling your error above.

https://stackoverflow.com/questions/72666830/spacemacs-warnings-after-upgrade-debian-10-to-11-on-chromebook

Does this help?

@BenedictHW
Copy link
Contributor

Those ELPA warnings may be due to how your linux distro packages Emacs. Always happy to see new blood in the Emacs world.

@Kan-Rup
Copy link
Author

Kan-Rup commented May 31, 2024

I am trying to do as that thread says...so I am about to do "install gnu-elpa-keyring-update"
but I get problem with it saying "failed to verify signature" hopefully the screenshot I took will show. look at the second column side, there is text there too.

I previously did " M-x set-variable RET package-check-signature RET nil RET " to get the keyring-update thing to show up...

undo-fu thing doesn't fix the undo-tree thing. so if this is going to be usable, need fix...

Screenshot from 2024-05-31 14-51-02

I have been experiencing same issue with GNU's official Emacs install, since Emacs 27.1.

For now, the only way I found to fix it is to disable signature checking and verify all packages by hand.

In my init.el I have temporarily added:

;; disable because of elpa bug in emacs 27.1
(setq package-check-signature nil)

Hopefully the bug will be fixed in next release.

@Kan-Rup
Copy link
Author

Kan-Rup commented May 31, 2024

I did copy the (setq package-check-signature nil) into the init, then I removed it...
there is different message now, bigger :

Screenshot 2

looks like some encryption keys expired or something?

@fnussbaum
Copy link
Contributor

fnussbaum commented May 31, 2024

You might want to try what's described in the last few comments here: #13054
Otherwise, if you compile and install the newest Emacs 29.3 from source, you should not get such errors I think (but I am not sure about this).

@smile13241324
Copy link
Collaborator

I have installed a fresh spacemacs instance on windows and it just worked (wsl2 + wslg) so I assume there is no general issue.

If you post your system details as is required in our issue template here https://github.com/syl20bnr/spacemacs/blob/develop/core/templates/REPORTING.template I may have a look.


Ok some general thoughts, it looks like you have an issue with emacs in general, not with spacemacs in particular. Note that spacemacs requires a properly running emacs as basis. I suggest you update your system to debian 12 (bookworm) and install the current emacs there (28.2) then retry.

@Kan-Rup
Copy link
Author

Kan-Rup commented Jun 2, 2024

You might want to try what's described in the last few comments here: #13054

gpg --homedir ~/.emacs.d/elpa/gnupg --keyserver hkp://keyserver.ubuntu.com --recv-keys 645357D2883A0966
worked for me (Debian 12, Emacs 28.2)

Changing the keyserver worked, the error message is gone and it loads to one screen. thanks.

@Kan-Rup Kan-Rup closed this as completed Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants