All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-selinux][PATCH 1/4] libselinux: inherit pkgconfig
@ 2021-10-12  7:00 Yi Zhao
  2021-10-12  7:00 ` [meta-selinux][PATCH 2/4] libselinux-python: " Yi Zhao
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yi Zhao @ 2021-10-12  7:00 UTC (permalink / raw)
  To: yocto, joe_macdonald, joe

Inherit pkgconfig to fix the build error which is introduced by
oe-commit:
  commit 8e26252b45b7660c7c67c702411bdec187a76ffc
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Sun Sep 19 16:17:31 2021 +0100

    layer.conf: Extend recipes not to install without explict dependencies

Fixes:
make: pkg-config: Command not found
/usr/src/debug/libselinux/3.2-r0/git/libselinux/src/regex.c:399: undefined reference to `pcre_fullinfo'
/usr/src/debug/libselinux/3.3-r0/git/libselinux/src/regex.c:444: undefined reference to `pcre_free'
/usr/src/debug/libselinux/3.3-r0/git/libselinux/src/regex.c:456: undefined reference to `pcre_exec'

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 recipes-security/selinux/libselinux_3.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-security/selinux/libselinux_3.2.bb b/recipes-security/selinux/libselinux_3.2.bb
index 55efbae..1144840 100644
--- a/recipes-security/selinux/libselinux_3.2.bb
+++ b/recipes-security/selinux/libselinux_3.2.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0"
 
 require selinux_common.inc
 
-inherit lib_package python3native
+inherit lib_package python3native pkgconfig
 
 DEPENDS += "libsepol libpcre"
 DEPENDS:append:libc-musl = " fts"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-12  7:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12  7:00 [meta-selinux][PATCH 1/4] libselinux: inherit pkgconfig Yi Zhao
2021-10-12  7:00 ` [meta-selinux][PATCH 2/4] libselinux-python: " Yi Zhao
2021-10-12  7:00 ` [meta-selinux][PATCH 3/4] selinux-python: add RDEPENDES on audit-python Yi Zhao
2021-10-12  7:00 ` [meta-selinux][PATCH 4/4] selinux: move selinux scripts to selinux-scripts Yi Zhao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.