Your message dated Wed, 13 Aug 2025 06:07:28 +0000
with message-id <[email protected]>
and subject line Bug#1020757: fixed in rig 1.11-2
has caused the Debian Bug report #1020757,
regarding rig: reproducible-builds: Embedded build path in /usr/bin/rig
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 [email protected]
immediately.)


-- 
1020757: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020757
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rig
Severity: normal
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

The build path is embedded in /usr/bin/rig:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/rig.html

  /build/1st/rig-1.11/rig.cc:303
  vs.
  /build/2/rig-1.11/2nd/rig.cc:303

The attached patch to the upstream Makefile fixes this by passing
-ffile-prefix-map argument to the CXX call.

With this patch applied rig should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining rig!

live well,
  vagrant
From 60d3e87df657bbb1ffa55ed7bea6fabde2a6ca88 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Mon, 26 Sep 2022 00:52:09 +0000
Subject: [PATCH] Makefile: Pass -ffile-prefix-map to CXX call to avoid
 embedding build paths.

https://reproducible-builds.org/docs/build-path/
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index f41c173..b4bb6f2 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CXX=g++
 
 all: rig rig.6
 rig: rig.cc
-	${CXX} -O2 -g rig.cc -o rig -Wall -DDATADIR="\"$(DATADIR)\""
+	${CXX} -O2 -g -ffile-prefix-map=$(CURDIR)=. rig.cc -o rig -Wall -DDATADIR="\"$(DATADIR)\""
 
 rig.6: rig.6.in
 	sed s@DATADIR@"$(DATADIR)"@g < rig.6.in > rig.6
-- 
2.37.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: rig
Source-Version: 1.11-2
Done: Andreas Tille <[email protected]>

We believe that the bug you reported is fixed in the latest version of
rig, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated rig 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 01 Jun 2025 08:09:23 +0200
Source: rig
Architecture: source
Version: 1.11-2
Distribution: unstable
Urgency: medium
Maintainer: Package Salvaging Team <[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 1020757 1107118
Changes:
 rig (1.11-2) unstable; urgency=medium
 .
   [ Andreas Tille ]
   * Maintain in Package Salvage team
     Closes: #1107118
   * Add Homepage
   * Add watch file
   * d/rules: Its not a sample
   * d/copyright: Secure URI
   * Standards-Version: 4.7.2 (routine-update)
   * debhelper-compat 13 (routine-update)
 .
   [ Vagrant Cascadian ]
   * Pass -ffile-prefix-map to CXX call to avoid embedding build paths.
     Closes: #1020757
Checksums-Sha1:
 78f0ee2183bd4088571fc6b738a4bec5923ae87e 1941 rig_1.11-2.dsc
 ff8e134c9bdc9ee4508ddd40ec8b94883187caa2 3692 rig_1.11-2.debian.tar.xz
 10c156e17e42720eb172653606da3c45fa1095a8 6053 rig_1.11-2_amd64.buildinfo
Checksums-Sha256:
 cd50711d58de96b823a51e071d5e6f1cb584c53337ac000021cf689500e0f37c 1941 
rig_1.11-2.dsc
 d6d84639b2703fc18ac65b82c8a97045ed992baeff9a14a7cb1234a2a58d8cdc 3692 
rig_1.11-2.debian.tar.xz
 666592da79fcb56913db4043d9cffbc785fd8fda3f85bf486dae30ffe68d9fe3 6053 
rig_1.11-2_amd64.buildinfo
Files:
 060bf793204a580679be1c978b33c2fc 1941 misc optional rig_1.11-2.dsc
 832640c433e4d42f49d8950fbdc81fe0 3692 misc optional rig_1.11-2.debian.tar.xz
 e327f90864af809cade961af51139e6d 6053 misc optional rig_1.11-2_amd64.buildinfo

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

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmiO8zERHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFW9A//QGO0SU8M3PmJR3m6c+bssDUfs10uzdxs
anrAuQeEs5l1kXtdJKGeFeIewqurXa/kemgnjlpkvt/wB6IzB3RYOd1SFvuwtOoK
kGsHJU81OXGouIs0Tg61Pt6vj1Zv76mjlnfmortP4dIN3G1AyGtbnlnN6hA0f5XT
zT+Mw4fSASO7wA4gaHGkGN1xt7v/mXgUsJGtnKrq5ZBhcT7/V0/ICQK6DvQgjpH8
Duo/Gm7hkNx9c7PUuIt+w5w8592lvzrhATMNGmt1a/uOg+s/Por+ZjQ+lyt73R88
/xfxkPRg69C3WNz2P3401fD5l7n3LJQyTvn+mhYJmn0OJhLztqrNRhRszatWq1Pz
7xu+pglVnCCWo7KBWSe3Fy1B0jHOj8V/uBu72Oj3StxC2LzPxTQ4SHsKOdboTEVD
VyPCQ9fv3GxqtTw4r3XanKYc8+AmAqBNW0KP+RhkhHd6FwbsMd4HFb0xuT+pFHL+
vozLrTVQTyVT0vAFeF6CgpOb1d7CLkMtwkw3VYSB+F4sMKWAIG/Q/ButBL04u2lC
/8EqjkkSs9qa6dDxcGABkYPUAuUd0DlElgMS3GpEwdTEGyGoZD34MlMqPkLGgTFX
E1AkOBEJV4lfnXYuWWdCv8QksVA+YthwkgVwZTbmz+Z7CkMpmAWlsVJonyuYagCP
LgQMw5r3Mrs=
=yNTe
-----END PGP SIGNATURE-----

Attachment: pgp5P9up1047V.pgp
Description: PGP signature


--- End Message ---

Reply via email to