<?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>8708</bug_id>
          
          <creation_ts>2015-11-20 23:03:21 +0000</creation_ts>
          <short_desc>WARNING: QA Issue:  found library in wrong location</short_desc>
          <delta_ts>2016-01-21 08:50:42 +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>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</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>56678</commentid>
    <comment_count>0</comment_count>
      <attachid>2859</attachid>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2015-11-20 23:03:21 +0000</bug_when>
    <thetext>Created attachment 2859
patch to prevent false positive QA warnings when installing libraries into libexec.

Installing libraries into can issue multiple warnings such as:

WARNING: QA Issue: gcc-cross-canadian-i586: found library in wrong location: /opt/poky/2.0/sysroots/i686-pokysdk-linux/usr/libexec/i586-poky-elf/gcc/i586-poky-elf/4.9.3/liblto_plugin.so

[libdir]

These are false positive warning, which can be disabled via

INSANE_SKIP_${PN} = &quot;libdir&quot;

However, this would disable also any legitimate warnings.
Instead, insane.bbclass should be updated to detect such situation and
omit the QA warning.

I attached a simple patch that fixes this, but it may not be the best solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56814</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-11-26 15:38:48 +0000</bug_when>
    <thetext>Can you send the patch to the list?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57124</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-12-08 10:54:53 +0000</bug_when>
    <thetext>Submitted to the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57769</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-01-12 20:43:13 +0000</bug_when>
    <thetext>Fixed in oe-core 9f5ad12a9532687a7a82e24b7c4506cabc13bba2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58038</commentid>
    <comment_count>4</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-01-21 08:50:42 +0000</bug_when>
    <thetext>Verified on master a2f23fa62858b89850aab339ddec16dcf6026b37</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>2859</attachid>
            <date>2015-11-20 23:03:21 +0000</date>
            <delta_ts>2015-11-20 23:03:21 +0000</delta_ts>
            <desc>patch to prevent false positive QA warnings when installing libraries into libexec.</desc>
            <filename>insane.patch</filename>
            <type>text/plain</type>
            <size>1112</size>
            <attacher name="Juro Bystricky">juro.bystricky</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvY2xhc3Nlcy9pbnNhbmUuYmJjbGFzcyBiL21ldGEvY2xhc3Nlcy9p
bnNhbmUuYmJjbGFzcwppbmRleCBhNzc0MzhkLi4wZTc0Zjc2IDEwMDY0NAotLS0gYS9tZXRhL2Ns
YXNzZXMvaW5zYW5lLmJiY2xhc3MKKysrIGIvbWV0YS9jbGFzc2VzL2luc2FuZS5iYmNsYXNzCkBA
IC0yOTIsNiArMjkyLDcgQEAgZGVmIHBhY2thZ2VfcWFfY2hlY2tfbGliZGlyKGQpOgogICAgIHBr
Z2Rlc3QgPSBkLmdldFZhcignUEtHREVTVCcsIFRydWUpCiAgICAgYmFzZV9saWJkaXIgPSBkLmdl
dFZhcigiYmFzZV9saWJkaXIiLFRydWUpICsgb3Muc2VwCiAgICAgbGliZGlyID0gZC5nZXRWYXIo
ImxpYmRpciIsIFRydWUpICsgb3Muc2VwCisgICAgbGliZXhlY2RpciA9IGQuZ2V0VmFyKCJsaWJl
eGVjZGlyIiwgVHJ1ZSkgKyBvcy5zZXAKICAgICBleGVjX3ByZWZpeCA9IGQuZ2V0VmFyKCJleGVj
X3ByZWZpeCIsIFRydWUpICsgb3Muc2VwCiAKICAgICBtZXNzYWdlcyA9IFtdCkBAIC0zMjAsNyAr
MzIxLDggQEAgZGVmIHBhY2thZ2VfcWFfY2hlY2tfbGliZGlyKGQpOgogICAgICAgICAgICAgICAg
ICAgICAgICAgbWVzc2FnZXMuYXBwZW5kKCIlczogZm91bmQgbGlicmFyeSBpbiB3cm9uZyBsb2Nh
dGlvbjogJXMiICUgKHBhY2thZ2UsIHJlbF9wYXRoKSkKICAgICAgICAgICAgICAgICBpZiBleGVj
X3JlLm1hdGNoKHJlbF9wYXRoKToKICAgICAgICAgICAgICAgICAgICAgaWYgbGliZGlyIG5vdCBp
biByZWxfcGF0aDoKLSAgICAgICAgICAgICAgICAgICAgICAgIG1lc3NhZ2VzLmFwcGVuZCgiJXM6
IGZvdW5kIGxpYnJhcnkgaW4gd3JvbmcgbG9jYXRpb246ICVzIiAlIChwYWNrYWdlLCByZWxfcGF0
aCkpCisgICAgICAgICAgICAgICAgICAgICAgICBpZiBsaWJleGVjZGlyIG5vdCBpbiByZWxfcGF0
aDoKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICBtZXNzYWdlcy5hcHBlbmQoIiVzOiBmb3Vu
ZCBsaWJyYXJ5IGluIHdyb25nIGxvY2F0aW9uOiAlcyIgJSAocGFja2FnZSwgcmVsX3BhdGgpKQog
CiAgICAgaWYgbWVzc2FnZXM6CiAgICAgICAgIHBhY2thZ2VfcWFfaGFuZGxlX2Vycm9yKCJsaWJk
aXIiLCAiXG4iLmpvaW4obWVzc2FnZXMpLCBkKQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>