Your message dated Thu, 29 Dec 2022 21:35:17 +0000
with message-id <e1pb0yx-0076vc...@fasolo.debian.org>
and subject line Bug#992060: fixed in pytsk 20200117-3.1
has caused the Debian Bug report #992060,
regarding pytsk: 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 ow...@bugs.debian.org
immediately.)


-- 
992060: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992060
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pytsk
Version: 20200117-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because it generated a pytsk3.c file in a nondeterministic
manner, specifically by naively iterating over a Python set()
structure.

Patch attached.

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


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/0002-Reproducible-build.patch      1970-01-01 
01:00:00.000000000 +0100
--- b/debian/patches/0002-Reproducible-build.patch      2021-08-10 
11:33:28.947652513 +0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2021-08-10
+
+--- pytsk-20200117.orig/class_parser.py
++++ pytsk-20200117/class_parser.py
+@@ -914,7 +914,7 @@ uint64_t integer_object_copy_to_uint64(P
+             self.initialise_class(class_name, out, done)
+ 
+         # Add the constants in here
+-        for constant, type in self.constants:
++        for constant, type in sorted(self.constants):
+             if type == "integer":
+                 out.write(
+                     "    tmp = PyLong_FromUnsignedLongLong((uint64_t) 
{0:s});\n".format(constant))
--- a/debian/patches/series     2021-08-10 11:29:42.852085888 +0100
--- b/debian/patches/series     2021-08-10 11:33:28.139656520 +0100
@@ -1,2 +1,3 @@
 0001-Link-system-tsk-statically-talloc-dynamically-instea.patch
 change-lexer.patch
+0002-Reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: pytsk
Source-Version: 20200117-3.1
Done: Vagrant Cascadian <vagr...@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
pytsk, 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 992...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagr...@reproducible-builds.org> (supplier of updated pytsk 
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: Thu, 29 Dec 2022 11:12:45 -0800
Source: pytsk
Architecture: source
Version: 20200117-3.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <team+pkg-secur...@tracker.debian.org>
Changed-By: Vagrant Cascadian <vagr...@reproducible-builds.org>
Closes: 992060
Changes:
 pytsk (20200117-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Chris Lamb ]
   * debian/patches: Changes to generation of pytsk3.c for reproducible
     build (Closes: #992060)
Checksums-Sha1:
 e4255516ac6930476a41186c57ef6b0b378ea3ac 1626 pytsk_20200117-3.1.dsc
 a5d6204f77988f3a513e1c2e364d33d7568fb796 7792 pytsk_20200117-3.1.debian.tar.xz
Checksums-Sha256:
 6091c663e26f39eef7d0e04fb08ec00852bdbb8a937941e68545e6beff6bfd01 1626 
pytsk_20200117-3.1.dsc
 52d25fb1637c294e8a9045e4704ab275b8df3f5278379f91516255c31923ec65 7792 
pytsk_20200117-3.1.debian.tar.xz
Files:
 135371820761e3f1475a86dea3a039f0 1626 python optional pytsk_20200117-3.1.dsc
 91ee31e24fbbc7c38431c3fbfa458783 7792 python optional 
pytsk_20200117-3.1.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY63qFSAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqpsoAP4z64LCe93Ol0Yl
iKINHIS+e8kyr06TzJ1NPcC2gKEeowD/aPuN8Q8qeAd/1rPrpDuZ2x9/kKHrXVfm
/k2yKLRm3gQ=
=iP2E
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to