From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6KRHCAy4Cl8aEwAA0tVLHw (envelope-from ) for ; Sun, 12 Jul 2020 07:13:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wCsaBAy4Cl+efgAA1q6Kng (envelope-from ) for ; Sun, 12 Jul 2020 07:13:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0D74C9403CA for ; Sun, 12 Jul 2020 07:13:14 +0000 (UTC) Received: from localhost ([::1]:51634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juWAi-0003by-ER for larch@yhetil.org; Sun, 12 Jul 2020 03:13:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juWAY-0003bc-MY for bug-guix@gnu.org; Sun, 12 Jul 2020 03:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juWAY-0005fo-6k for bug-guix@gnu.org; Sun, 12 Jul 2020 03:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1juWAY-0002gh-2C for bug-guix@gnu.org; Sun, 12 Jul 2020 03:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42333: Emacs: error on guix-emacs-autoload-packages Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 12 Jul 2020 07:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42333 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42333@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159453794310283 (code B ref -1); Sun, 12 Jul 2020 07:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jul 2020 07:12:23 +0000 Received: from localhost ([127.0.0.1]:45344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juW9v-0002fn-D6 for submit@debbugs.gnu.org; Sun, 12 Jul 2020 03:12:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:39076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juW9u-0002ff-42 for submit@debbugs.gnu.org; Sun, 12 Jul 2020 03:12:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juW9t-0003a9-MN for bug-guix@gnu.org; Sun, 12 Jul 2020 03:12:21 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juW9r-0005cg-6d for bug-guix@gnu.org; Sun, 12 Jul 2020 03:12:21 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 011B3160060 for ; Sun, 12 Jul 2020 09:12:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1594537930; bh=ZFMM/KkcNUGriAqVSFMs3HvWS+jmWZLt3lkGgL44mj8=; h=From:To:Subject:Date:From; b=H2M8JEHcdRDIHcNWHH9kHdNFqbega2GQ088n7F3QJLhJ1jzAQjV/sg6DwrXy/psGZ IMyO+4I300liuQJotSf1baPmtFyLKiZBLu0buBxk+/ePBzTCjFnSQNl2R93lGDAQK8 ccQ+769fRxtFhUkVpKQOZHL50VdWxrIbzf35ipJrXLn85L3bIcgA9a9Vpt+GED0j5K KgiLc0e7oryYcOpeLynfF2B/M+aRa3pB0hSitiSgWXMNIvgVOhW/Ma+DnI4OVo1xwY 4HJPiyCBUQReSVQxH/1ORfPxR3mjO9888cvngNr5mrZIYgfW87vj9kyQqT3dkNelC0 aqQNLQ58foYEw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4B4Hyx3w6jz6tmM for ; Sun, 12 Jul 2020 09:12:09 +0200 (CEST) From: Alexandru-Sergiu Marton Date: Sun, 12 Jul 2020 13:11:58 +0300 Message-ID: <87h7udm49d.fsf@posteo.ro> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=brown121407@posteo.ro; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/12 03:10:02 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.ro header.s=2017 header.b=H2M8JEHc; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.ro (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 4.09 X-TUID: tFc75dXeoqwW Hi, I'm having a bit of trouble with Emacs on Guix. When I do `M-x guix-emacs-autoload-packages` I get the following error: --8<---------------cut here---------------start------------->8--- guix-emacs-find-autoloads: Opening directory: No such file or directory, /home/brown121407/.guix-profile/share/emacs/site-lisp/contrib --8<---------------cut here---------------end--------------->8--- This happened (this time!) after I installed Org mode from the package interface in Emacs. I don't think that is exacly what triggered it now but that was the last thing I did before restarting Emacs and running into this. The other times it happened (twice before) I don't remember what I was doing. I'm using Doom Emacs right now. I have problems with Emacs almost since I set it up on this laptop. I use the same config I'm using on my PC, where everything works. Both machines use Guix System. Besides this problem with loading Emacs packages from Guix I also encountered problems with Org mode while trying to build my website. Those were also not met before, on the same config, on my PC. In case someone wants to test building the website: 1. Clone https://git.sr.ht/~brown121407/brown.121407.xyz 2. Open publish.el in Emacs 3. M-x eval-buffer RET 4. M-x b7-publish-all RET It requires Org mode and the stuff you'd expect to publish HTML like htmlize and also the contrib files of Org which on Guix should be in the emacs-org-contrib package. If all is fine (as it is on my PC) you should go through the whole site build fine. But if it's borked as it is on my laptop it should give you some obscure errors about setting IDs (if you check the backtrace it should be something about `org-id-add-location` or similar things). That is if you don't run into other errors earlier than that stage (which happened to me). Here's my EMACSLOADPATH: --8<---------------cut here---------------start------------->8--- [brown121407@T420 ~]$ echo $EMACSLOADPATH /home/brown121407/.guix-profile/share/emacs/site-lisp:/home/brown121407/.guix-profile/share/emacs/26.3/lisp:/home/brown121407/.guix-profile/share/emacs/site-lisp:/home/brown121407/.guix-profile/share/emacs/26.3/lisp:/home/brown121407/.guix-profile/share/emacs/site-lisp:/home/brown121407/.guix-profile/share/emacs/26.3/lisp --8<---------------cut here---------------end--------------->8--- Here's the backtrace: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (file-missing "Opening directory" "No such file or directory" "/home/brown121407/.guix-profile/share/emacs/site-lisp/contrib") directory-files("/home/brown121407/.guix-profile/share/emacs/site-lisp/contrib" full-name ".*-autoloads\\.elc?\\'") guix-emacs-find-autoloads("/home/brown121407/.guix-profile/share/emacs/site-lisp/contrib") mapcan(guix-emacs-find-autoloads ("/home/brown121407/.guix-profile/share/emacs/site-lisp/contrib" "/home/brown121407/.guix-profile/share/emacs/site-lisp" "/home/brown121407/.guix-profile/share/emacs/site-lisp" "/home/brown121407/.guix-profile/share/emacs/site-lisp")) guix-emacs-autoload-packages() funcall-interactively(guix-emacs-autoload-packages) call-interactively(guix-emacs-autoload-packages record nil) command-execute(guix-emacs-autoload-packages record) counsel-M-x-action("guix-emacs-autoload-packages") ivy-call() ivy-read("M-x " ("guix-emacs-autoload-packages" "list-packages" "eval-buffer" "guix" "cd" "5x5" "amx" "arp" "dbx" "dig" "erc" "ert" "eww" "ftp" "gdb" "irc" "jdb" "lsp" "man" "mpc" "pdb" "pwd" "rsh" "sdb" "xdb" "=irc" "=rss" "calc" "diff" "dirs" "ffap" "gnus" "grep" "help" "ielm" "info" "life" "lsp!" "mail" "mpuz" "mu4e" "pass" "ping" "pong" "talk" "term" "undo" "yank" "zone" "=mu4e" ...) :predicate #f(compiled-function (x) #) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x) counsel-M-x() funcall-interactively(counsel-M-x) call-interactively(counsel-M-x nil nil) command-execute(counsel-M-x) --8<---------------cut here---------------end--------------->8--- Here's the output of `guix describe` and `guix system describe`: --8<---------------cut here---------------start------------->8--- [brown121407@T420 ~]$ guix describe Generation 3 Jul 12 2020 11:33:56 (current) nonguix d174095 repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: d174095d26f46fa148f540fcefbdcef52451f5ec brett f2e2d5c repository URL: https://git.sr.ht/~brettgilio/cfg branch: master commit: f2e2d5ca554049715f281b80448b868197da80e6 evan 6eb4ede repository URL: https://git.sr.ht/~ev4nx99/guix-channel branch: master commit: 6eb4ede0c48502aceb681f45bda15fb28f38b990 brown121407 7245765 repository URL: https://git.sr.ht/~brown121407/guix.121407.xyz branch: master commit: 7245765f85a155ba03fada98cfe8270578594301 guix 83b5ea9 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 83b5ea9d18772334a47c3d76c6ca73a123cac12c [brown121407@T420 ~]$ guix system describe Generation 5 Jul 10 2020 22:27:51 (current) file name: /var/guix/profiles/system-5-link canonical file name: /gnu/store/2c7rcrqdf11cqgb797l5qfv7xa20q0pb-system label: GNU with Linux 5.4.51 bootloader: grub root device: UUID: 792f9783-0923-4f96-a2d3-b083f69dd46c kernel: /gnu/store/fxg5iiy5nyvgdj5w00zhgmj9s1hv3z5v-linux-5.4.51/bzImage channels: nonguix: repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: d174095d26f46fa148f540fcefbdcef52451f5ec brett: repository URL: https://git.sr.ht/~brettgilio/cfg branch: master commit: fa4fb6e4e5062614d2d21dfa9c64b52cdc091892 evan: repository URL: https://git.sr.ht/~ev4nx99/guix-channel branch: master commit: 6eb4ede0c48502aceb681f45bda15fb28f38b990 brown121407: repository URL: https://git.sr.ht/~brown121407/guix.121407.xyz branch: master commit: 7245765f85a155ba03fada98cfe8270578594301 guix: repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: ec4c404c0575b340a04b3922fb828ac5417832dd configuration file: /gnu/store/rsg585v5z1bia3nxgll56h1n5p1vjz2i-configuration.scm --8<---------------cut here---------------end--------------->8--- Cheers, Sergiu