From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adonay Felipe Nogueira Subject: Re: error running emacs installed with guix Date: Thu, 23 Nov 2017 22:27:51 -0200 Message-ID: <87shd4cygo.fsf@hyperbola.info> References: <1510516603.12220.4.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eI1qb-0001jc-O8 for help-guix@gnu.org; Thu, 23 Nov 2017 19:28:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eI1qX-0003RM-Qo for help-guix@gnu.org; Thu, 23 Nov 2017 19:28:01 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:40832) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eI1qX-0003PD-Lm for help-guix@gnu.org; Thu, 23 Nov 2017 19:27:57 -0500 Received: from adfeno-pc1 (unknown [181.223.84.199]) (Authenticated sender: adfeno@hyperbola.info) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 93E8041C086 for ; Fri, 24 Nov 2017 01:27:53 +0100 (CET) In-Reply-To: <1510516603.12220.4.camel@gmail.com> (Mason Hock's message of "Sun, 12 Nov 2017 11:56:43 -0800") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org An interesting update: If you try to make sure that Emacs is rebult, even using the same/current package definition, then the result works as expected. In my case, I made a local package definition for Emacs, and changed the phases or snippet enough to modify the source files a little, like so: Before: --8<---------------cut here---------------start------------->8--- (with-output-to-file (string-append lisp-dir "/site-start.el= ") (lambda () (display (string-append "(when (require 'guix-emacs nil t)\n" " (guix-emacs-autoload-packages))\n")))) --8<---------------cut here---------------end--------------->8--- After: --8<---------------cut here---------------start------------->8--- (with-output-to-file (string-append lisp-dir "/adfeno-dummy.= el") (lambda () (display (string-append "(print \"adfeno\")\n")))) (with-output-to-file (string-append lisp-dir "/site-start.el= ") (lambda () (display (string-append "(when (require 'guix-emacs nil t)\n" " (guix-emacs-autoload-packages))\n")))) --8<---------------cut here---------------end--------------->8--- Notice that I didn't change the "before" part, I just added a code that simply creates a file called "adfeno-dummy.el". Now, I wonder how to tell `guix package' to install what was just built? At any case, I hope this helps. ;) 2017-11-12T11:56:43-0800 Mason Hock wrote: > I have installed emacs with Guix. When I try to run it I get > > Gtk-Message: Failed to load module "canberra-gtk-module" > Gtk-Message: Failed to load module "topmenu-gtk-module" > > followed by many > > (emacs-25-3:7212): Gtk-WARNING **: Theme parsing error:* > > messages, and then > > GLib-GIO-Message: Using the 'memory' GSettings backend.=C2=A0=C2=A0Your s= ettings > will not be saved or shared with other applications. > Fatal error 6: Aborted > Backtrace: > /gnu/store/5jfh7wlrkc0lhrfdaijsjgz8w9bwqxvf-emacs-25.3/bin/emacs- > 25.3[0x81393ec] [...] > /gnu/store/5jfh7wlrkc0lhrfdaijsjgz8w9bwqxvf-emacs-25.3/bin/emacs- > 25.3[0x8176e5d] > ... > Aborted (core dumped) > > > Does anyone know what to make of this? > > Thanks, > > Mason