[Pkg-electronics-devel] Bug#1003501: gcc-sh-elf: reproducible builds: copyright files vary depending on /bin/sh symlink

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Jan 11 04:39:28 GMT 2022


Source: gcc-sh-elf
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: shell
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The copyright files shipped in gcc-sh-elf vary depending on which shell
/bin/sh points to:

  https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/gcc-sh-elf.html

  ./usr/share/doc/gcc-sh-elf/copyright

  ... s/GPL-3'...-----
vs.
  ... s/GPL-3'..\n----

Patch attached which adjust the debian/rules target to use plain "echo"
rather than "echo -n", which appears to be less dependent on shell
behavior.


This patch alone does not fix all reproducibility issues (e.g. build
paths, which are only tested on unstable and experimental), but with
this patch and the patch recently submitted addressing usrmerge issues:

  https://bugs.debian.org/1003500


... gcc-sh-elf should become reproducible when it migrates to
bookworm/testing!


Thanks for maintaining gcc-sh-elf!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Adjust-copyright-generation-targets-to-.patch
Type: text/x-diff
Size: 2241 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20220110/3ea6ec0a/attachment-0001.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/pkg-electronics-devel/attachments/20220110/3ea6ec0a/attachment-0001.sig>


More information about the Pkg-electronics-devel mailing list