mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
d178745cbf
some recipes under meta-oe have dependency on meta-python, and test_world of yocto-check-layer will failed with error like: ERROR: test_world (common.CommonCheckLayer) ERROR: Nothing PROVIDES 'python3-pytoml-native' (but /meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb DEPENDS on or otherwise requires it). Close matches: python3-numpy-native python3-pycairo-native python3-rpm-native ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'mozjs', 'python3-pytoml-native'] fix by make these recipes only active when identified layers are present Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From e6dcee5f8a0f80ce99946b81fa1233611a149fe6 Mon Sep 17 00:00:00 2001
|
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Date: Thu, 12 Jul 2018 18:00:52 +0800
|
|
Subject: [PATCH 2/5] fix cannot find link
|
|
|
|
..
|
|
|DEBUG: link: Trying 'mips64-wrs-linux-ld --sysroot=tmp-glibc/work/
|
|
mips64-wrs-linux/mozjs/52.8.1-r0/recipe-sysroot '
|
|
|ERROR: Cannot find link
|
|
...
|
|
|
|
Upstream-Status: Inappropriate [oe specific]
|
|
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
---
|
|
build/moz.configure/checks.configure | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/build/moz.configure/checks.configure b/build/moz.configure/checks.configure
|
|
index 8c2dbc0..83bffc3 100644
|
|
--- a/build/moz.configure/checks.configure
|
|
+++ b/build/moz.configure/checks.configure
|
|
@@ -128,7 +128,7 @@ def check_prog(var, progs, what=None, input=None, allow_missing=False,
|
|
|
|
for prog in value or progs:
|
|
log.debug('%s: Trying %s', var.lower(), quote(prog))
|
|
- result = find_program(prog, paths)
|
|
+ result = find_program(prog.split()[0], paths)
|
|
if result:
|
|
return result
|
|
|
|
--
|
|
2.7.4
|
|
|