* [PATCH] perl-native: unset configure symbol i_xlocale
@ 2019-01-21 14:48 kai.kang
0 siblings, 0 replies; only message in thread
From: kai.kang @ 2019-01-21 14:48 UTC (permalink / raw)
To: openembedded-core
From: Kai Kang <kai.kang@windriver.com>
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@windriver.com>
---
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 71892a2436..0969efea11 100644
--- a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
+++ b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
@@ -81,7 +81,8 @@ do_configure_class-native() {
-Dbin=${bindir}/perl-native \
-Duseshrplib \
-Dsoname=libperl.so.5 \
- -Dvendorprefix=${prefix}
+ -Dvendorprefix=${prefix} \
+ -Ui_xlocale
}
do_compile() {
--
2.20.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-21 14:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 14:48 [PATCH] perl-native: unset configure symbol i_xlocale kai.kang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox