<?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>3174</bug_id>
          
          <creation_ts>2012-09-26 10:27:49 +0000</creation_ts>
          <short_desc>QA warning building nativesdk-ncurses</short_desc>
          <delta_ts>2012-11-02 09:09:49 +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>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>3325</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>in review</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Radu Moisan">radu.moisan</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>radu.moisan</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>25766</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-09-26 10:27:49 +0000</bug_when>
    <thetext>When building meta-toolchain I noticed we get the following QA warning:

WARNING: QA Issue: nativesdk-ncurses: Files/directories were installed but not shipped
  /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/bin/reset.ncurses
  /opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/bin/clear.ncurses

I&apos;m not sure if we also get these in the non-nativesdk case, but either way we ought to fix them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25970</commentid>
    <comment_count>1</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-10-01 08:04:52 +0000</bug_when>
    <thetext>the check in package.bbclass seems legit, I&apos;ll look into ncurses.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26099</commentid>
    <comment_count>2</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-10-03 08:56:23 +0000</bug_when>
    <thetext>While processing nativesdk-ncurses the warning is thrown because FILE_nativesdk-ncurses-tools contains references to 

/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/clear
/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/reset

while in ${PKGD} I found

/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/clear.ncurses
/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/reset.ncurses

At a first look the problem seems to be with FILE_nativesdk-ncurses-tools which should have the binaries appended with &quot;.${BPN}&quot; but for some reason they are not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26101</commentid>
    <comment_count>3</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-10-03 09:30:16 +0000</bug_when>
    <thetext>Found the problem:
${PN} = nativesdk-ncurses

so the evaluation of

${@[&apos;&apos;, &apos;.${BPN\x7d&apos;][d.getVar(&apos;PN&apos;, 1) == &apos;ncurses&apos;]} is the empty string which explains the missing append .${BPN} 

One quick fix, I guess, it could be to add 

INSANE_SKIP_nativesdk-${BPN}-tools = &quot;installed_vs_shipped&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26103</commentid>
    <comment_count>4</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-10-03 09:41:13 +0000</bug_when>
    <thetext>Correction:

INSANE_SKIP_nativesdk-${BPN} = &quot;installed_vs_shipped&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27182</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-11-02 09:09:49 +0000</bug_when>
    <thetext>Fixed by Robert via a different bug #

*** This bug has been marked as a duplicate of bug 3325 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>