[OE-core] [oe-commits] [openembedded-core] 02/09: glib-2.0: add missing locale dependencies to PN-ptest

Martin Jansa martin.jansa at gmail.com
Sat Oct 13 00:15:30 UTC 2018


Hi,

sorry for delay, I was first testing a bit more specific fix:
DEPENDS_append_libc-glibc = "${@bb.utils.contains('PTEST_ENABLED', '1', '',
' virtual/libc-locale', d)}"

but unfortunately this nor your shorter version work.

and it's reproducible without the multilib enabled as well:

ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-de-de, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-el-gr, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-en-gb, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-es-es, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-fa-ir, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-fr-fr, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-hr-hr, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-ja-jp.euc-jp, but it isn't a build dependency?
[build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-lt-lt, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-ru-ru, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest
rdepends on locale-base-tr-tr, but it isn't a build dependency? [build-deps]
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA run found fatal errors.
Please consider fixing them.
ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: Function failed: do_package_qa

strange, because we had the same issue with bash long time ago and:
commit 2820a2c530018f59895fb57770caa8511d31afd4
Author: Ross Burton <ross.burton at intel.com>
Date:   Fri Oct 13 14:52:16 2017 +0100

    bash: add missing build dependencies for ptest

    Signed-off-by: Ross Burton <ross.burton at intel.com>

diff --git a/meta/recipes-extended/bash/bash.inc
b/meta/recipes-extended/bash/bash.inc
index f8a92b59d0..f4e1f7a11f 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -24,7 +24,9 @@ ALTERNATIVE_PRIORITY = "100"
 RDEPENDS_${PN} += "base-files"
 RDEPENDS_${PN}_class-nativesdk = ""
 RDEPENDS_${PN}-ptest += "make"
-RDEPENDS_${PN}-ptest_append_libc-glibc += " locale-base-fr-fr
locale-base-de-de"
+
+DEPENDS_append_libc-glibc = " glibc-locale"
+RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-fr-fr
locale-base-de-de"

 USERADD_PACKAGES = "${PN}-ptest"
 USERADD_PARAM_${PN}-ptest = "--create-home --user-group test"


worked for bash

On Thu, Oct 11, 2018 at 1:45 PM Burton, Ross <ross.burton at intel.com> wrote:

> On Thu, 11 Oct 2018 at 07:38, Martin Jansa <martin.jansa at gmail.com> wrote:
> > This is causing a lot of QA errors like:
> >
> > lib32-glib-2.0-2.58.0: lib32-glib-2.0-ptest rdepends on
> lib32-locale-base-ru-ru, but it isn't a build dependency? [build-deps]
> > lib32-glib-2.0-2.58.0: lib32-glib-2.0-ptest rdepends on
> lib32-locale-base-tr-tr, but it isn't a build dependency? [build-deps]
>
> Can you test that adding this to the recipe solves the problem:
>
> DEPENDS_append_libc-glibc = " virtual/libc-locale"
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181013/8ee59a83/attachment-0002.html>


More information about the Openembedded-core mailing list