Bug#1034431: FTBFS creating vof.bin when /bin/sh -> bash

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Apr 15 05:09:21 BST 2023


Source: qemu
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: shell ftbfs
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", and so the debian/rules target for
vof.bin fails to correctly create the config.mak.

The attached patch 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 qemu!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Use-printf-instead-of-echo-to-avoid-dif.patch
Type: text/x-diff
Size: 1003 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230414/cfe40dbd/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/20230414/cfe40dbd/attachment.sig>


More information about the Reproducible-bugs mailing list