Your message dated Tue, 02 Aug 2016 18:51:47 +0000
with message-id <[email protected]>
and subject line Bug#832917: fixed in hyperscan 4.2.0-2
has caused the Debian Bug report #832917,
regarding hyperscan: 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.)
--
832917: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832917
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: hyperscan
Version: 4.2.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: locale
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that hyperscan could not be built reproducibly.
During the build a timestamp is embedded in the compiled binaries.
The attached patch fixes this by using SOURCE_DATE_EPOCH as the
timestamp. Once applied, hyperscan can be built reproducibly in our
current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
diff -Nru hyperscan-4.2.0/debian/changelog hyperscan-4.2.0/debian/changelog
--- hyperscan-4.2.0/debian/changelog 2016-07-25 21:15:48.000000000 +0200
+++ hyperscan-4.2.0/debian/changelog 2016-07-29 15:39:02.000000000 +0200
@@ -1,3 +1,11 @@
+hyperscan (4.2.0-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Use SOURCE_DATE_EPOCH as embedded timestamp to make the build
+ reproducible.
+
+ -- Eduard Sanou <[email protected]> Fri, 29 Jul 2016 15:38:39 +0200
+
hyperscan (4.2.0-1) unstable; urgency=medium
* Initial release (Closes: #824838)
diff -Nru hyperscan-4.2.0/debian/patches/reproducible-timestamp.patch
hyperscan-4.2.0/debian/patches/reproducible-timestamp.patch
--- hyperscan-4.2.0/debian/patches/reproducible-timestamp.patch 1970-01-01
01:00:00.000000000 +0100
+++ hyperscan-4.2.0/debian/patches/reproducible-timestamp.patch 2016-07-29
15:40:15.000000000 +0200
@@ -0,0 +1,27 @@
+Description: Reproducible timestamp
+ Use SOURCE_DATE_EPOCH as a timestamp to make the build reproducible.
+Author: Eduard Sanou <[email protected]>
+
+Index: hyperscan-4.2.0/CMakeLists.txt
+===================================================================
+--- hyperscan-4.2.0.orig/CMakeLists.txt
++++ hyperscan-4.2.0/CMakeLists.txt
+@@ -6,7 +6,17 @@ set (HS_MINOR_VERSION 2)
+ set (HS_PATCH_VERSION 0)
+ set (HS_VERSION ${HS_MAJOR_VERSION}.${HS_MINOR_VERSION}.${HS_PATCH_VERSION})
+
+-string (TIMESTAMP BUILD_DATE "%Y-%m-%d")
++if (DEFINED ENV{SOURCE_DATE_EPOCH})
++ execute_process(
++ COMMAND "date" "-u" "-d" "@$ENV{SOURCE_DATE_EPOCH}" "+%Y-%m-%d"
++ OUTPUT_VARIABLE BUILD_DATE
++ OUTPUT_STRIP_TRAILING_WHITESPACE)
++else ()
++ execute_process(
++ COMMAND "date" "+%Y-%m-%d"
++ OUTPUT_VARIABLE BUILD_DATE
++ OUTPUT_STRIP_TRAILING_WHITESPACE)
++endif ()
+
+ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
+ include(CheckCCompilerFlag)
diff -Nru hyperscan-4.2.0/debian/patches/series
hyperscan-4.2.0/debian/patches/series
--- hyperscan-4.2.0/debian/patches/series 1970-01-01 01:00:00.000000000
+0100
+++ hyperscan-4.2.0/debian/patches/series 2016-07-29 15:39:15.000000000
+0200
@@ -0,0 +1 @@
+reproducible-timestamp.patch
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: hyperscan
Source-Version: 4.2.0-2
We believe that the bug you reported is fixed in the latest version of
hyperscan, 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.
Robert Haist <[email protected]> (supplier of updated hyperscan 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: Fri, 29 Jul 2016 20:49:09 +0200
Source: hyperscan
Binary: libhyperscan-dev libhyperscan4.2
Architecture: source
Version: 4.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Robert Haist <[email protected]>
Changed-By: Robert Haist <[email protected]>
Description:
libhyperscan-dev - Development files for the Hyperscan library
libhyperscan4.2 - High-performance regular expression matching library
Closes: 832917
Changes:
hyperscan (4.2.0-2) unstable; urgency=medium
.
[ Eduard Sanou ]
* Use SOURCE_DATE_EPOCH as embedded timestamp to make the build
reproducible (Closes: #832917).
.
[ Robert Haist ]
* Fix builds (E-march-native) for i386, kfreebsd-amd64, kfreebsd-i386, x32.
Checksums-Sha1:
028fa834952919ba08518392c4fceb9abf2bb1ac 1994 hyperscan_4.2.0-2.dsc
de259c957056ea198788f00d054abd9273019117 5072 hyperscan_4.2.0-2.debian.tar.xz
Checksums-Sha256:
6aa2e1e4315557f37d875a2e0874d4a3c44b464e8c10fe3b45a02b7f8b5e9e9d 1994
hyperscan_4.2.0-2.dsc
4ccc64dd87fe1c1e3ed02b38591e2d40470576593c3fefa7d87c712b77cd5cf8 5072
hyperscan_4.2.0-2.debian.tar.xz
Files:
3aa73153a29663719cecd1a097238c75 1994 libs optional hyperscan_4.2.0-2.dsc
c3e582752c857b6a6bc940e504ab962c 5072 libs optional
hyperscan_4.2.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXoOmqAAoJEHW3EGNcITp+oAIP+wVYzN861xyyqI4FyXor0ilH
UtY4ZgVZ2YjCLCcBDDMu3PUoX3UdHEkrHX+fXqpzWw6BBw3RjVCujwvoG/PCvBT7
NwWbrWICtAa1sNGfwNd4GsFmyPEtQTp4QQZgiIhjkM41kuE/ZNGnlUh31oPLdewS
+Cpz3eeulAkco54drE7OFgACviTa0P9ETjue3hxtC4Q6lezZbXQVF6a2ZEsgbbee
A0Mxmj9SBZS22YM0FQ9QDTJ404UWdruHlF4eBNAjebRbI+O4t2PKRpR+lp62Bgww
mcHOfC73LIl5ihXcyab8TEhqNgQdCoxVG8mlf5dwYZiH9QzgEeS0yT90i05k1iPH
2tOXO2SmHqklloIHAGKZgBJB3iK/b0lB2yv+Zq0yaeDelE6ZRaAeafNvQVqmcdA0
H0zF8/UzErn7QiqIkjzeVIvIDVbSJeWNZBFxeh6mqtmAJBLIp3Rhj6s2aXR9cccT
bEJkVKCZYVSnM5YXX/6iUW3Q0xEHyumS7f0lSEL4MN2p//4TAU9oXqzNnFRUz04z
PT+m6kMIJfC0TSdr4vqq5x6wedCSQnhURqxPWI0TO1RQ6brdVGYaMUVB3mL+c2os
Z5RITB0fbMYttzlAGAcxWJrQD+QDKzGXsDouv3fRpBHcgi2ppqQQKD6twK5R0tCU
G4hSt+Y4piioUgjTSorH
=zSLU
-----END PGP SIGNATURE-----
--- End Message ---