Debian Bug report logs -
#1010872
efax: reproducible-builds: differing buildid in /usr/bin/efax and /usr/bin/efix
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Thu, 12 May 2022 01:48:01 UTC
Severity: normal
Tags: patch
Fixed in version efax/1:0.9a-21
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#1010872; Package src:efax.
(Thu, 12 May 2022 01:48: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>.
(Thu, 12 May 2022 01:48: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: efax
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Both /usr/bin/efax and /usr/bin/efix embed different buildids based on
the build path:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/efax.html
Build·ID:·bbce73232e3a81a5db70703d12c5ce89ecf11d8d
vs.
Build·ID:·ec6d84e3221a010689b83ef8327769e2da58cd2d
The attached patch fixes this by passing -ffile-prefix-map via CFLAGS in
debian/rules to avoid embedding the absolute build paths in binaries.
Alternately, this might be solved by switching to using "dh" in
debian/rules, which should use the default values for CFLAGS from
dpkg-buildflags.
With these patches applied, efax should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
[0001-debian-rules-Set-ffile-prefix-map-in-CFLAGS.patch (text/x-diff, inline)]
From 40dd43885c275b9e12d180fac692b47cdf4e8af9 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Thu, 12 May 2022 01:36:10 +0000
Subject: [PATCH] debian/rules: Set -ffile-prefix-map in CFLAGS.
https://tests.reproducible-builds.org/debian/issues/unstable/gcc_captures_build_path_issue.html
---
debian/rules | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/rules b/debian/rules
index a20babe..1351a73 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,8 @@ else
CFLAGS += -O2
endif
+# Avoid embedding build paths
+CFLAGS += -ffile-prefix-map=$(CURDIR)=.
build: build-stamp
--
2.36.1
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Thu, 12 May 2022 04:51:07 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Thu, 12 May 2022 04:51:07 GMT) (full text, mbox, link).
Message #10 received at 1010872-close@bugs.debian.org (full text, mbox, reply):
Source: efax
Source-Version: 1:0.9a-21
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
We believe that the bug you reported is fixed in the latest version of
efax, 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 1010872@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 efax 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: Wed, 11 May 2022 21:16:23 -0700
Source: efax
Architecture: source
Version: 1:0.9a-21
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 916253 999252 1005979 1010872
Changes:
efax (1:0.9a-21) unstable; urgency=medium
.
* QA upload.
.
[ Vagrant Cascadian ]
* debian/patches: Switch to "3.0 (quilt)" source format.
(Closes: #1005979)
* debian/rules: Switch to "dh" (Closes: #999252, #1010872)
* debian/copyright: References GPL-2 directly.
* debian/rules: Use default CC passed via dh_auto_build.
(Closes: #916253)
* debian/control: Set Rules-Requires-Root to "binary-targets".
.
[ Helmut Grohne ]
* debian/patches: Defer stripping to dh_strip. (Closes: #916253)
Checksums-Sha1:
af581a00b0b97ffa5b16127c4060b5980fa8ee36 1190 efax_0.9a-21.dsc
3bc9f7311ea93c6dbe571caf80a18666f7985245 17612 efax_0.9a-21.debian.tar.xz
Checksums-Sha256:
99cf9c2f12d3c6b465112d03693dc1993584571c7a2d5a64ada7f3dd8ed135dc 1190 efax_0.9a-21.dsc
a9d69c8796f2fe083b6f8c64dbb1278a1695675e905e10425a942e9faa7dec54 17612 efax_0.9a-21.debian.tar.xz
Files:
7ec70aa60ee70145c611ba6673099195 1190 comm optional efax_0.9a-21.dsc
4e8ab37fa977f1c7a590a9f7b00eda88 17612 comm optional efax_0.9a-21.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnyMLiAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqrJbAP0X+YiaFsu/EzE+
GdwENXNNml4NkXUxA/hmbxLbRpdrmAD/ebVpzXWgv/tsEvWlzDKIyWniWXmvDbM9
3+Wx+HOREww=
=uIeB
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 14 Jun 2022 07:27:56 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:39:02 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.