Your message dated Fri, 11 Aug 2017 18:38:25 +0000
with message-id <e1dgepf-0007hj...@fasolo.debian.org>
and subject line Bug#871627: Removed package(s) from unstable
has caused the Debian Bug report #824050,
regarding emacs24: please make autoloads files reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
824050: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824050
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: emacs24
Version: 24.5+1-6
Severity: wishlist
Tags: patch upstream
User: reproducible-bui...@lists.alioth.debian.org
Usertags: toolchain
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

autoloads files embed a timestamp. To get a reproducible build [1] for
software packages that build-depend on emacs (including emacs24), it
would be great to make this timestamp honoring the SOURCE_DATE_EPOCH
environment variable [2], that is set to the last debian/changelog entry
date when building binary debian packages.

Please find attached a proposed patch for this.

Regards,
Alexis Bienvenüe.

[1] https://wiki.debian.org/ReproducibleBuilds/
[2] https://reproducible-builds.org/specs/source-date-epoch/

Description: Make autoloads honour SOURCE_DATE_EPOCH
Author: Alexis Bienvenüe <p...@passoire.fr>

Index: emacs24-24.5+1/lisp/emacs-lisp/autoload.el
===================================================================
--- emacs24-24.5+1.orig/lisp/emacs-lisp/autoload.el
+++ emacs24-24.5+1/lisp/emacs-lisp/autoload.el
@@ -604,7 +604,10 @@ Return non-nil if and only if FILE adds
                               ;; We'd really want to just use
                               ;; `emacs-internal' instead.
                               nil nil 'emacs-mule-unix)
-                       (nth 5 (file-attributes relfile))))
+                       (let ((source-date-epoch (getenv "SOURCE_DATE_EPOCH")))
+                         (if (null source-date-epoch)
+                             (nth 5 (file-attributes relfile))
+                           (seconds-to-time (string-to-number source-date-epoch))))))
                     (insert ";;; Generated autoloads from " relfile "\n")))
                 (insert generate-autoload-section-trailer))))
           (message "Generating autoloads for %s...done" file))
@@ -740,7 +743,10 @@ write its autoloads into the specified f
 						  t files-re))
 			       dirs)))
          (done ())
-	 (this-time (current-time))
+	 (this-time (let ((source-date-epoch (getenv "SOURCE_DATE_EPOCH")))
+                      (if (null source-date-epoch)
+                          (current-time)
+                        (seconds-to-time (string-to-number source-date-epoch)))))
          ;; Files with no autoload cookies or whose autoloads go to other
          ;; files because of file-local autoload-generated-file settings.
 	 (no-autoloads nil)

--- End Message ---
--- Begin Message ---
Version: 24.5+1-11+rm

Dear submitter,

as the package emacs24 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/871627

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to