Bug 4791 - lttng-modules fails do_package_qa
Summary: lttng-modules fails do_package_qa
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-fsl-arm (show other bugs)
Version: unspecified
Hardware: All Multiple
: Undecided major
Target Milestone: ---
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-06-30 04:10 UTC by John Weber
Modified: 2013-07-03 13:46 UTC (History)
1 user (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 John Weber 2013-06-30 04:10:28 UTC
lttng-modules causes qa failure in do_package_qa:

ERROR: QA Issue: lttng-modules: Files/directories were installed but not shipped
  /lib
  /lib/modules
  /lib/modules/3.0.35-wandboard+yocto+g7efa8c6
  /lib/modules/3.0.35-wandboard+yocto+g7efa8c6/kernel
  /lib/modules/3.0.35-wandboard+yocto+g7efa8c6/kernel/lttng-modules
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/john/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/lttng-modules/2.1.1-r0/temp/log.do_package.18131
ERROR: Task 2964 (/home/john/fsl-community-bsp/sources/poky/meta/recipes-kernel/lttng/lttng-modules_2.1.1.bb, do_package) failed with exit code '1'

I believe this is a result of the desired kernel not having "CONFIG_TRACEPOINTS" in its .config (build configuration).  When this is not configured, none of the modules are built as the Makefile in lttng-modules performs an ifneq() test for empty for this variable in the beginning.  There is thus nothing to install and ship.

This should not cause an image build failure in this case.  Perhaps a warning that the desired modules were not built and thus not installed/shipped, with a hint to check the kernel configuration.  I was testing an image which includes tools-profile.

This used to be a QA warning before this commit to poky:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta-yocto/conf/distro/poky.conf?id=c1df5188bb2851bcc5a3f483b0a0b4c4f884e3c7