Your message dated Sat, 26 Dec 2015 15:51:38 +0000
with message-id <e1acr86-0007gg...@franck.debian.org>
and subject line Bug#808032: fixed in ros-genpy 0.5.7-4
has caused the Debian Bug report #808032,
regarding python-genpy: please make the output 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.)


-- 
808032: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808032
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-genpy
Version: 0.5.7-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: toolchain randomness
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that 
python-genpy generates output with a non-determistic order.

The attached patch removes this randomness from the build system. Once applied, 
packages using python-genpy can be built reproducibly using our reproducible 
toolchain.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/src/genpy/generate_initpy.py b/src/genpy/generate_initpy.py
index 2774b18..a6bfecf 100644
--- a/src/genpy/generate_initpy.py
+++ b/src/genpy/generate_initpy.py
@@ -48,7 +48,7 @@ def write_modules(outdir):
         return 0
     types_in_dir = set([f[1:-3] for f in os.listdir(outdir)
                      if f.endswith('.py') and f != '__init__.py'])
-    generated_modules = [_module_name(f) for f in types_in_dir]
+    generated_modules = [_module_name(f) for f in sorted(types_in_dir)]
     write_module(outdir, generated_modules)
     return 0
 

--- End Message ---
--- Begin Message ---
Source: ros-genpy
Source-Version: 0.5.7-4

We believe that the bug you reported is fixed in the latest version of
ros-genpy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 808...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <deb...@jochen.sprickerhof.de> (supplier of updated 
ros-genpy package)

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 26 Dec 2015 14:14:09 +0100
Source: ros-genpy
Binary: python-genpy
Architecture: source all
Version: 0.5.7-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Jochen Sprickerhof <deb...@jochen.sprickerhof.de>
Description:
 python-genpy - Python Robot OS message and service generators
Closes: 808032
Changes:
 ros-genpy (0.5.7-4) unstable; urgency=medium
 .
   * Add patch for reproducible build.
     Thanks to Chris Lamb for the patch (Closes: #808032)
Checksums-Sha1:
 1afe26c25a4c08ffa83d0a051ce9cd38e7065a6a 2183 ros-genpy_0.5.7-4.dsc
 ece52615d367ed252808a3d3cdffcecb533a43a8 3508 ros-genpy_0.5.7-4.debian.tar.xz
 a3c738b0d9e83f21830716572ff351329a9bd880 29784 python-genpy_0.5.7-4_all.deb
Checksums-Sha256:
 c95e7e9c7f27b99d14f964c071ee541cc4e31729d6089f206691e1fe4803ba25 2183 
ros-genpy_0.5.7-4.dsc
 75cdc255ba386a7e371eae5ea9ede5991eaaace79546f2ea04f5d0c61f997cab 3508 
ros-genpy_0.5.7-4.debian.tar.xz
 c5cb9d301c93a9d58b103d5c7b190ffefd74ac20ff53ab8cfd1fae7c82fe3ee3 29784 
python-genpy_0.5.7-4_all.deb
Files:
 feea8960aa865e9532e34aad8df91c3d 2183 python optional ros-genpy_0.5.7-4.dsc
 dd6664f9aefbce97dce369007c02e80f 3508 python optional 
ros-genpy_0.5.7-4.debian.tar.xz
 169ebffeaf962f1cab68bf24c3d84c7e 29784 python optional 
python-genpy_0.5.7-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWfpXZAAoJEFv/3MJY5pQz3ZAP/A/XvF3lGPcaZjnK0gCo7SwJ
2M0Fu/sT6iuJJUsczlC2Iqj3i9dDZUJTNa4XtvkRoBkNl9LKckSmZ1sy9XV9w8dJ
p1l8mQp0vlJgo+peyNHA6TaLAAOA0/ZdAz2ShAh7UtAaZoOHBaIaWinuLzdRZFLw
/Q03YoI+3f44qL2q3ldaeGfNvK2Rf8orVTHmuclsG2p38P5zgFYPyKjcwCXsrnEg
UTZXp9Kw8w5eW5iF1anRPbtcNvDVs4jApPPbx4xu+W8bG4evtLil82mWOmSKeMOv
5+EC1h9WcSpOl01qaSAsOBLmF9DhVQJQgMxE6/Uc/R8GJi58IGnpEqHlPmMjUxHr
9h0kMMSfZ5yaYl4eDdgXEHW5VinnCEvK3ighVKn75qaoWSNnTJRoTDNfJLarQ5bR
0jymL6SbQylV/fJypoSzelxNQ8Cw2TOjf9KbOz6dXX7ikaVN8vTOP964M5PdHSmM
7p2aIeqYAUKkBTegpX9nSuBSMCw9hVAd3K9iI/czcBU4KRqkNBWaIj4UcRmj7RKD
jI77tmx4+zr+Sb+Kzs9ZhzZuw3DFgMgeokLroDxcoewDGX+Zsoxlzfgoy4TGbDkl
XhqqY/9LS/OherPBGR30Wa+ESXW8tBaVsh1viqy9oyxpsjg/JolkoskahrXAD5hb
GZIsifpOzuOeglhemlq8
=xatT
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to