Debian Bug report logs -
#1011489
wiipdf: reproducible-builds: embedded build paths in /usr/bin/wiipdf
Reply or subscribe to this bug.
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#1011489; Package src:wiipdf.
(Mon, 23 May 2022 22:03:03 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>.
(Mon, 23 May 2022 22:03:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: wiipdf
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/wiipdf:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/wiipdf.html
/build/1st/wiipdf-1.4/wiipdf.c:114
vs.
/build/2/wiipdf-1.4/2nd/wiipdf.c:114
The attached patch fixes this by calling dh_auto_build instead of
$(MAKE) from debian/rules, which passes the default build flags
including -ffile-prefix-map, which avoids embedding the absolute path in
compiled files.
Alternately, updating to dh and a newer debhelper-compat level would
likely fix this as well, as it includes -ffile-prefix-map by default.
With this patch applied, wiipdf should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
[0001-debian-rules-Use-dh_auto_build-instead-of-MAKE.patch (text/x-diff, inline)]
From b5bb2fee67f79baaf5d2d949aa97b8e28dc1b45e Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 23 May 2022 21:53:21 +0000
Subject: [PATCH] debian/rules: Use dh_auto_build instead of $(MAKE).
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index d4b3d3f..6955032 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ build-stamp:
dh_testdir
# Add here commands to compile the package.
- $(MAKE)
+ dh_auto_build
touch $@
--
2.36.1
[signature.asc (application/pgp-signature, inline)]
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:03 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.