Bug#1035324: shaderc: reproducible-builds: Differences when /bin/sh -> bash
Vagrant Cascadian
vagrant at reproducible-builds.org
Sun Apr 30 21:57:51 BST 2023
Source: shaderc
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: shell
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
When /bin/sh points to bash (instead of dash), the behavior of "echo"
differs in the rendering of "\n":
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/shaderc.html
/usr/bin/glslc
shaderc·2023.2-1\nspirv-tools·2023.1-2
vs.
shaderc·2023.2-1
spirv-tools·2023.1-2
The attached patch to debian/rules fixes this by switching to use
printf, which appears to behave consistently regardless of the shell (at
least with my quick testing).
Thanks for maintaining shaderc!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Use-printf-instead-of-echo-for-reproduc.patch
Type: text/x-diff
Size: 1048 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230430/01beff5d/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/20230430/01beff5d/attachment.sig>
More information about the Reproducible-bugs
mailing list