bug#38568: Org Mode (as a dependency) is borked

2019-12-12 Thread T460s laptop
Hello Jelle,

Jelle Licht  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





bug#38568: Org Mode (as a dependency) is borked

2019-12-12 Thread Brett Gilio


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 :

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






bug#38568: Org Mode (as a dependency) is borked

2019-12-12 Thread Konrad Hinsen
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.





bug#38568: Org Mode (as a dependency) is borked

2019-12-11 Thread Jelle Licht


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