<?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>9729</bug_id>
          
          <creation_ts>2016-06-07 22:29:20 +0000</creation_ts>
          <short_desc>python-numpy script f2py is built with incorrect shebang</short_desc>
          <delta_ts>2016-07-01 16:08:00 +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>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.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro Hernandez">alejandro.hernandez</reporter>
          <assigned_to name="Alejandro Hernandez">alejandro.hernandez</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</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>62735</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2016-06-07 22:29:20 +0000</bug_when>
    <thetext>When building python-numpy we come across the following warning message:

WARNING: python-numpy-1.11.0-r0 do_package_qa: QA Issue: /usr/lib/python2.7/site-packages/numpy-1.11.0-py2.7-linux-x86_64.egg/EGG-INFO/scripts/f2py contained in package python-numpy requires /home/aehernan/yocto/poky/builds/qemux86/tmp/sysroots/x86_64-linux/usr/bin/python-native/python, but no providers found in RDEPENDS_python-numpy? [file-rdeps]


One of the scripts built by numpy (f2py) is meant to be executed by python, so traditionally this would mean that it needs to be executed with the python interpreter it was built, but in our case since we are cross compiling, it uses python-native which comes from our HOST, causing incorrect behavior, since the shebang should be the TARGET&apos;s python instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62738</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2016-06-07 23:03:16 +0000</bug_when>
    <thetext>This happens also for python3-numpy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63178</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-06-21 11:08:10 +0000</bug_when>
    <thetext>Fixed in oe-core dd756bb8fdff676dba312e38ebc90c4c89dfe855.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>