community/emacs: add dependency on gcc and musl-dev for nativecomp
Both are required for it to work.
To test that emacs does not work without these:
- Install any
nativecompemacs variant. - Remove
musl-devandgccif they are installed. -
rm -r ~/emacs.d/eln-cache ~/.config/emacs/eln-cacheto remove existing nativecomp cache if emacs was run before. -
emacs -Q -nwto run emacs without config in terminal (neither matter for reproduction, it just starts faster that way). - Exit emacs afterwards by pressing
C-x C-e.
Without both of these libraries error buffer will be shown about missing deps, with details available in async comp buffer that
you can switch to by running C-x b *As<TAB><Enter>.