<?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>10812</bug_id>
          
          <creation_ts>2016-12-15 14:51:00 +0000</creation_ts>
          <short_desc>python3 fails to run with multilib</short_desc>
          <delta_ts>2017-03-23 13:38:07 +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>core</component>
          <version>unspecified</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nicolas Dechesne">ndec13</reporter>
          <assigned_to name="Jose Lamego">jose.a.lamego</assigned_to>
          <cc>koen</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</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>69150</commentid>
    <comment_count>0</comment_count>
    <who name="Nicolas Dechesne">ndec13</who>
    <bug_when>2016-12-15 14:51:00 +0000</bug_when>
    <thetext>I am trying to use multilib config on arm/arm64, it worked well and we can build it fine. however I noticed that gdb wasn&apos;t working (it would core dump), and it turns out that this is python3 which is not working: 

root@dragonboard-410c:~# python3
Could not find platform independent libraries &lt;prefix&gt;
Could not find platform dependent libraries &lt;exec_prefix&gt;
Consider setting $PYTHONHOME to &lt;prefix&gt;[:&lt;exec_prefix&gt;]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named &apos;encodings&apos;

Current thread 0x0000007f8d53afe0 (most recent call first):
Aborted (core dumped)

I haven&apos;t tried on x86/x86_64, but given the error signature I am tempted to believe this is not something related to arm multilib.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69152</commentid>
    <comment_count>1</comment_count>
    <who name="Koen Kooi">koen</who>
    <bug_when>2016-12-15 15:11:27 +0000</bug_when>
    <thetext>A strace shows that python3 looks in /usr/lib/python&lt;something&gt; instead of /usr/lib64/python&lt;something. Python2 does work properly with /usr/lib64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71421</commentid>
    <comment_count>2</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-03-17 22:26:33 +0000</bug_when>
    <thetext>Patch submitted to the mailing list can be viewed at:
http://lists.openembedded.org/pipermail/openembedded-core/2017-March/134296.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71636</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-03-23 13:38:07 +0000</bug_when>
    <thetext>Merged in oe-core 9e99897f17d9c62ca5da208751d6560fc98927b6.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>