summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl-sanity
Commit message (Collapse)AuthorAgeFilesLines
* perl/modules: Add various missing ptest perl module dependenciesRichard Purdie2019-06-071-0/+5
| | | | | | | | | | | Whilst not complete, this resolves some module dependency failures being seen by various lib*-perl ptests and in quilt. (From OE-Core rev: 3f5f91a2a1f3ebb8151834ce4223dcd33f363803) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-rdepends: Add missing module dependenciesRichard Purdie2019-06-071-0/+2
| | | | | | | | | | Adding these fixes the acl and attr ptests to work within minimal images. (From OE-Core rev: 914d2967e04bcf76e1aef07392527ea3c2d257e7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Don't use TARGET_ARCH in filepathsWilliam A. Kennington III via Openembedded-core2019-04-031-2/+2
| | | | | | | | | | | | | | | | | Platforms like powerpc64le have different variants of the same target. Perl guesses that the target should be called powerpc64le-linux, while TARGET_ARCH think it is called ppc64le-linux. If we use TARGET_ARCH for perl-native on powerpc64le this build will fail since the post-install rm command won't reference and existing file. We know that there is only one arch existing per build, so use a wildcard for finding the path instead of trying to guess the correct architecture name. (From OE-Core rev: 6eadd9f5ac2887311ae9ed133b389ae4d64a8181) Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: apply a native-only patch only to -nativeAlexander Kanavin2019-02-281-1/+3
| | | | | | | | | | | | Otherwise some of ptests were failing on target: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13194 [YOCTO #13194] (From OE-Core rev: c31bcb0555ae77fcb59c4d0798ec66bb27f63dc2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix incorrect symbolic link for libperl.soYi Zhao2019-02-251-1/+3
| | | | | | | | | | | | | The perl-cross uses PERL_API_VERSION but not PERL_VERSION to define libperl soname: libperl.so.$PERL_API_REVISION.$PERL_API_VERSION.$PERL_API_SUBVERSION. For perl stable releases, the PERL_API_SUBVERSION is always 0. Specify the so version for libperl to make sure the libperl.so can be linked to the correct library. (From OE-Core rev: 6257fcd86e63fe533aeaadbc65a54213b4885c16) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: add dependencies for optional modulesAlexander Kanavin2019-02-021-0/+2
| | | | | | | | | | | Particularly the LSB test suite was failing due to missing crypt() support. [YOCTO #13160] (From OE-Core rev: 966b245a3a4fda1dc1333194e88fdbac34331b6a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: update perl-cross to 1.2.2Alexander Kanavin2019-02-026-169/+5
| | | | | | | | | This allows us to drop the build race fixes. (From OE-Core rev: c869560c25223dd336ce84847ddbdbe44e4c391c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Make install.perl depend on install.symRobert Yang2019-01-242-0/+33
| | | | | | | | | | | | | | Fixed a race issue when do_install: Generating wrapper script for /path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1 mv: cannot stat /path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1: No such file or directory (From OE-Core rev: 70859e12a1ea17a6b924f720f3677adcb7e87e0a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-native: unset configure symbol i_xlocaleKai Kang2019-01-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | perl-native checks xlocale.h on build machine. But xlocale.h has been removed by glibc already. When use share state caches between machines that one has xlocale.h but the other one doesn't, it causes packages which depend on perl-native such as libdbi-perl-native fails to compile: | In file included from DBIXS.h:23, | from Perl.xs:7: | .../tmp-glibc/work/x86_64-linux/libdbi-perl-native/1.642-r0/recipe-sysroot-native/usr/lib/perl5/5.28.1/x86_64-linux/CORE/perl.h:723:13: | fatal error: xlocale.h: No such file or directory | # include <xlocale.h> | ^~~~~~~~~~~ | compilation terminated. Unset configure symbol i_xlocale for perl-native to fix the issue. (From OE-Core rev: ad6a8fae67acd291b9d7f554ae1a8c621b51fded) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix a race issue during 'make install'Alexander Kanavin2019-01-212-0/+28
| | | | | | | (From OE-Core rev: 0ba3bde80ec7f2e66b6de790d8e198edef2b8980) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix Deprecated warnings from regexsRichard Purdie2019-01-162-7/+7
| | | | | | | | | | | | | | | | | | | | Fix handling of escape characters in regexs and hence fix python Deprecation warnings which will be problematic in python 3.8. Note that some show up as: """ meta/classes/package.bbclass:1293: DeprecationWarning: invalid escape sequence \.   """ where the problem isn't on 1293 in package.bbclass but in some _prepend to a package.bbclass function in a different file like mesa.inc, often from do_package_split() calls. (From OE-Core rev: 4b1c0c7d5525fc4cea9e0f02ec54e92a6fbc6199) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix yet another race failureAlexander Kanavin2019-01-142-0/+32
| | | | | | | (From OE-Core rev: fa7020c040189ae904625b5c60c8a7e79dc1145e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: add a version that builds the recipe using perl-cross, and update to ↵Alexander Kanavin2019-01-1115-0/+5058
5.28.1 perl-cross is a build system overlay from buildroot project that aims to bring a bit of sanity to cross-building perl. The advantage of using that is that we can drop a lot of custom patches (that no one really understands), and simplify the perl recipe as well. Also the build time goes down from several minutes to about 30 seconds. The whole thing becomes maintainable again, in my opinion. When rewriting the recipe I had two goals in mind: 1. Stay with upstream defaults as much as possible 2. Add custom patches only when their necessity was proven through testing. http://arsv.github.io/perl-cross/ (From OE-Core rev: 52f2828314f851263ca3a6beb41ec936fab4d3ab) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>