GNU bug report logs - #34323
reproducibility: absolute file names in ox-odt.elc

Previous Next

Packages: emacs, org-mode;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 4 Feb 2019 23:06:02 UTC

Severity: minor

Found in version 26.1.91

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34323 in the body.
You can then email your comments to 34323 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#34323; Package emacs,org-mode. (Mon, 04 Feb 2019 23:06:02 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: reproducibility: absolute file names in ox-odt.elc 
Date: Mon, 04 Feb 2019 18:05:21 -0500
Package: emacs,org-mode
Version: 26.1.91
Severity: minor

The compiled file ox-odt.elc contains strings that refer to the
absolute location of the build directory, through
org-odt-schema-dir-list and org-odt-styles-dir-list.
For example, in the Emacs 26.1.91 pretest tarfile, it contains
"/home/nico/work/emacs-26/etc/schema/" and
"/home/nico/work/emacs-26/etc/styles/".
This means the generated elc file is non-reproducible (ie, the contents
change depending on the build directory).

(Like https://debbugs.gnu.org/34321, issued spotted in
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/emacs.html
)




Information forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#34323; Package emacs,org-mode. (Wed, 06 Feb 2019 21:18:02 GMT) Full text and rfc822 format available.

Message #6 received at 34323 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Glenn Morris <rgm <at> gnu.org>
Cc: kjambunathan <at> gmail.com, 34323 <at> debbugs.gnu.org
Subject: Re: bug#34323: reproducibility: absolute file names in ox-odt.elc
Date: Wed, 06 Feb 2019 22:17:14 +0100
Hello,

Glenn Morris <rgm <at> gnu.org> writes:

> Package: emacs,org-mode
> Version: 26.1.91
> Severity: minor
>
> The compiled file ox-odt.elc contains strings that refer to the
> absolute location of the build directory, through
> org-odt-schema-dir-list and org-odt-styles-dir-list.
> For example, in the Emacs 26.1.91 pretest tarfile, it contains
> "/home/nico/work/emacs-26/etc/schema/" and
> "/home/nico/work/emacs-26/etc/styles/".
> This means the generated elc file is non-reproducible (ie, the contents
> change depending on the build directory).
>
> (Like https://debbugs.gnu.org/34321, issued spotted in
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/emacs.html
> )

I'm Cc'ing the author of ox-odt.el as he might have more insight.

Regards,

-- 
Nicolas Goaziou




Information forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#34323; Package emacs,org-mode. (Wed, 06 Feb 2019 23:54:02 GMT) Full text and rfc822 format available.

Message #9 received at 34323 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 34323 <at> debbugs.gnu.org
Subject: Re: bug#34323: reproducibility: absolute file names in ox-odt.elc
Date: Wed, 06 Feb 2019 18:52:58 -0500
It's due to the eval-when-compile sections in org-odt-schema-dir-list
and org-odt-styles-dir-list. These don't make sense to me. All they do
is add the build directory. There is a comment "see make install", but I
cannot see what this refers to. No similar variable initializes itself
in this way AFAIK. If those sections are removed, does anything stop
working?




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sat, 09 Feb 2019 11:34:01 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Sat, 09 Feb 2019 11:34:02 GMT) Full text and rfc822 format available.

Message #14 received at 34323-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Org Mode List <emacs-orgmode <at> gnu.org>, 34323-done <at> debbugs.gnu.org
Subject: Re: bug#34323: reproducibility: absolute file names in ox-odt.elc
Date: Sat, 09 Feb 2019 12:33:30 +0100
Hello,

Glenn Morris <rgm <at> gnu.org> writes:

> It's due to the eval-when-compile sections in org-odt-schema-dir-list
> and org-odt-styles-dir-list. These don't make sense to me. All they do
> is add the build directory. There is a comment "see make install", but I
> cannot see what this refers to. No similar variable initializes itself
> in this way AFAIK. If those sections are removed, does anything stop
> working?

I don't know. I removed `the `eval-when-compile' calls. We'll see what
horrible things happen.

I'm closing this bug for now. Thank you for reporting it.

Regards,

-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 09 Mar 2019 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.