Doesn't this mean BUILD_SYS or HOST_SYS weren't set in the environment? -> You're right. The default env value of BUILD_SYS and HOST_SYS is "" (empty). -> I wonder that the original patch (12-distutils-prefix-is-inside-staging-area.patch) to add is required?
Wouldn't this patch just mean you get a value of something like "None"? -> My patch is to prevent errors in runtime. -> Do you have any other good idea? Thanks Changhyeok -----Original Message----- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] Sent: Monday, June 15, 2015 3:55 PM To: Changhyeok Bae Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [OE-Core][PATCH] {python,python3}-native: fix TypeError 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 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core