New comment by zenny on void-packages repository https://github.com/void-linux/void-packages/issues/24240#issuecomment-722214888 Comment: > Hey, I managed to make @ap4y 's changes work for me: [master...Javyre:emacs-nativecomp](https://github.com/void-linux/void-packages/compare/master...Javyre:emacs-nativecomp) > > The libgccjit template is unchanged from his, but his emacs template was missing the compiled `.eln` and `.pdmp` files in `/usr/lib/`. > (I also updated the git sha to the latest on the nativecomp branch) > > To compile emacs I use `./xbps-src -o ~gtk2,~x11,cairo,harfbuzz,nativecomp pkg emacs` Thanks @Javyre . I pulled your revised `emacs` template and appended related files, yet no go :-( Reports `emacs-common` missing and thereafter some missing support with libgccjit and finally fails to create `Makefile` ``` $ ./xbps-src -o ~gtk2,~x11,cairo,harfbuzz,nativecomp pkg emacs ... [runtime] emacs-common-28.0.50.3e3843512bfae0b7a532f633e45d4c140807ec9b_1: not found (subpkg, ignored) [runtime] emacs-common-28.0.50.3e3843512bfae0b7a532f633e45d4c140807ec9b_1: not found (subpkg, ignored) [runtime] emacs-common-28.0.50.3e3843512bfae0b7a532f633e45d4c140807ec9b_1: not found (subpkg, ignored) [runtime] desktop-file-utils-0.26_1: found (https://alpha.de.repo.voidlinux.org/current) [runtime] hicolor-icon-theme-0.17_2: found (https://alpha.de.repo.voidlinux.org/current) ... checking for isl 0.15 or later... no required isl version is 0.15 or later The following languages will be built: c,jit *** This configuration is not supported in the following subdirectories: gnattools gotools target-libada target-libhsail-rt target-libstdc++-v3 target-libphobos target-zlib target-libbacktrace target-libgfortran target-libgo target-libffi target-libobjc target-liboffloadmic target-libitm target-libsanitizer target-libvtv (Any other directories should still work fine.) checking for default BUILD_CONFIG... checking for --enable-vtable-verify... no checking for bison... no checking for byacc... no checking for yacc... no checking for bison... no checking for gm4... no checking for gnum4... no checking for m4... no checking for flex... no checking for lex... no checking for flex... no checking for makeinfo... no /builddir/gcc-9.3.0/missing: line 81: makeinfo: command not found checking for expect... no checking for runtest... no ... checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile mv: cannot move './conf30zSA8/out' to 'Makefile': No such file or directory config.status: error: could not create Makefile => ERROR: libgccjit-9.3.0_1: do_configure: '${configure_script} ${configure_args}' exited with 1 => ERROR: in do_configure() at common/build-style/gnu-configure.sh:7 ```