Source: xir Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The build timestamp is embedded in binaries such as /usr/lib/x86_64-linux-gnu/libxir.so.1.4.1: -Xilinx xir Version: xir-33e46ad5117c9fd8825ab6344aa009b6c7283fb8 2022-02-12-12:34:43 +Xilinx xir Version: xir-33e46ad5117c9fd8825ab6344aa009b6c7283fb8 2023-08-05-17:59:25 The attached patch fixes this by patching out the build date in the version string. With this patch applied, xir should build reproducibly on tests.reproducible-builds.org once it migrates to the the testing/bookworm suite. Both unstable and experimental also vary build paths which trigger other issues; a separate patch has been submitted to fix the build path issues. With both patches applied, it should build reproducibly! Thanks for maintaining xir! live well, vagrant
From 14f867d4faaf94f03e36aa79b9db238e06d6bff4 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 13 Feb 2022 03:48:45 +0000 Subject: [PATCH 1/2] cmake/vitis_version.c.in: Remove the build date from the embedded version. https://reproducible-builds.org/docs/timestamps/ --- cmake/vitis_version.c.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/vitis_version.c.in b/cmake/vitis_version.c.in index fac4055..70ffc70 100644 --- a/cmake/vitis_version.c.in +++ b/cmake/vitis_version.c.in @@ -17,7 +17,7 @@ const char* xilinx_@PROJECT_NAME@_version() { return "@PROJECT_NAME@-@GIT_VERSION@@VERSION_SUFFIX@"; } -static char @PROJECT_NAME@_version[] = "Xilinx @PROJECT_NAME@ Version: @PROJECT_NAME@-@GIT_VERSION@@VERSION_SUFFIX@ @BUILD_DATE@"; +static char @PROJECT_NAME@_version[] = "Xilinx @PROJECT_NAME@ Version: @PROJECT_NAME@-@GIT_VERSION@@VERSION_SUFFIX@"; const char* xilinx_version() { return @PROJECT_NAME@_version; } -- 2.34.1
signature.asc
Description: PGP signature