]> code.ossystems Code Review - openembedded-core.git/commit
perl: Fix various reproducibile build issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Feb 2020 23:54:02 +0000 (23:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Feb 2020 13:19:55 +0000 (13:19 +0000)
commit482fd0d99f989b5a72a25bdf402fb2f219420b5d
treeb4d74f48e759a33b147d0b45064e1383afc0cc1d
parent2e0f30c4680221c693495e3a0327378d502a518b
perl: Fix various reproducibile build issues

Add a patch which handles the following issues:

a) Remove the \n from configure_attr.sh since it gets quoted differently depending on
   whether the shell is bash or dash which can cause the test result to be incorrect.
   Reported upstream: https://github.com/arsv/perl-cross/issues/87

b) Sort the order of the module lists from configure_mods.sh since otherwise
   the result isn't the same leading to makefile differences.
   Reported upstream: https://github.com/arsv/perl-cross/issues/88

c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst
   there for good measure)
   This needs to go to upstream perl (not done)

d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with bash
   and "" with dash
   Reported upstream: https://github.com/arsv/perl-cross/issues/87

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/files/determinism.patch [new file with mode: 0644]
meta/recipes-devtools/perl/perl_5.30.1.bb