From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wLnkD3iH6F9YSAAA0tVLHw (envelope-from ) for ; Sun, 27 Dec 2020 13:09:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iIWlC3iH6F+0HgAAbx9fmQ (envelope-from ) for ; Sun, 27 Dec 2020 13:09:12 +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 A91719404C4 for ; Sun, 27 Dec 2020 13:09:11 +0000 (UTC) Received: from localhost ([::1]:59890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktVnK-0001SN-KY for larch@yhetil.org; Sun, 27 Dec 2020 08:09:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktVnC-0001S7-Fy for bug-guix@gnu.org; Sun, 27 Dec 2020 08:09:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktVnC-00009g-94 for bug-guix@gnu.org; Sun, 27 Dec 2020 08:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktVnC-0006OZ-3C for bug-guix@gnu.org; Sun, 27 Dec 2020 08:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45448: Emacs can't load org mode after last update Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 27 Dec 2020 13:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45448 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Langlois X-Debbugs-Original-Cc: bug-guix@gnu.org, Marinus Savoritias , 45448@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160907450524537 (code B ref -1); Sun, 27 Dec 2020 13:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2020 13:08:25 +0000 Received: from localhost ([127.0.0.1]:60442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktVmO-0006NP-CZ for submit@debbugs.gnu.org; Sun, 27 Dec 2020 08:08:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:53746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktVmM-0006NH-OQ for submit@debbugs.gnu.org; Sun, 27 Dec 2020 08:08:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktVmM-0001JA-Jr for bug-guix@gnu.org; Sun, 27 Dec 2020 08:08:10 -0500 Received: from mout.gmx.net ([212.227.17.21]:48183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktVmK-0008IE-2h for bug-guix@gnu.org; Sun, 27 Dec 2020 08:08:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609074472; bh=sDKeqxVVNouLf6GdhB/W3eS20FYjBK1zeMbvbvzJJrk=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=BkKiqPoI/zzDZz8mCs2K9u+/vt6X2NBp1M3tnQvl8nL1/GePgfyDITFUtpl4TxtkM fuoELsf8xmiukkibll26fEWMLx25uQeuAyFma4hE45TAy1ADgSgWzpPgboymsRFjW4 F96JzVSYjO7/dMZJrG6MEimXGe/3HZNCACyVUMPE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.com (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N0oBx-1k8Qw90Tp7-00wnyK; Sun, 27 Dec 2020 14:07:52 +0100 References: <875z4nlddy.fsf@gmx.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Pierre Langlois In-reply-to: <875z4nlddy.fsf@gmx.com> Date: Sun, 27 Dec 2020 13:07:48 +0000 Message-ID: <87pn2vbdnf.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Provags-ID: V03:K1:5BJtIqu6Qz22Njo5URe0RpSJOA8UHGgFhLRnzq+2T1RKdfySV14 MLtQ5XUIcLUjOTFIYCBbHB5/ArTDEoJBtb7iqBAW1S5HRecsdF2NbEDAzonQoplT/7LncnM fd5VYj4RHO8bRy5RvR0nFhdNLda9PuWM7oo+ld4A4hGlisZ43yh8SLEA6hLwm/nsxISJWtX 6lsUirvYDeM1PDl11lgRA== X-UI-Out-Filterresults: notjunk:1;V03:K0:Gk24zYt+9HY=:ay5UeJiRFFkkfuuNp0jj0c FmmdKrDTez9+6xajQpdmxCkYYIgEConT1EeT6IQIEOZL0c9Jg052CGo0z3x8t4N43iNwxUXQ2 EgPHL1POA8OmWwO+1phLMie8NEkaopImgcPevK2eH/LEDIFBCgL8uBdednUMzX0n5kXv9jBDp 86A14MJY22hR1kAlhZVWLbz59TtYeTozpPap5L6g1juaPK8KPeFWD5Rm2khv8ncNen17v7E7A FK1BRBKs4GOY3u33MfuyRLneBaNpGO+j7QzasCaerQ4odd4uh8NtVMpzab0SxwcOceeH8GiN0 XYLuikVPRu1o7VvsptKe/E3DggLNd7vbkt0spQ0iC5LkUc9gPitFXVJnt2fWQMFF23aRE52WQ P0Gs3yVw0gPTgVa/U++Or2O3H7TmJUfwFl6/6cxakCs2hSJhkrZCdW5EtyM0rPiuoo+x4LdOa 7WW/Mzr8Vzs04QvPP/iDI2+YljaAaNnWqkZnrRrxwh2nwQRMqN68nQ7rYmdeRab0VejJmszOR 9gKlCiWT7mX8bO4d09qqarQWGNXDkytQpKCs2/OzxtThub0CDE4WEiyM04W2d7YVEUgPGRo/x k/kCX9B6EP0IUoIsC1fs8967Lli+OEgJGA5mgy4Uu1IvIkwEttQLTI2I29I8ymHklWaIf1Qfh dIx7gaJ6MHbNR4BlwcI1d8qtOM7LgfxOW33R5yfHGbWU+8lZGaHj5D1Qw14DVrUpbSmJbHxuo oHsJvXAmpPP5ddUSEL2tAE+ZcG8bt0wTU7js5iOSOw4ti/wN408eZ3e6g9AHgObZmU9R12vkq kMgCRSpLu1oeKauOKDEpx/5oVoucpLVsF6/ng89X6Cvc4KLkxnGTPwvC6pbomZR00Cwy1U2aD kvBY5qwbMhcBPTWX2SWQ== Received-SPF: pass client-ip=212.227.17.21; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45448@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.32 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmx.net header.s=badeba3b8450 header.b=BkKiqPoI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.com (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-Migadu-Queue-Id: A91719404C4 X-Spam-Score: -3.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: ahHLXXI4QdXG --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Pierre Langlois writes: > Hi! > > Marinus Savoritias writes: > >> I update Guix yesterday and org-mode doesn't load anymore. >> >> The debug trace is this: >> >> Debugger entered--Lisp error: (error "Invalid version syntax: =E2=80=98= =E2=80=99 (must start >> with a number)") >> signal(error ("Invalid version syntax: =E2=80=98=E2=80=99 (must start = with a number)")) >> error("Invalid version syntax: `%s' (must start with a number)" "") >> version-to-list("") >> version<("" "9.0") >> #f(compiled-function () #)() >> funcall(#f(compiled-function () #)) >> (lambda nil (funcall '#f(compiled-function () #)))() >> eval-after-load-helper("/home/marinus/.guix-profile/share/emacs/site-lis= p/org.elc") >> run-hook-with-args(eval-after-load-helper >> "/home/marinus/.guix-profile/share/emacs/site-lisp/org.elc") >> do-after-load-evaluation("/home/marinus/.guix-profile/share/emacs/site-l= isp/org.elc") >> require(org) >> byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!= \210\300\306!\210\307\310\311\312\313\314%\210\315\316\317\320\313\310\321\= 322&\7\210\315\323\324\325\313\310\321..." >> [require elfeed org dash s cl-lib xml custom-declare-group elfeed-org=20 >> nil "Configure the Elfeed RSS reader with an Orgmode fi..." :group comm >> custom-declare-variable rmh-elfeed-org-tree-id "elfeed" "The tag or ID=20 >> property on the trees containing the..." :type string rmh-elfeed-org-ign= ore-tag >> "ignore" "The tag on the feed trees that will be ignored." >> rmh-elfeed-org-auto-ignore-invalid-feeds "Tag feeds to ignore them when = a feed >> could not loa..." bool rmh-elfeed-org-files (list "~/.emacs.d/elfeed.org= ") "The >> files where we look to find trees with the `rm..." (repeat (file :tag "o= rg-mode >> file"))] 8) >> require(elfeed-org) >> eval-buffer(# nil "/home/marinus/.emacs" nil t) ; Rea= ding at >> buffer position 39 >> load-with-code-conversion("/home/marinus/.emacs" "/home/marinus/.emacs= " t t) >> load("~/.emacs" noerror nomessage) >> startup--load-user-init-file(#f(compiled-function () #) >> #f(compiled-function () #) t) >> command-line() >> normal-top-level() >> >> Everytime I try to open a org file I get the same error. I noticed that = after I >> removed the elfeed-org requirement to see if that was the problem. >> >> Emacs commit is this: /gnu/store/lhw3zwhzra0w5l8a4jw8fvm58i75xyl8-emac= s-27.1 >> >> Guix System config is this: >> >> Generation 15 Dec 26 2020 15:25:17 (current) >> guix 4969b51 >> repository URL: https://git.savannah.gnu.org/git/guix.git >> branch: master >> commit: 4969b51d175497bfcc354c91803e9d70542b7113 >> >> My .emacs file has nothing besides this: >> >> ;;Elfeed config >> >> (require 'elfeed-org) >> (setq rmh-elfeed-org-files (list "~/.emacs.d/elfeed.org")) > > I also hit this issue yesterday :-/. To fix it, I found you could make > sure to have (require 'org) *before* loading other packages that > depended on org. Would that work for you? I'm using use-package, so the > particular fix for me was to add ":after org" on every package > declaration that needed to use org. > > There's still an issue upstream I think, probably due to a mis-match > between the org that's shipped in emacs and the newer one in guix? Actually, it started failing again just after I sent this message... It seems reordering require didn't actually fix anything, sorry! Looking into it a little bit more, it seems there was an issue with the version reporting, if you try and evaluate (org-version), it returns an empty string, then causing the original backtrace. There seems to be an issue when building the package, I see the result of (org-version) should be defined at build-time: https://code.orgmode.org/= bzg/org-mode/src/master/mk/default.mk#L118 But we don't do it properly: =2D-8<---------------cut here---------------start------------->8--- $ cat $(guix build emacs-org)/share/emacs/site-lisp/org-version.el ;;; org-version.el --- autogenerated file, do not edit ;; ;;; Code: ;;;###autoload (defun org-release () "The release version of Org. Inserted by installing Org mode or when a release is made." (let ((org-release "")) org-release)) ;;;###autoload (defun org-git-version () "The Git version of Org mode. Inserted by installing Org or when a release is made." (let ((org-git-version "")) org-git-version)) (provide 'org-version) =2D-8<---------------cut here---------------end--------------->8--- I'll see if I can spot anything going wrong during the build process. Thanks, Pierre --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAl/ohyQYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31UHcgH/07RCot/C7qDqVaWrifYf75y 44O5pX5uFdGl3CPen2eQlNDC41oz5eCGgf1RE6x68332kElpmCTLeSZ4EGwdDoJE j/a/8QfoIageaAGlA+IHvqTmHY81XOzLgNzpVbeGynjKzxVLdbta8fj6Gg/dH1xd 5ajZ7kdkwi4Pz/mcXUa7ERyZXuWu8a93HrS87jJJhbxSEsJ0+hCHpxWnLkUXKGP3 tpQN9GXfPBxDIq/BjnK0CIORBK8BLCmej8po0/ZOA6hHmS0aE4TirOCcacHlrSRw 0KonEKvHA5RTpJnoQ6Bf/LMtYpK+F5eynnFnQVlFhG34NeBZKSRxMjrnW+dE9f8= =kRxP -----END PGP SIGNATURE----- --=-=-=--