From: Jinfeng Wang <[email protected]>
Fix ptest failures:
/usr/lib64/perl/ptest/perl_langinfo.h:8:10: fatal error: xconfig.h: No such
filey
8 | #include "xconfig.h"
| ^~~~~~~~~~~
compilation terminated.
../../../../reentr.h:124:16: fatal error: crypt.h: No such file or directory
124 | # include <crypt.h>
| ^~~~~~~~~
compilation terminated.
Signed-off-by: Jinfeng Wang <[email protected]>
Signed-off-by: Rong Fu <[email protected]>
---
meta/recipes-devtools/perl/perl-ptest.inc | 3 ++-
meta/recipes-devtools/perl/perl_5.42.0.bb | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc
b/meta/recipes-devtools/perl/perl-ptest.inc
index 4b4756118c..b33800ba54 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -59,7 +59,8 @@ python populate_packages:prepend() {
'${PN}-ptest%s', '%s', recursive=True, match_path=True)
}
-RDEPENDS:${PN}-ptest += "${PN}-modules ${PN}-doc sed procps-ps"
+RDEPENDS:${PN}-ptest += "${PN}-modules ${PN}-doc sed procps-ps libxcrypt-dev"
+INSANE_SKIP:${PN}-ptest = "dev-deps"
# The perl-ptest package contains Perl internal modules and generating file
# dependencies for it causes problems.
diff --git a/meta/recipes-devtools/perl/perl_5.42.0.bb
b/meta/recipes-devtools/perl/perl_5.42.0.bb
index cf28067bab..f61978a3de 100644
--- a/meta/recipes-devtools/perl/perl_5.42.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.42.0.bb
@@ -104,6 +104,7 @@ do_configure:class-target() {
#the others in config.sh).
sed -i -e "s,${STAGING_LIBDIR},${libdir},g" config.h
+ sed -i '/^#define.*USE_CROSS_/d' config.h
}
do_configure:class-nativesdk() {
--
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#237567):
https://lists.openembedded.org/g/openembedded-core/message/237567
Mute This Topic: https://lists.openembedded.org/mt/119475276/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-