Source: schroot
Version: 1.6.10-5
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 schroot could not be built reproducibly.

Patch attached that fixes the documentation to not include the absolute
build path. Some binaries (eg. /usr/bin/schroot etc.) remain
unreproducible but that is almost certainly a different problem.

 [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   2018-07-01 08:59:07.684315332 
+0100
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2018-07-01
+
+--- schroot-1.6.10.orig/man/CMakeLists.txt
++++ schroot-1.6.10/man/CMakeLists.txt
+@@ -150,6 +150,7 @@ foreach(manpage_source ${manpage_sources
+ 
+     add_custom_command(OUTPUT ${manpage}
+                        COMMAND ${SOELIM_EXECUTABLE}
++                               -r
+                                ${manpage_includes}
+                                < "${manpage_source_file}"
+                                > "${manpage}"
--- a/debian/patches/series     2018-07-01 08:35:34.336732471 +0100
--- b/debian/patches/series     2018-07-01 08:59:06.652300550 +0100
@@ -9,3 +9,4 @@
 Unmount-everything-that-we-can-instead-of-giving-up.patch
 fix-killprocs.patch
 fix-bash-completion.patch
+reproducible-build.patch

Reply via email to