Your message dated Thu, 01 Jun 2017 23:04:33 +0000
with message-id <[email protected]>
and subject line Bug#858333: fixed in doomsday 1.15.8-5
has caused the Debian Bug report #858333,
regarding doomsday: 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.)


-- 
858333: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858333
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: doomsday
Version: 1.15.8-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps permissions
X-Debbugs-Cc: [email protected]

Hi,

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

Patch attached. This also makes the debian/patches/perms.patch
not required as we set the file mode manually.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/doomsday/build/scripts/buildpackage.py 
b/doomsday/build/scripts/buildpackage.py
index 1f51441..133384d 100755
--- a/doomsday/build/scripts/buildpackage.py
+++ b/doomsday/build/scripts/buildpackage.py
@@ -7,7 +7,7 @@
 #   buildpackage (pack-dir) (output-dir)
 #
 
-import sys, os, os.path, zipfile
+import sys, os, os.path, zipfile, time
 
 if len(sys.argv) < 2:
     print "Usage: %s (pack-dir) (output-dir)" % sys.argv[0]
@@ -58,8 +58,12 @@ class Package:
             sys.exit(1)
         
         # Write entries in alphabetical order.
+        date_time = time.localtime(int(os.environ.get('SOURCE_DATE_EPOCH', 
time.time())))
         for full, internal in sorted(contents):
-            pack.write(full, internal)
+            info = zipfile.ZipInfo(internal, date_time)
+            info.external_attr = 0644 << 16L
+            with open(full, 'rb') as f:
+                pack.writestr(info, f.read())
             
         # Write it out.
         print "Wrote %s (contains %i files)." % (outputName, 
len(pack.namelist()))

--- End Message ---
--- Begin Message ---
Source: doomsday
Source-Version: 1.15.8-5

We believe that the bug you reported is fixed in the latest version of
doomsday, 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.
Markus Koschany <[email protected]> (supplier of updated doomsday 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: Thu, 01 Jun 2017 23:42:23 +0200
Source: doomsday
Binary: doomsday doomsday-server doomsday-common doomsday-data
Architecture: source
Version: 1.15.8-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Markus Koschany <[email protected]>
Description:
 doomsday   - enhanced version of the legendary DOOM game
 doomsday-common - enhanced version of the legendary DOOM game - common files
 doomsday-data - enhanced version of the legendary DOOM game - data files
 doomsday-server - enhanced version of the legendary DOOM game - server
Closes: 858333 863536
Changes:
 doomsday (1.15.8-5) unstable; urgency=medium
 .
   * Team upload.
   * Add mo-thinker-NULL-pointer.patch and fix another segfault.
     Thanks to Hans Joachim Desserud for the report and Bernhard Übelacker for
     the patch. (Closes: #863536)
   * Make the build reproducible. Thanks to Chris Lamb for the report and patch.
     (Closes: #858333)
Checksums-Sha1:
 69eede20c95c6531d8eff7401d715a700eab4dcd 3050 doomsday_1.15.8-5.dsc
 0fd41245503260051fa743d64794fe5c038484f6 17076 doomsday_1.15.8-5.debian.tar.xz
 28e46fa08ecac1d6080dc312c5f70167d572bc64 7440 
doomsday_1.15.8-5_source.buildinfo
Checksums-Sha256:
 438c4c6f372d01f37f8703c7e319091779a61ba0cefd91fe4975d78848fb516b 3050 
doomsday_1.15.8-5.dsc
 7b6ebc40a99c8a819247220c3e8296f825fc140d4c29aa16804883c3a4120322 17076 
doomsday_1.15.8-5.debian.tar.xz
 cf11562dbd7829a2db3ee0cdd978e4fe14f10360bc498303b274fcb5d20a0416 7440 
doomsday_1.15.8-5_source.buildinfo
Files:
 a941009ed7134e410133be88418b93df 3050 games optional doomsday_1.15.8-5.dsc
 e0e1866f83effc29b8c2f3b249067833 17076 games optional 
doomsday_1.15.8-5.debian.tar.xz
 af0a53d6e759c11f4ab6ed2fc4de9b65 7440 games optional 
doomsday_1.15.8-5_source.buildinfo

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

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAlkwmHNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkrvgQAI8xdEwsan+38uc3EZ2efIRo1r9q6MFHeVkO
31bALe+O3fBhK1vdqwW/Ykx7Pq+3HAzanV07zZr0gbF+hS9M2O2cXo7UmzdzILkP
8xackaYiwFzUOSbFxzMd2kfgHyYBkuuQsPGc7hxNmZMfOo4wPkLbEuIXZCChom+L
pwNL+eqcaw200UmfMzcKm2zDYvat4PWLIwpgp71BiA/kqSlMN5oGhY/YiwsVNI/v
O+LQI7ob6W+z+r43t9GMDTYuTnzrakVa076n8B6PTuCg8Jl3vu2N8uAGNUastsez
hJ0oX9WvSzatBh0INdSj1GUcmjOLvTt58KXq7qXoghZpNqkGqeKN/R665KtUejTc
MNYDkzwPqIXUAjn0Z5n2lohOKM2LH/vUBtyFYOM1iJ3opKjjryZ6elLFuxb1ahbn
71Vr/7y3qLCXikcUFiCHoxue+R/kD+CFDxXgBDv60SkNaiMhMFhUKmB2Jim/792K
Cx2JQm8K5CU5Jidqd5uYSyxsRJH9/frN4uRg6aly5i0iYyeW2jil8Z0aBAIEOvUS
xOAhr3++lvvxadVS0LNs0Lya8YWu/wpUgkBNB+XE/HVZT6qa1TsboBOxLrdEU/hj
S729h2i04ufMOQ5g77c/Xq+a+DRGK9Jf3QEsF3i4jTXME4iW1l3YCDLifM9Ou+2i
PpGIXPqG
=UCii
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to