[meta-security][PATCH] openscap: add libpcre DEPEDNS to fix do_configure failure


Chen Qi
 

swig has switched to use libpcre2, we need to add libpcre to
DEPENDS to avoid do_configure failure.

Signed-off-by: Chen Qi <Qi.Chen@...>
---
.../recipes-openscap/openscap/openscap.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-security-compliance/recipes-openscap/openscap/openscap.inc b/meta-security-compliance/recipes-openscap/openscap/openscap.inc
index 4babcf9..e875227 100644
--- a/meta-security-compliance/recipes-openscap/openscap/openscap.inc
+++ b/meta-security-compliance/recipes-openscap/openscap/openscap.inc
@@ -6,8 +6,8 @@ HOME_URL = "https://www.open-scap.org/tools/openscap-base/"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
LICENSE = "LGPL-2.1-only"

-DEPENDS = "dbus acl bzip2 pkgconfig gconf procps curl libxml2 libxslt libcap swig"
-DEPENDS:class-native = "pkgconfig-native swig-native curl-native libxml2-native libxslt-native libcap-native"
+DEPENDS = "dbus acl bzip2 pkgconfig gconf procps curl libxml2 libxslt libcap swig libpcre"
+DEPENDS:class-native = "pkgconfig-native swig-native curl-native libxml2-native libxslt-native libcap-native libpcre-native"

S = "${WORKDIR}/git"

--
2.37.1


Chen Qi
 

ping

-----Original Message-----
From: yocto@... <yocto@...> On Behalf Of Chen Qi
Sent: Thursday, November 24, 2022 11:53 AM
To: yocto@...
Subject: [yocto] [meta-security][PATCH] openscap: add libpcre DEPEDNS to fix do_configure failure

swig has switched to use libpcre2, we need to add libpcre to DEPENDS to avoid do_configure failure.

Signed-off-by: Chen Qi <Qi.Chen@...>
---
.../recipes-openscap/openscap/openscap.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-security-compliance/recipes-openscap/openscap/openscap.inc b/meta-security-compliance/recipes-openscap/openscap/openscap.inc
index 4babcf9..e875227 100644
--- a/meta-security-compliance/recipes-openscap/openscap/openscap.inc
+++ b/meta-security-compliance/recipes-openscap/openscap/openscap.inc
@@ -6,8 +6,8 @@ HOME_URL = "https://www.open-scap.org/tools/openscap-base/"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
LICENSE = "LGPL-2.1-only"

-DEPENDS = "dbus acl bzip2 pkgconfig gconf procps curl libxml2 libxslt libcap swig"
-DEPENDS:class-native = "pkgconfig-native swig-native curl-native libxml2-native libxslt-native libcap-native"
+DEPENDS = "dbus acl bzip2 pkgconfig gconf procps curl libxml2 libxslt libcap swig libpcre"
+DEPENDS:class-native = "pkgconfig-native swig-native curl-native libxml2-native libxslt-native libcap-native libpcre-native"

S = "${WORKDIR}/git"

--
2.37.1