* org-plus-contrib fails to compile
@ 2018-05-01 9:04 Glyn Millington
2018-05-01 10:37 ` Bastien
2018-05-01 18:00 ` Tim Cross
0 siblings, 2 replies; 4+ messages in thread
From: Glyn Millington @ 2018-05-01 9:04 UTC (permalink / raw)
To: Emacs-orgmode
Good morning list!
Emacs 25.3.1 on Linux
For many upgrades now (over the last year or so) when I have tried
to upgrade org-plus-contrib with the package management system
pointed at the Org repository, the package is installed but
compilation fails with a massive (23.6MB!) backtrace which begins
like this:
Debugger entered--Lisp error: (void-variable This)
eval-buffer(#<buffer *load*> nil
"/home/glyn/.emacs.d/elpa/org-plus-contrib-20180430/org" nil t)
; Reading at buffer position 5
load-with-code-conversion("/home/glyn/.emacs.d/elpa/org-plus-contrib-20180430/org"
"/home/glyn/.emacs.d/elpa/org-plus-contrib-20180430/org" nil t)
None of the lisp files in the package are compiled.
Can anyone point me to likely sources of the problem (my own
cluelessness goes without saying! ) ?
with thanks
Glyn
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-plus-contrib fails to compile
2018-05-01 9:04 org-plus-contrib fails to compile Glyn Millington
@ 2018-05-01 10:37 ` Bastien
2018-05-01 18:00 ` Tim Cross
1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2018-05-01 10:37 UTC (permalink / raw)
To: Glyn Millington; +Cc: glyn, Emacs-orgmode
Hi Glyn,
good morning!
Did you try to uninstall org-plus-contrib first? Maybe by manually
deleting ~/.emacs.d/elpa/org-plus-contrib-20180430/ ?
Just shooting in the dark...
--
Bastien
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-plus-contrib fails to compile
2018-05-01 9:04 org-plus-contrib fails to compile Glyn Millington
2018-05-01 10:37 ` Bastien
@ 2018-05-01 18:00 ` Tim Cross
2018-05-01 18:23 ` Glyn Millington
1 sibling, 1 reply; 4+ messages in thread
From: Tim Cross @ 2018-05-01 18:00 UTC (permalink / raw)
To: glyn; +Cc: Emacs-orgmode
Glyn Millington <glyn.millington@gmail.com> writes:
> Good morning list!
>
> Emacs 25.3.1 on Linux
>
> For many upgrades now (over the last year or so) when I have tried
> to upgrade org-plus-contrib with the package management system
> pointed at the Org repository, the package is installed but
> compilation fails with a massive (23.6MB!) backtrace which begins
> like this:
>
>
> Debugger entered--Lisp error: (void-variable This)
> eval-buffer(#<buffer *load*> nil
> "/home/glyn/.emacs.d/elpa/org-plus-contrib-20180430/org" nil t)
> ; Reading at buffer position 5
> load-with-code-conversion("/home/glyn/.emacs.d/elpa/org-plus-contrib-20180430/org"
> "/home/glyn/.emacs.d/elpa/org-plus-contrib-20180430/org" nil t)
>
> None of the lisp files in the package are compiled.
>
> Can anyone point me to likely sources of the problem (my own
> cluelessness goes without saying! ) ?
>
I found this will most often occur because you have org loaded before
you try to do the upgrade. Basically, org gets confused because of
having an already loaded version while trying to install a new version.
I was seeing this quite often. Once I re-arranged by init file to ensure
that I can do a package upgrade before org is loaded, all works fairly
reliably.
An easy way to 'fix' the problem is to just delete the org-plus-contrib
directory from your ELPA directory, then restart emacs. Your emacs will
probably downlload and install the package during startup. Just make
sure your org setup comes after your package setup.
--
Tim Cross
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-plus-contrib fails to compile
2018-05-01 18:00 ` Tim Cross
@ 2018-05-01 18:23 ` Glyn Millington
0 siblings, 0 replies; 4+ messages in thread
From: Glyn Millington @ 2018-05-01 18:23 UTC (permalink / raw)
To: Tim Cross; +Cc: Emacs-orgmode
Tim Cross <theophilusx@gmail.com> writes:
> I found this will most often occur because you have org loaded
> before you try to do the upgrade. Basically, org gets confused
> because of having an already loaded version while trying to
> install a new version.
>
> I was seeing this quite often. Once I re-arranged by init file
> to ensure that I can do a package upgrade before org is loaded,
> all works fairly reliably.
>
> An easy way to 'fix' the problem is to just delete the
> org-plus-contrib directory from your ELPA directory, then
> restart emacs. Your emacs will probably downlload and install
> the package during startup. Just make sure your org setup comes
> after your package setup.
Thanks Tim and Bastien,
The 'fix' works - will check the sequence of events in init.el
again.
with best wishes
Glyn
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-05-01 18:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-01 9:04 org-plus-contrib fails to compile Glyn Millington
2018-05-01 10:37 ` Bastien
2018-05-01 18:00 ` Tim Cross
2018-05-01 18:23 ` Glyn Millington
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).