Your message dated Fri, 26 Jul 2019 15:58:53 -0300
with message-id <[email protected]>
and subject line Re: pyzor: please make the build reproducible
has caused the Debian Bug report #882447,
regarding pyzor: 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.)


-- 
882447: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882447
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pyzor
Version: 1:1.0.0-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]

Hi,

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

This was because it was including the memory addresses of an internal
dispatch table in the documentation. We fix that by making them
"private."

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 09:00:00.000000000 
+0900
--- b/debian/patches/reproducible-build.patch   2017-11-23 10:34:09.956545410 
+0900
@@ -0,0 +1,24 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2017-11-23
+
+--- pyzor-1.0.0.orig/pyzor/server.py
++++ pyzor-1.0.0/pyzor/server.py
+@@ -285,7 +285,7 @@ class RequestHandler(SocketServer.Datagr
+                               self.client_address[0])
+         # Get a handle to the appropriate method to execute this operation.
+         try:
+-            dispatch = self.dispatches[opcode]
++            dispatch = self._dispatches[opcode]
+         except KeyError:
+             raise NotImplementedError("Requested operation is not "
+                                       "implemented.")
+@@ -398,7 +398,7 @@ class RequestHandler(SocketServer.Datagr
+         self.response["Count"] = "%d" % record.r_count
+         self.response["WL-Count"] = "%d" % record.wl_count
+ 
+-    dispatches = {
++    _dispatches = {
+         'ping': None,
+         'pong': handle_pong,
+         'info': handle_info,
--- a/debian/patches/series     2017-11-23 10:30:38.825305023 +0900
--- b/debian/patches/series     2017-11-23 10:34:08.796510172 +0900
@@ -1 +1,2 @@
 remove-exernal-resources.patch
+reproducible-build.patch

--- End Message ---
--- Begin Message ---
Hi Chris,

Sorry for overlooking this issue.

AFAIK pyzor's build is now reproducible[0]. I guess this patch is not
necessary. I'm closing this bug report, feel free to reopen it if you
disagree. :)

cheers,
Hugo

[0] 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pyzor.html

-- 
                Hugo Lefeuvre (hle)    |    www.owl.eu.com
RSA4096_ 360B 03B3 BF27 4F4D 7A3F D5E8 14AA 1EB8 A247 3DFD
ed25519_ 37B2 6D38 0B25 B8A2 6B9F 3A65 A36F 5357 5F2D DC4C

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to