Your message dated Thu, 28 May 2020 09:33:34 +0000
with message-id <[email protected]>
and subject line Bug#956120: fixed in rspamd 2.5-2
has caused the Debian Bug report #956120,
regarding rspamd: please make paths.lua 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.)
--
956120: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956120
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rspamd
Version: 1.9.4-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
rspamd could not be built reproducibly.
This is because the paths.lua file embeds the absolute build
directory. Patch attached. (Note that this does not make the
package entirely reproducible.)
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/002_reproducible-build.patch 1970-01-01
01:00:00.000000000 +0100
--- b/debian/patches/002_reproducible-build.patch 2020-04-07
16:20:12.571362242 +0100
@@ -0,0 +1,20 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2020-04-07
+
+--- rspamd-1.9.4.orig/contrib/lua-torch/torch7/paths.lua.in
++++ rspamd-1.9.4/contrib/lua-torch/torch7/paths.lua.in
+@@ -1,11 +1,11 @@
+ local paths = {}
+
+ paths.install_prefix = [[@Torch_INSTALL_PREFIX@]]
+-paths.install_bin = [[@Torch_INSTALL_BIN@]]
++paths.install_bin = [[/nonexitent]]
+ paths.install_man = [[@Torch_INSTALL_MAN@]]
+ paths.install_lib = [[@Torch_INSTALL_LIB@]]
+ paths.install_share = [[@Torch_INSTALL_SHARE@]]
+-paths.install_include = [[@Torch_INSTALL_INCLUDE@]]
++paths.install_include = [[/nonexitent]]
+ paths.install_cmake = [[@Torch_INSTALL_CMAKE@]]
+
+ return paths
--- a/debian/patches/series 2020-04-07 10:41:26.604196543 +0100
--- b/debian/patches/series 2020-04-07 16:20:11.723355291 +0100
@@ -1 +1,2 @@
001_fix-perl-sheebang.patch
+002_reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: rspamd
Source-Version: 2.5-2
Done: Sebastien Badia <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rspamd, 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.
Sebastien Badia <[email protected]> (supplier of updated rspamd 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, 28 May 2020 11:06:51 +0200
Source: rspamd
Architecture: source
Version: 2.5-2
Distribution: unstable
Urgency: medium
Maintainer: Sebastien Badia <[email protected]>
Changed-By: Sebastien Badia <[email protected]>
Closes: 956120
Changes:
rspamd (2.5-2) unstable; urgency=medium
.
[ Christian Göttsche ]
* d/control: switch to compat level 13.
* rspamd.triggers: activate on resolved paths for jquery and
glyphicons-halflings-regular.ttf.
* d/{control,rules}: use libunwind only on supported architectures
* d/rules:
+ drop as-needed linker flag.
+ enable CMAKE_BUILD_WITH_INSTALL_RPATH.
Make the build reproducible (Closes: #956120)
* d/tests:
+ add test that we use existing and resolved paths in the dpkg triggers
+ try to adjust flaky autopkgtest runs
Checksums-Sha1:
4dabad90a01b14ac89a8cac32f22b54b37875d0d 2324 rspamd_2.5-2.dsc
0e4b105e3c2133d81a64bb6b6063a843d7d545f9 240468 rspamd_2.5-2.debian.tar.xz
f7136f5f37d096889972363519060b56fc60a9e5 5522 rspamd_2.5-2_source.buildinfo
Checksums-Sha256:
059747588073a027d0586f5df56fc5515501218e39b4bc83cc8e63b310f7a49c 2324
rspamd_2.5-2.dsc
e29b886c200b7f603b3467125b9d45634c2f23f08312e92a2838c9d5d8988178 240468
rspamd_2.5-2.debian.tar.xz
886cf6f675bb7e6c275d7e761f95d4381bd89369e203f6134a67eddf6c9f7001 5522
rspamd_2.5-2_source.buildinfo
Files:
7223ac54fd4807644e145902492dae2d 2324 mail optional rspamd_2.5-2.dsc
90dd63368fd09e62f63864eca02844a2 240468 mail optional
rspamd_2.5-2.debian.tar.xz
8cf7a615b9b2f37f1699a742eb698c4f 5522 mail optional
rspamd_2.5-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfkPprL9yerPPCIUzhxbORhSkUtgFAl7PgEsACgkQhxbORhSk
UthiAA/9EdzlRmKYP+bfI8sGoWx8ySKw1QRAcHFiMPUoj/iEwBiWgHiwS2BVR21Y
g6T6RBh594CNRW3W5bMTwEAWvwgi7xP80AqzSQZO89IxELObHW0mglg+o6Sd+xku
VF1ibHGvKuXcquPGSe+MXHjGy91kaLv2epj8xbI8jgFzvGi+irBiuMrvchGpKYEw
ACjy3tIDay4F8meoufvly2wH6gfEMGzG1NJTHELNsEQl0Rr5T0sTfzyx70SmvGdx
DQrRqOtuzr3zP1PyYA5w2BqCAizYELhqjZL6wlkIg3bDKC5krcbyC2ymXVJTnhqU
j8csxNZ4DI/YUPNINgoSRNBcnQXIJu02s6q72IV2ecX8woWHKcyOXtLm7s/G7nQ3
C+wsVFj6SdaEgyb5r6wha5ipLxzxISf7ZsbgDG4JeVh/ySerylh8fdYEwi8J6/yn
xW5sLt28rRi259feJg2qdKiZMV9tH0vF3qf8WdjxhZ9faLrI7nlwudu3zBqHOCSg
Qi4s9vFlfZMV+q0LnEv+eE4IZhHBy1zo9uaGQImLgRwfeGounah/ACbftXUvRMWY
2lkc3gDnTXaPr/4kMwpVVGxDULQZSGh/PImWRLqihJRAU8Zl2gBrWUA0Me8Z7JlI
ssZzoQd+c4O5af0r5dpOCgvk3o2dC9tN8gBHq/KvLVEOVWnxfC8=
=nkG1
-----END PGP SIGNATURE-----
--- End Message ---