all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#38568: Org Mode (as a dependency) is borked
@ 2019-12-11 22:06 Jelle Licht
  2019-12-12  9:29 ` Konrad Hinsen
  2019-12-13  2:08 ` T460s laptop
  0 siblings, 2 replies; 4+ messages in thread
From: Jelle Licht @ 2019-12-11 22:06 UTC (permalink / raw)
  To: 38568


Hey Guix, 

Org-mode seems to still have some byte compilation issues when used as a
dependency for other packages. The specific symptom is extremely similar
to the one reported and fixed at [http://issues.guix.info/issue/38479].

To reproduce:
 1) Install emacs-org-jira in your profile, and set it up (lots of
    annoying steps with API tokens, authinfo etc etc)
 2) Run `M-x org-jira-get-boards':
    --8<---------------cut here---------------start------------->8---
    org-jira--render-board: Symbol’s function definition is void: org-outline-overlay-data
    --8<---------------cut here---------------end--------------->8---

To see the issue without reproducing it (using bash):
    --8<---------------cut here---------------start------------->8---
    $ grep -rni 'org-outline-overlay-data' $(guix build emacs-org-jira)
    --8<---------------cut here---------------end--------------->8---

This gives:
    --8<---------------cut here---------------start------------->8---
    Binary file org-jira.elc matches
    --8<---------------cut here---------------end--------------->8---

Byte-compiling the org-jira.el file manually gives an .elc file without
a reference to `org-outline-overlay-data'. This leads me to believe that
the previously posted fix for #38479 could be extended to make sure
Emacs' built-in packages are at the trailing end of EMACSLOADPATH, so
after any other packages. 

Regards,
Jelle



 

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

* bug#38568: Org Mode (as a dependency) is borked
  2019-12-11 22:06 bug#38568: Org Mode (as a dependency) is borked Jelle Licht
@ 2019-12-12  9:29 ` Konrad Hinsen
  2019-12-13  0:55   ` Brett Gilio
  2019-12-13  2:08 ` T460s laptop
  1 sibling, 1 reply; 4+ messages in thread
From: Konrad Hinsen @ 2019-12-12  9:29 UTC (permalink / raw)
  To: Jelle Licht, 38568

Hi Jelle,

> Byte-compiling the org-jira.el file manually gives an .elc file without
> a reference to `org-outline-overlay-data'. This leads me to believe that
> the previously posted fix for #38479 could be extended to make sure
> Emacs' built-in packages are at the trailing end of EMACSLOADPATH, so
> after any other packages. 

This looks indeed like a similar problem, but at the level of
emacs-build-system rather than profile construction.

Cheers,
  Konrad.

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

* bug#38568: Org Mode (as a dependency) is borked
  2019-12-12  9:29 ` Konrad Hinsen
@ 2019-12-13  0:55   ` Brett Gilio
  0 siblings, 0 replies; 4+ messages in thread
From: Brett Gilio @ 2019-12-13  0:55 UTC (permalink / raw)
  To: Konrad Hinsen; +Cc: 38568, Maxim Cournoyer, Jelle Licht


Cc'ing Maxim since he is tasking the emacs-build-system changes. Sorry for duplicate I accidentally replied off list.

Brett Gilio

Dec 12, 2019 3:30:16 AM Konrad Hinsen <konrad.hinsen@fastmail.net>:

> Hi Jelle,
> 
> 
> > Byte-compiling the org-jira.el file manually gives an .elc file without
> > a reference to `org-outline-overlay-data'. This leads me to believe that
> > the previously posted fix for #38479 could be extended to make sure
> > Emacs' built-in packages are at the trailing end of EMACSLOADPATH, so
> > after any other packages.
> > 
> 
> This looks indeed like a similar problem, but at the level of
> emacs-build-system rather than profile construction.
> 
> Cheers,
> Konrad.
> 

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

* bug#38568: Org Mode (as a dependency) is borked
  2019-12-11 22:06 bug#38568: Org Mode (as a dependency) is borked Jelle Licht
  2019-12-12  9:29 ` Konrad Hinsen
@ 2019-12-13  2:08 ` T460s laptop
  1 sibling, 0 replies; 4+ messages in thread
From: T460s laptop @ 2019-12-13  2:08 UTC (permalink / raw)
  To: Jelle Licht; +Cc: 38568-done

Hello Jelle,

Jelle Licht <jlicht@fsfe.org> writes:

> Hey Guix, 
>
> Org-mode seems to still have some byte compilation issues when used as a
> dependency for other packages. The specific symptom is extremely similar
> to the one reported and fixed at [http://issues.guix.info/issue/38479].
>
> To reproduce:
>  1) Install emacs-org-jira in your profile, and set it up (lots of
>     annoying steps with API tokens, authinfo etc etc)
>  2) Run `M-x org-jira-get-boards':
>     --8<---------------cut here---------------start------------->8---
>     org-jira--render-board: Symbol’s function definition is void: org-outline-overlay-data
>     --8<---------------cut here---------------end--------------->8---
>
> To see the issue without reproducing it (using bash):
>     --8<---------------cut here---------------start------------->8---
>     $ grep -rni 'org-outline-overlay-data' $(guix build emacs-org-jira)
>     --8<---------------cut here---------------end--------------->8---
>
> This gives:
>     --8<---------------cut here---------------start------------->8---
>     Binary file org-jira.elc matches
>     --8<---------------cut here---------------end--------------->8---
>
> Byte-compiling the org-jira.el file manually gives an .elc file without
> a reference to `org-outline-overlay-data'. This leads me to believe that
> the previously posted fix for #38479 could be extended to make sure
> Emacs' built-in packages are at the trailing end of EMACSLOADPATH, so
> after any other packages. 
>
> Regards,
> Jelle

Thank you for the report, analysis and reproducer!

This should be fixed with commit e34e02707d on master.

Closing,

Maxim

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

end of thread, other threads:[~2019-12-13  2:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-11 22:06 bug#38568: Org Mode (as a dependency) is borked Jelle Licht
2019-12-12  9:29 ` Konrad Hinsen
2019-12-13  0:55   ` Brett Gilio
2019-12-13  2:08 ` T460s laptop

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.