Debian Bug report logs -
#1021793
vart: reproducible builds: buildid differences triggered by build paths
Toggle useless messages
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#1021793; Package src:vart.
(Fri, 14 Oct 2022 19:51:03 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>.
(Fri, 14 Oct 2022 19:51:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: vart
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The buildid for various binaries differs when built from a different
build path:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/vart.html
The attached patch to debian/rules fixes this by passing
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to configure.
According to my local tests, with this patch applied, and the patch
submitted in #1021792 to fix timestamp issues, vart should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining vart!
live well,
vagrant
[0002-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-t.patch (text/x-diff, inline)]
From 5cd438a9d5fbb958efaabc804584998aa3d14396 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 14 Oct 2022 19:33:34 +0000
Subject: [PATCH 2/2] debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to
avoid differences when built from different build path.
https://tests.reproducible-builds.org/debian/issues/unstable/cmake_rpath_contains_build_path_issue.html
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/rules b/debian/rules
index 1eb4d91..c31a2c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
CONFIGURE_ARGS = -DCMAKE_BUILD_TYPE=Debug \
+ -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
-DENABLE_DPU_RUNNER=ON \
-DENABLE_XRNN_RUNNER=ON
--
2.37.2
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Nobuhiro Iwamatsu <iwamatsu@debian.org>:
You have taken responsibility.
(Wed, 19 Oct 2022 06:30:05 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Wed, 19 Oct 2022 06:30:05 GMT) (full text, mbox, link).
Message #10 received at 1021793-close@bugs.debian.org (full text, mbox, reply):
Source: vart
Source-Version: 2.5-2
Done: Nobuhiro Iwamatsu <iwamatsu@debian.org>
We believe that the bug you reported is fixed in the latest version of
vart, 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 1021793@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nobuhiro Iwamatsu <iwamatsu@debian.org> (supplier of updated vart 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: SHA256
Format: 1.8
Date: Wed, 19 Oct 2022 14:01:22 +0900
Source: vart
Architecture: source
Version: 2.5-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Xilinx Package Maintainers <team+pkg-xilinx@tracker.debian.org>
Changed-By: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Closes: 1021792 1021793
Changes:
vart (2.5-2) unstable; urgency=medium
.
* Drop embeds build time in various binaries. (Closes: #1021792)
Add 0005-Use-cmake-TIMESTAMP-feature-instead-of-calling-date-.patch.
Thanks to Vagrant Cascadian <vagrant@reproducible-builds.org>.
* d/rules: Add -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to configure option.
(Closes: #1021793)
Fix buildid differences triggered by build paths.
Thanks to Vagrant Cascadian <vagrant@reproducible-builds.org>.
Checksums-Sha1:
d6ec2457dd96867ac52411ff419d4321a633d3a1 2229 vart_2.5-2.dsc
eee34ddaa9def6f3a713f7cddeb31a45481bf91f 7020 vart_2.5-2.debian.tar.xz
599ff77125246a143780c45cfcc1e4df5b491ce1 8777 vart_2.5-2_amd64.buildinfo
Checksums-Sha256:
8f4242e16279a19b541c4da116423c564a56d1d04ee6899a2e111aa120b71fe2 2229 vart_2.5-2.dsc
8d32bfa6b6fddcb5f959a990f5f8f8490dbd524ef925b7d6c3d5894498698083 7020 vart_2.5-2.debian.tar.xz
9a945b35fd1926c62ba32fc72ae2dfe6d5121041d9bbff37b34c73baeec5a1bf 8777 vart_2.5-2_amd64.buildinfo
Files:
77689d558e91c729327e4024d66cdb21 2229 libs optional vart_2.5-2.dsc
84958acbd19eb8465fc3e5cbc5503fcb 7020 libs optional vart_2.5-2.debian.tar.xz
9eac2253d7818eb22669b43d23e998b7 8777 libs optional vart_2.5-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEXmKe5SMhlzV7hM9DMiR/u0CtH6YFAmNPk50ACgkQMiR/u0Ct
H6Z1NA//WIWqyb4Nr7S6pxeL/TZMAgJ0avu1V3Yt3qAR6HCQcyWniM9voTLMtMwW
SPO8Q9SS4mNH1OgtuzT+yuUtfkzOMA+qJNpXg5dymp6NkyD41DXX+Gvg6biD34/4
iYNDFHq2jSjA5l+cGyJBz3TECtIhFFyANURrZ/08umA1xtjrA/qjZR/OJApjshMQ
DMGhfEgTb0YRBA1Q59a7h2JBgi1i1YorH0nk9ERJsS40BF58r6h2rqtUYzdKi7HV
L8dX66MkOBKeOFzfPg3X0BqPMxmmpAr5MCMYBOHnkiNf3oFmtDfWZ99zFgAxnTSv
4K/IQ25OHfk0LKXbNgw5BT9j/VuL2aYVMMtmzJ4j0tgRmlvQx/yAKW0w/qst3eMA
7dWYdDeT8pgrmtLkcetWUQSQ/SK65+bdGtT9Cwve+BtFl1lmP8Z6zGPGeGWmStk/
WwxEVIdgXRyk4xbFOPEJe/4zAQSqjlm3+AcQcNYnTx+zHBQnFPoTzXJDR5PJfrSt
W6WWTvs9ZZuZrlM9smOYC19fEFgem9KgzewfnqoDvKVVSMAb7NkzfaihcrC8Rbrp
1bX+kMaRhRsAGKlXdVkXcy3xpsE2xCk2ZmacwT6FUnF1QkvsMy5sD6ZMvW0Ox59c
tdMXGc5+fPXO6ngFmvhvTwPbOKeKk/VnlzjJHzpnuE8XY3csyB8=
=voC2
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 21 Nov 2022 07:30:05 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 12:44:11 2023;
Machine Name:
bembo
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.