Re: [PATCH] oath: inherit pkgconfig

Bruce Ashfield

I've been watching for these as well, but haven't gotten to doing
my 'all' builds to trigger them.

Out of curiosity, what level of coverage do you end up with on
the meta-virt layers ? I'm just trying to scope out how many more
of these may be lurking :D

I've grabbed this, and will push it shortly.


In message: [meta-virtualization][PATCH] oath: inherit pkgconfig
on 30/09/2021 Martin Jansa wrote:

* Newer oe-core doesn't pull many default dependencies anymore:
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

* fixes:
../../oath-toolkit-2.6.2/liboath/configure: line 30585: PKG_PROG_PKG_CONFIG: command not found
checking for gtk-doc... ../../oath-toolkit-2.6.2/liboath/configure: line 30595: syntax error near unexpected token `$gtk_doc_requires,have_gtk_doc=yes,have_gtk_doc=no'
../../oath-toolkit-2.6.2/liboath/configure: line 30595: ` PKG_CHECK_EXISTS($gtk_doc_requires,have_gtk_doc=yes,have_gtk_doc=no)'
configure: error: ../../oath-toolkit-2.6.2/liboath/configure failed for liboath

Signed-off-by: Martin Jansa <Martin.Jansa@...>
recipes-extended/oath/ | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/oath/ b/recipes-extended/oath/
index f423044..d568ec0 100644
--- a/recipes-extended/oath/
+++ b/recipes-extended/oath/
@@ -12,7 +12,7 @@ S = "${WORKDIR}/${BPN}-toolkit-${PV}"
SRC_URI[md5sum] = "4a05cd4768764843bd5493609a6bdb17"
SRC_URI[sha256sum] = "b03446fa4b549af5ebe4d35d7aba51163442d255660558cd861ebce536824aa0"

-inherit autotools
+inherit autotools pkgconfig

# Specify any options you want to pass to the configure script using EXTRA_OECONF:

Join to automatically receive all group messages.