Debian Bug report logs - #1005421
xir: reproducible builds: Timestamps embedded in libxir.so.1.4.1

version graph

Package: src:xir; Maintainer for src:xir is Debian Xilinx Package Maintainers <team+pkg-xilinx@tracker.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Sun, 13 Feb 2022 04:09:01 UTC

Severity: normal

Tags: patch

Fixed in version xir/1.4.1-5

Done: Punit Agrawal <punit@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Xilinx Package Maintainers <team+pkg-xilinx@tracker.debian.org>:
Bug#1005421; Package src:xir. (Sun, 13 Feb 2022 04:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian Xilinx Package Maintainers <team+pkg-xilinx@tracker.debian.org>. (Sun, 13 Feb 2022 04:09:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: xir: reproducible builds: Timestamps embedded in libxir.so.1.4.1
Date: Sat, 12 Feb 2022 20:07:14 -0800
[Message part 1 (text/plain, inline)]
Source: xir
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@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
[0001-cmake-vitis_version.c.in-Remove-the-build-date-from-.patch (text/x-diff, inline)]
From 14f867d4faaf94f03e36aa79b9db238e06d6bff4 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@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 (application/pgp-signature, inline)]

Reply sent to Punit Agrawal <punit@debian.org>:
You have taken responsibility. (Sun, 13 Feb 2022 08:42:05 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Sun, 13 Feb 2022 08:42:05 GMT) (full text, mbox, link).


Message #10 received at 1005421-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1005421-close@bugs.debian.org
Subject: Bug#1005421: fixed in xir 1.4.1-5
Date: Sun, 13 Feb 2022 08:40:02 +0000
Source: xir
Source-Version: 1.4.1-5
Done: Punit Agrawal <punit@debian.org>

We believe that the bug you reported is fixed in the latest version of
xir, 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 1005421@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Punit Agrawal <punit@debian.org> (supplier of updated xir 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 13 Feb 2022 16:36:14 +0900
Source: xir
Architecture: source
Version: 1.4.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Xilinx Package Maintainers <team+pkg-xilinx@tracker.debian.org>
Changed-By: Punit Agrawal <punit@debian.org>
Closes: 1005420 1005421
Changes:
 xir (1.4.1-5) unstable; urgency=medium
 .
   [ Vagrant Cascadian ]
   * Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via dh_auto_configure override.
     (Closes: #1005420)
 .
   [ Punit Agrawal ]
   * Add a patch to remove build date from the embedded version
     (Closes: #1005421)
Checksums-Sha1:
 e423f8e779b2dfb87b1dd515bff265906b7092e7 2242 xir_1.4.1-5.dsc
 ff3e73fd94a58f2239fc9f9f198be4c5e5422bdf 5744 xir_1.4.1-5.debian.tar.xz
 e59f886b0b0588aa71c6a76b40b76231e9100df3 8284 xir_1.4.1-5_amd64.buildinfo
Checksums-Sha256:
 10e74f60288731d05da4f390a2d35be6a85d3843cc8d74c34ea325592955e59c 2242 xir_1.4.1-5.dsc
 11e192362cda2dfe12bfc967e17b31469796fd9c644e21375bfd1e1633d2fc31 5744 xir_1.4.1-5.debian.tar.xz
 67af30ba3e47d2b3e7d7527ea9e3cdf2ec266611e0f2777ee79f1b8ccd2665a4 8284 xir_1.4.1-5_amd64.buildinfo
Files:
 a0ac9e42edcc006a7bb45a90abddf1e9 2242 libs optional xir_1.4.1-5.dsc
 28f87ecdc25879de09834f3ba9f0b6c0 5744 libs optional xir_1.4.1-5.debian.tar.xz
 e462093b21ef90696907976a37e9c73b 8284 libs optional xir_1.4.1-5_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEvZ5M7BP8NElWggdO9Tkv0hP7/t0FAmIItfIRHHB1bml0QGRl
Ymlhbi5vcmcACgkQ9Tkv0hP7/t18lhAArfPZEXOc/MJEMsGhiCPfDF0GAcTUjmVh
fFpp1gDwB6VK6r/kMAHZ77DtbGrCqLJlW+JoErRodDlyFdtnkGGRtE3bftTMy1gt
/x7Z4OT9Bc3XpQ8Ir2TLds3MIcAXBaQnbvQoZQpgLRA6JltqSsE+TKXKj/kAq0gi
aR6LwZ73SYmNKCHYBF/1smfrrPEYkFg+k3WbZq5u1zTQ+c1atzBN2GL0B2C+pYQ5
oL2xrTlyq8P3sVp3kuL/zoiUlSWPLVgrNeflF7Zw2F7QebvN2GkDFqy0+JsQuTql
BB3OBKCzMbnT/JRtiEeEu7QPaOdAsZPa7fxzQqV6fgPDmMYYpkmaUGkh0M/+/BfJ
fipc7zzWsUJg5dbCB1D6iL7VkpBVbWH0YpP9HcYlKhkO9UweqmfnyOZpb+F4Cwtn
RhBfB98yJghWttVQ2AvLRpzYuCm+8jwptjoBagqrqVeLvu7AnuloLulHsQKq1PSP
hjUazrxv6fvW/pNwLuC/RGGYg4dIR899T9VppXv0AZqAGT3lpXu91VbqZvPTBt4J
4hJcOlpHRhCQSIeodhrE98WseMILuaFbGIMKdAEhbIBl3JLSN/xMSgnD8uqzjdCe
H+BmlUqS044brwvrYDeA+e8zLi47K+/RDPcp4ywVcPGmuN6Rm1e45936/pse0Nww
1Gml2nps3NA=
=XpCb
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 18 Mar 2022 07:25:56 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 10:18:36 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.