1017373">

Debian Bug report logs - #1017373
tiemu: reproducible-builds: Embedded build path and usrmerge paths in Makefile

Package: src:tiemu; Maintainer for src:tiemu is Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Mon, 15 Aug 2022 04:18:01 UTC

Severity: normal

Tags: patch

Done: "Andreas B. Mundt" <andi@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#1017373; Package src:tiemu. (Mon, 15 Aug 2022 04:18: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 Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Mon, 15 Aug 2022 04:18:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: tiemu: reproducible-builds: Embedded build path and usrmerge paths in Makefile
Date: Sun, 14 Aug 2022 21:15:07 -0700
[Message part 1 (text/plain, inline)]
Source: tiemu
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath usrmerge
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The build path and binary paths are embedded in /usr/share/doc/help/Makefile.gz:

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

  ACLOCAL·=·${SHELL}·'/build/1st/tiemu-3.04~git20200827.f327e1c+dfsg1/missing'·aclocal-1.16
  vs.
  ACLOCAL·=·${SHELL}·'/build/2/tiemu-3.04~git20200827.f327e1c+dfsg1/2nd/missing'·aclocal-1.16

  EGREP·=·/bin/grep·-E
  vs.
  EGREP·=·/usr/bin/grep·-E

The attached patch fixes this by not installing the Makefiles, only the
.png and .html files.

It also changes the location of the help files to a tiemu-namespaced
directory; this might require further patching tiemu to look for these
files in the new directory. Maybe /usr/share/tiemu/help would be more
appropriate, as packages cannot rely on the presence of documentation in
/usr/share/doc. Adjust the patches as appropriate!


With this patch applied tiemu should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining tiemu!


live well,
  vagrant
[0001-Only-install-the-.html-and-.png-files-and-install-th.patch (text/x-diff, inline)]
From 32def8c9172c0f6bcce10f0d0ed73dbd104f3a22 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 15 Aug 2022 04:02:51 +0000
Subject: [PATCH] Only install the .html and .png files, and install them into
 the tiemu documentation namespace.

The Makefiles may contain unreproducible information, and are probably
not necessary on a user installation.
---
 debian/tiemu.install | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/tiemu.install b/debian/tiemu.install
index 9a7e97d..c564a74 100644
--- a/debian/tiemu.install
+++ b/debian/tiemu.install
@@ -1 +1,2 @@
-help usr/share/doc
+help/*.html /usr/share/doc/tiemu/help/
+help/*.png /usr/share/doc/tiemu/help/
-- 
2.37.2

[signature.asc (application/pgp-signature, inline)]

Reply sent to "Andreas B. Mundt" <andi@debian.org>:
You have taken responsibility. (Mon, 15 Aug 2022 12:57:05 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Mon, 15 Aug 2022 12:57:05 GMT) (full text, mbox, link).


Message #10 received at 1017373-done@bugs.debian.org (full text, mbox, wrote: > Hi Vagrant, > > having just uploaded a fixed package I saw your report and patch. My > fix is now slightly different but more or less the same. Thanks a lot > for your work and best regards, > > Andi > > &In-Reply-To=<20220815124555.7rt7atesvrickxkc@flashgordon>&References=<20220815124555.7rt7atesvrickxkc@flashgordon>&subject=Re: tiemu: reproducible-builds: Embedded build path">reply):

From: "Andreas B. Mundt" <andi@debian.org>
To: 1017373-done@bugs.debian.org
Subject: tiemu: reproducible-builds: Embedded build path
Date: Mon, 15 Aug 2022 14:45:55 +0200
Hi Vagrant,

having just uploaded a fixed package I saw your report and patch.  My
fix is now slightly different but more or less the same.  Thanks a lot
for your work and best regards,

  Andi



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 13 Sep 2022 07:29:48 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 31 06:55:12 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.