Org Mode (as a dependency) is borked

  • Done
  • quality assurance status badge
Details
4 participants
  • Brett Gilio
  • Jelle Licht
  • Konrad Hinsen
  • T460s laptop
Owner
unassigned
Submitted by
Jelle Licht
Severity
normal

Debbugs page

Jelle Licht wrote 5 years ago
(address . bug-guix@gnu.org)
87h826y0tp.fsf@jlicht.xyz
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
Konrad Hinsen wrote 5 years ago
m1a77x3n9z.fsf@ordinateur-de-catherine--konrad.home
Hi Jelle,

Toggle quote (6 lines)
> 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.
Brett Gilio wrote 5 years ago
(name . Konrad Hinsen)(address . konrad.hinsen@fastmail.net)
88f2f5d2-facf-44bc-9174-e254de936978@localhost
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>:

Toggle quote (16 lines)
> 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.
>
T460s laptop wrote 5 years ago
(name . Jelle Licht)(address . jlicht@fsfe.org)(address . 38568-done@debbugs.gnu.org)
877e31nfje.fsf@x200.i-did-not-set--mail-host-address--so-tickle-me
Hello Jelle,

Jelle Licht <jlicht@fsfe.org> writes:

Toggle quote (33 lines)
> 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
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 38568@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 38568
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help