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

Bug#1001866: marked as done (libime: reproducible-builds: BuildId differences triggered by RPATH)



Your message dated Sun, 29 May 2022 00:04:02 +0000
with message-id <E1nv6Pa-0005jc-Ki@fasolo.debian.org>
and subject line Bug#1001866: fixed in libime 1.0.12-2
has caused the Debian Bug report #1001866,
regarding libime: 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.)


-- 
1001866: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001866
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libime
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/libime.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, libime should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining libime!

live well,
  vagrant
From edceee6388dec62cca657e4082fc038a6734b54f Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 17 Dec 2021 22:50:16 +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 388559a..d2a50f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,9 @@ execute_before_dh_auto_configure:
 	rmdir src/libime/core/kenlm
 	ln -sf $(CURDIR)/kenlm $(CURDIR)/src/libime/core/kenlm
 
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON
+
 ifneq (,$(filter $(DEB_HOST_ARCH), mips64el mipsel))
 override_dh_auto_test:
 	dh_auto_test -- ARGS+='--exclude-regex \(testtrie\)'
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: libime
Source-Version: 1.0.12-2
Done: Boyuan Yang <byang@debian.org>

We believe that the bug you reported is fixed in the latest version of
libime, 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 1001866@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 libime 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: Sat, 28 May 2022 19:42:14 -0400
Source: libime
Architecture: source
Version: 1.0.12-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 1001866
Changes:
 libime (1.0.12-2) unstable; urgency=medium
 .
   * debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via
     dh_auto_configure override for reproducibility. (Closes: #1001866)
Checksums-Sha1:
 cdb4837cd87f22a8dcc8781e22d8b4b3eb7b68cb 3661 libime_1.0.12-2.dsc
 c8bcbc8334225d1b193f956e19d10a4df35d4367 528660 libime_1.0.12.orig-dict.tar.xz
 f8b413ba887aa6139ea978f3ade2c33b9e3203fa 145352 libime_1.0.12.orig-kenlm.tar.xz
 44992c4a1be0aaa29b968a76cf5277fb92ae3e47 24790092 libime_1.0.12.orig-lmsc.tar.xz
 f89b90d8c7da6298c63d765cbc318cc7669ba311 2527904 libime_1.0.12.orig-table.tar.xz
 6cc1c9d6b23fc5371febd554ef06f55864f333cb 96684 libime_1.0.12.orig.tar.xz
 2cd0543a13e040755167035ef35ec8331012c6b8 7728 libime_1.0.12-2.debian.tar.xz
 593e9c5802998e3f5377d2424859bc28775ff721 11093 libime_1.0.12-2_amd64.buildinfo
Checksums-Sha256:
 8dedb7fe336cec50714f600297362c9a6db5f27f16772a02a136485c1e512595 3661 libime_1.0.12-2.dsc
 300597e6f7f79f788480fd665de8a07bfe90227048b5a7e39f40f43a62a981df 528660 libime_1.0.12.orig-dict.tar.xz
 968dcd7c0802aa04c696b90d2d4080c9638f37e6ff70a823caeb82a5c9314db6 145352 libime_1.0.12.orig-kenlm.tar.xz
 96d47a7ef3f8c1cfff6f34aa503c6db54f491d9eb8b29d0cddd26899f9d67a10 24790092 libime_1.0.12.orig-lmsc.tar.xz
 ce7a1d165171b96acb1fc2cd4f016ff3a35a5ef3df9e2a0d6426e41379cd053d 2527904 libime_1.0.12.orig-table.tar.xz
 f803c82b29dc93f380b7713b666ec1f25032d3159a8b572a0ea0a1204012774a 96684 libime_1.0.12.orig.tar.xz
 7fc0268c8c25b4acc9b3474464780bc66574632acacad0524579aefdfc85e617 7728 libime_1.0.12-2.debian.tar.xz
 6b2b46e044ad0ae25f53b39e72fc7f2795d0a7a05076f2d527464b18405429d4 11093 libime_1.0.12-2_amd64.buildinfo
Files:
 a2c52ffb353be4bdd53b5b73572d9770 3661 libs optional libime_1.0.12-2.dsc
 22bfa4bcb5e2ef03fc6b257f1ff3e4f1 528660 libs optional libime_1.0.12.orig-dict.tar.xz
 853fd52c6745967f2ed3075514e49f74 145352 libs optional libime_1.0.12.orig-kenlm.tar.xz
 a60be7af8f7d326dd3a81b402468e804 24790092 libs optional libime_1.0.12.orig-lmsc.tar.xz
 18fc328e7cf03ca684f2825dd29414bb 2527904 libs optional libime_1.0.12.orig-table.tar.xz
 7ce8cbb812c9909fecee8e082ea9b01d 96684 libs optional libime_1.0.12.orig.tar.xz
 1f461f2faa977805fb18588e76d6e373 7728 libs optional libime_1.0.12-2.debian.tar.xz
 793435eb1c76ff1bc263f3968b4be1ac 11093 libs optional libime_1.0.12-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmKStGIACgkQwpPntGGC
Ws6ObRAAq2cKzBui6YgaDeBAgu4AUTvN6HKxry1pWtBvyZTx3z2J+zjMxiF1HzLu
MEddXkqwIKT6kz1Zrwo7WjNYScyuDMCkzmC6sxbQH6kVSXASWxLuM9tcWorBowtP
K71RM5Xm/ha9AXMrMnjKD+VT6aqWrGtJjLk1Aip2iqubG7NSMDtRKTgO9bQ9Q4zx
K+JFDCha2e0SRn6OjZifqmqy8/CxvMmUrq4trTvPeWtMrQ+Cnfcw1ZVB7Qm1B7Sn
p7Vpj3yFjGYN9454eDzikDOLPkpkHy2LgzTv4z/lmuPm4KhdNQWIOLeDWL2auffR
1vWNRS7iNkmVn+k0eYd5AbIJ7zbVqoHoyNMgXLAfvpYhgQ+6bVjeVR+1HSBgkDgW
khuE7fLI59mmm6gbiQ+dgkwzjJp7MAyjC9htGkux39s0E7fCen6b38tt8VnyiULG
8UdyvodBwojidZkqdNY/UYVslb7ySnlHRadWHXKtX/hE6eMm3e+6qJmmK3dbdh17
8CxFGp1RZAFpC8KNdek1AejvhvNCaiHN9Rlv3kZblGHLvCnMXvJPuohJezFVmHZL
98u8Lx5A16+utFrAQNpCg/Y6TJaMoB0lGxWmgeMFxUruHo1YExfpjCHTgHwlicgq
WHA+IaVNjz6dHoU+Q22QkmC2yr4768TEJiGGest9Xc4ycj1z4l4=
=bK4U
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: