summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl_5.30.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* perl: fix installation failure because of shell issueDmitry Baryshkov2021-01-091-2/+3
| | | | | | | | | | | | | | | | | | | On one of my buildservers I noticed perl do_install failing with the following message: | rm: cannot remove '<OEROOT>/tmp-rpb-glibc/work/armv8-2a-linaro-linux/perl/5.32.0-r0/image//usr/lib/perl5/5.32.0/*/CORE/libperl.so': No such file or directory I tracked this down to shell being dash rather than bash not being able to expand this glob in the middle of the filename. So replace the glob expansion with the simpler one which works in all cases. (From OE-Core rev: 92cd97616f68dfd2fea2ad039c892d3faf1a0f32) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d1ea1b5c12120abdd085dc4eb69120af9258a99b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix CVE-2020-12723Lee Chee Yang2020-08-271-0/+1
| | | | | | | | | | | | | Minor changes to the test cases count in the .patch file to make it align with current version, so the fixes can be apply. Changes apply to line: https://github.com/perl/perl5/commit/66bbb51b93253a3f87d11c2695cfb7bdb782184a#diff-e31ddd69cf47acf02911647c691a0283L28 (From OE-Core rev: 43f1aa650c45a0976230c7c2f79d8efe0e6e159a) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix CVE-2020-10543 & CVE-2020-10878Lee Chee Yang2020-07-021-0/+3
| | | | | | | | (From OE-Core rev: d9c5d9c52eb1f03ff9c907a76dda31042fb26edb) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix host specific modules problemsRichard Purdie2020-06-261-1/+1
| | | | | | | | | | | | | | | | | | | We were seeing a ton of empty perl modules being created such as "perl-module-x86-64-linux-encoding" where the name would include ${TARGET_ARCH}-linux. These files were already being filtered in an earlier do_split_packages() expression so exclude them from the latter one to remove the pointless empty modules in PACKAGES. This doesn't explain why some were not deterministic but will recude the do_package execution time and clean up the build directories at the very least. (From OE-Core rev: 5aaf9d3a748cbad17a4a3e5d9715ac2f289b007d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9f1a959d9831f43dda656e3b0c4d059db3363877) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix lib/warnings test on core-image-satoMingde (Matthew) Zeng2020-02-281-1/+1
| | | | | | | | | | | | | | | | | Fixes [YOCTO #13296] The lib/warnings test fails on certain images such as core-image-sato. The upstream has already fixed this issue, thus submitting the relevent backport patch. (From OE-Core rev: 5198aa954ad0bffb7d6609e5118f642a59595b18) Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com> -- Mingde (Matthew) Zeng Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix makefile race causing configuration differencesRichard Purdie2020-02-191-0/+1
| | | | | | | | | | | Add a missing makefile dependency which can cause differences in configuration (submitted upstream). [YOCTO #13800] (From OE-Core rev: fe97845a45434902c5a994e253a127a462d7d3b4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix encode module reproducibility issuesRichard Purdie2020-02-181-0/+3
| | | | | | | | | | The code is encoding host compiler parameters into target builds. Avoid this for our target builds. This should resolve builds which aren't reproducible between hosts with different compilers. (From OE-Core rev: 71cdbf426e46e3ca1b5038f40e9f7ba958abc537) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix various reproducibile build issuesRichard Purdie2020-02-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 482fd0d99f989b5a72a25bdf402fb2f219420b5d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: do not install files that contain build host specific dataAlexander Kanavin2020-02-081-0/+3
| | | | | | | | | | | | This was breaking reproducibility, and the files aren't needed on target. [YOCTO #13772] (From OE-Core rev: 2e0f30c4680221c693495e3a0327378d502a518b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: support cpan versions of core modulesJens Rehsack2020-01-221-7/+40
| | | | | | | | | | | | | | | Most of perl core modules are dual-life modules which exists on CPAN as well as they do in perl core. Sometime, fixes are uploaded to CPAN before a new perl is released which contains the fix of the core module. Also, some modules recent releases aren't fully backported to earlier releases (out of support, lack of specific feature, ...), which makes it up to the distribution build to choose between core or CPAN version, respectively. (From OE-Core rev: 9dfb3c3dffac467ec0a3751b1a350e01c4759496) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix failing ptestsAlexander Kanavin2020-01-161-0/+1
| | | | | | | (From OE-Core rev: f1da6355f13e707b3ffa5025067e509e0120784d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: improve reproducibilityRoss Burton2020-01-111-0/+8
| | | | | | | | | | | | | | | | | | | | Occasionally the reproducibility selftest fails because perl-pod differs, specifically that the perltoc.pod file was sometimes missing modules. Debugging revealed that there are missing dependencies so there is a build race: building perltoc.pod from an clean build tree results in no modules being listed at all. A bug has been filed at https://github.com/arsv/perl-cross/issues/86 to solve this properly, but for now we can just delete perltoc.pod after make has finished and re-generate it. [ YOCTO #13726 ] (From OE-Core rev: 7e0f6c9ea4f824f29dc30c6631fd8039ebe83a0b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: install typemap and other extutils metadata as part of perl-coreAlexander Kanavin2020-01-101-3/+3
| | | | | | | | | | | Modules actually make use of these files, so they belong in perl-core other than perl-doc (the immediate failure was ptests for libmodule-build-perl failing). (From OE-Core rev: 829e8c49833e4cb8de5db869769eb492c827e8c9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: package Config.pm from arch directory into the main perl packageAlexander Kanavin2020-01-101-0/+1
| | | | | | | | | | Otherwise, some modules such as libmodule-build-perl fail to work properly. (From OE-Core rev: e4072d53a7fb4fbbdacce9a20968e71ef6cff307) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl/tcl: fix /usr/share/man/man3/Thread.3 conflictsHongxu Jia2019-12-301-1/+5
| | | | | | | | | | | | | | | | While installing perl-doc and tcl-doc to image, there is a file conflicts at do_rootfs ... |file /usr/share/man/man3/Thread.3 conflicts between attempted installs of perl-doc-5.30.1-r0.core2_64 and tcl-doc-8.6.10-r0.core2_64 ... Use update-alternatives to fix (From OE-Core rev: 47df8c0dd8ff86af97e6c6d217fb8d69ebec24e5) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: update to 5.30.1Alexander Kanavin2019-12-091-0/+336
Drop fix-setgroup.patch as the upstream has fixed the issue. (From OE-Core rev: 45edc6d23e20f7634c50db71e419c7e3bb7f393e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>