Re: [PATCH] oath: inherit pkgconfig


Martin Jansa
 

I did "bitbake world" build with webOS OSE https://github.com/shr-project/build-webos/tree/honister with it's default DISTRO_FEATUREs and PNBLACKLIST, so not all of meta-virtualization was built, but most of it and this was the only failed task from there (surprisingly).

But be aware that yesterday I also notice once strange issue, that a recipe "collada-dom" started to shows textrel QA issue and it was actually caused by pkgconfig not being available where do_configure "silently" failed to find system bzip2 and minizip due to missing pkgconfig and built own version instead which lead to this textrel QA issue.

There might be many more recipes like this, which build something differently without pkgconfig evailable, without triggering any QA check like in this case. It might be useful to compare at least buildhistory results with and without the layer.conf change to see what else was changed unexpectedly.

+ RP and Khem (maybe I should report this on the layer.conf change review instead..)


On Fri, Oct 1, 2021 at 4:36 AM Bruce Ashfield <bruce.ashfield@...> wrote:
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.

Bruce

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:
>   https://lists.openembedded.org/g/openembedded-core/message/156185
>   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/oath_2.6.2.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-extended/oath/oath_2.6.2.bb b/recipes-extended/oath/oath_2.6.2.bb
> index f423044..d568ec0 100644
> --- a/recipes-extended/oath/oath_2.6.2.bb
> +++ b/recipes-extended/oath/oath_2.6.2.bb
> @@ -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:
>  EXTRA_OECONF = ""
> --
> 2.32.0
>

>
>
>

Join meta-virtualization@lists.yoctoproject.org to automatically receive all group messages.