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

Bug#1011034: marked as done (fusesmb: reproducible-builds: embedded build paths in various binaries)



Your message dated Mon, 16 May 2022 00:59:22 +0000
with message-id <E1nqP50-0005dF-Tp@fasolo.debian.org>
and subject line Bug#1011034: fixed in fusesmb 0.8.7-3
has caused the Debian Bug report #1011034,
regarding fusesmb: reproducible-builds: embedded build paths in various 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 owner@bugs.debian.org
immediately.)


-- 
1011034: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011034
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: fusesmb
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 various binaries such as /usr/bin/fusesmb
and /usr/bin/fusesmb.cache:

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

  /build/1st/fusesmb-0.8.7/fusesmb.c:1003
  vs.
  /build/2/fusesmb-0.8.7/2nd/fusesmb.c:1003

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

Alternately, updating to "dh" build system and updating debhelper compat
level might also fix the issue.


With these patches applied, fusesmb should build reproducibly on
tests.reproducible-builds.org!


live well,
  vagrant
From f9d4e1a9e5af42a96d2db9a4ff893920c789f290 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 15 May 2022 19:49:58 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map in CFLAGS to avoid
 embedding the build path.

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 a049f18..46de5fc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -ffile-prefix-map=$(CURDIR)=.
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
-- 
2.36.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: fusesmb
Source-Version: 0.8.7-3
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

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

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated fusesmb 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: Sun, 15 May 2022 17:15:20 -0700
Source: fusesmb
Architecture: source
Version: 0.8.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 1011034
Changes:
 fusesmb (0.8.7-3) unstable; urgency=medium
 .
   * QA upload.
   * Switch to debhelper-compat 13 and dh. (Closes: #1011034)
   * Switch to source format "3.0 (quilt)".
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/control: Update Standards-Version to 4.6.1.
Checksums-Sha1:
 cec12645c73982244f18beccc52fc54b6871aad6 1298 fusesmb_0.8.7-3.dsc
 b5e790e5ca1d6f7cac210aa7fab45e330520b7f4 35176 fusesmb_0.8.7-3.debian.tar.xz
Checksums-Sha256:
 7b71e82a3fbf69000115524aaa2ca7231e8c4a8e415de26c389b6927875712a9 1298 fusesmb_0.8.7-3.dsc
 594dae30893a653d94192cf845dd11fa64eb27a130ba8651a552a2fb36fa1cdd 35176 fusesmb_0.8.7-3.debian.tar.xz
Files:
 8e87e1d26ae12068f2f752976d9965e1 1298 utils optional fusesmb_0.8.7-3.dsc
 a31c524c4baf0674f0aea94397a3b813 35176 utils optional fusesmb_0.8.7-3.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYoGZFiAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqtOFAP4mHAuh3N4ZlKm3
RAbNSz0KVjPjz5pI3HpD6diAh5a0YgD/QZ1McKSlUEjP7Bsz1Ayw/xmE/+1q1d3Z
XyTyhHknkgM=
=PCjZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: