Your message dated Wed, 02 Dec 2015 09:38:57 +0000
with message-id <[email protected]>
and subject line Bug#806577: fixed in liberasurecode 1.1.0-3
has caused the Debian Bug report #806577,
regarding liberasurecode: 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.)
--
806577: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806577
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: liberasurecode
Version: 1.1.0-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the "reproducible builds" effort [0], we noticed that
liberasurecode could not be built reproducibly.
What happens is that erasurecode_version.h headers are
non-determinstically installed in the target binary depending on the
system clock. This is due to debian/tmp/usr/include not being created
and the install-exec-hook ignores errors.
The attached patch ensures debian/tmp/usr/include exists and therefore
the headers will always be there. Once applied, liberasurecode can be
built reproducibly using our reproducible toolchain.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible-build.patch 1970-01-01 02:00:00.000000000
+0200
--- b/debian/patches/reproducible-build.patch 2015-11-29 10:46:09.883968933
+0200
@@ -0,0 +1,12 @@
+--- liberasurecode-1.1.0.orig/Makefile.am
++++ liberasurecode-1.1.0/Makefile.am
+@@ -32,7 +32,8 @@ thisinclude_HEADERS = \
+ include/rs_vand/liberasurecode_rs_vand.h
+
+ install-exec-hook:
+- -(cd $(DESTDIR)$(includedir) && \
++ -(mkdir -p $(DESTDIR)$(includedir) && \
++ cd $(DESTDIR)$(includedir) && \
+ rm -f erasurecode.h erasurecode_version.h \
+ erasurecode_stdinc.h erasurecode_helpers.h \
+ config_liberasurecode.h && \
--- a/debian/patches/series 2015-11-29 10:39:50.756146236 +0200
--- b/debian/patches/series 2015-11-29 10:46:07.603946325 +0200
@@ -1,2 +1,3 @@
disable-sse.patch
use-full-soname.patch
+reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: liberasurecode
Source-Version: 1.1.0-3
We believe that the bug you reported is fixed in the latest version of
liberasurecode, 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.
Thomas Goirand <[email protected]> (supplier of updated liberasurecode 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: Wed, 02 Dec 2015 10:18:08 +0100
Source: liberasurecode
Binary: liberasurecode-dev liberasurecode1
Architecture: source amd64
Version: 1.1.0-3
Distribution: unstable
Urgency: medium
Maintainer: PKG OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
liberasurecode-dev - support of multiple erasure code backends - development
files
liberasurecode1 - support of multiple erasure code backends - shared library
Closes: 806577
Changes:
liberasurecode (1.1.0-3) unstable; urgency=medium
.
* Added patch to make the build reproducible (Closes: #806577).
Checksums-Sha1:
3e8d618737aaa6efccd675e2eaf34be3495d881a 2083 liberasurecode_1.1.0-3.dsc
1b505b2fce8e2a133e1c23aa7e37fae843dba2e2 5504
liberasurecode_1.1.0-3.debian.tar.xz
cbf3fa2838ace3c727c8fe68b97d86c4997262e6 16670
liberasurecode-dev_1.1.0-3_amd64.deb
926ed70a27d2b460e58b4b3bf36588263ceb7d94 36866
liberasurecode1_1.1.0-3_amd64.deb
Checksums-Sha256:
f52148fd695082aba3c311a44df1067dafeb4cc7e9757abfe8420f07d3264779 2083
liberasurecode_1.1.0-3.dsc
6894022cec88758ee9ecbe24087cef6e290f96dc0c9ed0d172e439f728097b3a 5504
liberasurecode_1.1.0-3.debian.tar.xz
fd00de5d7d0a076364720a95f56c1c98c9aa5612d2f2f5fb0551a00ba46fe25b 16670
liberasurecode-dev_1.1.0-3_amd64.deb
9e78839524c293606abbe899656dd0ee7e90ec2699255fe6ed3340114ccf5090 36866
liberasurecode1_1.1.0-3_amd64.deb
Files:
fa04b09f2ec7d1740dfe1acaf5057532 2083 libs extra liberasurecode_1.1.0-3.dsc
c3d6e942c7b12bc71289ad281de365c6 5504 libs extra
liberasurecode_1.1.0-3.debian.tar.xz
ef734d126742753a2e2d814771abe3dc 16670 libdevel extra
liberasurecode-dev_1.1.0-3_amd64.deb
79f79542d27513a0a550237c7e4b545d 36866 libs extra
liberasurecode1_1.1.0-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJWXrguAAoJENQWrRWsa0P+1S0P/34Z0F6QnBACsNGUJ6FtXE8Y
azIE71gdMzOwNcSWpQHPM+qMejFtZA1O4vD+xD+xUT2bXfIF303BnyvVbRn3WlNT
9YHhennm417j8PXrUEXeDRBn4xO7WWux0Ogik/vc7NAW4Km4MGmdtCpfUwlLnjP0
lkvjAstlyjRSae7WodrzbWoCNTkxOJa1GTdjb8NWc8JfRaPF6lues2B+YJ3U1HXJ
x8KrhH06SW7X73nNKaj0o7VH9zoGOIHVV7WsROrX/3sBrVioSXwxAdN62jtNNihe
a+HM2q2Cz8XkAp+Z55tzdCzNhf/wIR9AE8ox1MjdYvhNhITte2nemkxZEMSUYEai
Z2nekNCs5FhRgkN1fiBc3LincbO70j1qGUs6S+7rj7Mhi0Lz51WRsY9c9XuX52u8
/nqXdbQDIITw3LWn4zyu5p3OqLBqxEPN9YsATVcwdg+q/we02BXSXq58NcugpD5N
EkBOT94PLlOwEXekr+vNKI/hzKQrfuKKwgeoZoupNYaYL77BrP1QKwsdlJ2zEZXw
YR2xOMWrg1HcUQ+YmbBkBrWGuAEP8CK8x6U4vCmNIDMH82FuXyuhbX4t80I1SLah
a2AohH8NMBMx1+qs/WQrZrr4VSnTfo0UqAMb0R0JvD/Lied6DotGOrJ9KyC0boQQ
C6Sr3ZgR5TixhZuNGaCH
=cqbS
-----END PGP SIGNATURE-----
--- End Message ---