aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl
AgeCommit message (Collapse)Author
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-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-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-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: 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>