[OE-core] [OE-Core][PATCH] {python, python3}-native: fix TypeError

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jun 15 06:54:51 UTC 2015


On Tue, 2015-06-09 at 14:08 +0900, Changhyeok Bae wrote:
> g-ir-core in meta-gir is building with python-native.
> When the g-ir-core(v1.42.0) is building, following error is occurred.
> 
> Error in g-ir-core:
> EXEC_PREFIX = os.path.normpath(sys.exec_prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
> | TypeError: expected a character buffer object

Doesn't this mean BUILD_SYS or HOST_SYS weren't set in the environment?
Wouldn't this patch just mean you get a value of something like "None"?

Cheers,

Richard




More information about the Openembedded-core mailing list