1020674">

Debian Bug report logs - #1020674
ifstat: reproducible-builds: Embedded build path in /usr/bin/ifstat

version graph

Package: src:ifstat; Maintainer for src:ifstat is Peter Blackman <peter@pblackman.plus.com>;

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

Date: Sun, 25 Sep 2022 01:27:01 UTC

Severity: normal

Tags: patch

Fixed in version ifstat/1.1-9

Done: Bastian Germann <bage@debian.org>

Bug is archived. No further changes may be made.

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, Goswin von Brederlow <goswin-v-b@web.de>:
Bug#1020674; Package src:ifstat. (Sun, 25 Sep 2022 01:27: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, Goswin von Brederlow <goswin-v-b@web.de>. (Sun, 25 Sep 2022 01:27:03 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: ifstat: reproducible-builds: Embedded build path in /usr/bin/ifstat
Date: Sat, 24 Sep 2022 18:24:12 -0700
[Message part 1 (text/plain, inline)]
Source: ifstat
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

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

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

  /build/1st/ifstat-1.1/ifstat.c:458
  vs.
  /build/2/ifstat-1.1/2nd/ifstat.c:458

The attached patch fixes this in debian/rules by passing
-ffile-prefix-map in CFLAGS to configure.

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

Thanks for maintaining ifstat!

live well,
  vagrant
[0001-debian-rules-Pass-ffile-prefix-map-via-CFLAGS-to-con.patch (text/x-diff, inline)]
From e545ae74d28a8760cf0aa6b61e4a68fbcb255a40 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 25 Sep 2022 01:20:56 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map via CFLAGS to configure.

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

diff --git a/debian/rules b/debian/rules
index 6947715..e2d9181 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ configure-stamp:
 	touch Makefile.in
 	touch configure
 	# Add here commands to configure the package.
-	CPPFLAGS="-D_REENTRANT" ./configure --prefix=/usr --mandir="\$${prefix}/share/man" --infodir="\$${prefix}/share/info" --enable-debug --enable-library --with-libcrypto
+	CFLAGS="-ffile-prefix-map=$(CURDIR)=." CPPFLAGS="-D_REENTRANT" ./configure --prefix=/usr --mandir="\$${prefix}/share/man" --infodir="\$${prefix}/share/info" --enable-debug --enable-library --with-libcrypto
 
 	touch configure-stamp
 
-- 
2.37.2

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

Reply sent to Bastian Germann <bage@debian.org>:
You have taken responsibility. (Thu, 14 Sep 2023 10:39:10 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Thu, 14 Sep 2023 10:39:10 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1020674-close@bugs.debian.org
Subject: Bug#1020674: fixed in ifstat 1.1-9
Date: Thu, 14 Sep 2023 10:35:53 +0000
Source: ifstat
Source-Version: 1.1-9
Done: Bastian Germann <bage@debian.org>

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

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated ifstat 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: Thu, 14 Sep 2023 08:35:03 +0000
Source: ifstat
Architecture: source
Version: 1.1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 878384 1007623 1020674
Changes:
 ifstat (1.1-9) unstable; urgency=medium
 .
   * QA upload.
   * Convert to source format 3.0. (Closes: #1007623)
   * d/copyright: Convert to machine-readable format.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Export a triplet-prefixed CC. (Closes: #878384)
 .
   [ Vagrant Cascadian ]
   * d/rules: Pass -ffile-prefix-map via CFLAGS to configure. (Closes: #1020674)
Checksums-Sha1:
 6a4adc4fbd4f145b382a4373dea305f60aae8c7d 1558 ifstat_1.1-9.dsc
 1cbc409cfbb3024977f09bc4d1f738630a1cad25 7056 ifstat_1.1-9.debian.tar.xz
 89dc6b7f3ffae7a1c47c64405830a1599beb0627 5922 ifstat_1.1-9_source.buildinfo
Checksums-Sha256:
 aa0615f4d06e43f83b0e639b60459e057a008f35920699f23233e0f1ad8b2465 1558 ifstat_1.1-9.dsc
 dca7e46ae5f7b95b6b464bd0c9fe7add1dd2da409bda74f8a4d8aa6c080561b7 7056 ifstat_1.1-9.debian.tar.xz
 2e0df498498b7e7cbc41dceaddce6cfc027e23fbb43996bf13ab6beb9003d913 5922 ifstat_1.1-9_source.buildinfo
Files:
 1c984cca2706d3f6144dc937b66dd13f 1558 net optional ifstat_1.1-9.dsc
 cac10ea3a68135d8ac3e08327a9ef34d 7056 net optional ifstat_1.1-9.debian.tar.xz
 e5ad59eacd62b190922638a97e1479a6 5922 net optional ifstat_1.1-9_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmUC3BAQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFGhDC/91Hmfjf1F6vLbf4SJISseAGTsPA8ChK831
5IGIzdJ0r+66Ap98vdlp1sXXd1Sl0V0Aa1jnP2KMJXbBe+zgLIGFm79cKDBdlySM
1OuvgwU+bJB2yN3b10a9u9/3XqYFV0Zb5IKj5SnQ3MeegWApfegO0JvuA+oXZL0y
Z5VD2YDKyUovA02KhjeleR2tRnftv/A0amqblvzkXbeIokIfHfdwjmc9pQRLMoT/
/HuMvjb+kEYefdHa+M1y6t6GzznS401Ta25co76WWOoziw2Y315RxzQ8W75h6HN6
am1FwqI7IkW90ZUSWtdMvg0DPebb0qsIm4i75pYgeWaNy1MsBTAE82f7CZfgQ0CC
Hn9jskI4fxqRxKd/Q4+D/2PZBNRKfCQtJhqv2CtK4N8EKvJmyDyYRwQoJ7HnqY9N
znZAUNz9n7W75629s3T+9Y+fjXqhCvjm0jaCopSMmxIcI2MYx6jjcUQfsktbwE6a
oJpwRECFlIx/joUXa579mo4q93h6N7c=
=09o2
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 17 Oct 2023 07:28:41 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: Fri Jan 31 07:52:18 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.