Try using inherit kconfig-sanity on linux-yocto recipe, but I getting this error on zeus:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_kconfig_sanity_result(d)
0003:
File: 'meta-buildutils/classes/kconfig-sanity.bbclass', lineno: 191, function: do_kconfig_sanity_result
0187: if not exp_val:
0188: exp_val = None
0189: if fv != exp_val:
0190: if d.getVar("KCONFIG_SANITY_FRAGMENT_KCONFIG_EXPLAIN") == "1":
*** 0191: get_kconfig_explanation(d, fk)
0192: else:
0193: call_logging_function(d, "KCONFIG_SANITY_FRAGMENT_NO_MATCH", "{}{} was set to '{}' - config-file {} configured '{}'".format(d.getVar("KCONFIG_SANITY_CONFIG_PRE"), fk, fv,
os.path.basename(known_symbols[fk]["file"]), exp_val))
0194: elif fv is not None:
0195: call_logging_function(d, "KCONFIG_SANITY_FRAGMENT_NEW_SET", "{}{} is set to '{}' but not defined by any config".format(d.getVar("KCONFIG_SANITY_CONFIG_PRE"), fk, fv))
File: 'meta-buildutils/classes/kconfig-sanity.bbclass', lineno: 62, function: get_kconfig_explanation
0058: return result
0059:
0060:def get_kconfig_explanation(d, symbol):
0061: import os
*** 0062: from kconfiglib import Kconfig, TRI_TO_STR, expr_str
0063: result = ""
0064: path_bef = os.getcwd()
0065: for item in d.getVar("KCONFIG_SANITY_KCONFIGS").split(" "):
0066: if not os.path.exists(item):
Exception: ImportError: No module named 'kconfiglib'
The weird part, I am seeing the class has a dependency to kconfiglib-native, but somehow is unable to find the class
Try using
inherit kconfig-sanity
onlinux-yocto
recipe, but I getting this error on zeus:The weird part, I am seeing the class has a dependency to
kconfiglib-native
, but somehow is unable to find the class