Debian Bug report logs - #1002674
fcitx5-qt: reproducible-builds: BuildId differences triggered by RPATH

version graph

Package: src:fcitx5-qt; Maintainer for src:fcitx5-qt is Debian Input Method Team <debian-input-method@lists.debian.org>;

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

Date: Mon, 27 Dec 2021 04:00:02 UTC

Severity: normal

Tags: patch

Fixed in version fcitx5-qt/5.0.14-2

Done: Boyuan Yang <byang@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 Input Method Team <debian-input-method@lists.debian.org>:
Bug#1002674; Package src:fcitx5-qt. (Mon, 27 Dec 2021 04:00: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 Input Method Team <debian-input-method@lists.debian.org>. (Mon, 27 Dec 2021 04:00: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: fcitx5-qt: reproducible-builds: BuildId differences triggered by RPATH
Date: Sun, 26 Dec 2021 19:57:29 -0800
[Message part 1 (text/plain, inline)]
Source: fcitx5-qt
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The RPATH contains the build path resulting in different buildid:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/fcitx5-qt.html

The attached patch to debian/rules passes
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via a dh_auto_configure override,
which should use a relative path for RPATH.

With this patch applied, fcitx5-qt should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining fcitx5-qt!

live well,
  vagrant
[0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From 48f324134e6cf0e3263bd9799caa3e2e5335a9d2 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 27 Dec 2021 03:53:55 +0000
Subject: [PATCH] debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via
 dh_auto_configure override.

This avoids embedding the full path in RPATH, which triggers BuildId
differences.

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 a7f20a3..50ee87d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,4 +8,5 @@ export QT_SELECT := 5
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
+	        -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
 	        -DENABLE_QT4=0
-- 
2.34.1

[signature.asc (application/pgp-signature, inline)]

Reply sent to Boyuan Yang <byang@debian.org>:
You have taken responsibility. (Wed, 24 Aug 2022 20:57:05 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Wed, 24 Aug 2022 20:57:05 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1002674-close@bugs.debian.org
Subject: Bug#1002674: fixed in fcitx5-qt 5.0.14-2
Date: Wed, 24 Aug 2022 20:53:41 +0000
Source: fcitx5-qt
Source-Version: 5.0.14-2
Done: Boyuan Yang <byang@debian.org>

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

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated fcitx5-qt 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: Wed, 24 Aug 2022 16:05:03 -0400
Source: fcitx5-qt
Architecture: source
Version: 5.0.14-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 1002674
Changes:
 fcitx5-qt (5.0.14-2) unstable; urgency=medium
 .
   * debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via
     dh_auto_configure override. (Closes: #1002674)
Checksums-Sha1:
 40b14defa25f11fc282bb95de094d47c1312bb21 2526 fcitx5-qt_5.0.14-2.dsc
 53bc1b383ad3da0123c9eed9e54033509981dfda 81040 fcitx5-qt_5.0.14.orig.tar.xz
 887531600d22992afe257bf4e2ceca4a685785d8 4256 fcitx5-qt_5.0.14-2.debian.tar.xz
 0da2f430cd573895de45f0065cfe7c90acd9eddf 15678 fcitx5-qt_5.0.14-2_amd64.buildinfo
Checksums-Sha256:
 16e10c7557119254bd3d7809d8e66101a7d5ac3626043618a7ece5d1698ce602 2526 fcitx5-qt_5.0.14-2.dsc
 876b33e1286c01e440f74b3c5bc51e868983f31a36315c25d4e3352817825fa5 81040 fcitx5-qt_5.0.14.orig.tar.xz
 5c0728127d87540b010099d2bd1212eb087997d54765bf7cd4966f2ef84535b5 4256 fcitx5-qt_5.0.14-2.debian.tar.xz
 c2f0518f42d8a76627eeacaec7cb3ed43edf1b2e6f3badfbc13110b06cdbb2ad 15678 fcitx5-qt_5.0.14-2_amd64.buildinfo
Files:
 582721274db4cad9d714a40bba8710b6 2526 utils optional fcitx5-qt_5.0.14-2.dsc
 4afb5d5d55649b45746a9d7b030def78 81040 utils optional fcitx5-qt_5.0.14.orig.tar.xz
 73db73382580bc91745ac2c7fc40b7a8 4256 utils optional fcitx5-qt_5.0.14-2.debian.tar.xz
 f93c25f33b4a2f286d40754801182201 15678 utils optional fcitx5-qt_5.0.14-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmMGhmgACgkQwpPntGGC
Ws7WVBAAm+FK/pjS3Mj78Ce+hvTLGl4Ubns7kHk+ggz8x8PvStH3vmM/N3SGm1o1
yKCoIP8MFgHlxMZ/hD8Aw7m2m3s9XLZcNW4xJcOp7NAiRpYx+K/+vejp/dcK+YE+
hNU67JtMNEQIf5kykRbndj3/CxfRX015zMhHT77OqEmDVO2BVubOMogPDfpjfOgA
scIy/pOY6qX4naxw/5mFT3sIwAnaxzTvgo7Jqa9YdXN5/6eEZvLhqPX0ru/fRvkz
czcrLXHYyMmwDoy3pJ89eVB+WVjzjz8sEEqL+PWcDYOFMLKwb10ZM3WKXYbxR+bi
cVVcDmlaIh7p5jjUBNa6Kx7+OrFuOq5KX5nLZ3BuJgENO5suaOuCcxgH2unPd/t8
wmvLUa5vixdmWb2A3sLoVe7/3PwSU2b8mayWuxlu9bO4SyKc7jhkE/lFOdCIq+d0
/ID4tpWBPl2J4ZHuPBLuOfAlLCsT8pQiD9JN/FODdSdyAQfFTYr6JHpHbYNS5gNU
FWe0N+m4zEMXV8PiTgOXGf+TW/P0vCHU0KGuzbfCyqBemUljXAJIGqSbJSwO0kdw
vsKVDjSUpe9uZMoXHjZrJfuj/Gw+1aKQUxXNyA2bPYVGF/WXQqVft1vlE0QVvXUS
tjkapbWCAhH1F0Jr1iUvhHE8Ixli2ha30ncnPFsKAX3ZhTrU0Bk=
=Wcy5
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 22 Sep 2022 07:26:57 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 11:10:09 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.