Debian Bug report logs -
#995741
latex-mk: reproducible builds: embeds path to various binaries
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#995741; Package src:latex-mk.
(Mon, 04 Oct 2021 21:30: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, 04 Oct 2021 21:30: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: latex-mk
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The paths to various binaries are embedded which differs on a usrmerge
vs. non-usrmerge system.
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/latex-mk.html
/usr/share/latex-mk/latex.gmk
ECHO?=» » /bin/echo
vs.
ECHO?=» » /usr/bin/echo
Patch attached which passes variables to configure to use the
non-usrmerge locations, as usrmerge installations typically have
compatibility symlinks, but not vice-versa.
With this patch applied, latex-mk should build reproducibly on
tests.reproducible-builds.org.
Thanks for maintaining latex-mk!
live well,
vagrant
[0001-debian-rules-Pass-variables-to-configure-to-make-the.patch (text/x-diff, inline)]
From 9cfadec84ad7b19ef7b045a0cda6e4534554030f Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 4 Oct 2021 21:19:40 +0000
Subject: [PATCH] debian/rules: Pass variables to configure to make the package
build reproducibly regardless of usrmerge.
https://tests.reproducible-builds.org/debian/issues/paths_vary_due_to_usrmerge_issue.html
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index b44bfc9..bd10590 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ XP = xsltproc -''-nonet
override_dh_auto_configure: latex-mk.1 ieee-copyout.1
rm -f doc/texinfo.tex
- dh_auto_configure
+ dh_auto_configure -- GREP=/bin/grep ECHO=/bin/echo FALSE=/bin/false GZIP=/bin/gzip RM=/bin/rm RMDIR=/bin/rmdir TAR=/bin/tar
override_dh_auto_install:
dh_auto_install
--
2.33.0
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#995741; Package src:latex-mk.
(Tue, 12 Oct 2021 03:00:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>.
(Tue, 12 Oct 2021 03:00:03 GMT) (full text, mbox, link).
Message #10 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: gcc-arm-none-eabi
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: usrmerge shell
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The paths to various binaries are embedded which differs on a usrmerge
vs. non-usrmerge system.
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/gcc-arm-none-eabi.html
/usr/lib/gcc/arm-none-eabi/10.3.1/install-tools/fixincl
/bin/sed
vs.
/usr/bin/sed
/usr/lib/gcc/arm-none-eabi/10.3.1/install-tools/mkheaders
for·shell·in·$CONFIG_SHELL·$SHELL·/bin/bash·/bin/sh·"";·do
vs.
for·shell·in·$CONFIG_SHELL·$SHELL·/bin/sh·/bin/sh·"";·do
Patch attached which passes variables to configure to use the
non-usrmerge locations, as usrmerge installations typically have
compatibility symlinks, but not vice-versa. The patch also sets
variables to ensure consistent values for bash, which can be triggered
when /bin/sh points to bash.
This patch alone does not fix all reproducibility issues (e.g. build
paths, which are only tested on unstable and experimental), but does
reduce the number of things that vary in the resulting build.
Thanks for maintaining gcc-arm-none-eabi!
live well,
vagrant
[0001-debian-rules-Pass-variables-to-configure-to-make-the.patch (text/x-diff, inline)]
From 4ee144c5271da7ab35e866a8aa84ad4b74b22021 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 12 Oct 2021 02:21:23 +0000
Subject: [PATCH 1/2] debian/rules: Pass variables to configure to make the
package build reproducibly regardless of usrmerge.
The variables SED, SHELL, BASH and CONFIG_SHELL should all point to
their non-usrmerge locations.
https://tests.reproducible-builds.org/debian/issues/paths_vary_due_to_usrmerge_issue.html
---
debian/rules | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index a3d2833a4..07d9a2571 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,7 +65,11 @@ CONFIGURE_GCC_FLAGS = \
--without-newlib \
$(MULTILIB_LIST) \
$(BUILDFLAGS) \
- $(TARGET_TOOLS)
+ $(TARGET_TOOLS) \
+ SED=/bin/sed \
+ SHELL=/bin/sh \
+ BASH=/bin/bash \
+ CONFIG_SHELL=/bin/bash \
%:
dh $@ -D$(GCC_SOURCE_DIR) -B$(GCC_BUILD_DIR) --parallel --with autoreconf
--
2.30.2
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility.
(Mon, 02 May 2022 01:51:06 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Mon, 02 May 2022 01:51:06 GMT) (full text, mbox, link).
Message #15 received at 995741-close@bugs.debian.org (full text, mbox, reply):
Source: latex-mk
Source-Version: 2.1-3
Done: Vagrant Cascadian <vagrant@debian.org>
We believe that the bug you reported is fixed in the latest version of
latex-mk, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 995741@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated latex-mk package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 01 May 2022 18:02:37 -0700
Source: latex-mk
Architecture: source
Version: 2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 995741
Changes:
latex-mk (2.1-3) unstable; urgency=medium
.
* QA upload.
* debian/rules: Pass variables to configure to make the package build
reproducibly regardless of usrmerge. (Closes: #995741)
* Update to debhelper-compat 13.
* debian/control: Set Rules-Requires-Root to "no".
* debian/rules: Support "nocheck" in dh_auto_test override.
* debian/control: Mark latex-mk as Multi-Arch: foreign.
* debian/copyright: Update to copyright-format 1.0.
* debian/control: Update Standards-Version to 4.6.0.
Checksums-Sha1:
07b8dc08529cc118606f094c49c5e3148e6fb96d 1504 latex-mk_2.1-3.dsc
8fd669ce1cdaa766e610f7cbf747642727b59a7e 9676 latex-mk_2.1-3.debian.tar.xz
Checksums-Sha256:
4de49ee497de9ddc1df706b26d53112b54e50952296b767bcace9854743c3818 1504 latex-mk_2.1-3.dsc
06ea3124ca8df1c1b27002a2f7a3dbcecb2840ddd2729935fffba83ee4e3f980 9676 latex-mk_2.1-3.debian.tar.xz
Files:
6c6379e6f49ea6cf8e2aea157789f395 1504 tex optional latex-mk_2.1-3.dsc
2bdab2cc1826def65e5585a0c20bf622 9676 tex optional latex-mk_2.1-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYm8x9BMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqBvQA/iAQbdhX6u5iVlOOB+bOncXtDjoOfWXA
TCfUIB6Fx7H2AQDGA5JCYlQaixnS6QT6NPeQUrlO9mw3/j0MwLBXAF1qAg==
=pcIo
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 04 Jun 2022 07:25:37 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:
Wed May 17 12:59:56 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.