[oe-commits] [openembedded-core] 02/08: perl-native: unset configure symbol i_xlocale
git at git.openembedded.org
git at git.openembedded.org
Mon Jan 21 23:47:59 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit ad6a8fae67acd291b9d7f554ae1a8c621b51fded
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Mon Jan 21 09:48:24 2019 -0500
perl-native: unset configure symbol i_xlocale
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.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/perl-sanity/perl_5.28.1.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
index 949758c..176980e 100644
--- a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
+++ b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
@@ -82,7 +82,8 @@ do_configure_class-native() {
-Dbin=${bindir}/perl-native \
-Duseshrplib \
-Dsoname=libperl.so.5 \
- -Dvendorprefix=${prefix}
+ -Dvendorprefix=${prefix} \
+ -Ui_xlocale
}
do_compile() {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list