<?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>4215</bug_id>
          
          <creation_ts>2013-04-07 20:52:05 +0000</creation_ts>
          <short_desc>meta-intel: openssl-qat-module.bb build error under multilib</short_desc>
          <delta_ts>2013-04-10 20:24:08 +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>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>4126</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4 M6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Lei">peterlei</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>kishore.k.bodke</cc>
    
    <cc>nitin.a.kamble</cc>
    
    <cc>sgw</cc>
    
    <cc>tom.zanussi</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>31647</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Lei">peterlei</who>
    <bug_when>2013-04-07 20:52:05 +0000</bug_when>
    <thetext>I&apos;m building core-image-sato for crystalforest-gladden with multilib:lib32 enabled and see this build error:

&gt; ERROR: QA Issue: non debug package contains .debug directory: openssl-qat-module path /work/crystalforest_gladden-poky-linux/openssl-qat-module/1.0.1-r0/packages-split/openssl-qat-module/lib64/modules/3.8.4-yocto-standard/kernel/drivers/.debug/qat_mem.ko
&gt; ERROR: QA run found fatal errors. Please consider fixing them.
&gt; ERROR: Function failed: do_package_qa

I effectively added this:
  require conf/multilib.conf
  MULTILIBS = &quot;multilib:lib32&quot;
  DEFAULTTUNE_virtclass-multilib-lib32 = &quot;x86&quot;

I can work around this problem in the recipe by either changing the openssl-qat-module.bb recipe&apos;s MODULE_DIR from $base_libdir to $nonarch_base_libdir, or by removing a number of lines to let module.bbclass completely handle the module do_install/packaging instead.

The BSP I&apos;m using is meta-crystalforest, currently off of:
  poky: master 6d4d42d63db4c3fcffd831ce359599f3ee1d710e
  meta-intel: master c69366c648e7288ea029ffcd59635575c15349ea
MACHINE is &quot;crystalforest-gladden&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31812</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-04-10 12:53:25 +0000</bug_when>
    <thetext>Patch sent for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31847</commentid>
    <comment_count>2</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-04-10 17:10:16 +0000</bug_when>
    <thetext>I think this may be fixed by kishore&apos;s earlier patch:

https://lists.yoctoproject.org/pipermail/meta-intel/2013-April/000647.html

Waiting on kishore to confirm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31853</commentid>
    <comment_count>3</comment_count>
    <who name="kishore">kishore.k.bodke</who>
    <bug_when>2013-04-10 17:53:56 +0000</bug_when>
    <thetext>Yes, This patch is not needed if the below patch is applied.
https://lists.yoctoproject.org/pipermail/meta-intel/2013-April/000647.html

module.bbclass will handle the module do_install/packaging.

Thanks
Kishore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31860</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-04-10 20:24:08 +0000</bug_when>
    <thetext>According to Kishore, meta-intel commit e3f78500b1eba6fce602bd146affa868357c2d66 will fix this, so closing accordingly and marking it as a duplicate of 4126.

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

    </bug>

</bugzilla>