After update with Add/Remove Software (pamac), Emacs version changed from 29.4 to 30.1 (GNU Emacs 30.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4)) and a problem appeared.
Steps to reproduce:
Use some init.el, for example, an empty file. (emacs -q would not be enough.)
Launch Emacs, then C-h i, scroll down to any manual entry, for example, Emacs and type Enter.
The manual won’t open and this error message shows:
byte-code: Cannot open load file: No such file or directory, compat-26
Can you confirm?
How to repair?
The manual opens after typing mEmacs: not a path problem.
I use unstable branch (I have modified my profile accordingly, thanks for noticing).
Using my recovery procedure, I was able to reset my system to its previous state that is about 4 weeks old. So I am back to Emacs 29.4 which is fine.
If I try to update again, I have again messages “invalid or corrupted database (PGP signature)”. I could overcome this (using various related posts on this forum, after many attempts). Could this eventually break Emacs 30.1?
After update, Pamac confirmed “your system is up to date”.
It may not be of any use at all, but I was looking at it and it caught my attention.
Fresh install (KVM) - ZETAR KDE
Usual main Manjaro STABLE BRANCH - Cinnamon
I was curious, so I installed emacs.
It seems to work normally in my two environments.
❱ emacs --version
GNU Emacs 30.1
Copyright (C) 2025 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
❱ emacs ~/.bashrc
❱ LC_ALL=C pamac remove emacs
Preparing...
Checking dependencies...
To remove (6):
emacs 30.1-3 extra
tree-sitter 0.25.3-1 (Orphan Of: emacs) extra
libgccjit 14.2.1+r753+g1cd744a6828f-1 (Orphan Of: emacs) core
m17n-lib 1.8.4-4 (Orphan Of: emacs) extra
libotf 0.9.16-5 (Orphan Of: emacs) extra
m17n-db 1.8.8-1 (Orphan Of: emacs) extra
Total removed size: 321.5 MB
Apply transaction ? [y/N] y
I have tried Pamac emacs29-git and the problem is gone!
GNU Emacs 29.4.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49,
cairo version 1.18.4) of 2025-03-17
However I have this warning:
You are trying to run Emacs configured with the “pure-GTK” interface under the X window system. That configuration is unsupported and will lead to sporadic crashes during trnsfer of large selection data. It will also lea to various problems with keyboard input.
I did not have such problems but I can use -nw to avoid them.
I try Flatpak version as a new user and I do not see the problem!
Indeed my .emacs-d contain a lot of files apart from init.el.
The culprits are .emacs-d/elpa/dash*. In Elpa, I removed dash (marked obsolete even after upgrade), and also magit, kubernetes that depend on it. I don’t need them. This solves the problem.
My mistake was to forget Emacs packaging system which adds to init.el.