<?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>860</bug_id>
          
          <creation_ts>2011-03-13 15:25:02 +0000</creation_ts>
          <short_desc>SRC_URI should use ${BPN} not ${PN}</short_desc>
          <delta_ts>2011-03-14 15:37:16 +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>Meta-yocto</product>
          <component>meta-yocto</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>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Thomas">gary</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12537</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2011-03-13 15:25:02 +0000</bug_when>
    <thetext>Use of ${PN} in source file names will lead to failure if the recipe is extended to build for native using BBCLASSEXTEND.  A cursory look of the Poky repository reveals more than 60 recipes using this incorrectly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12538</commentid>
    <comment_count>1</comment_count>
      <attachid>109</attachid>
    <who name="Gary Thomas">gary</who>
    <bug_when>2011-03-13 15:30:43 +0000</bug_when>
    <thetext>Created attachment 109
Fix SRC_URI for native build

To be clear, the problem is with the use of ${PN} in SRC_URI lists.  An example is atk which currently fails if you try to build atk-native.  The attached patch shows how to fix this particular recipe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12571</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-03-14 15:37:16 +0000</bug_when>
    <thetext>Fixed in 257a9edb4b6a12cc1c990f6bb2d8e5a6fb560823 in Poky master.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>109</attachid>
            <date>2011-03-13 15:30:43 +0000</date>
            <delta_ts>2011-03-13 15:30:43 +0000</delta_ts>
            <desc>Fix SRC_URI for native build</desc>
            <filename>atk.patch</filename>
            <type>text/plain</type>
            <size>782</size>
            <attacher name="Gary Thomas">gary</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvcmVjaXBlcy1zdXBwb3J0L2F0ay9hdGtfMS4zMi4wLmJiIGIvbWV0
YS9yZWNpcGVzLXN1cHBvcnQvYXRrL2F0a18xLjMyLjAuYmIKaW5kZXggZjU3MWZhMS4uZTY4ODNl
YiAxMDA2NDQKLS0tIGEvbWV0YS9yZWNpcGVzLXN1cHBvcnQvYXRrL2F0a18xLjMyLjAuYmIKKysr
IGIvbWV0YS9yZWNpcGVzLXN1cHBvcnQvYXRrL2F0a18xLjMyLjAuYmIKQEAgLTQsNyArNCw3IEBA
IExJQ19GSUxFU19DSEtTVU0gPSAiZmlsZTovL0NPUFlJTkc7bWQ1PTNiZjUwMDAyYWVmZDAwMmY0
OWU3YmI4NTQwNjNmN2U3IFwKICAgICAgICAgICAgICAgICAgICAgZmlsZTovL2F0ay9hdGt1dGls
LmM7ZW5kbGluZT0yMDttZDU9ZGIyMWIwYmRiZ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