Your message dated Mon, 26 Dec 2016 21:19:04 +0000
with message-id <[email protected]>
and subject line Bug#842203: fixed in seabios 1.10.1-1
has caused the Debian Bug report #842203,
regarding seabios: 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.)
--
842203: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842203
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: seabios
Version: 1.9.3-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps hostname
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that seabios could not be built reproducibly.
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 01:00:00.000000000
+0100
--- b/debian/patches/reproducible_build.patch 2016-10-26 21:53:14.214327793
+0100
@@ -0,0 +1,29 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2016-10-26
+
+--- seabios-1.9.3.orig/scripts/buildversion.py
++++ seabios-1.9.3/scripts/buildversion.py
+@@ -4,7 +4,7 @@
+ # Copyright (C) 2015 Kevin O'Connor <[email protected]>
+ #
+ # This file may be distributed under the terms of the GNU GPLv3 license.
+-import sys, os, subprocess, shlex, time, socket, optparse, logging, traceback
++import sys, os, subprocess, shlex, time, socket, optparse, logging,
traceback, datetime
+
+ VERSION_FORMAT = """
+ /* DO NOT EDIT! This is an autogenerated file. See scripts/buildversion.py.
*/
+@@ -127,6 +127,13 @@ def main():
+ if not cleanbuild:
+ btime = time.strftime("%Y%m%d_%H%M%S")
+ hostname = socket.gethostname()
++ try:
++ btime = datetime.datetime.utcfromtimestamp(
++ int(os.environ['SOURCE_DATE_EPOCH']),
++ ).strftime("%Y%m%d_%H%M%S")
++ hostname = 'generic'
++ except KeyError:
++ pass
+ ver = "%s-%s-%s" % (ver, btime, hostname)
+ write_version(outfile, ver + options.extra, toolstr)
+
--- a/debian/patches/series 2016-10-26 21:43:46.718654197 +0100
--- b/debian/patches/series 2016-10-26 21:52:27.932775431 +0100
@@ -1 +1,2 @@
build-add-fno-pie-to-the-gcc-flags-when-available.patch
+reproducible_build.patch
--- End Message ---
--- Begin Message ---
Source: seabios
Source-Version: 1.10.1-1
We believe that the bug you reported is fixed in the latest version of
seabios, 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.
Michael Tokarev <[email protected]> (supplier of updated seabios 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: SHA256
Format: 1.8
Date: Mon, 26 Dec 2016 23:43:43 +0300
Source: seabios
Binary: seabios
Architecture: source all
Version: 1.10.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QEMU Team <[email protected]>
Changed-By: Michael Tokarev <[email protected]>
Description:
seabios - Legacy BIOS implementation
Closes: 842203 846686
Changes:
seabios (1.10.1-1) unstable; urgency=medium
.
* new upstream release
* ensure no shipped firmware blobs are used, so that all
iasl sources are being built during package build
* disable BOOTSPLASH code for 128k (Closes: #846686)
* pass EXTRAVERSION to upstream make (Closes: #842203)
* verify that .git does not exist and .version exists,
to build version info in a reliable way
Checksums-Sha1:
14ea8aeba4ac931ce23c64ca0808527056112da9 1665 seabios_1.10.1-1.dsc
11fb7f9bf59e7788000c11f7f4041e17f36f8fc6 588092 seabios_1.10.1.orig.tar.gz
76dedcf21f80b57da95e86f59f2c2f2672e0c84f 17676 seabios_1.10.1-1.debian.tar.xz
937f0e0b76cf3fd12d474acc30f70754378c2ccd 130530 seabios_1.10.1-1_all.deb
c8c98fac5239a6cf495b9f4d9d7ab893cb5c0859 4750 seabios_1.10.1-1_amd64.buildinfo
Checksums-Sha256:
4063ac5502b87cfc19a53011b5cfeb9b010266a1a8c58ef4f0fa878a32f74981 1665
seabios_1.10.1-1.dsc
5063ddbac61ec4e61a12daa83931c37e5629b1c18502f7c00ed4e696c2a1d2cb 588092
seabios_1.10.1.orig.tar.gz
8f9f72640b19d0ef9e8efb16d7aa49a9d700d1ec7ef4928a5fae9984d32b4e53 17676
seabios_1.10.1-1.debian.tar.xz
680dbc5978b1ad3b4f528ca78b6b79360aa1ea73db448b40bf49b8ad658837b9 130530
seabios_1.10.1-1_all.deb
8357fb52127ad0ce7380cd91b6c22fe9087ead3c8cf73e8781de67c01d12010e 4750
seabios_1.10.1-1_amd64.buildinfo
Files:
350d121164909c72fc5d829691ade5b5 1665 misc extra seabios_1.10.1-1.dsc
4a7cf40abaf3d0dced86a506d162ca0f 588092 misc extra seabios_1.10.1.orig.tar.gz
2277caf32b6386646559c7307af2b3bc 17676 misc extra
seabios_1.10.1-1.debian.tar.xz
c42b60b1ffc122c050bdd204696877fa 130530 misc extra seabios_1.10.1-1_all.deb
1f8d311be388087cdfab7300a47777eb 4750 misc extra
seabios_1.10.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJYYYN8AAoJEHAbT2saaT5ZeYIH/Rb/J3WLYZ3xj53WZjEg3Wly
gYGsszhLXlSp2/EOnn4jYGWJa2Ea3fGvf+zF5O6SZ1UeCesE7mXVBu5P06gPb96R
whHuIiGY4kNo0J/c5rJReUTZH/CjOAiI4HwdNhcL4BPcYpG/xeDjy1KlzcPxyYVC
iNhPtS5vqNNZXS/7FgWGsAA9lFPegPuaw1Wdu7MIaaoGYxEFWqOFBc/uTBmHy6NA
apY1jt+Sn8lpSSS3eSPMbxfyvgBfFLQ/7EuXSe+P9oh1qiVzTG6T26xh/nz00F0K
zVJP02jwbMe2yTeykuByDC8S7WwuC5NAv+Ri3DO4gI9kGq4SMYcQpU72BzlV/r0=
=oYnP
-----END PGP SIGNATURE-----
--- End Message ---