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

Bug#1010872: marked as done (efax: reproducible-builds: differing buildid in /usr/bin/efax and /usr/bin/efix)



Your message dated Thu, 12 May 2022 04:48:51 +0000
with message-id <E1np0kt-000EKX-KZ@fasolo.debian.org>
and subject line Bug#1010872: fixed in efax 1:0.9a-21
has caused the Debian Bug report #1010872,
regarding efax: reproducible-builds: differing buildid in /usr/bin/efax and /usr/bin/efix
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.)


-- 
1010872: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010872
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
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-----

--- End Message ---

Reply to: