Your message dated Wed, 25 Sep 2019 05:04:13 +0000
with message-id <[email protected]>
and subject line Bug#941064: Removed package(s) from unstable
has caused the Debian Bug report #835637,
regarding myghty: please make the build 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 [email protected]
immediately.)


-- 
835637: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835637
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: myghty
Version: 1.1-6
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps randomness
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that myghty could not be built reproducibly.

 - Use gmtime over localtime

 - Don't create objects in the kwargs - they end up in the documentation
   and then their repr(…) includes a non-deterministic memory address.

Patch attached.


 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.diff    1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.diff    2016-08-27 20:56:56.242293448 
+0100
@@ -0,0 +1,35 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2016-08-27
+
+--- myghty-1.1.orig/doc/components/section_wrapper.myt
++++ myghty-1.1/doc/components/section_wrapper.myt
+@@ -28,7 +28,7 @@
+ 
+ <div class="docheadertext" ><% title %></div>
+ % if version is not None:
+-<div class="">Version: <% version %>   Last Updated: <% time.strftime('%x 
%X', time.localtime(last_updated)) %></div>
++<div class="">Version: <% version %>   Last Updated: <% time.strftime('%x 
%X', time.gmtime(last_updated)) %></div>
+ %
+ </div>
+ 
+--- myghty-1.1.orig/lib/myghty/interp.py
++++ myghty-1.1/lib/myghty/interp.py
+@@ -45,7 +45,7 @@ class Interpreter:
+             code_cache_size = 16777216,
+             use_auto_handlers = True,
+             use_object_files = True,
+-            debug_file = myghty.buffer.LinePrinter(sys.stderr),
++            debug_file = None,
+             debug_threads = False,
+             debug_elements = [],
+             escapes = {},
+@@ -56,6 +56,8 @@ class Interpreter:
+         method as keyword parameters.  Those parameters that are used 
directly by this Interpreter are
+         consumed.  Remaining arguments are sent off to other constructed 
objects, which include a
+         Compiler, a Resolver, and a Request prototype object."""
++        if debug_file is None:
++            bug_file = myghty.buffer.LinePrinter(sys.stderr)
+         self.global_args = global_args or {}
+         self._attributes = {}
+         if attributes is not None:
--- a/debian/patches/series     2016-08-27 20:37:27.453627497 +0100
--- b/debian/patches/series     2016-08-27 20:40:34.531708742 +0100
@@ -1 +1,2 @@
 import-5th-arg.diff
+reproducible-build.diff

--- End Message ---
--- Begin Message ---
Version: 1.1-6+rm

Dear submitter,

as the package myghty 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/941064

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
[email protected].

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

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to