Source: yaz Version: 5.29.0-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that yaz could not be built reproducibly. This is because it embeds the absolute build path into the /usr/bin/ yaz-config file. A patch is attached. As this path will not exist at runtime, assuming that yaz works today (!), then the application of this patch could be reasoned to therefore be harmless. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2020-04-01 18:15:31.120487468 +0100 @@ -0,0 +1,17 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2020-04-01 + +--- yaz-5.29.0.orig/yaz-config.in ++++ yaz-5.29.0/yaz-config.in +@@ -14,8 +14,8 @@ echo_include=no + echo_source=yes + echo_lalibs=no + echo_comp=no +-src_root="@abs_top_srcdir@" +-build_root="@abs_top_builddir@" ++src_root="/nonexistent" ++build_root="/nonexistent" + ICU_LIBS="@ICU_LIBS@" + ICU_CPPFLAGS="@ICU_CPPFLAGS@" + SSL_LIBS="@SSL_LIBS@" --- a/debian/patches/series 2020-04-01 18:10:23.033987972 +0100 --- b/debian/patches/series 2020-04-01 18:15:30.084479062 +0100 @@ -1 +1,2 @@ yaz_diag_to_str.patch +reproducible-build.patch