Your message dated Thu, 07 Jul 2016 10:56:52 +0000
with message-id <[email protected]>
and subject line Bug#826093: fixed in osc 0.154.0-3
has caused the Debian Bug report #826093,
regarding osc: please make the build reproducible (timestamps)
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.)
--
826093: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826093
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: osc
Version: 0.154.0-2
Severity: wishlist
Tags: patch upstream
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Dear Maintainer,
While working on the `reproducible builds' effort [1], we have noticed
that 'osc' could not be built reproducibly.
The attached patch honours the SOURCE_DATE_EPOCH environment
variable [2] to get a reproducible man page date from the last
debian changelog entry.
Once applied, osc can be built reproducibly in our current
experimental framework.
Regards,
Alexis Bienvenüe.
[1]: https://wiki.debian.org/ReproducibleBuilds
[2]: https://reproducible-builds.org/specs/source-date-epoch/
Description: Reproducible man page date
Set the man page date from the environment variable SOURCE_DATE_EPOCH
(if set), to make the build reproducible.
See https://reproducible-builds.org/specs/source-date-epoch/
Author: Alexis Bienvenüe <[email protected]>
--- osc-0.154.0.orig/osc/cmdln.py
+++ osc-0.154.0/osc/cmdln.py
@@ -45,8 +45,8 @@ import re
import cmd
import optparse
import sys
+import time
from pprint import pprint
-from datetime import date
# this is python 2.x style
def introspect_handler_2(handler):
@@ -619,9 +619,13 @@ class RawCmdln(cmd.Cmd):
usage:
${name} man
"""
+ if os.getenv("SOURCE_DATE_EPOCH"):
+ srcdate = time.gmtime(int(os.getenv("SOURCE_DATE_EPOCH")))
+ else:
+ srcdate = time.localtime()
self.stdout.write(bytes(
self.man_header % {
- 'date': date.today().strftime('%b %Y'),
+ 'date': time.strftime('%b %Y',srcdate),
'version': self.get_version(),
'name': self.name,
'ucname': self.name.upper()
--- End Message ---
--- Begin Message ---
Source: osc
Source-Version: 0.154.0-3
We believe that the bug you reported is fixed in the latest version of
osc, 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.
Michal Čihař <[email protected]> (supplier of updated osc 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: Thu, 07 Jul 2016 11:37:19 +0200
Source: osc
Binary: osc
Architecture: source all
Version: 0.154.0-3
Distribution: unstable
Urgency: medium
Maintainer: Michal Čihař <[email protected]>
Changed-By: Michal Čihař <[email protected]>
Description:
osc - OpenSUSE (buildsystem) commander
Closes: 826093 828999
Changes:
osc (0.154.0-3) unstable; urgency=medium
.
* Add patch to make build reproducible (Closes: #826093).
* Make python-rpm dependency optional, it's not needed anymore when
not manipulating with rpm packages (Closes: #828999).
Checksums-Sha1:
100ce3a2e920284daa70af9578d668c1b0170f8c 1991 osc_0.154.0-3.dsc
a61e3232b10b2e4f5dd823de2c4899de0f9e61ec 6424 osc_0.154.0-3.debian.tar.xz
f584b36f8beceb658f0d0905af74dca64fe0dc7f 222768 osc_0.154.0-3_all.deb
Checksums-Sha256:
33f47c94d7c99eb3ed2fe94f26f20aba91655da8fa024cf6b7f78731955524f7 1991
osc_0.154.0-3.dsc
d074e8fdc65ab1dc68227a2fb132e9b905799e8e70b66dbcfe2356d079b2363d 6424
osc_0.154.0-3.debian.tar.xz
ae662917b119136fe0482e7a04e2f5f5c31c515c184cfe50cb50cf76540db46e 222768
osc_0.154.0-3_all.deb
Files:
0ff977c5030504c58b6584ce39576983 1991 devel extra osc_0.154.0-3.dsc
b4771c040ec10152ecec45e525de3075 6424 devel extra osc_0.154.0-3.debian.tar.xz
7e615d3c23fb87ee94e2076b46f05f6e 222768 devel extra osc_0.154.0-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXfiMVAAoJEJwnsxNCt1EdFUkQAKVWKvYsx6eU2JDUfYOv4KzK
bpnxxyCQGzlhT0NywSnMN9IJcBYEzz86YfIogxnqJ4D6tcJQwM5Pq+XMYSC43Nzj
OsmQwljgL3Q2dl6pcTsT2LrCwq3uYBctf/uV30F5J0e9LhWM1kL5S8GhtEYCHFqD
4lLotbwHWDltPUMNU90q9dQqXR2xrYlFIkp5GOu6Yo98Bx+WPDCQ3+UWCQt4ezZB
lYIzLtOxESwXKX1xjfeqnqcOQ0GhcEU7NRxRkpQ4BToLc9CmkZ/VW3iy5pt53cEd
zWBgv3LuVSuI/0yrGJnFYxw3p73hmcLc3TFqyamAr3w+IhxYCbB0F99tctNyjLlA
b+63M8sYMFgAOrEsEznLWWXFP/try9qPq4xDOv/f90rKhbvz7WmeMu+1MphRX7T7
pag/uwCJsTgpA6DnBb9qeGnZlZ5H8Q/ap9LuzVxNBPxZeiZcwMs1osrFL/U9yvzy
EUHIu0oDdfavkPwaRO+dhkxEIbgp+tOR13ogj78ahLwe+qj4C+XiQsU99w2HqF2x
0yy/Q4tfbAL+Y+E7PtUn6fm8iJZpcH9RHu3OvPecONS7W60VPFh/5aK7+PvqGu3G
bnNfiLy96Ap3EYR/RJQXGyx9qT/Y1DyqHHgOT7agU/zLaR062lfslBiDEZShtJjA
jwziir5JLexMrtVLNx7k
=8NrB
-----END PGP SIGNATURE-----
--- End Message ---