Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Changhyeok Bae" <changhyeok.bae@lge.com>
To: "'Richard Purdie'" <richard.purdie@linuxfoundation.org>
Cc: 이명구 <myonggu.lee@lge.com>, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] {python, python3}-native: fix TypeError
Date: Tue, 16 Jun 2015 14:33:14 +0900	[thread overview]
Message-ID: <022401d0a7f5$f1102e60$d3308b20$@lge.com> (raw)
In-Reply-To: <1434351291.28975.265.camel@linuxfoundation.org>

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.purdie@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



  reply	other threads:[~2015-06-16  5:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-09  5:08 [PATCH] {python,python3}-native: fix TypeError Changhyeok Bae
2015-06-15  6:48 ` [PATCH] {python, python3}-native: " Changhyeok Bae
2015-06-15  6:54 ` Richard Purdie
2015-06-16  5:33   ` Changhyeok Bae [this message]
2015-06-16 14:32     ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='022401d0a7f5$f1102e60$d3308b20$@lge.com' \
    --to=changhyeok.bae@lge.com \
    --cc=myonggu.lee@lge.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox