diff mbox series

[4/4] populate_sdk_base: depend on nativesdk-glibc-locale

Message ID 20180305110158.10308-4-ross.burton@intel.com
State Accepted
Commit 8d6869a0a89d8cf3c6e57723fab2750ba2c885db
Headers show
Series [1/4] xcb-proto: solve python cache colliion | expand

Commit Message

Ross Burton March 5, 2018, 11:01 a.m. UTC
If we're building a SDK and we're using glibc so may be installing locales,
add a build-dependency on natiesdk-glibc-locale so the locales we need will
exist.

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

---
 meta/classes/populate_sdk_base.bbclass | 1 +
 1 file changed, 1 insertion(+)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Martin Jansa March 5, 2018, 11:58 a.m. UTC | #1
On Mon, Mar 05, 2018 at 11:01:58AM +0000, Ross Burton wrote:
> If we're building a SDK and we're using glibc so may be installing locales,

> add a build-dependency on natiesdk-glibc-locale so the locales we need will

> exist.

> 


Thanks, fixes the sdk build failures I was seeing since Sunday.

Tested-by: Martin Jansa <Martin.Jansa@gmail.com>


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

> ---

>  meta/classes/populate_sdk_base.bbclass | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass

> index be5970a4bbc..60a5abc7dc8 100644

> --- a/meta/classes/populate_sdk_base.bbclass

> +++ b/meta/classes/populate_sdk_base.bbclass

> @@ -47,6 +47,7 @@ TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}"

>  

>  SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"

>  SDK_DEPENDS = "virtual/fakeroot-native pixz-native cross-localedef-native"

> +SDK_DEPENDS_append_libc-glibc = " nativesdk-glibc-locale"

>  

>  # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it

>  # could be set to the MACHINE_ARCH

> -- 

> 2.11.0

> 

> -- 

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index be5970a4bbc..60a5abc7dc8 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -47,6 +47,7 @@  TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}"
 
 SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
 SDK_DEPENDS = "virtual/fakeroot-native pixz-native cross-localedef-native"
+SDK_DEPENDS_append_libc-glibc = " nativesdk-glibc-locale"
 
 # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it
 # could be set to the MACHINE_ARCH