emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Reinstalling compat fixed everything breaking
@ 2022-09-14  0:26 William Denton
  2022-09-14 17:19 ` Charles Philip Chan
  2022-09-14 17:19 ` Charles Philip Chan
  0 siblings, 2 replies; 5+ messages in thread
From: William Denton @ 2022-09-14  0:26 UTC (permalink / raw)
  To: emacs-orgmode

Yesterday I pulled the current source trees for Org and Emacs and compiled as I 
usually do ... and everything broke, with Org complaining about mixed versions, 
and all kinds of warnings and backtraces and "Invalid function: 
compat-declare-version" errors.

After looking at various things I noticed a couple of mild warnings related to 
the package compat, which I'd seen for a while (several weeks, at least) but 
never bothered about, because everything worked.  I thought maybe it was all 
connected, what with the new version-checking and such, and indeed "M-x 
package-reinstall compat" did the trick and now everything works.

In case someone else has the same problem I thought I'd mention this.

Cheers,

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reinstalling compat fixed everything breaking
  2022-09-14  0:26 Reinstalling compat fixed everything breaking William Denton
@ 2022-09-14 17:19 ` Charles Philip Chan
  2022-09-14 17:19 ` Charles Philip Chan
  1 sibling, 0 replies; 5+ messages in thread
From: Charles Philip Chan @ 2022-09-14 17:19 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1164 bytes --]

William Denton <wtd@pobox.com> writes:

Hello,

> Yesterday I pulled the current source trees for Org and Emacs and compiled as
> I usually do ... and everything broke, with Org complaining about mixed
> versions, and all kinds of warnings and backtraces and "Invalid function:
> compat-declare-version" errors.
>
> After looking at various things I noticed a couple of mild warnings related to
> the package compat, which I'd seen for a while (several weeks, at least) but
> never bothered about, because everything worked.  I thought maybe it was all
> connected, what with the new version-checking and such, and indeed "M-x
> package-reinstall compat" did the trick and now everything works.

I am seeing the same problem. However, it did not resolve for me after upgrading
the compat library to the current git version. I am still getting:

,----
| Warning (emacs): Org version mismatch.  Make sure that correct ‘load-path’ is
| set early in init.el This warning usually appears when a built-in Org version is
| loaded prior to the more recent Org version.
`----

during "make install". I never had this problem before.

Charles

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 219 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reinstalling compat fixed everything breaking
  2022-09-14  0:26 Reinstalling compat fixed everything breaking William Denton
  2022-09-14 17:19 ` Charles Philip Chan
@ 2022-09-14 17:19 ` Charles Philip Chan
  2022-09-14 18:02   ` William Denton
  2022-09-15 14:24   ` Ihor Radchenko
  1 sibling, 2 replies; 5+ messages in thread
From: Charles Philip Chan @ 2022-09-14 17:19 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1.1: Type: text/plain, Size: 1164 bytes --]

William Denton <wtd@pobox.com> writes:

Hello,

> Yesterday I pulled the current source trees for Org and Emacs and compiled as
> I usually do ... and everything broke, with Org complaining about mixed
> versions, and all kinds of warnings and backtraces and "Invalid function:
> compat-declare-version" errors.
>
> After looking at various things I noticed a couple of mild warnings related to
> the package compat, which I'd seen for a while (several weeks, at least) but
> never bothered about, because everything worked.  I thought maybe it was all
> connected, what with the new version-checking and such, and indeed "M-x
> package-reinstall compat" did the trick and now everything works.

I am seeing the same problem. However, it did not resolve for me after upgrading
the compat library to the current git version. I am still getting:

,----
| Warning (emacs): Org version mismatch.  Make sure that correct ‘load-path’ is
| set early in init.el This warning usually appears when a built-in Org version is
| loaded prior to the more recent Org version.
`----

during "make install". I never had this problem before.

Charles

[-- Attachment #1.1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 219 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reinstalling compat fixed everything breaking
  2022-09-14 17:19 ` Charles Philip Chan
@ 2022-09-14 18:02   ` William Denton
  2022-09-15 14:24   ` Ihor Radchenko
  1 sibling, 0 replies; 5+ messages in thread
From: William Denton @ 2022-09-14 18:02 UTC (permalink / raw)
  To: Charles Philip Chan; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]

On 14 September 2022, Charles Philip Chan wrote:

> I am seeing the same problem. However, it did not resolve for me after upgrading
> the compat library to the current git version. I am still getting:
>
> ,----
> | Warning (emacs): Org version mismatch.  Make sure that correct ‘load-path’ is
> | set early in init.el This warning usually appears when a built-in Org version is
> | loaded prior to the more recent Org version.
> `----
>
> during "make install". I never had this problem before.

I've never done a "make install" because I run it from the source tree,¹ so 
maybe that's why my configuration works now but yours still doesn't.  I hope 
someone who knows more about all this can pitch in.

Bill

¹ Configured so:

(use-package org
     :pin manual
     :load-path "/usr/local/src/org-mode/lisp"
     :init
     ;; Lots of stuff here
)

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Reinstalling compat fixed everything breaking
  2022-09-14 17:19 ` Charles Philip Chan
  2022-09-14 18:02   ` William Denton
@ 2022-09-15 14:24   ` Ihor Radchenko
  1 sibling, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2022-09-15 14:24 UTC (permalink / raw)
  To: Charles Philip Chan; +Cc: emacs-orgmode

Charles Philip Chan <cpchan777@gmail.com> writes:

> I am seeing the same problem. However, it did not resolve for me after upgrading
> the compat library to the current git version. I am still getting:
>
> ,----
> | Warning (emacs): Org version mismatch.  Make sure that correct ‘load-path’ is
> | set early in init.el This warning usually appears when a built-in Org version is
> | loaded prior to the more recent Org version.
> `----
>
> during "make install". I never had this problem before.

Should be fixed on latest main.
This looks similar to https://orgmode.org/list/cdf0bc7d-3ed1-e1ce-84bb-239575a9c0b9@oracle.com

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-15 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-14  0:26 Reinstalling compat fixed everything breaking William Denton
2022-09-14 17:19 ` Charles Philip Chan
2022-09-14 17:19 ` Charles Philip Chan
2022-09-14 18:02   ` William Denton
2022-09-15 14:24   ` Ihor Radchenko

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).