[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1001867: marked as done (fcitx5-gtk: reproducible-builds: BuildId differences triggered by RPATH)



Your message dated Wed, 03 Aug 2022 21:34:02 +0000
with message-id <E1oJM0A-0020xA-Qg@fasolo.debian.org>
and subject line Bug#1001867: fixed in fcitx5-gtk 5.0.17-1
has caused the Debian Bug report #1001867,
regarding fcitx5-gtk: reproducible-builds: BuildId differences triggered by RPATH
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1001867: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001867
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
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-----

--- End Message ---

Reply to: