Your message dated Sat, 02 Nov 2019 16:48:53 +0000
with message-id <[email protected]>
and subject line Bug#943694: fixed in ros-genpy 0.6.9-3
has caused the Debian Bug report #943694,
regarding ros-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 [email protected]
immediately.)


-- 
943694: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943694
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ros-genpy
Version: 0.6.9-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness toolchain
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
ros-genpy generates unreproducible Python code output. This is
currently affecting at least three source packages in Debian unstable.

Patch attached that ensures that the "struct" code stanzas are
emitted in a deterministic order.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/src/genpy/generator.py b/src/genpy/generator.py
index b08f04c..ff1c8d0 100644
--- a/src/genpy/generator.py
+++ b/src/genpy/generator.py
@@ -891,7 +891,7 @@ def msg_generator(msg_context, spec, search_path):
     yield '    global _struct_I'
     yield '    return _struct_I'
     patterns = get_patterns()
-    for p in set(patterns):
+    for p in sorted(set(patterns)):
         # I patterns are already optimized
         if p == 'I':
             continue

--- End Message ---
--- Begin Message ---
Source: ros-genpy
Source-Version: 0.6.9-3

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Sat, 02 Nov 2019 17:27:38 +0100
Source: ros-genpy
Architecture: source
Version: 0.6.9-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Jochen Sprickerhof <[email protected]>
Closes: 943694
Changes:
 ros-genpy (0.6.9-3) unstable; urgency=medium
 .
   * Add reproducible builds patch.
     Thanks to Chris Lamb (Closes: #943694)
Checksums-Sha1:
 d02fe5e35ea876c906bb7691507d4a6a72280cb6 2119 ros-genpy_0.6.9-3.dsc
 0b1b580a499ac1f14637127c81e8dc7d73c93df3 4204 ros-genpy_0.6.9-3.debian.tar.xz
 5261a344a6acee9bf99eb1eb49b4aae3e9c01565 7546 
ros-genpy_0.6.9-3_source.buildinfo
Checksums-Sha256:
 ce336dde7404f2a64e18523285a325db4257afe2d9f28da123896aec335cae01 2119 
ros-genpy_0.6.9-3.dsc
 b28f056020797e0067ec9b5d0406ae3559a12a43eb3f0a6635f6e81985145cbf 4204 
ros-genpy_0.6.9-3.debian.tar.xz
 f0885a42b609c36fa46edfa58394cc9599a06f1992752786135f52c58cd64835 7546 
ros-genpy_0.6.9-3_source.buildinfo
Files:
 0bdbe4714cd46ceb7a9a2487b85fd028 2119 python optional ros-genpy_0.6.9-3.dsc
 03adca1ff589a1fa6244b58fc289690e 4204 python optional 
ros-genpy_0.6.9-3.debian.tar.xz
 4f60a6fd7dad5572998358bf5e031c3d 7546 python optional 
ros-genpy_0.6.9-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAl29ro4ACgkQW//cwljm
lDNjZg//cRg8nZvzk6XMVHV2MBB/4FyDMUF/6YKg8ZRywWFEPaQ+4rEaolLNkR87
oZI/w1ipWXY5HaJNlZUNvJdSkp6vyT2nDOmbGbN7LNEiHcrlDF18ssPtgffzFmoi
TTjAQiPU3VDqMdXRBWaz/lX9j0m6y454RgEyj6odGnpk1u5+va0rR7ye8vxSMdc+
W7QWEqvHlnqTumGHB58OlTFHIOYZaM35M+2d7DON0tys2qCH/8XR/2zLYASxblah
/+dFKxyElrxuls4Ehzpt52aHrO6zTGUrV5d0CnCdD47eGdjczy+bUVyY9Zfjj9Yw
xw+V11bTv7gq9avkl4SyPAtLDGUsnPEfjuAkw9VKZb0wzSoh88WcZn2J5sH0gg7e
ZOVDlbNAJpJ5AMdgwYUGASaSOq+Gp5NG+wNI6XTF47eBOSJdf/VbANqr0a8bIWmO
DYYvhAg/svoLqwbrahvakXL5uUWQ5UekR6eFmUVF4UeT5OGTw68uXRxf1O+XrLHK
UIaMqpQyTZduqF9ygm2BSe6mItQnV3o9TZGelRUKlnqw04Chkm3ZVzHp9oBrIqBX
z53MIK1YNPTc0RdChSB9MnRRkhrksACx4Hc0RXc4jrI/VVU1ftPqzJxS90+Rhx6q
9QTtM2SmIHOjNnXHbXlDkqV5Uoc8EchzVFjwjj5Mn5RmV69b3PE=
=nPjK
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to