Debian Bug report logs - #1001867
fcitx5-gtk: reproducible-builds: BuildId differences triggered by RPATH

version graph

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

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

Date: Fri, 17 Dec 2021 23:21:01 UTC

Severity: normal

Tags: patch

Fixed in version fcitx5-gtk/5.0.17-1

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#1001867; Package src:fcitx5-gtk. (Fri, 17 Dec 2021 23:21: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 Input Method Team <debian-input-method@lists.debian.org>. (Fri, 17 Dec 2021 23:21: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-gtk: reproducible-builds: BuildId differences triggered by RPATH
Date: Fri, 17 Dec 2021 15:18:50 -0800
[Message part 1 (text/plain, inline)]
Source: fcitx5-gtk
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-gtk.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-gtk should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining fcitx5-gtk!

live well,
  vagrant
[0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch (text/x-diff, inline)]
From b0412e90df4332d991a4113ad1e7294558784276 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 17 Dec 2021 23:12:50 +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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3028422..29a7e2d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
 	dh $@ --with gir
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
-- 
2.34.1

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

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


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


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1001867-close@bugs.debian.org
Subject: Bug#1001867: fixed in fcitx5-gtk 5.0.17-1
Date: Wed, 03 Aug 2022 21:34:02 +0000
Source: fcitx5-gtk
Source-Version: 5.0.17-1
Done: Boyuan Yang <byang@debian.org>

We believe that the bug you reported is fixed in the latest version of
fcitx5-gtk, 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 1001867@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-gtk 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, 03 Aug 2022 17:10:57 -0400
Source: fcitx5-gtk
Architecture: source
Version: 5.0.17-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 1001867
Changes:
 fcitx5-gtk (5.0.17-1) unstable; urgency=medium
 .
   * New upstream release.
   * debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via
     dh_auto_configure override. (Closes: #1001867)
   * debian/control: Bump Standards-Version to 4.6.1.
   * debian/patches: Backport upstream commits to fix FTBFS.
   * debian/libfcitx5gclient2.symbols: Update symbols to hide
     private symbols accordingly.
Checksums-Sha1:
 fa2d6bc56fee89f5f7965651b6a02b1618c44634 2543 fcitx5-gtk_5.0.17-1.dsc
 3b418a668f1f1cbc98f94b4e1af360a87ce488e8 51556 fcitx5-gtk_5.0.17.orig.tar.xz
 d109fb3b4869cdb89f63717a69e41ad5ec871487 4932 fcitx5-gtk_5.0.17-1.debian.tar.xz
 142b12ce4d7e257f5b67daba101c1ef6b5e3a536 17752 fcitx5-gtk_5.0.17-1_amd64.buildinfo
Checksums-Sha256:
 344a1903f2f2f41c8cc617029d9f1a8dfc5f138b2adafa8f7559b9a1e2112b9d 2543 fcitx5-gtk_5.0.17-1.dsc
 d95d4a1b1dc03cdfc0310b35d5fb5684f8cd6757b2426a2131c3ce411594195e 51556 fcitx5-gtk_5.0.17.orig.tar.xz
 fdd7e1631f83b08b31c32105ecc30fe1180d25f2dc7e14aec7fc73fdfd2fa339 4932 fcitx5-gtk_5.0.17-1.debian.tar.xz
 53cd1a39b32ef82e0b45b2251abfea93fda79f4f5ccd5d0e3e0e8281775d20eb 17752 fcitx5-gtk_5.0.17-1_amd64.buildinfo
Files:
 601a0476c5f66e35c23ece841cbd7799 2543 utils optional fcitx5-gtk_5.0.17-1.dsc
 bd763e6de05f6ff7c71abac879421426 51556 utils optional fcitx5-gtk_5.0.17.orig.tar.xz
 d455935163ee3f4d52337f95a7751df2 4932 utils optional fcitx5-gtk_5.0.17-1.debian.tar.xz
 fdd4512e7cfe511c207d837e8c7e7ba8 17752 utils optional fcitx5-gtk_5.0.17-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmLq5UUACgkQwpPntGGC
Ws5Q7hAAsPLD2hmOk5v8W51hQWl1Bx0jP7/W0MzY4RUjmveYyHR5qz/0U5PK8Aib
oUQgEVEvci+DlOiRsFGOYZg4gSvLctc55fYHKxgS8LUwHdwifIgTae1KhZwFsLfg
10xsnGP0i7bshs/iBgmEV0Vi0ieA8lLgAfUwNagB78j2t10jugT7BrHMcgPHDzPq
rZUNacINWEJ4ORZ+gcYhv+fPTBgrrepTmLnxk71yrLXNN6oMRCQ/yUG5MW1B+a/3
mDdhyHYf9zCskOfrEqGwHe1zCBYoTriSGamuzT5MsksfVaVRklfGq4hqgNYrKUtx
rna9x2GFDT2DdqFJ+Z123/xmwz4+HDllWRSUmqnoWxqJCEwYz+4poGbg3HOrLsMQ
M405Trf0zmdq1eewr2lcEYHmsrfLF062x4OIMrqUdPHwWNxt/14XVZfo90O8NLjf
ak4uYtm4pONAezHEu0ZXyFr3D2veN4tJQiZdnxWytvnDXAAQbUYIHrYs+klPIOHW
sOT0TZDUBvVeBPu0xe0DXFZBounXtb/t5msAKHqvxpIwVV5FzPgemj5Ylb8xocqi
yM7SdjvQQvUtOfzyoh8+a+FgGyjnQsxhndnxjhlMHh7WCwQwIpzo7e/AE6Z33roR
RolRmMf8dR4hOLT1FtRMcaFbXLzWsUEeLIHehIaZNeAbu2YiRWQ=
=iFR4
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 06 Sep 2022 07:28:12 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:09:44 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.