<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7766</bug_id>
          
          <creation_ts>2015-05-14 17:51:27 +0000</creation_ts>
          <short_desc>python3 distutils fails to be imported</short_desc>
          <delta_ts>2015-09-09 12:26:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>1.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro Hernandez">alejandro.hernandez</reporter>
          <assigned_to name="Alejandro Hernandez">alejandro.hernandez</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51019</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2015-05-14 17:51:27 +0000</bug_when>
    <thetext>When trying to import distutils the following error is shown:

# python3
Python 3.4.2 (default, May 12 2015, 11:05:00) 
[GCC 4.9.2] on linux
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; from distutils import sysconfig
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib/python3.4/distutils/sysconfig.py&quot;, line 19, in &lt;module&gt;
    PREFIX = os.path.normpath(sys.prefix).replace( os.getenv(&quot;BUILD_SYS&quot;), os.getenv(&quot;HOST_SYS&quot;) )
TypeError: Can&apos;t convert &apos;NoneType&apos; object to str implicitly</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51587</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2015-06-09 20:03:37 +0000</bug_when>
    <thetext>Fixed here:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3b1f6871d31cd8694e22cef0f1b61f642ed1b158</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53878</commentid>
    <comment_count>2</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-09-09 12:26:43 +0000</bug_when>
    <thetext>verified on master: db92bc23880794be77373b0f2d8c26279dcecb84
no error occurs</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>