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


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

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

Path csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Vagrant Cascadian <vagrant@reproducible-builds.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1010871: dvbtune: reproducible-builds: embedded build paths in various binaries
Date Thu, 12 May 2022 03:00:01 +0200
Message-ID <Em5ln-eROb-3@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu May 12 00:57:11 2022
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.762
Reply-To Vagrant Cascadian <vagrant@reproducible-builds.org>, 1010871@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>
X-Debian-Pr-Message report 1010871
X-Debian-Pr-Package src:dvbtune
X-Debian-Pr-Keywords patch
X-Debian-Pr-Source dvbtune
MIME-Version 1.0
Content-Type multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1716663
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 140
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 11 May 2022 17:55:31 -0700
X-Original-Message-ID <87mtfnlgcc.fsf@contorta>
Xref csiph.com linux.debian.bugs.dist:1102855

Show key headers only | View raw


[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

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


Thread

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

csiph-web