<?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>9357</bug_id>
          
          <creation_ts>2016-03-30 18:23:47 +0000</creation_ts>
          <short_desc>nativesdk-python3 does not build</short_desc>
          <delta_ts>2016-06-02 15:15:48 +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.0.2</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.0.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Juro Bystricky">juro.bystricky</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>60545</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-03-30 18:23:47 +0000</bug_when>
    <thetext>This works fine:
   $ bitbake nativesdk-python

This fails with an error:
   $ bitbake nativesdk-python3

Objects/obmalloc.o: In function `_PyObject_DebugMallocStats&apos;:
 obmalloc.c:(.text+0x1360): undefined reference to `pool_is_in_list&apos;
 collect2: error: ld returned 1 exit status
 make: *** [Parser/pgen] Error 1

Turns out this is the same issue as in YOCTO 8467, so the same fix/patch
applied on python_3.4.3.bb fixes the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60546</commentid>
    <comment_count>1</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-03-30 18:24:46 +0000</bug_when>
    <thetext>I have a patch, will send to the mailing list</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60547</commentid>
    <comment_count>2</comment_count>
      <attachid>3072</attachid>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-03-30 18:30:47 +0000</bug_when>
    <thetext>Created attachment 3072
Same fix as in 8467 by Alejandro Hernandez</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60613</commentid>
    <comment_count>3</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-03-31 15:38:07 +0000</bug_when>
    <thetext>http://lists.openembedded.org/pipermail/openembedded-core/2016-March/119699.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62605</commentid>
    <comment_count>4</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-06-02 15:15:48 +0000</bug_when>
    <thetext>Merged:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=jethro&amp;id=bdd03ee4324122fb0ff50426447de9dbb451381e</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>3072</attachid>
            <date>2016-03-30 18:30:47 +0000</date>
            <delta_ts>2016-03-30 18:30:47 +0000</delta_ts>
            <desc>Same fix as in 8467 by Alejandro Hernandez</desc>
            <filename>jethro-nativesdk-python3.patch</filename>
            <type>text/plain</type>
            <size>638</size>
            <attacher name="Juro Bystricky">juro.bystricky</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvcmVjaXBlcy1kZXZ0b29scy9weXRob24vcHl0aG9uM18zLjQuMy5i
YiBiL21ldGEvcmVjaXBlcy1kZXZ0b29scy9weXRob24vcHl0aG9uM18zLjQuMy5iYgppbmRleCBm
NjFkMjc4Li40ZjRlNzljIDEwMDY0NAotLS0gYS9tZXRhL3JlY2lwZXMtZGV2dG9vbHMvcHl0aG9u
L3B5dGhvbjNfMy40LjMuYmIKKysrIGIvbWV0YS9yZWNpcGVzLWRldnRvb2xzL3B5dGhvbi9weXRo
b24zXzMuNC4zLmJiCkBAIC02MSw2ICs2MSw3IEBAIENBQ0hFRF9DT05GSUdVUkVWQVJTID0gImFj
X2N2X2hhdmVfY2hmbGFncz1ubyBcCiBUQVJHRVRfQ0NfQVJDSF9hcHBlbmRfYXJtdjYgPSAiIC1E
X19TT0ZURlBfXyIKIFRBUkdFVF9DQ19BUkNIX2FwcGVuZF9hcm12N2EgPSAiIC1EX19TT0ZURlBf
XyIKIFRBUkdFVF9DQ19BUkNIICs9ICItRE5ERUJVRyAtZm5vLWlubGluZSIKK1NES19DQ19BUkNI
ICs9ICItRE5ERUJVRyAtZm5vLWlubGluZSIKIEVYVFJBX09FTUFLRSArPSAiQ1JPU1NfQ09NUElM
RT15ZXMiCiBFWFRSQV9PRUNPTkYgKz0gIkNST1NTUFlUSE9OUEFUSD0ke1NUQUdJTkdfTElCRElS
X05BVElWRX0vcHl0aG9uJHtQWVRIT05fTUFKTUlOfS9saWItZHlubG9hZC8gLS13aXRob3V0LWVu
c3VyZXBpcCIKIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>