Hello there guys.
So, I've recently got the source for Emacs 28.0.90 from https://git.savannah.gnu.org/cgit/emacs.git and built and installed it following the instructions. More specifically, I ran the following:
./autogen.sh
/configure --with-native-compilation=yes --with-json=yes --with-gnutls=yes --with-x-toolkit=lucid --with-mailutils=yes --with-rsvg=yes
make -j4
sudo make install
The compilation and install were successful, as well as the Doom install. However when I try to run Emacs I get the following error message:
error: Invalid hash table rehash size, 1.0
When I try to run an Emacs client (after successfully starting a daemon) I get a more elaborate error message:
*ERROR*: Error in a Doom startup hook: server-after-make-frame-hook, doom-init-theme-h, (error "Invalid hash table rehash size" 1.0)
The same happens when build and install Emacs 27.2 (source also from Savannah), without, of course, the native compilation flag on configure.
I saw that some Spacemacs users ran into the same problem and submitted this issue. I tried, as suggested there, to run an apt upgrade, but had no success.
Btw, I'm using Ubuntu 20 and Emacs works fine in the terminal.
Has anyone ran into the same issue? How can I fix this?
Thanks in advance!