Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Hongxu Jia <hongxu.jia@windriver.com>
Cc: saul.wold@intel.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement
Date: Tue, 03 Dec 2013 12:14:18 +0000	[thread overview]
Message-ID: <1386072858.4463.42.camel@ted> (raw)
In-Reply-To: <837855b3a50fc0672000e2419763a8c6ad062ae3.1386066250.git.hongxu.jia@windriver.com>

On Tue, 2013-12-03 at 18:27 +0800, Hongxu Jia wrote:
> While compiling nativesdk-mtools, there was failure:
> ...
> Nothing PROVIDES 'nativesdk-glibc-gconv-ibm850'. Close matches:
> ...
> 
> Using nativesdk override with the PACKAGES_DYNAMIC statement fixed this issue.
> 
> [YOCTO #5623]
> 
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---
>  meta/recipes-core/eglibc/eglibc-locale.inc | 6 ++++++
>  1 file changed, 6 insertions(+)

No.

lib/oe/classextend.py has a map_regexp_variable() function which is
called from classes/multilib.bbclass:

clsextend.map_regexp_variable("PACKAGES_DYNAMIC")

Perhaps such a line should be added to nativesdk.bbclass to fix this
properly instead?

Cheers,

Richard

> diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc
> index 83569da..5e256a5 100644
> --- a/meta/recipes-core/eglibc/eglibc-locale.inc
> +++ b/meta/recipes-core/eglibc/eglibc-locale.inc
> @@ -35,6 +35,12 @@ PACKAGES_DYNAMIC = "^locale-base-.* \
>                      ^eglibc-gconv-.* ^eglibc-charmap-.* ^eglibc-localedata-.* ^eglibc-binary-localedata-.* \
>                      ^glibc-gconv-.*  ^glibc-charmap-.*  ^glibc-localedata-.*  ^glibc-binary-localedata-.*"
>  
> +PACKAGES_DYNAMIC_class-nativesdk = "^nativesdk-locale-base-.* \
> +                    ^nativesdk-eglibc-gconv-.* ^nativesdk-eglibc-charmap-.* \
> +                    ^nativesdk-eglibc-localedata-.* ^nativesdk-eglibc-binary-localedata-.* \
> +                    ^nativesdk-glibc-gconv-.*  ^nativesdk-glibc-charmap-.*  \
> +                    ^nativesdk-glibc-localedata-.*  ^nativesdk-glibc-binary-localedata-.*"
> +
>  # Create a eglibc-binaries package
>  ALLOW_EMPTY_${BPN}-binaries = "1"
>  PACKAGES += "${BPN}-binaries"




  reply	other threads:[~2013-12-03 12:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-03 10:27 [PATCH 0/3] mtools, syslinux: add ability to compile with nativesdk Hongxu Jia
2013-12-03 10:27 ` [PATCH 1/3] mtools: " Hongxu Jia
2013-12-03 10:27 ` [PATCH 2/3] syslinux: " Hongxu Jia
2013-12-03 10:27 ` [PATCH 3/3] eglibc-locale.inc: use nativesdk override with the PACKAGES_DYNAMIC statement Hongxu Jia
2013-12-03 12:14   ` Richard Purdie [this message]
2013-12-04  3:15     ` Hongxu Jia
2013-12-10  4:39       ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1386072858.4463.42.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=hongxu.jia@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=saul.wold@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox