<?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>12545</bug_id>
          
          <creation_ts>2018-02-13 03:01:57 +0000</creation_ts>
          <short_desc>[2.5 M2 RC1] SDK runqemu failed with python import logging</short_desc>
          <delta_ts>2018-02-23 17:17:20 +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>2.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="yeoh ee peng">ee.peng.yeoh</reporter>
          <assigned_to name="Alexander Kanavin">alex.kanavin</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>stephano</cc>
          
          
          <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>79423</commentid>
    <comment_count>0</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2018-02-13 03:01:57 +0000</bug_when>
    <thetext>Download toolchain:
https://autobuilder.yocto.io/pub/releases/yocto-2.5_M2.rc1/toolchain/x86_64/poky-glibc-x86_64-core-image-sato-i586-toolchain-2.4%2Bsnapshot.sh

Install toolchain and execute runqemu on core-image-sato-sdk-qemux86.qemuboot.conf.

Error:
yeoh@eyeoh-desktop:~/yp_images/qa_2.5_m2_rc1/qemux86$ runqemu core-image-sato-sdk-qemux86.qemuboot.conf
Traceback (most recent call last):
  File &quot;/opt/poky/new_2.5_m2_rc1/sysroots/x86_64-pokysdk-linux/usr/bin/runqemu&quot;, line 23, in &lt;module&gt;
    import logging
ImportError: No module named &apos;logging&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79455</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-02-15 15:54:02 +0000</bug_when>
    <thetext>Two theories:

1) This is running a Python binary that we ship in the SDK, and the recent manifest changes have broken what packages get installed.

2) The host is Debian/Ubuntu and only has python3-minimal installed.  On my Debian box libpython3.5-minimal ships logging, but maybe other releases didn&apos;t.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79459</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2018-02-15 16:23:22 +0000</bug_when>
    <thetext>I can confirm that 1) is correct:

ak@kanavin-desktop:/opt/poky/2.4+snapshot$ /opt/poky/2.4+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/python3
Python 3.5.3 (default, Jan 30 2018, 15:37:04) 
[GCC 7.3.0] on linux
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; import logging
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
ImportError: No module named &apos;logging&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79462</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2018-02-15 18:20:54 +0000</bug_when>
    <thetext>http://lists.openembedded.org/pipermail/openembedded-core/2018-February/147500.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79577</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-02-23 17:17:20 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2f030dfc082d6d8143c712cd9e18a0da13ec66e1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>