Your message dated Tue, 09 Jul 2024 02:36:25 +0000
with message-id <e1sr0ip-007tqu...@fasolo.debian.org>
and subject line Bug#1020881: fixed in kafs-client 0.5-5
has caused the Debian Bug report #1020881,
regarding kafs-client: reproducible-builds: Embedded build paths in binaries
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 ow...@bugs.debian.org
immediately.)


-- 
1020881: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020881
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: kafs-client
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The build path is embedded in various binaries or triggers differences
in buildid:

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

  /usr/libexec/kafs-dns

  /build/1st/kafs-client-0.5/src/dns_main.c:221
  vs.
  /build/2/kafs-client-0.5/2nd/src/dns_main.c:221

The attached patch to the upstream Makefile fixes this by adding
-ffile-prefix-map to CFLAGS.

According to my local tests, with this patch applied kafs-client should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining kafs-client!

live well,
  vagrant
From eecef6a737037f42c241d4ffe3a814cdfe94ae08 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Tue, 27 Sep 2022 21:37:47 +0000
Subject: [PATCH] Makefile: Add -ffile-prefix-map to CFLAGS 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 00fe618..2c28567 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS		= -g -O2 -Wall -Wsign-compare
+CFLAGS		= -g -O2 -Wall -Wsign-compare -ffile-prefix-map=$(CURDIR)=.
 MKDIR		= mkdir
 INSTALL		= install
 DESTDIR		=
-- 
2.37.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: kafs-client
Source-Version: 0.5-5
Done: Russ Allbery <r...@debian.org>

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

Debian distribution maintenance software
pp.
Russ Allbery <r...@debian.org> (supplier of updated kafs-client 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 08 Jul 2024 19:09:23 -0700
Source: kafs-client
Architecture: source
Version: 0.5-5
Distribution: unstable
Urgency: medium
Maintainer: Bill MacAllister <b...@ca-zephyr.org>
Changed-By: Russ Allbery <r...@debian.org>
Closes: 976557 1020881 1069757 1075106
Changes:
 kafs-client (0.5-5) unstable; urgency=medium
 .
   * Disable upstream build code that adds -m32 or -m64 based on the
     dynamically calculated word size. This code is unnecessary on Debian,
     where the default compiler behavior should be used, and causes
     problems on some Debian architectures that don't support -m64. Thanks
     to Yue Gui, Lucas Nussbaum, and wuruilong for the reports.
     (Closes: #976557, #1069757)
   * Add reproducible=+fixfilepath to DEB_BUILD_MAINT_OPTIONS to avoid
     embedding the build path into binaries, which breaks binary
     reproducibility. Thanks to Vagrant Cascadian for the report.
     (Closes: #1020881)
   * Add missing include to the kafs-check-config patch to support using
     the default cell, fixing build failures with GCC 14. Thanks to
     Matthias Klose for the report. (Closes: #1075106)
   * Update standards version to 4.7.0 (no changes required).
Checksums-Sha1:
 b54f121033336a326568e27f89e3083ad7701f59 1805 kafs-client_0.5-5.dsc
 45dd4c330c26cfc60f258a0e3171e399f28ac354 25512 kafs-client_0.5-5.debian.tar.xz
Checksums-Sha256:
 49a9145505d9f3cfe97c7ea31801f92f2474e48075db5bd3f417960de27505c8 1805 
kafs-client_0.5-5.dsc
 792ed2c85b5737fd2819a5c6c9fb0edc474a945d9ca26c8e5db47daae92da941 25512 
kafs-client_0.5-5.debian.tar.xz
Files:
 814bbacffd40bf25ef31e9c9f9319dfd 1805 net optional kafs-client_0.5-5.dsc
 47f2ca17667e5ed8597379efe41260ba 25512 net optional 
kafs-client_0.5-5.debian.tar.xz

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

iQEzBAEBCgAdFiEE1zk0tJZ0z1zNmsJ4fYAxXFc23nUFAmaMnLAACgkQfYAxXFc2
3nWmxAgAtoqSML/UA3dPGiNcidL87IzDN4moqD9L2WhDQorDuG+Q24+hrjXQ43en
X5Ak7pJ7VUnngqBYTl3dO4h0EMcRyemQOxY2Ssiesz8EiuJljRErnNj7HovWfdld
AV8ng7mWt7YH1WNz34UmCROzhWTacfwBrXgCrkIlATp3fCLua3X6krXNMp/BvEzg
X4jW/cJcrIXLshKwFAi+ceQQ8C1gS+jO/6u4PkOxZ3aqxO0qdyFVVJ9B74UUDLbd
3bai6yw7jpxLCyq0wKnncd/A1OTSjCaemmK2cHYiDYzZe10rqQEpY+W/qV9yW1yA
rGpv2UNpkZXVzVJRzqSaqYg64M85yA==
=vNRO
-----END PGP SIGNATURE-----

Attachment: pgpLhf0SVb03V.pgp
Description: PGP signature


--- End Message ---

Reply via email to