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


Groups > linux.debian.bugs.dist > #1102855 > unrolled thread

Bug#1010871: dvbtune: reproducible-builds: embedded build paths in various binaries

Started byVagrant Cascadian <vagrant@reproducible-builds.org>
First post2022-05-12 03:00 +0200
Last post2022-05-12 03:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1010871: dvbtune: reproducible-builds: embedded build paths in various binaries Vagrant Cascadian <vagrant@reproducible-builds.org> - 2022-05-12 03:00 +0200

#1102855 — Bug#1010871: dvbtune: reproducible-builds: embedded build paths in various binaries

FromVagrant Cascadian <vagrant@reproducible-builds.org>
Date2022-05-12 03:00 +0200
SubjectBug#1010871: dvbtune: reproducible-builds: embedded build paths in various binaries
Message-ID<Em5ln-eROb-3@gated-at.bofh.it>

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

Source: dvbtune
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 /usr/bin/dvbtune and /usr/bin/xml2vdr:

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

  /build/1st/dvbtune-0.5.ds/dvbtune.c:140
  vs.
  /build/2/dvbtune-0.5.ds/2nd/dvbtune.c:140

The attached patches fix this by modifying the upstream Makefile to
append EXTRA_CFLAGS to CFLAGS, and passing EXTRA_CFLAGS in debian/rules
in the dh_auto_build phase. This passes the default CFLAGS from
dpkg-buildflags, which includes the -ffile-prefix-map argument to avoid
embedding the absolute path in compiled files.


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


live well,
  vagrant

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web