aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
AgeCommit message (Collapse)Author
2016-11-30perl: Upgrade to 5.24.0Aníbal Limón
Configuration changes, Simple changes was made to bump version and api version, related to floating point handling now the configuration needs the inf, mantisa and nan bytes. The new version comes with the support of API calls like memmem and {new,free,use}locale also structure for handle siginfo supported by glibc and musl. Finally use64bit{int, all} was disable because the previous configure_args don't come with them and cases some tests to fail related to bignum's and shared memory respectively. This doesn't means that perl couldn't use 64-bit data types, it means that don't stores by default into a 64 bit that is good for embedded space purposes. Modules changes, Some core modules are now deprecated in order to use the core ones like version-vpp and version-regex inside module-extutils-makemaker. For full review see perl-rdepends.inc file. Patches rebased, - perl/debian/errno_ver.diff - perl/dynaloaderhack.patch - perl/Makefile.SH.patch - perl/config.s - perl/dynaloaderhack.patch - perl/perl-test-customized.patch Patches removed, comes with the upgrade now: - perl/perl-remove-nm-from-libswanted.patch - perl/perl-fix-CVE-2015-8607.patch - perl/perl-fix-CVE-2016-2381.patch Test, The upgrade was test using ptest the suite is fixed now. The pod2man and pod2text installation required now for some tests. Buildhistory was use to review the changes and only diff changes related to modules commented above. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-11-30perl: Fix ptest update hash of ExtUtils/Liblist/Kid.pm in customized.datAníbal Limón
The perl ptest is failing due to a patch changes the file ExtUtils/Liblist/Kid.pm and the customized.dat file wasn't updated. [YOCTO #8656] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-11-30libxml-parser-perl: add expat/Makefile dependencyJoe Slater
The file Expat.bs (which is empty!) is created by BOOTSTRAP, but is deleted by INST_DYNAMIC. Make sure we are not creating and deleting it at the same time. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-11-23perl: remove plan9 related stuff in perl-ptest packageChen Qi
Remove plan9 related stuff as they are useless for linux systems. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-09-30libxml-parser-perl: remove redundant expat-native dependencyRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-09-28perl: module-overload needs module-overloadingNathan Lynch
This dependency was manually added in 3dec9ad1cd6a ("perl: module overload rdpends on overloading") but was (mistakenly?) removed by 06d43a90acbe ("perl: 5.20.0 -> 5.22.0"). Restore it. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28perl: correct math-bigint dependency typoNathan Lynch
This is obviously meant to be RDEPENDS. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-28perl: fix CVE-2016-1238Mingli Yu
Backport patch to fix CVE-2016-1238 from perl upstream: http://perl5.git.perl.org/perl.git/commitdiff/cee96d52c39b1e7b36e1c62d38bcd8d86e9a41ab Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-22perl: fix CVE-2015-8607Mingli Yu
Backport patch to fix CVE-2015-8607 from perl upstream: http://perl5.git.perl.org/perl.git/commitdiff/0b6f93036de171c12ba95d415e264d9cf7f4e1fd Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-09-22perl: fix CVE-2016-6185Mingli Yu
Backport patch to fix CVE-2016-6185 from perl upstream: http://perl5.git.perl.org/perl.git/commitdiff/08e3451d7 Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-25perl: Correct perl path for ptestHe Zhe
Substitute /usr/local with ${bindir} Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-17perl-native: backport libnm link fixIoan-Adrian Ratiu
pre-5.25.0 perl by default tries to link to an antiquated libnm (new math) which is not used anymore since the early 1990's. After 2014 another libnm appeared for NetworkManager causing build failures. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-04meta: add more missing patch tagsRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20perl: fix CVE-2016-2381Kai Kang
Backport patch to fix CVE-2016-2381 from perl upstream: http://perl5.git.perl.org/perl.git/commitdiff/ae37b791a73a9e78dedb89fb2429d2628cf58076 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-08meta: update patch metadataRoss Burton
Enforce the correct tag names across all of oe-core for consistency. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-12perl: fix several perl test failuresBill Randle
Several ExtUtils-MakeMaker tests fail when cross-compiled and run on the target machine. Backport an upstream patch to fix the issues. Also update the customized.dat hash file for the files modified by this patch and other existing patches so the porting/customized.t test passes. [YOCTO #8656] Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-12perl: some perl tests require libsspBill Randle
Add libssp to the list of dependencies when building with perl-ptest as some tests require it. [YOCTO #8656] Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-12perl: set proper perl subversion number in config filesBill Randle
During the upgrade from Perl 5.22.0 to 5.22.1 in commit f4c9908eae1ae3dcc38877abe2d5fbeb46851dd4 the config.sh file was hand edited to change the subversion numbers. However, the edit was not entirely correct. As a result the Perl version test failed. Set the correct version strings. [YOCTO #8656] Signed-off-by: Bill Randle <william.c.randle@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-01perl-ptest.inc: fix tar call to prevent objcopy failureEnrico Jorns
With tar version 1.29, the tar call used to copy the ptest files will not work anymore. While the call did not match the man page (but worked) before, anyway, the latest update of tar seems to have a more strict argument handling. With the current version of the tar call, the copying of files still works with latest tar version, but the excludes will not be handled properly anymore. This results in having binaries compiled with host GCC in the package. When doing the strip_and_split files in do_package() with the target objcopy, bitbake will fail with this error: ERROR: objcopy failed with exit code 256 (cmd was [...]) [...] File format not recognized Thus, the current argument issues and required changes are: * Options must be placed _before_ the pathnames. * --exclude must be followd by a '=' in order to work properly * 'f' options is for providing an archive file, which is unnecessary in this case Note that this could also be a candidate for backporting. Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17perl: use PACKAGESPLITFUNCS instead of populate_packages_prependGuojian Zhou
This is cleaner and leads to more accurate profiles. Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-12perl: fix missing dependency for perl-miscCatalin Enache
"perl-misc" package is adding tens of perl utilities which have depencies on perl-modules. For example, in order for "prove" to work correctly following modules are needed: RDEPENDS_perl-misc += "perl perl-module-app-prove perl-module-overloading perl-module-tap-base perl-module-file-glob perl-module-tap-formatter-console perl-module-tap-formatter-base perl-module-tap-formatter-file perl-module-tap-formatter-session perl-module-tap-parser perl-module-tap-parser-aggregator perl-module-tap-parser-scheduler" If we compile a list of modules needed by the utilities added by "perl-misc" we may end up having to add hundreds of modules to RDEPENDS_perl-misc. Rather than adding hundreds of dependencies only perl-modules was added. Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-10perl-rdepends: Remove circular dependenciesRicardo Ribalda Delgado
Packages should not depend on themselves, otherwise it could lead to circular dependencies on the package manager. I have added a line on the proposed bash script that should add this check on future versions. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-10perl: Explicitly set EXTRA_OEMAKE as requiredMike Crowe
This recipe currently relies on EXTRA_OEMAKE having been set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-04busybox/gtk/perl/base-passwd: Ensure data is correctly expandedRichard Purdie
Where variables are used in python, we need to ensure they are expanded. This happens to work at the moment but likely will not happen in future and isn't good code practise. Its mostly an issue around key values, since bitbake has already performed key expansion when these functions are executed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-22perl: Upgrade to 5.22.1Alejandro Hernandez
Rebased: - Makefile.SH.patch Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-16libxml-simple-perl: update to 2.22Alexander Kanavin
LICENSE checksum changed because of copyright year change in the text. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-16meta: more removals of redunant FILES_${PN}-dbgRoss Burton
In some recipes overly-split -dbg packages were merged into PN-dbg. Unless there's a very good reason, recipes should have a single -dev and -dbg package. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-16meta: Drop now pointless manual -dbg packagingRichard Purdie
With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08package_regex.inc: split entries with odd-even versioning into their own recipesAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-25perl: fix spaces in brackets while using CC versionHongxu Jia
Here is the way to reproduce the issue: ... root@localhost:~# perl -e "use Errno qw(ENOENT);" "ENOENT" is not exported by the Errno module Can't continue after import errors at -e line 1. BEGIN failed--compilation aborted at -e line 1. ... For some distros, there was extra spaces in the brackets while using CC version: For Windriver: $CC --version x86_64-wrs-linux-gcc (Wind River Linux 5.2.0-8.0-intel-x86-64) 5.2.0 For Ubuntu: $ gcc --version gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 So we replace the contects between brackets with semicolon and then use space to split. [YOCTO #8367] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-10-29perl: Correct path for vendorlib, vendorarch, sitelib and sitearchJens Rehsack
This patch corrects the path specifications when building perl for vendorlib, vendorarch, sitelib and sitearch to allow newer dual-life module being installed on host to satisfy configure and build requirements of some CPAN distributions. Additionally, fix search path order in perl wrappers. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-10-24Perl: Use CC version not $Config(gccversion)Jeremy Puhlman
Get version data from querying $CC rather then $Config(gccversion) which comes from running version of perl. Since perl-native is not likely compiled by gcc 5 at this point, it will never trigger the required fixes for gcc 5. [YOCTO #8367] Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-12meta: Fix Upstream-Status statementsRoss Burton
Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-24perl: Undefine finitel for uclibcYen-Chin Lee
finitel is not implemented in uclibc and since its not posix, it wont be implemented in future too. Fixes perl 5.22 build error perl/5.22.0-r0/perl-5.22.0/sv.c:12135: undefined reference to `finitel' | collect2: error: ld returned 1 exit status Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-01perl: fix build failure if building dir has the "blib" stringWenzong Fan
If build dir includes the string "blib", filter it out from @INC may empty the @INC and cause build errors like: Can't locate ExtUtils/MakeMaker.pm in @INC \ (you may need to install the ExtUtils::MakeMaker module) \ (@INC contains: .) at Makefile.PL Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-12perl: remove invalid sed commandRobert Yang
There is no match of sed pattern any more. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-07perl: Undefine finitel for muslKhem Raj
finitel is not implemented in musl and since its not posix, it wont be implemented in future too Fixes perl 5.22 build error perl/5.22.0-r0/perl-5.22.0/sv.c:12135: undefined reference to `finitel' | collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-01perl-native: Specifically undefine other gdbm pathsRichard Purdie
There is an outside chance gdbm could be found at these other locations, undefine them along with the other variables for completeness. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-01perl: remove default byteorder from config.shRobert Yang
Fixed test case: Failed test 146 - single result for config_re('byteorder') at ../lib/Config.t got "2" expected "1" There is a byteorder in config.sh-32/64. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-07-01perl: odbm.t: fix the path of dbmt_common.plRobert Yang
It should be ../t/lib/dbmt_common.pl. Fixed: Can't locate ../../t/lib/dbmt_common.pl in @INC Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-07-01perl: fix for ODBM_File.soRobert Yang
Fixed for test case ../ext/ODBM_File/t/odbm.t: ok 1 - use ODBM_File; ok 2 - use Fcntl; ./perl: symbol lookup error: /usr/lib/perl/5.22.0/auto/ODBM_File/ODBM_File.so: undefined symbol: dbminit The checking "if -e $_.'/libgdbm_compat.so'" doesn't work when cross build, so always link libgdbm_compat, since perl depends on gdbm and we always have libgdbm_compat. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-07-01perl: fix test case switches.tRobert Yang
We call it perl rather than perl5 in oe-core. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-07-01perl: use perl.inc for target and native perlRobert Yang
It can reduce the duplicated code. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-07-01perl: 5.20.0 -> 5.22.0Robert Yang
* Remove: - perl-5.14.3-fix-CVE-2010-4777.patch: backport - fix-FF_MORE-crash.patch: backport - perl-rprovides.inc: it was introduced by 5.8.7, the lines in it are like: RPROVIDES_perl-module-b-asmdata = "perl-module-${TARGET_SYS}-b-asmdata" If some packages do RPDEND on something like perl-module-${TARGET_SYS}-b-asmdatam, we need update the package rather than keep use RPROVIDES in perl-rprovides.inc, so remove it. - perl-rprovides_5.20.0.inc: it only has one line: RPROVIDES_perl-module-module-build, but the perl-module-module-build is gone in 5.22.0, so remove it. * Update: - debian patches from http://ftp.de.debian.org/debian/pool/main/p/perl/perl_5.20.0-1.debian.tar.xz - Makefile.SH.patch - Merge 0001-Makefile.SH-fix-do_install-failed.patch into Makefile.SH.patch - native-nopacklist.patch - config.sh * The CGI.pm and Module::Build disappear from core, so no perl-module-module-build.rpm any more, more info: http://perltricks.com/article/165/2015/4/10/A-preview-of-Perl-5-22 Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-06-03liberror-perl: 0.17023 -> 0.17024Robert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-04-27libxml-simple-perl/libconvert-asn1-perl: using PERLHOSTLIBRoy Li
Using PERLHOSTLIB as possible, which is same as ${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)} Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-21liberror-perl: 0.17022 -> 0.17023Robert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-13perl: Fix build for muslKhem Raj
The changes are covered under "${TARGET_OS}" = "linux-musl" Change-Id: I24a1a8e07abb35c7e3d64b372addfb3bd6f7731c Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-08perl: module overload rdpends on overloadingWenzong Fan
Fix perl runtime issue: * Can't locate overloading.pm in @INC (you may need to install the overloading module ...) at /usr/lib64/perl/5.20.0/overload.pm line 83. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-28libxml-parser-perl: upgrade to 2.44Hongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>