From: Ryan Prior <rprior@protonmail.com>
To: "André A. Gomes" <andremegafone@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Packing Emacs 28.0.91 with native compilation
Date: Tue, 11 Jan 2022 19:49:59 +0000 [thread overview]
Message-ID: <BR-8gtS3_ld42NeFhEg8_0OMNKdyp6yw39V-rJElHqKjYXvxfHJ6mSPDHvTR88GxuyXalyiLgIsyU0Gk7brT4_aG2f1B6BUU54jLg_obj30=@protonmail.com> (raw)
In-Reply-To: <87czkygm1y.fsf@gmail.com>
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 <andremegafone@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"
next prev parent reply other threads:[~2022-01-11 19:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-11 18:32 Packing Emacs 28.0.91 with native compilation André A. Gomes
2022-01-11 18:48 ` Maxime Devos
2022-01-11 19:13 ` André A. Gomes
2022-01-11 19:41 ` Maxime Devos
2022-01-11 19:47 ` Malte Gerdes
2022-01-11 20:31 ` André A. Gomes
2022-01-11 20:28 ` André A. Gomes
2022-01-11 19:49 ` Ryan Prior [this message]
2022-01-11 20:39 ` André A. Gomes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BR-8gtS3_ld42NeFhEg8_0OMNKdyp6yw39V-rJElHqKjYXvxfHJ6mSPDHvTR88GxuyXalyiLgIsyU0Gk7brT4_aG2f1B6BUU54jLg_obj30=@protonmail.com' \
--to=rprior@protonmail.com \
--cc=andremegafone@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).