Bug 4215 - meta-intel: openssl-qat-module.bb build error under multilib
Summary: meta-intel: openssl-qat-module.bb build error under multilib
Status: RESOLVED DUPLICATE of bug 4126
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: unspecified
Hardware: x86 x86_64
: Medium+ normal
Target Milestone: 1.4 M6
Assignee: Alexandru Damian
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-07 20:52 UTC by Peter Lei
Modified: 2013-04-10 20:24 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lei 2013-04-07 20:52:05 UTC
I'm building core-image-sato for crystalforest-gladden with multilib:lib32 enabled and see this build error:

> 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
> ERROR: QA run found fatal errors. Please consider fixing them.
> ERROR: Function failed: do_package_qa

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

I can work around this problem in the recipe by either changing the openssl-qat-module.bb recipe'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'm using is meta-crystalforest, currently off of:
  poky: master 6d4d42d63db4c3fcffd831ce359599f3ee1d710e
  meta-intel: master c69366c648e7288ea029ffcd59635575c15349ea
MACHINE is "crystalforest-gladden"
Comment 1 Alexandru Damian 2013-04-10 12:53:25 UTC
Patch sent for review.
Comment 2 Tom Zanussi 2013-04-10 17:10:16 UTC
I think this may be fixed by kishore's earlier patch:

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

Waiting on kishore to confirm.
Comment 3 kishore 2013-04-10 17:53:56 UTC
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.
Comment 4 Tom Zanussi 2013-04-10 20:24:08 UTC
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 ***