Debian Bug report logs -
#974960
libforms: reproducible-builds: example Makefile contains embedded paths
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Peter S Galbraith <psg@debian.org>:
Bug#974960; Package src:libforms.
(Tue, 17 Nov 2020 08:06: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, Peter S Galbraith <psg@debian.org>.
(Tue, 17 Nov 2020 08:06:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: libforms
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpaths usrmerge
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The file /usr/share/doc/libforms-doc/html/xforms_images/Makefile.gz
contains variable build paths (e.g. /build/1st/package-version
vs. /build/2/package-version/2nd) and binary paths (e.g. /bin/grep
vs. /usr/bin/grep), which causes reproducibility issues:
https://reproducible-builds.org/docs/build-path/
In order to use use this Makefile, a person may need to regenerate it
regardless from Makefile.am, so remove it from the package.
Thanks for maintaining libforms!
live well,
vagrant
[0001-debian-rules-Remove-generated-example-Makefile-from-.patch (text/x-diff, inline)]
From 75f5cf2d202a7a80f9c10ca92b82df6ace9a58b3 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 17 Nov 2020 07:53:12 +0000
Subject: [PATCH] debian/rules: Remove generated example Makefile from
libforms-doc.
The generated Makefile contains variable build paths
(e.g. /build/1st/package-version vs. /build/2/package-version/2nd) and
binary paths (e.g. /bin/grep vs. /usr/bin/grep), which causes
reproducibility issues:
https://reproducible-builds.org/docs/build-path/
In order to use use this Makefile, a person may need to regenerate it
regardless from Makefile.am, so remove it from the package.
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index ff5e0a9..26fe858 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,12 @@ override_dh_auto_build-arch:
override_dh_auto_build-indep:
dh_auto_build -- -C doc html pdf
+override_dh_install:
+ dh_install
+ # Remove generated Makefile, which contains variable build
+ # paths and binary paths.
+ rm -f debian/libforms-doc/usr/share/doc/libforms-doc/html/xforms_images/Makefile
+
override_dh_auto_test-indep:
override_dh_auto_install-indep:
--
2.29.2
[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 10:58:00 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.