Hey André, glad you're working on this! I have an Emacs package with native-compilation, pgtk, sqlite3, xinput2, and xwidgets that I call "emacs-edge" and have been using daily with Spacemacs. [1]
Hope you're able to get yours working, I'd love to move back to an upstream Guix package instead of limping my own thing along. Cheers, Ryan [1] https://github.com/ryanprior/guix-packages/blob/master/testing/emacs.scm#L17 ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Tuesday, January 11th, 2022 at 6:32 PM, André A. Gomes <andremegaf...@gmail.com> wrote: > Hi Guix, > > I tried to package Emacs as mentioned in the subject without success. > > I'm wondering if someone else has done it already. Note that I have few > > experience. > > Please find my attempt below. > > https://git.sr.ht/~aadcg/aadcg-guix-channel/tree/master/item/packages/aadcg-emacs.scm > > A log below. > > --8<---------------cut here---------------start------------->8--- > > configure: error: The installed libgccjit failed to compile and run a test > program using > > the libgccjit library; see config.log for the details of the failure. > > The test program can be found here: > > https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html. > > You can try compiling it yourself to investigate the issues. > > Please report the issue to your distribution if libgccjit was installed > > through that. > > You can find the instructions on how to compile and install libgccjit from > > source on this site: > > https://gcc.gnu.org/wiki/JIT. > > error: in phase 'configure': uncaught exception: > > %exception #<&invoke-error program: > "/gnu/store/vx6vfbmmazvfi7vp8xyjn2mcyylvw9gn-bash-minimal-5.1.8/bin/bash" > arguments: ("./configure" > "CONFIG_SHELL=/gnu/store/vx6vfbmmazvfi7vp8xyjn2mcyylvw9gn-bash-minimal-5.1.8/bin/bash" > > "SHELL=/gnu/store/vx6vfbmmazvfi7vp8xyjn2mcyylvw9gn-bash-minimal-5.1.8/bin/bash" > > "--prefix=/gnu/store/ljvhsyd91fc307r4chbrzkd5r7zvjgvp-aadcg-emacs-28-pretest-28.0.91-0.d193801" > "--enable-fast-install" "--with-native-compilation" "--with-modules" > "--with-cairo" "--disable-build-details") exit-status: 127 term-signal: #f > stop-signal: #f> > > phase `configure' failed after 9.7 seconds > > --8<---------------cut here---------------end--------------->8--- > > Thank you. > > > -------------- > > André A. Gomes > > "Free Thought, Free World"