Bug#1055969: kuttypy: reproducible-builds: shell-dependent use of echo
Vagrant Cascadian
vagrant at reproducible-builds.org
Tue Nov 14 23:54:14 GMT 2023
Source: kuttypy
Version: 2.1.1-2
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: shell
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Newlines are handled differently depending on which shell implementation
is in use, resulting in differences dependent on the build environment:
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/kuttypy.html
/usr/share/kuttypy/utilities/build_details.py
QT_VERSION·=·'PyQt5'\nPY_VERSION·=·3\n
vs.
QT_VERSION·=·'PyQt5'
PY_VERSION·=·3
The attached patch fixes this in the upstream Makefile by making
multiple echo calls rather than relying on the shell-dependent echo
handling of "\n".
With this patch applied to kutty 2.1.1-4, based on my local tests,
kuttypy should build reproducibly on tests.reproducible-builds.org!
Thanks for maintaining kuttypy!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile-Split-echo-call-into-multiple-lines-to-avoi.patch
Type: text/x-diff
Size: 1073 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20231114/8a06b335/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20231114/8a06b335/attachment.sig>
More information about the Reproducible-bugs
mailing list