From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Emacs startup failure on GuixSD Date: Mon, 20 Jul 2015 15:52:20 +0200 Message-ID: <87twsz0wdn.fsf@gnu.org> References: <1437399632-3550-1-git-send-email-ludo@gnu.org> 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]:41272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHBUY-0002sd-Ux for guix-devel@gnu.org; Mon, 20 Jul 2015 09:52:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHBUV-0007Ha-HE for guix-devel@gnu.org; Mon, 20 Jul 2015 09:52:26 -0400 In-Reply-To: <1437399632-3550-1-git-send-email-ludo@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22's\?\= message of "Mon, 20 Jul 2015 15:40:31 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: alezost@gmail.com Cc: guix-devel@gnu.org Ludovic Court=C3=A8s skribis: > Reconfiguring my system after b56724e led to an Emacs that wouldn't start > because of a missing 'cl-pushnew' binding while loading > /etc/emacs/site-start.el. I managed to capture a backtrace by running =E2=80=98emacs -Q=E2=80=99 and = then: M-x toggle-debug-on-error M-x load-file /etc/emacs/site-start.el Here it is: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (void-function cl-pushnew) (cl-pushnew (file-name-directory file) load-path :test (function string= =3D)) (while --dolist-tail-- (setq file (car --dolist-tail--)) (cl-pushnew (fil= e-name-directory file) load-path :test (function string=3D)) (load file (qu= ote noerror)) (setq --dolist-tail-- (cdr --dolist-tail--))) (let ((--dolist-tail-- files) file) (while --dolist-tail-- (setq file (ca= r --dolist-tail--)) (cl-pushnew (file-name-directory file) load-path :test = (function string=3D)) (load file (quote noerror)) (setq --dolist-tail-- (cd= r --dolist-tail--)))) (let* ((autoloads (guix-emacs-find-autoloads)) (files (if all autoloads (= cl-nset-difference autoloads guix-emacs-autoloads :test (function string=3D= ))))) (let ((--dolist-tail-- files) file) (while --dolist-tail-- (setq file= (car --dolist-tail--)) (cl-pushnew (file-name-directory file) load-path :t= est (function string=3D)) (load file (quote noerror)) (setq --dolist-tail--= (cdr --dolist-tail--)))) (setq guix-emacs-autoloads autoloads)) guix-emacs-load-autoloads(all) (progn (require (quote guix-emacs)) (guix-emacs-load-autoloads (quote all= ))) (if guix-package-enable-at-startup (progn (require (quote guix-emacs)) (g= uix-emacs-load-autoloads (quote all)))) eval-buffer(# nil "/run/current-system/profile/sha= re/emacs/site-lisp/guix-init.el" nil t) ; Reading at buffer position 641 load-with-code-conversion("/run/current-system/profile/share/emacs/site-l= isp/guix-init.el" "/run/current-system/profile/share/emacs/site-lisp/guix-i= nit.el" t t) require(guix-init nil t) (progn (add-to-list (quote load-path) "/run/current-system/profile/share/= emacs/site-lisp") (require (quote guix-init) nil t) (require (quote geiser-= install) nil t)) eval-buffer(# nil "/etc/emacs/site-start.el" nil t) ; Re= ading at buffer position 165 load-with-code-conversion("/etc/emacs/site-start.el" "/etc/emacs/site-sta= rt.el" nil nil) load("/etc/emacs/site-start.el" nil nil t) load-file("/etc/emacs/site-start.el") call-interactively(load-file record nil) command-execute(load-file record) execute-extended-command(nil "load-file") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) --8<---------------cut here---------------end--------------->8--- Looking more closely, I guess the reason it worked in a VM is that there were no autoloads, so =E2=80=98guix-emacs-find-autoloads=E2=80=99 just retu= rned nil. Ludo=E2=80=99.