Debian Bug report logs -
#1011034
fusesmb: reproducible-builds: embedded build paths in various binaries
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 15 May 2022 20:00:02 UTC
Severity: normal
Tags: patch
Fixed in version fusesmb/0.8.7-3
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#1011034; Package src:fusesmb.
(Sun, 15 May 2022 20:00:04 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, Debian QA Group <packages@qa.debian.org>.
(Sun, 15 May 2022 20:00:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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
[0001-debian-rules-Pass-ffile-prefix-map-in-CFLAGS-to-avoi.patch (text/x-diff, inline)]
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
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Mon, 16 May 2022 01:03:03 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Mon, 16 May 2022 01:03:04 GMT) (full text, mbox, link).
Message #10 received at 1011034-close@bugs.debian.org (full text, mbox, reply):
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-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 13 Jun 2022 07:27:01 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:
Wed May 17 12:38:51 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
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.