Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1102856

Bug#1010872: efax: reproducible-builds: differing buildid in /usr/bin/efax and /usr/bin/efix

From Vagrant Cascadian <vagrant@reproducible-builds.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1010872: efax: reproducible-builds: differing buildid in /usr/bin/efax and /usr/bin/efix
Date 2022-05-12 03:50 +0200
Message-ID <Em67L-eSjj-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1010872: efax: reproducible-builds: differing buildid in /usr/bin/efax and /usr/bin/efix Vagrant Cascadian <vagrant@reproducible-builds.org> - 2022-05-12 03:50 +0200

csiph-web